Eclipse SUMO - Simulation of Urban MObility
MSDevice_StationFinder Class Reference

A device which triggers rerouting to nearby charging stations. More...

#include <MSDevice_StationFinder.h>

Inheritance diagram for MSDevice_StationFinder:
[legend]
Collaboration diagram for MSDevice_StationFinder:
[legend]

Public Types

enum  ChargeType { CHARGETYPE_CHARGING , CHARGETYPE_BIDIRECTIONAL , CHARGETYPE_BATTERYEXCHANGE , CHARGETYPE_FUEL }
 
enum  ChargingStrategy { CHARGINGSTRATEGY_NONE , CHARGINGSTRATEGY_BALANCED , CHARGINGSTRATEGY_LATEST }
 
enum  Notification {
  NOTIFICATION_DEPARTED , NOTIFICATION_JUNCTION , NOTIFICATION_SEGMENT , NOTIFICATION_LANE_CHANGE ,
  NOTIFICATION_LOAD_STATE , NOTIFICATION_TELEPORT , NOTIFICATION_TELEPORT_CONTINUATION , NOTIFICATION_PARKING ,
  NOTIFICATION_PARKING_REROUTE , NOTIFICATION_ARRIVED , NOTIFICATION_TELEPORT_ARRIVED , NOTIFICATION_VAPORIZED_CALIBRATOR ,
  NOTIFICATION_VAPORIZED_COLLISION , NOTIFICATION_VAPORIZED_TRACI , NOTIFICATION_VAPORIZED_GUI , NOTIFICATION_VAPORIZED_VAPORIZER ,
  NOTIFICATION_VAPORIZED_BREAKDOWN
}
 Definition of a vehicle state. More...
 
enum  RescueAction { RESCUEACTION_NONE , RESCUEACTION_REMOVE , RESCUEACTION_TOW }
 
enum  SearchState {
  SEARCHSTATE_NONE = 0 , SEARCHSTATE_SUCCESSFUL , SEARCHSTATE_UNSUCCESSFUL , SEARCHSTATE_CHARGING ,
  SEARCHSTATE_WAITING , SEARCHSTATE_BROKEN_DOWN
}
 

Public Member Functions

void addTo (const StoringVisitor &cont) const
 Adds this object to the given container. More...
 
const std::string deviceName () const override
 return the name for this type of device More...
 
bool evaluateCustomComponents (SUMOVehicle &veh, double brakeGap, bool newDestination, MSStoppingPlace *alternative, double occupancy, double prob, SUMOAbstractRouter< MSEdge, SUMOVehicle > &router, StoppingPlaceParamMap_t &stoppingPlaceValues, ConstMSEdgeVector &newRoute, ConstMSEdgeVector &stoppingPlaceApproach, StoppingPlaceParamMap_t &maxValues, StoppingPlaceParamMap_t &addInput) override
 Compute some custom target function components. More...
 
void generateOutput (OutputDevice *tripinfoOut) const override
 Called on writing tripinfo output. More...
 
const std::string getChargingStrategy () const
 return the string representation of the chosen charging strategy More...
 
const std::string & getDescription () const
 
SUMOVehiclegetHolder () const
 Returns the vehicle that holds this device. More...
 
const std::string & getID () const
 Returns the id. More...
 
const MSLanegetLane () const
 Returns the lane the reminder works on. More...
 
double getLastStepStoppingPlaceOccupancy (MSStoppingPlace *stoppingPlace) override
 Return the number of occupied places of the StoppingPlace from the previous time step. More...
 
int getNumberStoppingPlaceReroutes (SUMOVehicle &veh) override
 ask how many times already the vehicle has been rerouted to another stopping place More...
 
SUMOVehicle::NumericalID getNumericalID () const
 
std::string getParameter (const std::string &key) const override
 try to retrieve the given parameter from this device. Throw exception for unsupported key More...
 
SUMOAbstractRouter< MSEdge, SUMOVehicle > & getRouter (SUMOVehicle &veh, const MSEdgeVector &prohibited) override
 Provide the router to use (MSNet::getRouterTT or MSRoutingEngine) More...
 
double getStoppingPlaceCapacity (MSStoppingPlace *stoppingPlace) override
 Return the number of places the StoppingPlace provides. More...
 
double getStoppingPlaceOccupancy (MSStoppingPlace *stoppingPlace) override
 Return the number of occupied places of the StoppingPlace. More...
 
virtual bool isParkingRerouter () const
 
virtual void loadState (const SUMOSAXAttributes &attrs)
 Loads the state of the device from the given description. More...
 
 MSDevice_StationFinder (SUMOVehicle &holder)
 Constructor. More...
 
void rememberBlockedStoppingPlace (SUMOVehicle &veh, const MSStoppingPlace *stoppingPlace, bool blocked) override
 store the blocked stopping place in the vehicle More...
 
void rememberStoppingPlaceScore (SUMOVehicle &veh, MSStoppingPlace *place, const std::string &score) override
 store the stopping place score in the vehicle More...
 
void resetStoppingPlaceScores (SUMOVehicle &veh) override
 forget all stopping place score for this vehicle More...
 
virtual void saveState (OutputDevice &out) const
 Saves the state of the device. More...
 
SUMOTime sawBlockedStoppingPlace (SUMOVehicle &veh, MSStoppingPlace *place, bool local) override
 ask the vehicle when it has seen the stopping place More...
 
void setBattery (MSDevice_Battery *battery)
 
void setDescription (const std::string &description)
 
virtual void setID (const std::string &newID)
 resets the id More...
 
void setNumberStoppingPlaceReroutes (SUMOVehicle &veh, int value) override
 update the number of reroutes for the vehicle More...
 
virtual void setParameter (const std::string &key, const std::string &value)
 try to set the given parameter for this device. Throw exception for unsupported key More...
 
bool useStoppingPlace (MSStoppingPlace *stoppingPlace) override
 Whether the stopping place should be included in the search (can be used to add an additional filter) More...
 
bool validComponentValues (StoppingPlaceParamMap_t &stoppingPlaceValues) override
 Whether the stopping place should be discarded due to its results from the component evaluation. More...
 
 ~MSDevice_StationFinder ()
 Destructor. More...
 
Methods called on vehicle movement / state change, overwriting MSDevice
bool notifyMove (SUMOTrafficObject &veh, double oldPos, double newPos, double newSpeed) override
 Computes current emission values and adds them to their sums. More...
 
bool notifyIdle (SUMOTrafficObject &veh) override
 Computes idling emission values and adds them to the emission sums. More...
 
Interface methods, to be derived by subclasses
virtual bool notifyEnter (SUMOTrafficObject &veh, Notification reason, const MSLane *enteredLane)
 Checks whether the reminder is activated by a vehicle entering the lane. More...
 
virtual void notifyParking ()
 called to update state for parking vehicles More...
 
virtual void notifyStopEnded ()
 called to update state for stopped vehicles More...
 
virtual bool notifyLeave (SUMOTrafficObject &veh, double lastPos, Notification reason, const MSLane *enteredLane=nullptr)
 Called if the vehicle leaves the reminder's lane. More...
 
void updateDetector (SUMOTrafficObject &veh, double entryPos, double leavePos, SUMOTime entryTime, SUMOTime currentTime, SUMOTime leaveTime, bool cleanUp)
 

Static Public Member Functions

static void buildTransportableDevices (MSTransportable &p, std::vector< MSTransportableDevice * > &into)
 Build devices for the given person, if needed. More...
 
static void buildVehicleDevices (SUMOVehicle &v, std::vector< MSVehicleDevice * > &into)
 Build devices for the given vehicle, if needed. More...
 
static bool checkOptions (OptionsCont &oc)
 check device-specific options More...
 
static void cleanupAll ()
 perform cleanup for all devices More...
 
static SumoRNGgetEquipmentRNG ()
 
template<class T >
static std::string getIDSecure (const T *obj, const std::string &fallBack="NULL")
 get an identifier for Named-like object which may be Null More...
 
static void insertOptions (OptionsCont &oc)
 Inserts MSDevice_StationFinder-options. More...
 

Protected Member Functions

void notifyMoveInternal (const SUMOTrafficObject &veh, const double frontOnLane, const double timeOnLane, const double meanSpeedFrontOnLane, const double meanSpeedVehicleOnLane, const double travelledDistanceFrontOnLane, const double travelledDistanceVehicleOnLane, const double meanLengthOnLane) override
 Internal notification about the vehicle moves, see MSMoveReminder::notifyMoveInternal() More...
 
void removeFromVehicleUpdateValues (SUMOTrafficObject &veh)
 

Static Protected Member Functions

Helper methods for device assignment
static void insertDefaultAssignmentOptions (const std::string &deviceName, const std::string &optionsTopic, OptionsCont &oc, const bool isPerson=false)
 Adds common command options that allow to assign devices to vehicles. More...
 
template<class DEVICEHOLDER >
static bool equippedByDefaultAssignmentOptions (const OptionsCont &oc, const std::string &deviceName, DEVICEHOLDER &v, bool outputOptionSet, const bool isPerson=false)
 Determines whether a vehicle should get a certain device. More...
 

Protected Attributes

std::string myDescription
 a description of this moveReminder More...
 
SUMOVehiclemyHolder
 The vehicle that stores the device. More...
 
std::string myID
 The name of the object. More...
 
MSLane *const myLane
 Lane on which the reminder works. More...
 

Private Types

typedef std::map< MSStoppingPlace *, StoppingPlaceParamMap_t, ComparatorIdLessStoppingPlaceMap_t
 
typedef std::map< std::string, double > StoppingPlaceParamMap_t
 
typedef std::map< std::string, bool > StoppingPlaceParamSwitchMap_t
 
typedef std::pair< MSStoppingPlace *, bool > StoppingPlaceVisible
 

Private Member Functions

bool alreadyPlannedCharging ()
 adopt a planned charging stop outside of the device More...
 
virtual StoppingPlaceParamMap_t collectWeights (SUMOVehicle &veh)
 read target function weights for this vehicle More...
 
double estimateConsumption (const MSEdge *target=nullptr, const bool includeEmptySoC=true, const double stopDiscount=0.) const
 estimate the energy needed for the planned route / up to a target edge More...
 
virtual bool evaluateDestination (SUMOVehicle &veh, double brakeGap, bool newDestination, MSStoppingPlace *alternative, double occupancy, double prob, SUMOAbstractRouter< MSEdge, SUMOVehicle > &router, StoppingPlaceMap_t &stoppingPlaces, std::map< MSStoppingPlace *, ConstMSEdgeVector > &newRoutes, std::map< MSStoppingPlace *, ConstMSEdgeVector > &stoppingPlaceApproaches, StoppingPlaceParamMap_t &maxValues, StoppingPlaceParamMap_t &addInput)
 compute the target function for a single alternative More...
 
MSChargingStationfindChargingStation (SUMOAbstractRouter< MSEdge, SUMOVehicle > &router, double expectedConsumption, StoppingPlaceParamMap_t &scores, bool constrainTT=true, bool skipVisited=true, bool skipOccupied=false)
 central search function for close charging stations More...
 
double freeSpaceAtChargingStation (MSChargingStation *cs) const
 compute the free space at a charging station More...
 
double getWeight (SUMOVehicle &veh, const std::string param, const double defaultWeight, const bool warn=false)
 read the value of a stopping place search param, e.g. a component weight factor More...
 
void implementChargingStrategy (SUMOTime begin, SUMOTime end, const double plannedCharge, const MSChargingStation *cs)
 
void initChargeLimitCommand ()
 create the event command for changing charging rates More...
 
void initRescueCommand ()
 create the event command for teleporting in case of brake-down More...
 
 MSDevice_StationFinder (const MSDevice_StationFinder &)
 Invalidated copy constructor. More...
 
MSDevice_StationFinderoperator= (const MSDevice_StationFinder &)
 Invalidated assignment operator. More...
 
void readEvaluationWeights (SUMOVehicle &veh, StoppingPlaceParamMap_t &stoppingPlaceParams, StoppingPlaceParamMap_t &stoppingPlaceDefaults, StoppingPlaceParamMap_t &maxValues)
 Ask the vehicle about the relevant rerouting parameters and initiate the maximum value data structure. More...
 
MSStoppingPlacereroute (std::vector< StoppingPlaceVisible > &stoppingPlaceCandidates, const std::vector< double > &probs, SUMOVehicle &veh, bool &newDestination, ConstMSEdgeVector &newRoute, StoppingPlaceParamMap_t &scores, const MSEdgeVector &closedEdges={})
 main method to trigger the rerouting to the "best" StoppingPlace according to the custom evaluation function More...
 
bool rerouteToChargingStation (bool replace=false)
 reroute to a charging station More...
 
SUMOTime teleportToChargingStation (const SUMOTime currentTime)
 search for a charging station and teleport the vehicle there as a rescue measure More...
 
SUMOTime updateChargeLimit (const SUMOTime currentTime)
 update the maximum charge rate of the battery to simulate charging strategies More...
 

Static Private Member Functions

static double getTargetValue (const StoppingPlaceParamMap_t &absValues, const StoppingPlaceParamMap_t &maxValues, const StoppingPlaceParamMap_t &weights, const StoppingPlaceParamSwitchMap_t &norm, const StoppingPlaceParamSwitchMap_t &invert)
 compute the scalar target function value by means of a linear combination of all components/weights after normalising and optionally inverting the values More...
 
static void updateMaxValues (StoppingPlaceParamMap_t &stoppingPlaceValues, StoppingPlaceParamMap_t &maxValues)
 keep track of the maximum values of each component More...
 

Private Attributes

SUMOTime myArrivalAtChargingStation
 Arrival time in the vicinity of the target charging station (to track the waiting time before accessing it) More...
 
MSDevice_BatterymyBattery
 The corresponding battery device. More...
 
WrappingCommand< MSDevice_StationFinder > * myChargeLimitCommand
 The command responsible for limiting the charging rate (~ implement charging strategies) More...
 
std::vector< std::pair< SUMOTime, double > > myChargeLimits
 The next charging rates to set via myChargingRateCommand. More...
 
ChargeType myChargeType
 The type of charging permitted by the battery (charging, bidirectional, battery exchange) More...
 
MSStoppingPlacemyChargingStation
 To which station we are currently travelling. More...
 
ChargingStrategy myChargingStrategy
 The chosen charging strategy. More...
 
SUMOTime myCheckInterval
 Time interval after which the SoC has to be checked. More...
 
bool myCheckValidity
 
const bool myConsiderDestVisibility
 
double myDistanceToOriginalStop
 The distance in meters to the original stop replaced by the charging stop (models charging close to the activity location) More...
 
double myEmptySoC
 The state of charge threshold below which rescue mode is activated. More...
 
StoppingPlaceParamMap_t myEvalParams
 
StoppingPlaceParamSwitchMap_t myInvertParams
 
SUMOTime myLastChargeCheck
 Last time the SoC was checked. More...
 
SUMOTime myLastSearch
 Last time charging stations have been searched. More...
 
std::map< long long int, std::pair< SUMOTime, double > > myLastVehicleUpdateValues
 
double myMaxChargePower
 The maximum charging speed of the vehicle battery in W. More...
 
double myMaxEuclideanDistance
 The maximum euclidean distance between the vehicle and the charging station (-1 deactivates the condition) More...
 
StoppingPlaceParamSwitchMap_t myNormParams
 
const std::string myParamPrefix
 
SUMOTime myRadius
 The max travel time to the next charging station. More...
 
SUMOTime myRepeatInterval
 Time interval to search again for a charging station if the first attempt failed. More...
 
double myReplacePlannedStop
 The share of stopping time a charging stop should take from the next regulr (non-charging) stop under certain conditions. More...
 
RescueAction myRescueAction
 What to do when the state of charge gets very low. More...
 
WrappingCommand< MSDevice_StationFinder > * myRescueCommand
 The command responsible for rescue actions. More...
 
double myRescueTime
 The time to wait for a rescue vehicle in case the battery is empty. More...
 
double myReserveFactor
 The safety buffer when calculating expected consumption. More...
 
double mySearchSoC
 The state of charge at which the vehicle starts looking for charging stations. More...
 
SearchState mySearchState = SEARCHSTATE_NONE
 The current state of the charging search (remember for decision logic) More...
 
const SumoXMLTag myStoppingType
 
double myTargetSoC
 The target state of charge where the vehicle stops charging. More...
 
double myUpdateSoC
 SoC the last time the station finder algorithm was run completely. More...
 
MSVehiclemyVeh
 myHolder cast to needed type More...
 
SUMOTime myWaitForCharge
 Accepted waiting time at the charging station before a place becomes available. More...
 

Static Private Attributes

static SumoRNG myEquipmentRNG
 A random number generator used to choose from vtype/route distributions and computing the speed factors. More...
 
static std::map< std::string, std::set< std::string > > myExplicitIDs
 vehicles which explicitly carry a device, sorted by device, first More...
 

Detailed Description

A device which triggers rerouting to nearby charging stations.

Each device checks the battery status by being called each time step and initiaiting the search for a compatible charging station if the battery level is too low.

See also
MSDevice

Definition at line 55 of file MSDevice_StationFinder.h.

Member Typedef Documentation

◆ StoppingPlaceMap_t

◆ StoppingPlaceParamMap_t

typedef std::map<std::string, double> MSStoppingPlaceRerouter::StoppingPlaceParamMap_t
inherited

Definition at line 129 of file MSStoppingPlaceRerouter.h.

◆ StoppingPlaceParamSwitchMap_t

typedef std::map<std::string, bool> MSStoppingPlaceRerouter::StoppingPlaceParamSwitchMap_t
inherited

Definition at line 130 of file MSStoppingPlaceRerouter.h.

◆ StoppingPlaceVisible

Definition at line 132 of file MSStoppingPlaceRerouter.h.

Member Enumeration Documentation

◆ ChargeType

Enumerator
CHARGETYPE_CHARGING 
CHARGETYPE_BIDIRECTIONAL 
CHARGETYPE_BATTERYEXCHANGE 
CHARGETYPE_FUEL 

Definition at line 57 of file MSDevice_StationFinder.h.

◆ ChargingStrategy

Enumerator
CHARGINGSTRATEGY_NONE 
CHARGINGSTRATEGY_BALANCED 
CHARGINGSTRATEGY_LATEST 

Definition at line 64 of file MSDevice_StationFinder.h.

◆ Notification

Definition of a vehicle state.

Enumerator
NOTIFICATION_DEPARTED 

The vehicle has departed (was inserted into the network)

NOTIFICATION_JUNCTION 

The vehicle arrived at a junction.

NOTIFICATION_SEGMENT 

The vehicle changes the segment (meso only)

NOTIFICATION_LANE_CHANGE 

The vehicle changes lanes (micro only)

NOTIFICATION_LOAD_STATE 

The vehicle has been loaded from a state file.

NOTIFICATION_TELEPORT 

The vehicle is being teleported.

NOTIFICATION_TELEPORT_CONTINUATION 

The vehicle continues being teleported past an edge.

NOTIFICATION_PARKING 

The vehicle starts or ends parking.

NOTIFICATION_PARKING_REROUTE 

The vehicle needs another parking area.

NOTIFICATION_ARRIVED 

The vehicle arrived at its destination (is deleted)

NOTIFICATION_TELEPORT_ARRIVED 

The vehicle was teleported out of the net.

NOTIFICATION_VAPORIZED_CALIBRATOR 

The vehicle got removed by a calibrator.

NOTIFICATION_VAPORIZED_COLLISION 

The vehicle got removed by a collision.

NOTIFICATION_VAPORIZED_TRACI 

The vehicle got removed via TraCI.

NOTIFICATION_VAPORIZED_GUI 

The vehicle got removed via the GUI.

NOTIFICATION_VAPORIZED_VAPORIZER 

The vehicle got vaporized with a vaporizer.

NOTIFICATION_VAPORIZED_BREAKDOWN 

The vehicle got removed via stationfinder device.

Definition at line 89 of file MSMoveReminder.h.

◆ RescueAction

Enumerator
RESCUEACTION_NONE 
RESCUEACTION_REMOVE 
RESCUEACTION_TOW 

Definition at line 70 of file MSDevice_StationFinder.h.

◆ SearchState

Enumerator
SEARCHSTATE_NONE 
SEARCHSTATE_SUCCESSFUL 
SEARCHSTATE_UNSUCCESSFUL 
SEARCHSTATE_CHARGING 
SEARCHSTATE_WAITING 
SEARCHSTATE_BROKEN_DOWN 

Definition at line 76 of file MSDevice_StationFinder.h.

Constructor & Destructor Documentation

◆ MSDevice_StationFinder() [1/2]

MSDevice_StationFinder::MSDevice_StationFinder ( SUMOVehicle holder)

Constructor.

Parameters
[in]holderThe vehicle that holds this device

Definition at line 106 of file MSDevice_StationFinder.cpp.

Referenced by buildVehicleDevices().

Here is the caller graph for this function:

◆ ~MSDevice_StationFinder()

MSDevice_StationFinder::~MSDevice_StationFinder ( )

◆ MSDevice_StationFinder() [2/2]

MSDevice_StationFinder::MSDevice_StationFinder ( const MSDevice_StationFinder )
private

Invalidated copy constructor.

Member Function Documentation

◆ addTo()

void Named::addTo ( const StoringVisitor cont) const
inlineinherited

Adds this object to the given container.

Parameters
[in,filled]cont The container to add this item to

Definition at line 118 of file Named.h.

References Named::StoringVisitor::add().

◆ alreadyPlannedCharging()

bool MSDevice_StationFinder::alreadyPlannedCharging ( )
private

adopt a planned charging stop outside of the device

Returns
whether an already present stop was adopted to be used with the device logic

Definition at line 516 of file MSDevice_StationFinder.cpp.

References estimateConsumption(), MSDevice_Battery::getActualBatteryCapacity(), SUMOVehicle::getStops(), myBattery, myChargingStation, and MSVehicleDevice::myHolder.

Referenced by notifyMove().

Here is the caller graph for this function:

◆ buildTransportableDevices()

void MSDevice::buildTransportableDevices ( MSTransportable p,
std::vector< MSTransportableDevice * > &  into 
)
staticinherited

Build devices for the given person, if needed.

Parameters
[in]pThe person for which a device may be built
[filled]into The vector to store the built device in

Definition at line 137 of file MSDevice.cpp.

References MSTransportableDevice_Routing::buildDevices(), MSTransportableDevice_BTreceiver::buildDevices(), MSTransportableDevice_BTsender::buildDevices(), MSTransportableDevice_FCD::buildDevices(), and MSTransportableDevice_FCDReplay::buildDevices().

Referenced by MSTransportable::MSTransportable().

Here is the caller graph for this function:

◆ buildVehicleDevices()

void MSDevice_StationFinder::buildVehicleDevices ( SUMOVehicle v,
std::vector< MSVehicleDevice * > &  into 
)
static

Build devices for the given vehicle, if needed.

The options are read and evaluated whether stationFinder-devices shall be built for the given vehicle.

For each seen vehicle, the global vehicle index is increased.

The built device is stored in the given vector.

Parameters
[in]vThe vehicle for which a device may be built
[in,filled]into The vector to store the built device in

Definition at line 95 of file MSDevice_StationFinder.cpp.

References MSDevice::equippedByDefaultAssignmentOptions(), OptionsCont::getOptions(), and MSDevice_StationFinder().

Referenced by MSDevice::buildVehicleDevices().

Here is the caller graph for this function:

◆ checkOptions()

bool MSDevice::checkOptions ( OptionsCont oc)
staticinherited

check device-specific options

Parameters
[filled]oc The options container with the user-defined options

Definition at line 104 of file MSDevice.cpp.

References MSDevice_Routing::checkOptions().

Referenced by MSFrame::checkOptions().

Here is the caller graph for this function:

◆ cleanupAll()

void MSDevice::cleanupAll ( )
staticinherited

perform cleanup for all devices

Definition at line 147 of file MSDevice.cpp.

References MSDevice_FCD::cleanup(), MSDevice_Taxi::cleanup(), MSDevice_Tripinfo::cleanup(), and MSRoutingEngine::cleanup().

Referenced by MSNet::clearAll().

Here is the caller graph for this function:

◆ collectWeights()

MSStoppingPlaceRerouter::StoppingPlaceParamMap_t MSStoppingPlaceRerouter::collectWeights ( SUMOVehicle veh)
virtualinherited

read target function weights for this vehicle

Definition at line 537 of file MSStoppingPlaceRerouter.cpp.

References MSStoppingPlaceRerouter::getWeight(), and MSStoppingPlaceRerouter::myEvalParams.

Referenced by MSStoppingPlaceRerouter::reroute().

Here is the caller graph for this function:

◆ deviceName()

const std::string MSDevice_StationFinder::deviceName ( ) const
inlineoverridevirtual

return the name for this type of device

Implements MSDevice.

Definition at line 147 of file MSDevice_StationFinder.h.

Referenced by getParameter().

Here is the caller graph for this function:

◆ equippedByDefaultAssignmentOptions()

template<class DEVICEHOLDER >
bool MSDevice::equippedByDefaultAssignmentOptions ( const OptionsCont oc,
const std::string &  deviceName,
DEVICEHOLDER &  v,
bool  outputOptionSet,
const bool  isPerson = false 
)
staticprotectedinherited

Determines whether a vehicle should get a certain device.

Parameters
[in]ocThe options container to get the information about assignment from
[in]deviceNameThe name of the device type
[in]vThe vehicle to determine whether it shall be equipped or not

Definition at line 195 of file MSDevice.h.

References MSDevice::deviceName(), OptionsCont::exists(), OptionsCont::getBool(), OptionsCont::getFloat(), MSNet::getInstance(), OptionsCont::getOptions(), MSVehicleControl::getQuota(), OptionsCont::getStringVector(), MSNet::getVehicleControl(), OptionsCont::isSet(), MSDevice::myEquipmentRNG, MSDevice::myExplicitIDs, RandHelper::rand(), StringUtils::toBool(), and StringUtils::toDouble().

Referenced by MSTransportableDevice_Routing::buildDevices(), MSTransportableDevice_BTreceiver::buildDevices(), MSTransportableDevice_BTsender::buildDevices(), MSTransportableDevice_FCD::buildDevices(), MSTransportableDevice_FCDReplay::buildDevices(), MSDevice_Bluelight::buildVehicleDevices(), MSVehicleDevice_BTreceiver::buildVehicleDevices(), MSVehicleDevice_BTsender::buildVehicleDevices(), MSDevice_DriverState::buildVehicleDevices(), MSDevice_ElecHybrid::buildVehicleDevices(), MSDevice_Emissions::buildVehicleDevices(), MSDevice_Example::buildVehicleDevices(), MSDevice_FCD::buildVehicleDevices(), MSDevice_FCDReplay::buildVehicleDevices(), MSDevice_Friction::buildVehicleDevices(), MSDevice_GLOSA::buildVehicleDevices(), MSDevice_Routing::buildVehicleDevices(), MSDevice_SSM::buildVehicleDevices(), buildVehicleDevices(), MSDevice_Taxi::buildVehicleDevices(), MSDevice_ToC::buildVehicleDevices(), MSDevice_Tripinfo::buildVehicleDevices(), MSDevice_Vehroutes::buildVehicleDevices(), and MSDevice_Battery::buildVehicleDevices().

Here is the caller graph for this function:

◆ estimateConsumption()

double MSDevice_StationFinder::estimateConsumption ( const MSEdge target = nullptr,
const bool  includeEmptySoC = true,
const double  stopDiscount = 0. 
) const
private

estimate the energy needed for the planned route / up to a target edge

Parameters
[in]targetedge along the route up to which the consumption shall be estimated - the complete route will be used if defaulting to nullptr
[in]includeEmptySoCwhether to add an additional buffer for the range up to the "empty" threshold
[in]stopDiscountduration in seconds to discount in the consumption estimation due to occurred stopping time
Returns
energy in Wh needed to complete the planned route

Definition at line 479 of file MSDevice_StationFinder.cpp.

References PollutantsInterface::compute(), DEFAULT_CONSUMPTION_ESTIMATE_HISTORY, PollutantsInterface::ELEC, MSDevice_Battery::getActualBatteryCapacity(), SUMOVehicle::getDeparture(), EnergyParams::getDouble(), MSRoute::getEdges(), MSVehicleType::getEmissionClass(), SUMOVehicle::getEmissionParameters(), SUMOTrafficObject::getLane(), MSDevice_Battery::getMaximumBatteryCapacity(), SUMOTrafficObject::getMaxSpeed(), SUMOTrafficObject::getRNGIndex(), SUMOVehicle::getRoute(), SUMOTrafficObject::getRoutePosition(), MSRoutingEngine::getRouterTT(), MSLane::getSpeedLimit(), MSDevice_Battery::getTotalConsumption(), SUMOTrafficObject::getVClass(), MSBaseVehicle::getVehicleType(), MAX2(), MIN2(), myBattery, myEmptySoC, MSVehicleDevice::myHolder, myVeh, SUMOAbstractRouter< E, V >::recomputeCosts(), SIMSTEP, STEPS2TIME, and SUMO_ATTR_PROPULSIONEFFICIENCY.

Referenced by alreadyPlannedCharging(), getParameter(), rerouteToChargingStation(), and teleportToChargingStation().

Here is the caller graph for this function:

◆ evaluateCustomComponents()

bool MSDevice_StationFinder::evaluateCustomComponents ( SUMOVehicle veh,
double  brakeGap,
bool  newDestination,
MSStoppingPlace alternative,
double  occupancy,
double  prob,
SUMOAbstractRouter< MSEdge, SUMOVehicle > &  router,
StoppingPlaceParamMap_t stoppingPlaceValues,
ConstMSEdgeVector newRoute,
ConstMSEdgeVector stoppingPlaceApproach,
StoppingPlaceParamMap_t maxValues,
StoppingPlaceParamMap_t addInput 
)
overridevirtual

Compute some custom target function components.

Parameters
[in]vehthe concerned vehicle
[in]brakeGapthe distance before which the vehicle cannot stop
[in]newDestinationwhether the destination changed
[in]alternativethe stopping place to evaluate
[in]occupancyoccupancy of the stopping place
[in]routerthe router to use for evaluation if needed
[in,out]stoppingPlaceValuesthe data structure to write the evaluation values to
[in]newRoutethe complete route to the destination passing by the stopping place
[in]stoppingPlaceApproachthe route to the stopping place
[in]maxValuesthe maximum values of the components
[in]addInputexternal input data
Returns
false if the stopping place cannot be used according to the custom evaluation components

Reimplemented from MSStoppingPlaceRerouter.

Definition at line 618 of file MSDevice_StationFinder.cpp.

References DEFAULT_AVG_WAITING_TIME, freeSpaceAtChargingStation(), MSStoppingPlace::getBeginLanePosition(), MSParkingArea::getCapacity(), MSChargingStation::getChargeDelay(), MSChargingStation::getChargingPower(), MSStoppingPlace::getEndLanePosition(), MSVehicleType::getParameter(), MSChargingStation::getParkingArea(), SUMOTrafficObject::getVehicleType(), SUMOVTypeParameter::length, MSVehicleDevice::myHolder, and STEPS2TIME.

◆ evaluateDestination()

bool MSStoppingPlaceRerouter::evaluateDestination ( SUMOVehicle veh,
double  brakeGap,
bool  newDestination,
MSStoppingPlace alternative,
double  occupancy,
double  prob,
SUMOAbstractRouter< MSEdge, SUMOVehicle > &  router,
StoppingPlaceMap_t stoppingPlaces,
std::map< MSStoppingPlace *, ConstMSEdgeVector > &  newRoutes,
std::map< MSStoppingPlace *, ConstMSEdgeVector > &  stoppingPlaceApproaches,
StoppingPlaceParamMap_t maxValues,
StoppingPlaceParamMap_t addInput 
)
virtualinherited

compute the target function for a single alternative

Parameters
[in]vehthe concerned vehicle
[in]brakeGapthe distance before which the vehicle cannot stop
[in]newDestinationwhether the destination changed
[in]alternativethe stopping place to evaluate
[in]occupancyoccupancy of the stopping place
[in]probthe predefined probability of this stopping place
[in]routerthe router to use for evaluation if needed
[in,out]stoppingPlacesthe data structure to write the evaluation values to
[in,out]newRoutesthe data structure to write the chosen route to/from the stopping place to
[in,out]stoppingPlaceApproachesthe data structure to write the chosen route to the stopping place to
[in,out]maxValuesmaximum values for all evaluation components
[in]addInputexternal input data
Returns
false if the stopping place cannot be used

Definition at line 388 of file MSStoppingPlaceRerouter.cpp.

References MSRoute::begin(), SUMOAbstractRouter< E, V >::compute(), RGBColor::DEFAULT_COLOR, MSRoute::end(), MSStoppingPlaceRerouter::evaluateCustomComponents(), SUMOVehicle::getArrivalPos(), MSStoppingPlace::getBeginLanePosition(), MSRoute::getColor(), MSRoute::getDistanceBetween(), MSLane::getEdge(), SUMOTrafficObject::getEdge(), MSRoute::getEdges(), MSStoppingPlace::getEndLanePosition(), Named::getID(), MSNet::getInstance(), MSStoppingPlace::getLane(), MSRoute::getLastEdge(), MSStoppingPlace::getLastFreePos(), MSEdge::getLength(), MSLane::getLength(), SUMOTrafficObject::getPositionOnLane(), SUMOVehicle::getRerouteOrigin(), SUMOVehicle::getRoute(), MSLane::getSpeedLimit(), SUMOVehicle::getStopIndices(), MSStoppingPlaceRerouter::getStoppingPlaceCapacity(), MSStoppingPlaceRerouter::getStoppingPlaceOccupancy(), MSRoute::getStops(), MSGlobals::gUsingInternalLanes, MSNet::hasInternalLinks(), MAX2(), MSStoppingPlaceRerouter::myCheckValidity, MSStoppingPlaceRerouter::myParamPrefix, SUMOAbstractRouter< E, V >::recomputeCosts(), MSStoppingPlaceRerouter::rememberStoppingPlaceScore(), SIMSTEP, MSRoute::size(), time2string(), TL, MSStoppingPlaceRerouter::updateMaxValues(), MSStoppingPlaceRerouter::validComponentValues(), and WRITE_WARNINGF.

Referenced by MSStoppingPlaceRerouter::reroute().

Here is the caller graph for this function:

◆ findChargingStation()

MSChargingStation * MSDevice_StationFinder::findChargingStation ( SUMOAbstractRouter< MSEdge, SUMOVehicle > &  router,
double  expectedConsumption,
StoppingPlaceParamMap_t scores,
bool  constrainTT = true,
bool  skipVisited = true,
bool  skipOccupied = false 
)
private

central search function for close charging stations

Parameters
[in]router
[in]expectedConsumption
[in,out]scoresadditional input for score computation and scores of the best charging station
[in]constrainTTwhether to constrain the search radius by a maximum travel time
[in]skipVisitedwhether to skip charging stations which have not been available when passing by recently
[in]skipOccupiedwhether to skip fully occupied charging stations
Returns
The found charging station, otherwise nullptr

Definition at line 299 of file MSDevice_StationFinder.cpp.

References MSParkingArea::accepts(), freeSpaceAtChargingStation(), MSBaseVehicle::getChargingMemory(), MSChargingStation::getChargingPower(), MSChargingStation::getEfficency(), MSNet::getInstance(), MSChargingStation::getParkingArea(), SUMOTrafficObject::getPosition(), MSStoppingPlaceRerouter::getWeight(), MSStoppingPlaceRerouter::myCheckValidity, MSVehicleDevice::myHolder, myMaxEuclideanDistance, myVeh, MSStoppingPlaceRerouter::reroute(), StoppingPlaceMemory::sawBlockedStoppingPlace(), SIMSTEP, SUMO_TAG_CHARGING_STATION, and TIME2STEPS.

Referenced by rerouteToChargingStation(), and teleportToChargingStation().

Here is the caller graph for this function:

◆ freeSpaceAtChargingStation()

double MSDevice_StationFinder::freeSpaceAtChargingStation ( MSChargingStation cs) const
private

compute the free space at a charging station

Parameters
[in]csthe charging station to compute the free space for
Returns
the free space at the charging station as a fraction of the holder vehicle

Definition at line 510 of file MSDevice_StationFinder.cpp.

References MSStoppingPlace::getBeginLanePosition(), MSParkingArea::getCapacity(), MSStoppingPlace::getLastFreePos(), MSParkingArea::getOccupancy(), MSVehicleType::getParameter(), MSChargingStation::getParkingArea(), SUMOTrafficObject::getVehicleType(), SUMOVTypeParameter::length, and MSVehicleDevice::myHolder.

Referenced by evaluateCustomComponents(), and findChargingStation().

Here is the caller graph for this function:

◆ generateOutput()

void MSDevice_StationFinder::generateOutput ( OutputDevice tripinfoOut) const
overridevirtual

Called on writing tripinfo output.

Parameters
[in]osThe stream to write the information into
Exceptions
IOErrornot yet implemented
See also
MSDevice::tripInfoOutput

Reimplemented from MSDevice.

Definition at line 597 of file MSDevice_StationFinder.cpp.

References OutputDevice::closeTag(), Named::getID(), myChargingStation, OutputDevice::openTag(), and OutputDevice::writeAttr().

◆ getChargingStrategy()

const std::string MSDevice_StationFinder::getChargingStrategy ( ) const
inline

return the string representation of the chosen charging strategy

Definition at line 152 of file MSDevice_StationFinder.h.

References CHARGINGSTRATEGY_BALANCED, CHARGINGSTRATEGY_NONE, and myChargingStrategy.

◆ getDescription()

const std::string& MSMoveReminder::getDescription ( ) const
inlineinherited

Definition at line 261 of file MSMoveReminder.h.

References MSMoveReminder::myDescription.

◆ getEquipmentRNG()

static SumoRNG* MSDevice::getEquipmentRNG ( )
inlinestaticinherited

Definition at line 89 of file MSDevice.h.

References MSDevice::myEquipmentRNG.

Referenced by NLBuilder::initRandomness(), MSStateHandler::myStartElement(), and MSStateHandler::saveRNGs().

Here is the caller graph for this function:

◆ getHolder()

SUMOVehicle& MSVehicleDevice::getHolder ( ) const
inlineinherited

Returns the vehicle that holds this device.

Returns
The vehicle that holds this device

Definition at line 72 of file MSVehicleDevice.h.

References MSVehicleDevice::myHolder.

Referenced by MSChargingStation::addChargeValueForOutput(), MSOverheadWire::addChargeValueForOutput(), MSDispatch::computeDetourTime(), MSDispatch::computePickupTime(), MSDispatch_Greedy::dispatch(), MSDispatch_GreedyShared::dispatch(), MSDispatch_RouteExtension::dispatch(), MSIdling_Stop::idle(), MSIdling_RandomCircling::idle(), MSIdling_TaxiStand::idle(), and MSDispatch::remainingCapacity().

Here is the caller graph for this function:

◆ getID()

const std::string& Named::getID ( ) const
inlineinherited

Returns the id.

Returns
The stored id

Definition at line 74 of file Named.h.

References Named::myID.

Referenced by MSLCM_LC2013::_patchSpeed(), MSLCM_SL2015::_patchSpeed(), MSCFModel_EIDM::_v(), MSCFModel_ACC::_v(), MSCFModel_IDM::_v(), MSCFModel_CACC::_v(), MSCFModel_Wiedemann::_v(), MSLCM_LC2013::_wantsChange(), MSLCM_SL2015::_wantsChangeSublane(), MSTransportableControl::abortAnyWaitingForVehicle(), MSLaneChangerSublane::abortLCManeuver(), MSTransportable::abortStage(), MSLCM_LC2013::adaptSpeedToPedestrians(), MSVehicle::adaptToJunctionLeader(), MSVehicle::adaptToLeader(), MSVehicle::adaptToLeaderDistance(), MSVehicle::adaptToLeaders(), MSVehicle::adaptToOncomingLeader(), MSVehicleTransfer::add(), MSPModel_JuPedSim::add(), MSPModel_Striping::add(), PCPolyContainer::add(), ShapeContainer::add(), MSDetectorControl::add(), NLTriggerBuilder::addAccess(), RORouteDef::addAlternative(), MSLane::addApproachingLane(), MSTractionSubstation::addChargeValueForOutput(), MSChargingStation::addChargeValueForOutput(), MSOverheadWire::addChargeValueForOutput(), NBNodeCont::addCluster2Join(), NLHandler::addConflict(), NLHandler::addConnection(), NBLoadedSUMOTLDef::addConnection(), MSPModel_Striping::addCrossingVehs(), RODFDetectorCon::addDetector(), NIXMLEdgesHandler::addEdge(), RONet::addEdge(), ROJTREdge::addFollowerProbability(), MSLane::addLeaders(), MSTLLogicControl::TLSLogicVariants::addLogic(), RONet::addNode(), MSLaneChangerSublane::addOutsideLeaders(), MSTractionSubstation::addOverheadWireClampToCircuit(), MSTractionSubstation::addOverheadWireInnerSegmentToCircuit(), MSTractionSubstation::addOverheadWireSegmentToCircuit(), NIImporter_SUMO::addPhase(), GUIEdge::addRerouter(), MSDevice_Taxi::addReservation(), MSDispatch::addReservation(), MSRouteHandler::addRideOrTransport(), RONet::addRouteDef(), NIXMLEdgesHandler::addSplit(), NBTrafficLightLogic::addStep(), MSRouteHandler::addStop(), RORouteHandler::addStop(), ROVehicle::addStop(), MSBaseVehicle::addStop(), MSNet::addStoppingPlace(), MSRouteHandler::addTranship(), MSVehicle::addTransportable(), AGActivityTripWriter::addTrip(), MSPModel_JuPedSim::addWaitingSet(), NIXMLConnectionsHandler::addWalkingArea(), MSBaseVehicle::allowsBoarding(), MSTransportable::appendStage(), LIBSUMO_NAMESPACE::Person::appendWalkingStage(), MSCFModel::applyHeadwayAndSpeedDifferencePerceptionErrors(), MSCFModel::applyHeadwayPerceptionError(), libsumo::Helper::applySubscriptionFilterLanes(), libsumo::Helper::applySubscriptionFilterLateralDistance(), libsumo::Helper::applySubscriptionFilterLateralDistanceSinglePass(), libsumo::Helper::applySubscriptionFilters(), libsumo::Helper::applySubscriptionFilterTurn(), MSLaneChanger::avoidDeadlock(), MSDevice_ToC::awarenessRecoveryStep(), GUITrafficLightLogicWrapper::begin2TrackPhases(), MSPModel_Interacting::blockedAtDist(), MSLink::blockedAtTime(), MSLink::blockedByFoe(), MSVehicle::boardTransportables(), MSVehicle::brakeForOverlap(), NIVisumTL::build(), LIBSUMO_NAMESPACE::TrafficLight::buildConstraint(), MSSOTLE2Sensors::buildContinueSensior(), MSSOTLE2Sensors::buildCountSensorForLane(), MSSOTLE2Sensors::buildCountSensorForOutLane(), NBNode::buildCrossings(), NBNode::buildCrossingsAndWalkingAreas(), MSTransportableDevice_Routing::buildDevices(), MSTransportableDevice_BTreceiver::buildDevices(), MSTransportableDevice_BTsender::buildDevices(), MSTransportableDevice_FCD::buildDevices(), MSTransportableDevice_FCDReplay::buildDevices(), NIImporter_VISUM::buildDistrictNode(), MSRailSignal::LinkInfo::buildDriveWay(), NLDetectorBuilder::buildE2Detector(), RODFNet::buildEdgeFlowMap(), NLDetectorBuilder::buildInductLoop(), NBEdge::buildInnerEdges(), NLTriggerBuilder::buildInnerOverheadWireSegments(), GNETLSEditorFrame::buildInternalLanes(), NIVissimEdge::buildNBEdge(), NGEdge::buildNBEdge(), NBOwnTLDef::buildNemaPhases(), NBRampsComputer::buildOffRamp(), NBRampsComputer::buildOnRamp(), MSPModel_JuPedSim::buildPedestrianNetwork(), MSRailSignal::DriveWay::buildRoute(), MELoop::buildSegmentsFor(), MSSOTLE2Sensors::buildSensorForLane(), MSSOTLE2Sensors::buildSensorForOutLane(), libsumo::Helper::buildStopParameters(), MSDevice_Bluelight::buildVehicleDevices(), MSVehicleDevice_BTreceiver::buildVehicleDevices(), MSVehicleDevice_BTsender::buildVehicleDevices(), MSDevice_DriverState::buildVehicleDevices(), MSDevice_ElecHybrid::buildVehicleDevices(), MSDevice_Example::buildVehicleDevices(), MSDevice_FCD::buildVehicleDevices(), MSDevice_FCDReplay::buildVehicleDevices(), MSDevice_Friction::buildVehicleDevices(), MSDevice_GLOSA::buildVehicleDevices(), MSDevice_Routing::buildVehicleDevices(), MSDevice_SSM::buildVehicleDevices(), MSDevice_Taxi::buildVehicleDevices(), MSDevice_ToC::buildVehicleDevices(), MSDevice_Tripinfo::buildVehicleDevices(), MSDevice_Transportable::buildVehicleDevices(), MSDevice_Vehroutes::buildVehicleDevices(), MSDevice_Battery::buildVehicleDevices(), NBNode::buildWalkingAreas(), MSBaseVehicle::calculateArrivalParams(), MSSwarmTrafficLightLogic::calculateEtaDiff(), MSSwarmTrafficLightLogic::calculateEtaRatio(), NEMALogic::calculateInitialPhases170(), MSE2Collector::calculateTimeLossAndTimeOnDetector(), MSDevice_Taxi::cancelCurrentCustomers(), MSDevice_Taxi::cancelCustomer(), MSStageDriving::canLeaveVehicle(), MSSOTLPolicyBasedTrafficLightLogic::canRelease(), MSLCHelper::canSaveBlockerLength(), MSLaneChanger::change(), MSLaneChangerSublane::change(), MSLCM_SL2015::changed(), MSLaneChanger::changeOpposite(), MELoop::changeSegment(), MSActuatedTrafficLightLogic::changeStepAndDuration(), MSSimpleTrafficLightLogic::changeStepAndDuration(), LIBSUMO_NAMESPACE::Vehicle::changeTarget(), MSCFModel_CC::changeWholePlatoonLane(), MSTLLogicControl::check2Switch(), MSEdge::checkAndRegisterBiDirEdge(), MSLaneChanger::checkChange(), MSLaneChanger::checkChangeOpposite(), MSLaneChangerSublane::checkChangeOpposite(), MSLaneChangerSublane::checkChangeSublane(), NBEdgeCont::checkConsistency(), MSRailSignal::DriveWay::checkCrossingFlanks(), MSDevice_ToC::checkDynamicToC(), MSLane::checkFailure(), MSRailSignal::DriveWay::checkFlanks(), MSLane::checkForPedestrians(), MSVehicleTransfer::checkInsertions(), MSVehicle::checkLinkLeader(), MSE2Collector::checkPositioning(), MSRoute::checkRemoval(), MSVehicle::checkReversal(), MSVehicle::checkRewindLinkLanes(), MEVehicle::checkStop(), MSLCM_SL2015::checkStrategicChange(), MSAbstractLaneChangeModel::checkTraCICommands(), MSLaneChanger::checkTraCICommands(), MSLink::checkWalkingAreaFoe(), MSSwarmTrafficLightLogic::choosePolicy(), MSDevice_SSM::classifyEncounter(), ShapeContainer::clearHighlights(), NBTrafficLightLogic::closeBuilding(), ODDistrictHandler::closeDistrict(), NLHandler::closeEdge(), MSDevice_SSM::closeEncounter(), RORouteHandler::closeRouteDistribution(), MSRouteHandler::closeVehicle(), RORouteHandler::closeVehicle(), NBTrafficLightDefinition::collectAllLinks(), NBTrafficLightDefinition::collectEdges(), NBLoadedSUMOTLDef::collectEdgeVectors(), NBLoadedTLDef::collectLinks(), MSLCM_SL2015::commitManoeuvre(), IntermodalRouter< E, L, N, V >::compute(), NBTrafficLightDefinition::compute(), ROJTRRouter::compute(), MSVehicle::computeAngle(), MSDispatch::computeDetourTime(), NBNodeShapeComputer::computeEdgeBoundaries(), MSVehicle::computeFurtherLanes(), MSDevice_SSM::computeGlobalMeasures(), NBNode::computeInternalLaneShape(), NBNode::computeLanes2Lanes(), NBNode::computeLogic(), NBOwnTLDef::computeLogicAndConts(), NBNodeShapeComputer::computeNodeShapeDefault(), NBNodeShapeComputer::computeNodeShapeSmall(), NBNodeTypeComputer::computeNodeTypes(), NBRampsComputer::computeRamps(), RODFNet::computeRoutesFor(), MSLaneChanger::computeSafeOppositeLength(), NBTrafficLightLogicCont::computeSingleLogic(), NBNode::computeSmoothShape(), MSLCM_LC2013::computeSpeedLat(), MSLCM_SL2015::computeSpeedLat(), MSDevice_SSM::computeSSMs(), MSLaneChanger::computeSurplusGap(), NBTurningDirectionsComputer::computeTurnDirectionsForNode(), MSVehicle::Manoeuvre::configureEntryManoeuvre(), MSVehicle::Manoeuvre::configureExitManoeuvre(), MSRailSignal::DriveWay::conflictLaneOccupied(), NGNet::connect(), MSRailSignal::constraintsAllow(), NEMALogic::constructTimingAndPhaseDefs(), MSLaneChanger::continueChange(), MSLaneChangerSublane::continueChangeSublane(), libsumo::Helper::convertCartesianToRoadMap(), LIBSUMO_NAMESPACE::Person::convertTraCIStage(), NBLoadedSUMOTLDef::copyIndices(), NBOwnTLDef::correctConflicting(), NBOwnTLDef::corridorLike(), MSSOTLWaveTrafficLightLogic::countVehicles(), MSSOTLE2Sensors::countVehicles(), MSDevice_SSM::createEncounters(), GNETLSEditorFrame::TLSDefinition::createTLS(), GUINet::createTLWrapper(), MSDevice_Taxi::customerArrived(), NBNodeCont::customTLID(), MSDevice_ToC::deactivateDeliberateLCs(), MSRailSignal::DriveWay::deadlockLaneOccupied(), libsumo::Helper::debugPrint(), MSLCM_SL2015::decideDirection(), MSActuatedTrafficLightLogic::decideNextPhase(), MSDeterministicHiLevelTrafficLightLogic::decideNextPhase(), MSSOTLPolicyBasedTrafficLightLogic::decideNextPhase(), MSSwarmTrafficLightLogic::decideNextPhase(), MSDeterministicHiLevelTrafficLightLogic::decidePolicy(), MSSwarmTrafficLightLogic::decidePolicy(), MSVehicleControl::deleteVehicle(), MSDevice_ElecHybrid::deleteVehicleFromCircuit(), MSLane::detectCollisionBetween(), MSLane::detectCollisions(), MSE3Collector::detectorUpdate(), MSLane::detectPedestrianJunctionCollision(), NIVissimDistrictConnection::dict_BuildDistrictNodes(), NIVissimDistrictConnection::dict_BuildDistricts(), MSEdge::dictionaryHint(), NBNodeCont::discardTrafficLights(), MSDispatch_Greedy::dispatch(), MSDispatch_GreedyShared::dispatch(), MSDispatch_RouteExtension::dispatch(), MSDevice_Taxi::dispatchShared(), GUILane::drawGL(), MSDevice_SSM::Encounter::Encounter(), MSAbstractLaneChangeModel::endLaneChangeManeuver(), MSE3Collector::enter(), NEMAPhase::enter(), MSParkingArea::enter(), MSVehicle::enterLaneAtLaneChange(), MSVehicle::enterLaneAtMove(), MSVehicle::Manoeuvre::entryManoeuvreIsComplete(), MSTransportableControl::erase(), NEMALogic::error_handle_not_set(), MSStoppingPlaceRerouter::evaluateDestination(), METriggeredCalibrator::execute(), Command_SaveTLSProgram::execute(), Command_SaveTLSState::execute(), Command_SaveTLSSwitches::execute(), Command_SaveTLSSwitchStates::execute(), Command_RouteReplacement::execute(), MSDevice_BTreceiver::BTreceiverUpdate::execute(), MSVTypeProbe::execute(), MSPModel_Striping::MovePedestrians::execute(), MSCalibrator::execute(), MSPModel_JuPedSim::execute(), MSVehicle::executeFractionalMove(), MSVehicle::executeMove(), MSLane::executeMovements(), NBNodeCont::extract(), NBTrafficLightLogicCont::extract(), MSDevice_SSM::filterByConflictType(), LIBSUMO_NAMESPACE::Person::filterReservation(), NBLoadedSUMOTLDef::finalChecks(), MSCFModel::finalizeSpeed(), MSCFModel_Daniel1::finalizeSpeed(), MSCFModel_EIDM::finalizeSpeed(), MSLaneChanger::findCandidate(), LIBSUMO_NAMESPACE::TrafficLight::findConstraintsDeadLocks(), MSRailSignal::DriveWay::findFlankProtection(), MSDevice_SSM::findFoeConflictLane(), LIBSUMO_NAMESPACE::Simulation::findIntermodalRoute(), MSDevice_SSM::findSurroundingVehicles(), MSDevice_SSM::flushConflicts(), MSDevice_SSM::flushGlobalMeasures(), MSCFModel_CACC::followSpeed(), MSCFModel_EIDM::followSpeed(), MSCFModel_W99::followSpeed(), NBTrafficLightDefinition::forbids(), MSLaneChanger::foundHilltop(), MSCFModel_EIDM::freeSpeed(), NBNodeCont::generateNodeClusters(), MSDevice_Tripinfo::generateOutput(), generateOutput(), MSStopOut::generateOutputForUnfinished(), GUITrafficLightLogicWrapper::getActiveTLLogic(), RODFDetectorCon::getAggFlowFor(), RODFDetectorCon::getAnyDetectorForEdge(), MSPModel_Striping::getArbitraryPath(), MSVehicle::getBackPosition(), MSVehicle::getBackPositionOnLane(), LIBSUMO_NAMESPACE::Vehicle::getBestLanes(), MSLaneChanger::getBestLanesOpposite(), NBOwnTLDef::getBestPair(), LIBSUMO_NAMESPACE::Edge::getBidiEdge(), LIBSUMO_NAMESPACE::Lane::getBidiLane(), SUMOTrafficObject::getBoolParam(), NBRailwayTopologyAnalyzer::getBrokenRailNodes(), MSLane::getCanonicalPredecessorLane(), MSLane::getCanonicalSuccessorLane(), MSVehicle::getCenterOnEdge(), MSDevice_Battery::getChargingStationID(), MSRailSignal::getClickableTLLinkID(), LIBSUMO_NAMESPACE::Simulation::getCollisions(), GUIVehicle::getColorValue(), MSLaneChanger::getColumnleader(), MSActuatedTrafficLightLogic::getConditions(), LIBSUMO_NAMESPACE::TrafficLight::getConstraintsByFoe(), LIBSUMO_NAMESPACE::TrafficLight::getControlledLinks(), MSLane::getCriticalLeader(), MSCalibrator::getCurrentStateInterval(), NBNodeShapeComputer::getDefaultRadius(), MSLink::getDescription(), MSStop::getDescription(), NBTrafficLightDefinition::getDescription(), MSStageTrip::getDestinationDescription(), GUIPerson::getDestinationEdgeID(), GUIPerson::getDestinationStopID(), MSDevice_SSM::getDetectionRange(), RODFNet::getDetectorEdge(), MSActuatedTrafficLightLogic::getDetectorPriority(), MSRailSignal::LinkInfo::getDriveWay(), MSSimpleTrafficLightLogic::getEarliest(), GUIPerson::getEdgeID(), GUIMEVehicle::getEdgeID(), MSMeanData::getEdgeID(), LIBSUMO_NAMESPACE::RouteProbe::getEdgeID(), MSDevice_SSM::getExtraTime(), MSLane::getFirstVehicleInformation(), SUMOTrafficObject::getFloatParam(), MSBaseVehicle::getFlowID(), MSLane::getFollower(), MSLane::getFollowersOnConsecutive(), GUIPerson::getFromEdgeID(), MSPModel_InteractingState::getID(), NBEdge::getID(), LIBSUMO_NAMESPACE::Vehicle::getJunctionFoes(), MSRailSignal::getJunctionLinkID(), LIBSUMO_NAMESPACE::Calibrator::getLaneID(), NEMALogic::getLaneInfoFromNEMAState(), MSParkingArea::getLastFreePos(), MSParkingArea::getLastFreePosWithReservation(), MSLane::getLastVehicleInformation(), MSSimpleTrafficLightLogic::getLatest(), MSVehicle::getLatOffset(), MSLane::getLeader(), MSLink::getLeaderInfo(), MSLane::getLeaderOnConsecutive(), MSLaneChangerSublane::getLeaders(), MSLane::getLeadersOnConsecutive(), MSLink::getLengthBeforeCrossing(), MSDevice_BTsender::getLocation(), MSDevice_SSM::getMDRAC_PRT(), MSDeterministicHiLevelTrafficLightLogic::getMeanSpeedForInputLanes(), MSDeterministicHiLevelTrafficLightLogic::getMeanSpeedForOutputLanes(), MSDevice_SSM::getMeasuresAndThresholds(), NIImporter_VISUM::getNamedEdgeContinuating(), MSPModel_Striping::getNeighboringObstacles(), MSCalibrator::getNewVehicleID(), MSPerson::getNextEdge(), MSPModel_Striping::getNextLane(), MSPModel_Striping::getNextLaneObstacles(), LIBSUMO_NAMESPACE::Vehicle::getNextLinks(), MSLaneChanger::getOncomingOppositeVehicle(), MSLane::getOppositeFollower(), MSLane::getOppositeLeader(), MSStageTrip::getOriginDescription(), MSDevice_SSM::getOutputFilename(), MSDevice_ElecHybrid::getOverheadWireSegmentID(), MSOverheadWire::getOverheadWireSegmentName(), getParameter(), MSDevice_ToC::getParameter(), MSActuatedTrafficLightLogic::getParameter(), NEMALogic::getParameter(), LIBSUMO_NAMESPACE::Simulation::getParameter(), GUITrafficLightLogicWrapper::getParameterWindow(), GUIContainer::getParameterWindow(), GUILane::getParameterWindow(), GUILane::getParentName(), MSLane::getPartialBehind(), MSSimpleDriverState::getPerceivedHeadway(), MSSimpleDriverState::getPerceivedSpeedDifference(), MSSOTLTrafficLightLogic::getPhaseIndexWithMaxCTS(), MSSwarmTrafficLightLogic::getPheromoneForInputLanes(), MSSwarmTrafficLightLogic::getPheromoneForOutputLanes(), PolygonDynamics::getPolygonID(), GUITrafficLightLogicWrapper::getPopUpMenu(), NLTriggerBuilder::getPosition(), NLDetectorBuilder::getPositionChecking(), MSBaseVehicle::getPrefixedParameter(), MSCFModel_CC::getRadarMeasurements(), MSLaneChanger::getRealFollower(), MSLaneChanger::getRealLeader(), LIBSUMO_NAMESPACE::Vehicle::getRoadID(), MSLCHelper::getRoundaboutDistBonus(), LIBSUMO_NAMESPACE::Vehicle::getRouteID(), LIBSUMO_NAMESPACE::Calibrator::getRouteProbeID(), MSBaseVehicle::getRouteValidity(), GUIBaseVehicle::getScaleValue(), MSAbstractLaneChangeModel::getShadowLane(), MSBaseVehicle::getSingularType(), MSTransportable::getSingularType(), LIBSUMO_NAMESPACE::Person::getStage(), MSStageDriving::getStageSummary(), MSStageTranship::getStageSummary(), MSStageWaiting::getStageSummary(), MSStageWalking::getStageSummary(), MSDevice_Taxi::getStopLane(), MSNet::getStoppingPlaceID(), SUMOTrafficObject::getStringParam(), MSLane::getSurroundingVehicles(), MSActuatedTrafficLightLogic::getTarget(), LIBSUMO_NAMESPACE::Vehicle::getTeleportingIDList(), SUMOTrafficObject::getTimeParam(), MSRailSignal::getTLLinkID(), NIImporter_OpenDrive::getTLSSecure(), MSDevice_ElecHybrid::getTractionSubstationID(), PedestrianEdge< E, L, N, V >::getTravelTime(), MSVehicle::getUpcomingLanesUntil(), MSLane::getUpcomingLinks(), MSDevice_SSM::getUpstreamVehicles(), LIBSUMO_NAMESPACE::Person::getVehicle(), LIBSUMO_NAMESPACE::TrafficLight::getVehicleByTripId(), GUIPerson::getVehicleID(), MSPModel_Striping::getVehicleObstacles(), MSStageTrip::getVehicles(), MSDevice_SSM::getVehiclesOnJunction(), MSRailSignalConstraint::getVehID(), MSStageDriving::getWaitingDescription(), MSEdge::getWaitingVehicle(), MSStoppingPlaceRerouter::getWeight(), MSLink::getZipperSpeed(), GNEEdge::GNEEdge(), NBNode::guessCrossings(), RODFDetectorCon::guessEmptyFlows(), NBNodeCont::guessTLs(), GUITLLogicPhasesTrackerWindow::GUITLLogicPhasesTrackerWindow(), MSLane::handleCollisionBetween(), MSLane::handleIntermodalCollisionBetween(), MSRailSignal::hasInsertionConstraint(), MSRailSignal::hasOncomingRailTraffic(), MSBaseVehicle::hasValidRouteStart(), MSVehicle::hasValidRouteStart(), MSBaseVehicle::haveValidStopEdges(), LIBSUMO_NAMESPACE::POI::highlight(), LIBSUMO_NAMESPACE::Vehicle::highlight(), MSIdling_Stop::idle(), MSIdling_RandomCircling::idle(), MSIdling_TaxiStand::idle(), MSLink::ignoreFoe(), MSVehicle::ignoreFoe(), MSVehicle::ignoreRed(), MSVehicle::Influencer::implicitDeltaPosRemote(), NBNode::indirectLeftShape(), MSLCM_LC2013::inform(), MSLCM_SL2015::inform(), MSLCM_SL2015::informFollower(), MSLCM_LC2013::informFollower(), MSLCM_SL2015::informLeader(), MSLCM_LC2013::informLeader(), MSCalibrator::init(), NBEdge::init(), MSDeterministicHiLevelTrafficLightLogic::init(), MSSOTLTrafficLightLogic::init(), MSSwarmTrafficLightLogic::init(), MSTrafficLightLogic::init(), MSActuatedTrafficLightLogic::init(), MSDelayBasedTrafficLightLogic::init(), MSRailSignal::init(), NEMALogic::init(), MSActuatedTrafficLightLogic::initAttributeOverride(), MSE2Collector::initAuxiliaries(), MESegment::initialise(), MSPModel_JuPedSim::initialize(), MSTrafficLightLogic::initMesoTLSPenalties(), NBOwnTLDef::initNeedsContRelation(), PolygonDynamics::initTrackedPosition(), NIImporter_SUMO::initTrafficLightLogic(), NIXMLTrafficLightsHandler::initTrafficLightLogic(), NBDistrictCont::insert(), NBNodeCont::insert(), NBTrafficLightLogicCont::insert(), NIImporter_OpenStreetMap::insertEdge(), MSCFModel_IDM::insertionFollowSpeed(), MSBaseVehicle::insertStop(), MSLane::insertVehicle(), MSEdge::insertVehicle(), MSPModel_Striping::insertWalkArePaths(), MSLane::integrateNewVehicles(), IntermodalNetwork< E, L, N, V >::IntermodalNetwork(), GNEJunction::invalidateTLS(), NBNode::invalidateTLS(), MSTLLogicControl::isActive(), MSPedestrianPushButton::isActiveForEdge(), MSPedestrianPushButton::isActiveOnAnySideOfTheRoad(), RODFNet::isAllowed(), RODFNet::isDestination(), RODFNet::isFalseSource(), MSLane::isInsertionSuccess(), MSBaseVehicle::isJumping(), MSVehicle::isLeader(), MESegment::isOpen(), MSCFModel_CC::isPlatoonLaneChangeSafe(), RODFNet::isSource(), NIImporter_VISUM::isSplitEdge(), MSSOTLTrafficLightLogic::isThresholdPassed(), RORoute::isValid(), MSStageDriving::isWaitingFor(), MESegment::jamThresholdForSpeed(), NBNodeCont::joinNodeCluster(), NBNodeCont::joinSameJunctions(), MSVehicle::joinTrainPartFront(), MSAbstractLaneChangeModel::laneChangeOutput(), MSVehicle::lateralDistanceToLane(), MSE3Collector::leave(), MSE3Collector::leaveFront(), MSVehicle::leaveLane(), MSDevice_BTreceiver::BTreceiverUpdate::leaveRange(), MSPedestrianPushButton::loadCrossingEdgeMap(), MSStopOut::loadedContainers(), MSStopOut::loadedPersons(), NIImporter_OpenDrive::loadNetwork(), MSPedestrianPushButton::loadPushButtons(), MSVehicle::loadState(), MSVehicleTransfer::loadState(), MSActuatedTrafficLightLogic::loadState(), ODDistrictCont::makeDistricts(), MSE2Collector::makeMoveNotification(), MSE2Collector::makeVehicleInfo(), NWWriter_OpenDrive::mapmatchRoadObjects(), MEVehicle::mayProceed(), MSSOTLE2Sensors::meanVehiclesSpeed(), METriggeredCalibrator::METriggeredCalibrator(), MSDevice_FCDReplay::move(), MSTransportableDevice_FCDReplay::move(), MSPModel_Striping::moveInDirection(), MSPModel_Striping::moveInDirectionOnLane(), MSPModel_Striping::PState::moveTo(), MSPModel_Striping::PState::moveToNextLane(), LIBSUMO_NAMESPACE::Person::moveToXY(), LIBSUMO_NAMESPACE::Vehicle::moveToXY(), MSPModel_Striping::PState::moveToXY(), libsumo::Helper::moveToXYMap(), MSDevice_ToC::MRMExecutionStep(), MSChargingStation::MSChargingStation(), MSDevice_Battery::MSDevice_Battery(), MSDevice_ElecHybrid::MSDevice_ElecHybrid(), MSDevice_Taxi::MSDevice_Taxi(), MSDevice_ToC::MSDevice_ToC(), MSE2Collector::MSE2Collector(), MSLCM_LC2013::MSLCM_LC2013(), MSParkingArea::MSParkingArea(), MSSimpleDriverState::MSSimpleDriverState(), MSLCM_SL2015::mustOvertakeStopped(), NBLoadedTLDef::myCompute(), NIImporter_SUMO::myEndElement(), MSStateHandler::myStartElement(), MSCalibrator::myStartElement(), MSLaneSpeedTrigger::myStartElement(), MSTriggeredRerouter::myStartElement(), MSDevice_FCDReplay::FCDHandler::myStartElement(), MSPModel_Interacting::nextBlocking(), MSLane::AnyVehicleIterator::nextIsMyVehicles(), MSDevice_ElecHybrid::notifyEnter(), MSE2Collector::notifyEnter(), MSDevice_Bluelight::notifyEnter(), MSDevice_BTreceiver::notifyEnter(), MSDevice_BTsender::notifyEnter(), MSDevice_Example::notifyEnter(), MSDevice_GLOSA::notifyEnter(), MSDevice_SSM::notifyEnter(), MSDevice_Tripinfo::notifyEnter(), MSMeanData::MeanDataValues::notifyEnter(), MSMeanData::MeanDataValueTracker::notifyEnter(), MSMeanData_Net::MSLaneMeanDataValues::notifyEnter(), MSRailSignalConstraint_Predecessor::PassedTracker::notifyEnter(), MSCalibrator::VehicleRemover::notifyEnter(), MSE3Collector::MSE3EntryReminder::notifyEnter(), MSE3Collector::MSE3LeaveReminder::notifyEnter(), MSDevice_ElecHybrid::notifyLeave(), MSDevice_Bluelight::notifyLeave(), MSDevice_BTreceiver::notifyLeave(), MSDevice_BTsender::notifyLeave(), MSDevice_Example::notifyLeave(), MSDevice_SSM::notifyLeave(), MSDevice_Transportable::notifyLeave(), MSDevice_Tripinfo::notifyLeave(), MSE2Collector::notifyLeave(), MSE3Collector::MSE3EntryReminder::notifyLeave(), MSE3Collector::MSE3LeaveReminder::notifyLeave(), MSDevice_ElecHybrid::notifyMove(), MSDevice_Battery::notifyMove(), MSDevice_Bluelight::notifyMove(), MSDevice_BTreceiver::notifyMove(), MSDevice_BTsender::notifyMove(), MSDevice_Example::notifyMove(), MSDevice_GLOSA::notifyMove(), MSDevice_SSM::notifyMove(), MSE2Collector::notifyMove(), MSInductLoop::notifyMove(), MSMeanData::MeanDataValues::notifyMove(), notifyMove(), MSDevice_ToC::notifyMove(), MSE3Collector::MSE3LeaveReminder::notifyMove(), MSE3Collector::MSE3EntryReminder::notifyMove(), MSMeanData_Net::MSLaneMeanDataValues::notifyMoveInternal(), GNETLSEditorFrame::TLSDefinition::onCmdResetCurrentProgram(), MSVehicle::onRemovalFromNet(), MSLink::opened(), RORouteHandler::openRoute(), MSLane::incoming_lane_priority_sorter::operator()(), MSLane::outgoing_lane_priority_sorter::operator()(), MSEdge::transportable_by_position_sorter::operator()(), NBNetBuilder::by_id_sorter::operator()(), NBNode::nodes_by_id_sorter::operator()(), RODFNet::idComp::operator()(), MSLaneChangerSublane::outputLCStarted(), NIImporter_VISUM::parse_Connectors_legacy(), NIImporter_VISUM::parse_EdgePolys(), NIImporter_VISUM::parse_Lanes(), NIImporter_VISUM::parse_stopPoints(), NIImporter_VISUM::parse_Turns(), NLTriggerBuilder::parseAndBuildCalibrator(), NLTriggerBuilder::parseAndBuildOverheadWireSection(), MSRouteHandler::parseWalkPositions(), NBLoadedSUMOTLDef::patchIfCrossingsAdded(), MSLCM_LC2013::patchSpeed(), MSLCM_SL2015::patchSpeed(), MSRoutingEngine::patchSpeedForTurns(), NBLoadedTLDef::SignalGroup::patchTYellow(), MSCFModel_CC::performAutoLaneChange(), MSVehicle::planMove(), MSVehicle::planMoveInternal(), MSLane::planMovements(), PolygonDynamics::PolygonDynamics(), MSInternalJunction::postloadInit(), MSRightOfWayJunction::postloadInit(), MSVehicle::Influencer::postProcessRemoteControl(), MSLCM_SL2015::prepareStep(), MSDevice_Taxi::prepareStop(), MSLCM_SL2015::preventSliding(), MSAbstractLaneChangeModel::primaryLaneChanged(), AGStreet::print(), MSStageDriving::proceed(), MSDevice_SSM::processEncounters(), MSVehicle::processLaneAdvances(), MSVehicle::processLinkApproaches(), MSVehicle::processNextStop(), NIXMLNodesHandler::processNodeType(), TraCIServerAPI_Vehicle::processSet(), MSVehicle::processTraCISpeedControl(), NIXMLNodesHandler::processTrafficLightDefinitions(), MSDelayBasedTrafficLightLogic::proposeProlongation(), NBNodeCont::pruneClusterFringe(), NBNodeCont::pruneSlipLaneNodes(), MSPModel_Striping::PState::PState(), NBTrafficLightDefinition::railSignalUncontrolled(), MSDevice_Battery::readParameterValue(), MSOffTrafficLightLogic::rebuildPhase(), NBEdge::recheckLanes(), NBEdgeCont::recheckPostProcessConnections(), NIImporter_OpenStreetMap::reconstructLayerElevation(), NBLoadedSUMOTLDef::reconstructLogic(), NBEdge::reduceGeometry(), MSNet::registerCollision(), MSPModel_Striping::registerCrossingApproach(), MSRailSignalControl::registerProtectedDriveway(), MSLink::removeApproaching(), MSLink::removeApproachingPerson(), LIBSUMO_NAMESPACE::TrafficLight::removeConstraints(), MSVehicle::removePassedDriveItems(), MSCalibrator::removePending(), MSDispatch::removeReservation(), GNEJunction::removeTLSConnections(), NBNodeCont::rename(), NBTrafficLightLogicCont::rename(), RORouteDef::repairCurrentRoute(), GNEJunction::replaceIncomingConnections(), MSBaseVehicle::replaceParkingArea(), MSBaseVehicle::replaceRoute(), MSBaseVehicle::replaceRouteEdges(), MSBaseVehicle::replaceStop(), MSTransportable::replaceVehicleType(), MSPerson::replaceWalk(), NIImporter_DlrNavteq::TrafficlightsHandler::report(), NLEdgeControlBuilder::reportCurrentEdgeOrLane(), MSDevice_SSM::requestsTrajectories(), MSDevice_ToC::requestToC(), MSStageTrip::reroute(), MSStoppingPlaceRerouter::reroute(), MSBaseVehicle::reroute(), MSRailSignal::LinkInfo::reroute(), GUIVehicle::rerouteDRTStop(), MSVehicle::rerouteParkingArea(), MSTransportable::rerouteParkingArea(), rerouteToChargingStation(), MSDevice_ToC::resetDeliberateLCs(), MSLane::resetManeuverReservation(), MSLane::resetPartialOccupation(), MSDevice_Bluelight::resetVehicle(), MSLaneChanger::resolveDeadlock(), LIBSUMO_NAMESPACE::Vehicle::resume(), MEVehicle::resumeFromStopping(), MSVehicle::resumeFromStopping(), MSRailSignal::retrieveDriveWay(), NIImporter_OpenDrive::retrieveSignalEdges(), RODFNet::revalidateFlows(), NBRailwayTopologyAnalyzer::reverseEdges(), MSStageDriving::routeOutput(), MSStageTranship::routeOutput(), MSStageTrip::routeOutput(), MSStageWaiting::routeOutput(), MSStageWalking::routeOutput(), MSLane::safeInsertionSpeed(), RONet::saveAndRemoveRoutesUntil(), ROPerson::Ride::saveAsXML(), ROVehicle::saveAsXML(), MSLCM_LC2013::saveBlockerLength(), MSLane::saveState(), MESegment::saveState(), MSDevice::saveState(), MSDevice_Battery::saveState(), MSDevice_Routing::saveState(), MSDevice_Transportable::saveState(), MSDevice_Tripinfo::saveState(), MSDevice_Vehroutes::saveState(), MSTransportableDevice_Routing::saveState(), MSSimpleTrafficLightLogic::saveState(), MSStageDriving::saveState(), MSCalibrator::scheduleRemoval(), GUIVehicle::selectBlockingFoes(), MSE2Collector::selectLanes(), MSVehicle::setAngle(), MSLink::setApproaching(), MSVehicle::setApproachingForAllLinks(), NBNodeCont::setAsTLControlled(), GNEJunction::setAttribute(), MSSimpleDriverState::setAwareness(), MSLane::setBidiLane(), MSEdge::setBidiLanes(), NLEdgeControlBuilder::setDefaultStopOffset(), MSBaseVehicle::setDepartAndArrivalEdge(), MSCalibrator::setFlow(), NBEdge::setGeometry(), MSBaseVehicle::setJunctionModelParameter(), MSTransportable::setJunctionModelParameter(), MSAbstractLaneChangeModel::setManeuverDist(), MSLane::setManeuverReservation(), MSDevice_Battery::setMaximumBatteryCapacity(), MSDevice_Battery::setMaximumChargeRate(), NBEdge::setNodeBorder(), MSLane::setOpposite(), MSLCM_SL2015::setOwnState(), MSDevice_ToC::setParameter(), MSActuatedTrafficLightLogic::setParameter(), MSSimpleTrafficLightLogic::setParameter(), NEMALogic::setParameter(), MSCFModel_CACC::setParameter(), MSCFModel_CC::setParameter(), MSLane::setPartialOccupation(), NBEdgePriorityComputer::setPriorityJunctionPriorities(), libsumo::Helper::setRemoteControlled(), MSLink::setRequestInformation(), LIBSUMO_NAMESPACE::Vehicle::setRoute(), LIBSUMO_NAMESPACE::Vehicle::setRouteID(), MSDevice_Battery::setStoppingThreshold(), NBLoadedSUMOTLDef::setTLControllingInformation(), NBLoadedTLDef::setTLControllingInformation(), NBOwnTLDef::setTLControllingInformation(), NBTrafficLightLogicCont::setTLControllingInformation(), MSStageDriving::setVehicle(), MSOverheadWire::setVoltage(), NBEdge::shiftPositionAtNode(), MSLCM_LC2013::slowDownForBlocked(), MSLCM_SL2015::slowDownForBlocked(), MSVehicle::slowDownForSchedule(), MSLane::sortManeuverReservations(), IntermodalNetwork< E, L, N, V >::splitEdge(), MSDispatch_TraCI::splitReservation(), MSLaneChangerSublane::startChangeSublane(), MSStopOut::stopEnded(), MSCFModel_EIDM::stopSpeed(), MSStopOut::stopStarted(), MSLane::succLinkSec(), LIBSUMO_NAMESPACE::TrafficLight::swapConstraints(), MSDevice_ToC::switchHolderType(), GNETLSEditorFrame::TLSDefinition::switchProgram(), GUITrafficLightLogicWrapper::switchTLSLogic(), teleportToChargingStation(), MELoop::teleportVehicle(), MSDevice_ToC::ToCPreparationStep(), libsumo::Helper::TransportableStateListener::transportableStateChanged(), TraCIServer::transportableStateChanged(), MSDevice_ToC::triggerDownwardToC(), MSDevice_ToC::triggerMRM(), MSTriggeredRerouter::triggerRouting(), MSDevice_ToC::triggerUpwardToC(), MSTransportable::tripInfoOutput(), MSPerson::MSPersonStage_Access::tripInfoOutput(), METriggeredCalibrator::tryEmit(), MSPModel_JuPedSim::tryPedestrianInsertion(), MSSOTLTrafficLightLogic::trySwitch(), MSActuatedTrafficLightLogic::trySwitch(), NEMALogic::trySwitch(), MSStopOut::unloadedContainers(), MSStopOut::unloadedPersons(), MSPModel_Interacting::unregisterCrossingApproach(), MSDevice_SSM::update(), MSSimpleDriverState::update(), PolygonDynamics::update(), MSDevice_SSM::updateAndWriteOutput(), MSVehicle::updateBestLanes(), MSLCHelper::updateBlockerLength(), MSLCM_SL2015::updateCFRelated(), updateChargeLimit(), LIBSUMO_NAMESPACE::TrafficLight::updateConstraints(), MSSOTLTrafficLightLogic::updateCTS(), NLEdgeControlBuilder::updateCurrentLaneStopOffset(), MSVehicle::updateDriveItems(), MSRailSignal::updateDriveway(), MSDevice_SSM::updateEncounter(), MSLCM_SL2015::updateExpectedSublaneSpeeds(), MSVehicle::updateFurtherLanes(), MSLCM_SL2015::updateGaps(), GNENetHelper::AttributeCarriers::updateJunctionID(), MSDevice_Taxi::updateMove(), MSSwarmTrafficLightLogic::updatePheromoneLevels(), MSVehicle::Influencer::updateRemoteControlRoute(), MSDispatch::updateReservationFromPos(), MSSwarmTrafficLightLogic::updateSensitivities(), MSAbstractLaneChangeModel::updateShadowLane(), MSVehicle::updateState(), MSAbstractLaneChangeModel::updateTargetLane(), MSDevice_BTreceiver::BTreceiverUpdate::updateVisibility(), MSDevice_SSM::useGeoCoords(), NEMALogic::validate_timing(), NBNodeTypeComputer::validateRailCrossings(), libsumo::Helper::VehicleStateListener::vehicleStateChanged(), MSRailSignalControl::vehicleStateChanged(), TraCIServer::vehicleStateChanged(), MSDynamicShapeUpdater::vehicleStateChanged(), MSLCM_LC2013::wantsChange(), MSLCM_SL2015::wantsChange(), MSLCM_SL2015::wantsChangeSublane(), MSInstantInductLoop::write(), NBParking::write(), MSElecHybridExport::write(), MSFCDExport::write(), MSBatteryExport::write(), MSEmissionExport::write(), MSRailSignalConstraint_Predecessor::write(), MSElecHybridExport::writeAggregated(), MSLink::writeApproaching(), MSRailSignal::writeBlocks(), NWWriter_DlrNavteq::writeConnectedLanes(), NWWriter_SUMO::writeDistrict(), MSMeanData::writeEdge(), NWWriter_SUMO::writeEdge(), MSFullExport::writeEdge(), MSXMLRawOut::writeEdge(), MSRoute::writeEdgeIDs(), NWWriter_XML::writeEdgesAndConnections(), RODFDetector::writeEmitterDefinition(), RODFDetectorCon::writeEmitterPOIs(), RODFDetectorCon::writeEmitters(), RODFDetectorCon::writeEndRerouterDetectors(), NWWriter_OpenDrive::writeInternalEdge(), ROMAAssignments::writeInterval(), NWWriter_SUMO::writeJunction(), MSFullExport::writeLane(), MSQueueExport::writeLane(), MSXMLRawOut::writeLane(), MSDevice_SSM::writeLanesPositions(), NWWriter_DlrNavteq::writeLinksUnsplitted(), NWWriter_OpenDrive::writeNetwork(), NWWriter_XML::writeNodes(), NWWriter_DlrNavteq::writeNodesUnsplitted(), MSTractionSubstation::writeOut(), MSDevice_ToC::writeOutput(), MSNet::writeOutput(), MSDevice_Vehroutes::writeOutput(), MSOverheadWire::writeOverheadWireSegmentOutput(), MSDevice_SSM::writePositions(), NWWriter_OpenDrive::writeRoadObjectPOI(), NWWriter_OpenDrive::writeRoadObjectPoly(), NWWriter_SUMO::writeRoundabout(), NWWriter_OpenDrive::writeSignals(), RODFDetectorCon::writeSpeedTrigger(), NWWriter_SUMO::writeTrafficLight(), NWWriter_DlrNavteq::writeTrafficSignals(), MSFCDExport::writeTransportable(), MSXMLRawOut::writeTransportable(), RODFDetectorCon::writeValidationDetectors(), MSXMLRawOut::writeVehicle(), MSAmitranTrajectories::writeVehicle(), MSFullExport::writeVehicles(), SUMOPolygon::writeXML(), PointOfInterest::writeXML(), MSE2Collector::writeXMLOutput(), MSInductLoop::writeXMLOutput(), MSCalibrator::writeXMLOutput(), MSRouteProbe::writeXMLOutput(), MSLaneChanger::yieldToDeadlockOncoming(), MSLaneChanger::yieldToOppositeWaiting(), MSCalibrator::~MSCalibrator(), MSDevice_Transportable::~MSDevice_Transportable(), MSLaneSpeedTrigger::~MSLaneSpeedTrigger(), MSTriggeredRerouter::~MSTriggeredRerouter(), and RONet::~RONet().

◆ getIDSecure()

template<class T >
static std::string Named::getIDSecure ( const T *  obj,
const std::string &  fallBack = "NULL" 
)
inlinestaticinherited

get an identifier for Named-like object which may be Null

Definition at line 67 of file Named.h.

Referenced by MSLCM_LC2013::_wantsChange(), MSLCM_SL2015::_wantsChangeSublane(), MSLaneChanger::avoidDeadlock(), MSLaneChanger::changeOpposite(), MSLaneChanger::checkChangeOpposite(), MSRailSignal::DriveWay::checkFlanks(), MSVehicle::checkReversal(), MSVehicle::checkRewindLinkLanes(), AStarRouter< E, V >::compute(), DijkstraRouter< E, V >::compute(), NBOwnTLDef::computeLogicAndConts(), MSRailSignal::DriveWay::conflictLaneOccupied(), NBPTLineCont::constructRoute(), MSLaneChanger::continueChange(), MSLane::detectCollisions(), MSVehicle::enterLaneAtLaneChange(), MSVehicle::executeMove(), NBRailwayTopologyAnalyzer::extendDirectionPriority(), MSRailSignal::DriveWay::findProtection(), NBPTLineCont::findWay(), MSCFModel_CACC::followSpeed(), MSCFModel_W99::followSpeed(), MSStopOut::generateOutputForUnfinished(), MSVehicle::getBackPositionOnLane(), NBOwnTLDef::getBestCombination(), NBOwnTLDef::getBestPair(), MSVehicle::getCenterOnEdge(), MSLaneChanger::getColumnleader(), NBEdge::Connection::getDescription(), MSLane::getFollowersOnConsecutive(), GUIVehicle::getLaneID(), LIBSUMO_NAMESPACE::Person::getLaneID(), MSVehicle::getLatOffset(), MSLane::getLeaderOnConsecutive(), MSLaneChanger::getOncomingOppositeVehicle(), MSLaneChanger::getRealLeader(), GUIVehicle::getShadowLaneID(), GUIVehicle::getTargetLaneID(), MSDevice_SSM::getVehiclesOnJunction(), NBEdgeCont::guessRoundabouts(), MSCFModel_IDM::insertionFollowSpeed(), MSLane::isInsertionSuccess(), MESegment::isOpen(), joinNamedToString(), joinNamedToStringSorting(), MSPModel_Striping::PState::moveToNextLane(), LIBSUMO_NAMESPACE::Person::moveToXY(), LIBSUMO_NAMESPACE::Vehicle::moveToXY(), MSPModel_Striping::PState::moveToXY(), libsumo::Helper::moveToXYMap(), libsumo::Helper::moveToXYMap_matchingRoutePosition(), MSDevice_Bluelight::notifyEnter(), MSDevice_Bluelight::notifyLeave(), MSVehicle::Influencer::postProcessRemoteControl(), MSVehicle::processNextStop(), MSBaseVehicle::replaceRoute(), MSStoppingPlaceRerouter::reroute(), MSBaseVehicle::reroute(), MSRailSignal::DriveWay::reserve(), MSLaneChanger::resolveDeadlock(), MSLCM_LC2013::slowDownForBlocked(), MSLCM_SL2015::slowDownForBlocked(), MSLaneChangerSublane::startChangeSublane(), MSLeaderInfo::toString(), MSLeaderDistanceInfo::toString(), MSCriticalFollowerDistanceInfo::toString(), toString(), MSTriggeredRerouter::triggerRouting(), MSVehicle::updateBestLanes(), MSLCHelper::updateBlockerLength(), MSAbstractLaneChangeModel::updateShadowLane(), MSPModel_Striping::PState::walk(), and MSLaneChanger::yieldToDeadlockOncoming().

◆ getLane()

const MSLane* MSMoveReminder::getLane ( ) const
inlineinherited

Returns the lane the reminder works on.

Returns
The lane the reminder is anchored on.

Definition at line 83 of file MSMoveReminder.h.

References MSMoveReminder::myLane.

Referenced by LIBSUMO_NAMESPACE::InductionLoop::getTree(), GUIInductLoop::MyWrapper::MyWrapper(), GUIInstantInductLoop::MyWrapper::MyWrapper(), MSDevice_Tripinfo::notifyEnter(), MSDevice_Tripinfo::notifyLeave(), LIBSUMO_NAMESPACE::InductionLoop::storeShape(), and MSMeanData::writeEdge().

Here is the caller graph for this function:

◆ getLastStepStoppingPlaceOccupancy()

double MSDevice_StationFinder::getLastStepStoppingPlaceOccupancy ( MSStoppingPlace stoppingPlace)
overridevirtual

◆ getNumberStoppingPlaceReroutes()

int MSDevice_StationFinder::getNumberStoppingPlaceReroutes ( SUMOVehicle veh)
overridevirtual

ask how many times already the vehicle has been rerouted to another stopping place

Implements MSStoppingPlaceRerouter.

Definition at line 709 of file MSDevice_StationFinder.cpp.

◆ getNumericalID()

SUMOVehicle::NumericalID MSVehicleDevice::getNumericalID ( ) const
inlineinherited

◆ getParameter()

std::string MSDevice_StationFinder::getParameter ( const std::string &  key) const
overridevirtual

try to retrieve the given parameter from this device. Throw exception for unsupported key

Reimplemented from MSDevice.

Definition at line 607 of file MSDevice_StationFinder.cpp.

References deviceName(), estimateConsumption(), Named::getID(), myChargingStation, myReserveFactor, TLF, and toString().

◆ getRouter()

SUMOAbstractRouter< MSEdge, SUMOVehicle > & MSDevice_StationFinder::getRouter ( SUMOVehicle veh,
const MSEdgeVector prohibited 
)
overridevirtual

◆ getStoppingPlaceCapacity()

double MSDevice_StationFinder::getStoppingPlaceCapacity ( MSStoppingPlace stoppingPlace)
overridevirtual

◆ getStoppingPlaceOccupancy()

double MSDevice_StationFinder::getStoppingPlaceOccupancy ( MSStoppingPlace stoppingPlace)
overridevirtual

◆ getTargetValue()

double MSStoppingPlaceRerouter::getTargetValue ( const StoppingPlaceParamMap_t absValues,
const StoppingPlaceParamMap_t maxValues,
const StoppingPlaceParamMap_t weights,
const StoppingPlaceParamSwitchMap_t norm,
const StoppingPlaceParamSwitchMap_t invert 
)
staticinherited

compute the scalar target function value by means of a linear combination of all components/weights after normalising and optionally inverting the values

Parameters
[in]absValuesthe component values
[in]maxValuesmax values for all components
[in]weightsweight factors for all components
[in]normwhich component should be normalised
[in]invertwhich component should be inverted
Returns
target function value for a single stopping place and vehicle

Definition at line 586 of file MSStoppingPlaceRerouter.cpp.

Referenced by MSStoppingPlaceRerouter::reroute().

Here is the caller graph for this function:

◆ getWeight()

double MSStoppingPlaceRerouter::getWeight ( SUMOVehicle veh,
const std::string  param,
const double  defaultWeight,
const bool  warn = false 
)
inherited

read the value of a stopping place search param, e.g. a component weight factor

Parameters
[in]vehthe concerned vehicle
[in]paramthe name of the stopping place search param, excluding the param prefix (e.g. "parking.")
[in]defaultWeightvalue to return in case the param hasn't been defined for the vehicle
[in]warnwhether a warning message shall be issued if the param is not defined for the vehicle
Returns
param value

Definition at line 549 of file MSStoppingPlaceRerouter.cpp.

References Named::getID(), MSVehicleType::getParameter(), SUMOTrafficObject::getParameter(), Parameterised::getParameter(), SUMOTrafficObject::getVehicleType(), Parameterised::hasParameter(), MSStoppingPlaceRerouter::myParamPrefix, TL, StringUtils::toDouble(), toString(), WRITE_MESSAGEF, and WRITE_WARNINGF.

Referenced by MSStoppingPlaceRerouter::collectWeights(), findChargingStation(), MSStoppingPlaceRerouter::readEvaluationWeights(), and MSStoppingPlaceRerouter::reroute().

Here is the caller graph for this function:

◆ implementChargingStrategy()

void MSDevice_StationFinder::implementChargingStrategy ( SUMOTime  begin,
SUMOTime  end,
const double  plannedCharge,
const MSChargingStation cs 
)
private

◆ initChargeLimitCommand()

void MSDevice_StationFinder::initChargeLimitCommand ( )
private

create the event command for changing charging rates

Definition at line 543 of file MSDevice_StationFinder.cpp.

References CHARGINGSTRATEGY_NONE, myChargeLimitCommand, myChargingStrategy, and updateChargeLimit().

Referenced by implementChargingStrategy().

Here is the caller graph for this function:

◆ initRescueCommand()

void MSDevice_StationFinder::initRescueCommand ( )
private

create the event command for teleporting in case of brake-down

Definition at line 535 of file MSDevice_StationFinder.cpp.

References myRescueAction, myRescueCommand, RESCUEACTION_TOW, and teleportToChargingStation().

Referenced by notifyMove().

Here is the caller graph for this function:

◆ insertDefaultAssignmentOptions()

void MSDevice::insertDefaultAssignmentOptions ( const std::string &  deviceName,
const std::string &  optionsTopic,
OptionsCont oc,
const bool  isPerson = false 
)
staticprotectedinherited

◆ insertOptions()

void MSDevice_StationFinder::insertOptions ( OptionsCont oc)
static

Inserts MSDevice_StationFinder-options.

Definition at line 58 of file MSDevice_StationFinder.cpp.

References OptionsCont::addDescription(), OptionsCont::doRegister(), MSDevice::insertDefaultAssignmentOptions(), and TL.

Referenced by MSDevice::insertOptions().

Here is the caller graph for this function:

◆ isParkingRerouter()

virtual bool MSMoveReminder::isParkingRerouter ( ) const
inlinevirtualinherited

Reimplemented in MSTriggeredRerouter.

Definition at line 266 of file MSMoveReminder.h.

◆ loadState()

void MSDevice::loadState ( const SUMOSAXAttributes attrs)
virtualinherited

Loads the state of the device from the given description.

The default implementation does nothing.

Parameters
[in]attrsXML attributes describing the current state

Reimplemented in MSTransportableDevice_Routing, MSDevice_Vehroutes, MSDevice_Tripinfo, MSDevice_Transportable, MSDevice_Routing, and MSDevice_Battery.

Definition at line 177 of file MSDevice.cpp.

◆ notifyEnter()

virtual bool MSMoveReminder::notifyEnter ( SUMOTrafficObject veh,
Notification  reason,
const MSLane enteredLane 
)
inlinevirtualinherited

◆ notifyIdle()

bool MSDevice_StationFinder::notifyIdle ( SUMOTrafficObject veh)
overridevirtual

Computes idling emission values and adds them to the emission sums.

Idling implied by zero velocity, acceleration and slope

Parameters
[in]vehThe vehicle
See also
MSMoveReminder::notifyMove
PollutantsInterface

Reimplemented from MSMoveReminder.

Definition at line 279 of file MSDevice_StationFinder.cpp.

◆ notifyLeave()

virtual bool MSMoveReminder::notifyLeave ( SUMOTrafficObject veh,
double  lastPos,
Notification  reason,
const MSLane enteredLane = nullptr 
)
inlinevirtualinherited

Called if the vehicle leaves the reminder's lane.

Informs if vehicle leaves reminder lane (due to lane change, removal from the network, or leaving to the next lane). The default is to do nothing.

Parameters
[in]vehThe leaving vehicle.
[in]lastPosPosition on the lane when leaving.
[in]reasonhow the vehicle leaves the lane
See also
Notification
Returns
True if the reminder wants to receive further info.

Reimplemented in MSCalibrator::VehicleRemover, MSDevice_Vehroutes, MSVehicleDevice_BTsender, MSVehicleDevice_BTreceiver, MSTriggeredRerouter, MSMeanData_Net::MSLaneMeanDataValues, MSMeanData::MeanDataValueTracker, MSMeanData::MeanDataValues, MSInstantInductLoop, MSInductLoop, MSE3Collector::MSE3LeaveReminder, MSE3Collector::MSE3EntryReminder, MSE2Collector, MSDevice_Tripinfo, MSDevice_Transportable, MSDevice_SSM, MSDevice_Example, MSTransportableDevice_BTsender, MSTransportableDevice_BTreceiver, MSDevice_Bluelight, and MSDevice_ElecHybrid.

Definition at line 207 of file MSMoveReminder.h.

References UNUSED_PARAMETER.

◆ notifyMove()

bool MSDevice_StationFinder::notifyMove ( SUMOTrafficObject veh,
double  oldPos,
double  newPos,
double  newSpeed 
)
overridevirtual

Computes current emission values and adds them to their sums.

The vehicle's current emission values are computed using the current velocity and acceleration.

Parameters
[in]vehThe regarded vehicle
[in]oldPosPosition before the move-micro-timestep.
[in]newPosPosition after the move-micro-timestep.
[in]newSpeedThe vehicle's current speed
Returns
false, if the vehicle is beyond the lane, true otherwise
See also
MSMoveReminder
MSMoveReminder::notifyMove
PollutantsInterface

Reimplemented from MSMoveReminder.

Definition at line 174 of file MSDevice_StationFinder.cpp.

References MSBaseVehicle::abortNextStop(), MSEventControl::addEvent(), alreadyPlannedCharging(), MSCFModel::brakeGap(), SUMOVehicleParameter::Stop::breakDown, MSStop::chargingStation, DEFAULT_CHARGINGSTATION_VIEW_DIST, DEFAULT_SOC_INTERVAL, DELTA_T, SUMOVehicleParameter::Stop::duration, SUMOVehicleParameter::Stop::edge, SUMOVehicleParameter::Stop::endPos, MSDevice_Battery::getActualBatteryCapacity(), MSStoppingPlace::getBeginLanePosition(), MSNet::getBeginOfTimestepEvents(), MSVehicle::getCarFollowModel(), MSDevice_Battery::getChargingStationID(), SUMOVehicle::getDeparture(), MSVehicle::getDistanceToPosition(), MSLane::getEdge(), MSDevice_Battery::getEnergyCharged(), Named::getID(), MSNet::getInstance(), MSStoppingPlace::getLane(), MSVehicle::getLane(), MSVehicle::getLanePosAfterDist(), MSLane::getLength(), MSVehicleType::getLength(), MSDevice_Battery::getMaximumBatteryCapacity(), MSLane::getNormalSuccessorLane(), MSVehicle::getSpeed(), MSBaseVehicle::getStop(), SUMOTrafficObject::getVehicleType(), MSBaseVehicle::hasStops(), SUMOVehicleParameter::Stop::index, initRescueCommand(), MSBaseVehicle::insertStop(), SUMOTrafficObject::isStopped(), SUMOVehicleParameter::Stop::jump, SUMOVehicleParameter::Stop::lane, MAX2(), MIN2(), myArrivalAtChargingStation, myBattery, myChargingStation, myEmptySoC, MSVehicleDevice::myHolder, myLastChargeCheck, myLastSearch, myRepeatInterval, myRescueAction, myRescueCommand, myRescueTime, mySearchSoC, mySearchState, myUpdateSoC, myVeh, myWaitForCharge, ONROAD, SUMOVehicleParameter::Stop::parametersSet, SUMOVehicleParameter::Stop::parking, rerouteToChargingStation(), RESCUEACTION_NONE, RESCUEACTION_REMOVE, RESCUEACTION_TOW, SEARCHSTATE_BROKEN_DOWN, SEARCHSTATE_CHARGING, SEARCHSTATE_NONE, SEARCHSTATE_UNSUCCESSFUL, SEARCHSTATE_WAITING, SIMSTEP, SIMTIME, SUMOVehicleParameter::Stop::startPos, STOP_END_SET, STOP_START_SET, SUMOTime_MAX, TIME2STEPS, TL, TLF, toString(), SUMOVehicleParameter::Stop::until, MSVehicle::willStop(), WRITE_ERROR, WRITE_MESSAGE, and WRITE_MESSAGEF.

◆ notifyMoveInternal()

void MSDevice_StationFinder::notifyMoveInternal ( const SUMOTrafficObject veh,
const double  frontOnLane,
const double  timeOnLane,
const double  meanSpeedFrontOnLane,
const double  meanSpeedVehicleOnLane,
const double  travelledDistanceFrontOnLane,
const double  travelledDistanceVehicleOnLane,
const double  meanLengthOnLane 
)
overrideprotectedvirtual

Internal notification about the vehicle moves, see MSMoveReminder::notifyMoveInternal()

Reimplemented from MSMoveReminder.

Definition at line 285 of file MSDevice_StationFinder.cpp.

◆ notifyParking()

virtual void MSMoveReminder::notifyParking ( )
inlinevirtualinherited

called to update state for parking vehicles

Reimplemented in MSDevice_Battery.

Definition at line 189 of file MSMoveReminder.h.

◆ notifyStopEnded()

virtual void MSMoveReminder::notifyStopEnded ( )
inlinevirtualinherited

called to update state for stopped vehicles

Reimplemented in MSDevice_Vehroutes, and MSDevice_Routing.

Definition at line 192 of file MSMoveReminder.h.

◆ operator=()

MSDevice_StationFinder& MSDevice_StationFinder::operator= ( const MSDevice_StationFinder )
private

Invalidated assignment operator.

◆ readEvaluationWeights()

void MSStoppingPlaceRerouter::readEvaluationWeights ( SUMOVehicle veh,
StoppingPlaceParamMap_t stoppingPlaceParams,
StoppingPlaceParamMap_t stoppingPlaceDefaults,
StoppingPlaceParamMap_t maxValues 
)
inlineprotectedinherited

Ask the vehicle about the relevant rerouting parameters and initiate the maximum value data structure.

Definition at line 269 of file MSStoppingPlaceRerouter.h.

References MSStoppingPlaceRerouter::getWeight().

◆ rememberBlockedStoppingPlace()

void MSDevice_StationFinder::rememberBlockedStoppingPlace ( SUMOVehicle veh,
const MSStoppingPlace stoppingPlace,
bool  blocked 
)
overridevirtual

store the blocked stopping place in the vehicle

Implements MSStoppingPlaceRerouter.

Definition at line 685 of file MSDevice_StationFinder.cpp.

References SUMOVehicle::rememberBlockedChargingStation().

◆ rememberStoppingPlaceScore()

void MSDevice_StationFinder::rememberStoppingPlaceScore ( SUMOVehicle veh,
MSStoppingPlace place,
const std::string &  score 
)
overridevirtual

store the stopping place score in the vehicle

Implements MSStoppingPlaceRerouter.

Definition at line 691 of file MSDevice_StationFinder.cpp.

References SUMOVehicle::rememberChargingStationScore().

◆ removeFromVehicleUpdateValues()

void MSMoveReminder::removeFromVehicleUpdateValues ( SUMOTrafficObject veh)
protectedinherited

Definition at line 89 of file MSMoveReminder.cpp.

References SUMOTrafficObject::getNumericalID(), and MSMoveReminder::myLastVehicleUpdateValues.

Referenced by MSMoveReminder::updateDetector().

Here is the caller graph for this function:

◆ reroute()

MSStoppingPlace * MSStoppingPlaceRerouter::reroute ( std::vector< StoppingPlaceVisible > &  stoppingPlaceCandidates,
const std::vector< double > &  probs,
SUMOVehicle veh,
bool &  newDestination,
ConstMSEdgeVector newRoute,
StoppingPlaceParamMap_t scores,
const MSEdgeVector closedEdges = {} 
)
inherited

main method to trigger the rerouting to the "best" StoppingPlace according to the custom evaluation function

Parameters
[in]vehthe concerned vehicle
[in]stoppingPlaceCandidatesstopping places to choose from and whether they are visible for the vehicle
[in]probsprobabilities of all candidate stopping places
[in]newDestinationwhether the destination changed
[out]newRoutethe route to/from the chosen stopping place is stored here
[in,out]scoresinput score values from external source and get scores of all components of the "best" StoppingPlace
[in]closedEdgesedges to avoid during routing
Returns
the best stopping place according to the target function or nullptr

Definition at line 51 of file MSStoppingPlaceRerouter.cpp.

References MSStoppingPlaceRerouter::collectWeights(), DEBUGCOND, MSStoppingPlaceRerouter::evaluateDestination(), SUMOVehicle::getArrivalPos(), MSStoppingPlace::getBeginLanePosition(), SUMOVehicle::getBrakeGap(), MSLane::getEdge(), SUMOTrafficObject::getEdge(), MSStoppingPlace::getEndLanePosition(), Named::getID(), Named::getIDSecure(), MSStoppingPlace::getLane(), SUMOTrafficObject::getLane(), MSRoute::getLastEdge(), MSStoppingPlaceRerouter::getLastStepStoppingPlaceOccupancy(), SUMOVehicle::getNextParkingArea(), MSStoppingPlaceRerouter::getNumberStoppingPlaceReroutes(), SUMOTrafficObject::getPositionOnLane(), SUMOTrafficObject::getRNG(), SUMOVehicle::getRoute(), MSStoppingPlaceRerouter::getRouter(), MSStoppingPlaceRerouter::getStoppingPlaceCapacity(), MSStoppingPlaceRerouter::getStoppingPlaceOccupancy(), SUMOVehicle::getStops(), MSStoppingPlaceRerouter::getTargetValue(), MSStoppingPlaceRerouter::getWeight(), joinToString(), MIN2(), MSStoppingPlaceRerouter::myConsiderDestVisibility, MSStoppingPlaceRerouter::myInvertParams, MSStoppingPlaceRerouter::myNormParams, MSStoppingPlaceRerouter::myStoppingType, RandHelper::rand(), MSStoppingPlaceRerouter::rememberBlockedStoppingPlace(), MSStoppingPlaceRerouter::rememberStoppingPlaceScore(), MSStoppingPlaceRerouter::resetStoppingPlaceScores(), MSStoppingPlaceRerouter::sawBlockedStoppingPlace(), MSStoppingPlaceRerouter::setNumberStoppingPlaceReroutes(), SIMSTEP, SIMTIME, STEPS2TIME, SUMO_TAG_PARKING_AREA, TIME2STEPS, time2string(), TL, toString(), MSStoppingPlaceRerouter::useStoppingPlace(), and WRITE_WARNINGF.

Referenced by findChargingStation(), and MSTriggeredRerouter::rerouteParkingArea().

Here is the caller graph for this function:

◆ rerouteToChargingStation()

bool MSDevice_StationFinder::rerouteToChargingStation ( bool  replace = false)
private

reroute to a charging station

Parameters
[in]replaceif the already planned next stop should be replaced (a new stop will be prepended if false)
Returns
true if the vehicle has been redirected to a charging station, false otherwise

Definition at line 342 of file MSDevice_StationFinder.cpp.

References SUMOVehicle::abortNextStop(), SUMOVehicleParameter::Stop::chargingStation, CHARGINGSTRATEGY_NONE, SUMOVehicleParameter::Stop::duration, SUMOVehicleParameter::Stop::edge, SUMOVehicleParameter::Stop::endPos, estimateConsumption(), findChargingStation(), MSDevice_Battery::getActualBatteryCapacity(), MSStoppingPlace::getBeginLanePosition(), MSChargingStation::getChargingPower(), MSLane::getEdge(), MSRoute::getEdges(), MSChargingStation::getEfficency(), MSStoppingPlace::getEndLanePosition(), Named::getID(), MSStoppingPlace::getLane(), MSDevice_Battery::getMaximumBatteryCapacity(), SUMOVehicle::getNextStopParameter(), MSChargingStation::getParkingArea(), SUMOTrafficObject::getRNGIndex(), MSBaseVehicle::getRoute(), MSRoutingEngine::getRouterTT(), SUMOTrafficObject::getVClass(), SUMOVehicle::hasStops(), implementChargingStrategy(), MSBaseVehicle::insertStop(), SUMOVehicleParameter::Stop::lane, MIN2(), myArrivalAtChargingStation, myBattery, myChargingStation, myChargingStrategy, myDistanceToOriginalStop, MSVehicleDevice::myHolder, myLastSearch, myReplacePlannedStop, myReserveFactor, mySearchState, myTargetSoC, myVeh, OFFROAD, ONROAD, SUMOVehicleParameter::Stop::parking, SUMOVehicleParameter::Stop::parkingarea, MSParkingArea::parkOnRoad(), MSBaseVehicle::replaceStop(), SEARCHSTATE_SUCCESSFUL, SEARCHSTATE_UNSUCCESSFUL, SIMSTEP, SIMTIME, SUMOVehicleParameter::Stop::startPos, TIME2STEPS, TL, TLF, toString(), SUMOVehicleParameter::Stop::until, WRITE_ERROR, WRITE_MESSAGE, and WRITE_MESSAGEF.

Referenced by notifyMove().

Here is the caller graph for this function:

◆ resetStoppingPlaceScores()

void MSDevice_StationFinder::resetStoppingPlaceScores ( SUMOVehicle veh)
overridevirtual

forget all stopping place score for this vehicle

Implements MSStoppingPlaceRerouter.

Definition at line 697 of file MSDevice_StationFinder.cpp.

References SUMOVehicle::resetChargingStationScores().

◆ saveState()

void MSDevice::saveState ( OutputDevice out) const
virtualinherited

Saves the state of the device.

The default implementation writes a warning and does nothing.

Parameters
[in]outThe OutputDevice to write the information into

Reimplemented in MSTransportableDevice_Routing, MSDevice_Vehroutes, MSDevice_Tripinfo, MSDevice_Transportable, MSDevice_Routing, MSDevice_Battery, MSTransportableDevice_FCD, and MSDevice_FCD.

Definition at line 171 of file MSDevice.cpp.

References Named::getID(), TL, and WRITE_WARNINGF.

◆ sawBlockedStoppingPlace()

SUMOTime MSDevice_StationFinder::sawBlockedStoppingPlace ( SUMOVehicle veh,
MSStoppingPlace place,
bool  local 
)
overridevirtual

ask the vehicle when it has seen the stopping place

Implements MSStoppingPlaceRerouter.

Definition at line 703 of file MSDevice_StationFinder.cpp.

References SUMOVehicle::sawBlockedChargingStation().

◆ setBattery()

void MSDevice_StationFinder::setBattery ( MSDevice_Battery battery)
inline

Definition at line 170 of file MSDevice_StationFinder.h.

References myBattery.

Referenced by MSDevice_Battery::buildVehicleDevices().

Here is the caller graph for this function:

◆ setDescription()

void MSMoveReminder::setDescription ( const std::string &  description)
inlineinherited

Definition at line 257 of file MSMoveReminder.h.

References MSMoveReminder::myDescription.

Referenced by MSMeanData::init(), MEInductLoop::MEInductLoop(), METriggeredCalibrator::METriggeredCalibrator(), and MSCalibrator::MSCalibrator().

Here is the caller graph for this function:

◆ setID()

virtual void Named::setID ( const std::string &  newID)
inlinevirtualinherited

resets the id

Parameters
[in]newIDThe new id of this object

Reimplemented in NBLoadedSUMOTLDef, MSTransportable, and MSBaseVehicle.

Definition at line 82 of file Named.h.

References Named::myID.

Referenced by Distribution_Parameterized::parse(), NBLoadedSUMOTLDef::reconstructLogic(), NBEdgeCont::rename(), NBNodeCont::rename(), GNEJunction::setAttribute(), NBLoadedSUMOTLDef::setID(), and IntermodalNetwork< E, L, N, V >::splitEdge().

Here is the caller graph for this function:

◆ setNumberStoppingPlaceReroutes()

void MSDevice_StationFinder::setNumberStoppingPlaceReroutes ( SUMOVehicle veh,
int  value 
)
overridevirtual

update the number of reroutes for the vehicle

Implements MSStoppingPlaceRerouter.

Definition at line 715 of file MSDevice_StationFinder.cpp.

◆ setParameter()

virtual void MSDevice::setParameter ( const std::string &  key,
const std::string &  value 
)
inlinevirtualinherited

try to set the given parameter for this device. Throw exception for unsupported key

Reimplemented in MSDevice_ToC, MSTransportableDevice_Routing, MSDevice_Taxi, MSDevice_SSM, MSDevice_Routing, MSDevice_GLOSA, MSDevice_Friction, MSDevice_Example, MSDevice_ElecHybrid, MSDevice_DriverState, MSDevice_Bluelight, and MSDevice_Battery.

Definition at line 147 of file MSDevice.h.

References MSDevice::deviceName(), and UNUSED_PARAMETER.

◆ teleportToChargingStation()

SUMOTime MSDevice_StationFinder::teleportToChargingStation ( const SUMOTime  currentTime)
private

search for a charging station and teleport the vehicle there as a rescue measure

Definition at line 424 of file MSDevice_StationFinder.cpp.

References SUMOVehicleParameter::Stop::breakDown, SUMOVehicleParameter::Stop::chargingStation, DELTA_T, WrappingCommand< T >::deschedule(), MSStop::duration, SUMOVehicleParameter::Stop::duration, SUMOVehicleParameter::Stop::edge, SUMOVehicleParameter::Stop::endPos, estimateConsumption(), findChargingStation(), MSStoppingPlace::getBeginLanePosition(), MSChargingStation::getChargingPower(), MSLane::getEdge(), MSChargingStation::getEfficency(), MSStoppingPlace::getEndLanePosition(), Named::getID(), MSStoppingPlace::getLane(), MSDevice_Battery::getMaximumBatteryCapacity(), SUMOVehicle::getNextStop(), MSChargingStation::getParkingArea(), SUMOTrafficObject::getRNGIndex(), MSRoutingEngine::getRouterTT(), MSBaseVehicle::getStops(), SUMOTrafficObject::getVClass(), MSBaseVehicle::insertStop(), SUMOTrafficObject::isStopped(), SUMOVehicleParameter::Stop::jump, SUMOVehicleParameter::Stop::lane, MIN2(), myBattery, myChargingStation, MSVehicleDevice::myHolder, myRepeatInterval, myRescueCommand, myReserveFactor, mySearchState, myTargetSoC, myVeh, OFFROAD, ONROAD, SUMOVehicleParameter::Stop::parking, SUMOVehicleParameter::Stop::parkingarea, MSParkingArea::parkOnRoad(), MSStop::pars, SEARCHSTATE_BROKEN_DOWN, SIMTIME, SUMOVehicleParameter::Stop::startPos, STEPS2TIME, TIME2STEPS, TL, toString(), WRITE_ERROR, and WRITE_WARNINGF.

Referenced by initRescueCommand().

Here is the caller graph for this function:

◆ updateChargeLimit()

SUMOTime MSDevice_StationFinder::updateChargeLimit ( const SUMOTime  currentTime)
private

update the maximum charge rate of the battery to simulate charging strategies

Definition at line 551 of file MSDevice_StationFinder.cpp.

References DELTA_T, WrappingCommand< T >::deschedule(), Named::getID(), myBattery, myChargeLimitCommand, myChargeLimits, MSVehicleDevice::myHolder, MSDevice_Battery::setChargeLimit(), SIMSTEP, STEPS2TIME, TL, and WRITE_MESSAGEF.

Referenced by initChargeLimitCommand().

Here is the caller graph for this function:

◆ updateDetector()

void MSMoveReminder::updateDetector ( SUMOTrafficObject veh,
double  entryPos,
double  leavePos,
SUMOTime  entryTime,
SUMOTime  currentTime,
SUMOTime  leaveTime,
bool  cleanUp 
)
inherited

Definition at line 47 of file MSMoveReminder.cpp.

References SUMOTrafficObject::getNumericalID(), MSMoveReminder::myLastVehicleUpdateValues, MSMoveReminder::notifyMoveInternal(), MSMoveReminder::removeFromVehicleUpdateValues(), and STEPS2TIME.

Referenced by MEVehicle::updateDetectorForWriting().

Here is the caller graph for this function:

◆ updateMaxValues()

void MSStoppingPlaceRerouter::updateMaxValues ( StoppingPlaceParamMap_t stoppingPlaceValues,
StoppingPlaceParamMap_t maxValues 
)
staticinherited

keep track of the maximum values of each component

Parameters
[in]stoppingPlaceValuesthe target function component values of a vehicle
[in,out]maxValuesstores the maximum values of the given stoppingPlaceValues and previously given maxValues

Definition at line 576 of file MSStoppingPlaceRerouter.cpp.

Referenced by MSStoppingPlaceRerouter::evaluateDestination().

Here is the caller graph for this function:

◆ useStoppingPlace()

bool MSDevice_StationFinder::useStoppingPlace ( MSStoppingPlace stoppingPlace)
overridevirtual

Whether the stopping place should be included in the search (can be used to add an additional filter)

Reimplemented from MSStoppingPlaceRerouter.

Definition at line 644 of file MSDevice_StationFinder.cpp.

◆ validComponentValues()

bool MSDevice_StationFinder::validComponentValues ( StoppingPlaceParamMap_t stoppingPlaceValues)
overridevirtual

Whether the stopping place should be discarded due to its results from the component evaluation.

Reimplemented from MSStoppingPlaceRerouter.

Definition at line 635 of file MSDevice_StationFinder.cpp.

References myRadius, and STEPS2TIME.

Field Documentation

◆ myArrivalAtChargingStation

SUMOTime MSDevice_StationFinder::myArrivalAtChargingStation
private

Arrival time in the vicinity of the target charging station (to track the waiting time before accessing it)

Definition at line 337 of file MSDevice_StationFinder.h.

Referenced by notifyMove(), and rerouteToChargingStation().

◆ myBattery

MSDevice_Battery* MSDevice_StationFinder::myBattery
private

◆ myChargeLimitCommand

WrappingCommand<MSDevice_StationFinder>* MSDevice_StationFinder::myChargeLimitCommand
private

The command responsible for limiting the charging rate (~ implement charging strategies)

Definition at line 325 of file MSDevice_StationFinder.h.

Referenced by implementChargingStrategy(), initChargeLimitCommand(), updateChargeLimit(), and ~MSDevice_StationFinder().

◆ myChargeLimits

std::vector<std::pair<SUMOTime, double> > MSDevice_StationFinder::myChargeLimits
private

The next charging rates to set via myChargingRateCommand.

Definition at line 328 of file MSDevice_StationFinder.h.

Referenced by implementChargingStrategy(), and updateChargeLimit().

◆ myChargeType

ChargeType MSDevice_StationFinder::myChargeType
private

The type of charging permitted by the battery (charging, bidirectional, battery exchange)

Definition at line 382 of file MSDevice_StationFinder.h.

◆ myChargingStation

MSStoppingPlace* MSDevice_StationFinder::myChargingStation
private

To which station we are currently travelling.

Definition at line 319 of file MSDevice_StationFinder.h.

Referenced by alreadyPlannedCharging(), generateOutput(), getParameter(), notifyMove(), rerouteToChargingStation(), and teleportToChargingStation().

◆ myChargingStrategy

ChargingStrategy MSDevice_StationFinder::myChargingStrategy
private

The chosen charging strategy.

Definition at line 385 of file MSDevice_StationFinder.h.

Referenced by getChargingStrategy(), implementChargingStrategy(), initChargeLimitCommand(), and rerouteToChargingStation().

◆ myCheckInterval

SUMOTime MSDevice_StationFinder::myCheckInterval
private

Time interval after which the SoC has to be checked.

Definition at line 334 of file MSDevice_StationFinder.h.

◆ myCheckValidity

bool MSStoppingPlaceRerouter::myCheckValidity
protectedinherited

◆ myConsiderDestVisibility

const bool MSStoppingPlaceRerouter::myConsiderDestVisibility
protectedinherited

Definition at line 288 of file MSStoppingPlaceRerouter.h.

Referenced by MSStoppingPlaceRerouter::reroute().

◆ myDescription

std::string MSMoveReminder::myDescription
protectedinherited

a description of this moveReminder

Definition at line 278 of file MSMoveReminder.h.

Referenced by MSMoveReminder::getDescription(), and MSMoveReminder::setDescription().

◆ myDistanceToOriginalStop

double MSDevice_StationFinder::myDistanceToOriginalStop
private

The distance in meters to the original stop replaced by the charging stop (models charging close to the activity location)

Definition at line 379 of file MSDevice_StationFinder.h.

Referenced by rerouteToChargingStation().

◆ myEmptySoC

double MSDevice_StationFinder::myEmptySoC
private

The state of charge threshold below which rescue mode is activated.

Definition at line 349 of file MSDevice_StationFinder.h.

Referenced by estimateConsumption(), and notifyMove().

◆ myEquipmentRNG

SumoRNG MSDevice::myEquipmentRNG
staticprivateinherited

A random number generator used to choose from vtype/route distributions and computing the speed factors.

Definition at line 181 of file MSDevice.h.

Referenced by MSDevice::equippedByDefaultAssignmentOptions(), and MSDevice::getEquipmentRNG().

◆ myEvalParams

StoppingPlaceParamMap_t MSStoppingPlaceRerouter::myEvalParams
protectedinherited

◆ myExplicitIDs

std::map< std::string, std::set< std::string > > MSDevice::myExplicitIDs
staticprivateinherited

vehicles which explicitly carry a device, sorted by device, first

Definition at line 178 of file MSDevice.h.

Referenced by MSDevice::equippedByDefaultAssignmentOptions().

◆ myHolder

SUMOVehicle& MSVehicleDevice::myHolder
protectedinherited

The vehicle that stores the device.

Definition at line 90 of file MSVehicleDevice.h.

Referenced by MSDevice_ElecHybrid::acceleration(), MSDevice_Vehroutes::addRoute(), MSDevice_Transportable::addTransportable(), alreadyPlannedCharging(), MSDevice_Transportable::anyLeavingAtStop(), MSDevice_ToC::awarenessRecoveryStep(), MSDevice_Taxi::cancelCurrentCustomers(), MSDevice_Taxi::cancelCustomer(), MSDevice_ToC::checkDynamicToC(), MSDevice_Taxi::compatibleLine(), MSDevice_ElecHybrid::computeChargedEnergy(), MSDevice_SSM::computeGlobalMeasures(), MSDevice_ElecHybrid::consumption(), MSDevice_Taxi::customerArrived(), MSDevice_ToC::deactivateDeliberateLCs(), MSDevice_Taxi::dispatchShared(), estimateConsumption(), evaluateCustomComponents(), findChargingStation(), MSDevice_SSM::findFoeConflictLane(), freeSpaceAtChargingStation(), MSDevice_Tripinfo::generateOutput(), MSDevice_Tripinfo::generateOutputForUnfinished(), MSVehicleDevice::getHolder(), getLastStepStoppingPlaceOccupancy(), MSVehicleDevice::getNumericalID(), MSDevice_Battery::getParameter(), MSDevice_ElecHybrid::getParameter(), MSDevice_Routing::getParameter(), MSDevice_Taxi::getParameter(), MSDevice_ToC::getParameter(), MSDevice_ElecHybrid::getParameterDouble(), MSDevice_Taxi::getStopLane(), getStoppingPlaceCapacity(), getStoppingPlaceOccupancy(), MSDevice_Taxi::hasFuturePickup(), MSDevice_FCDReplay::move(), MSDevice_ToC::MRMExecutionStep(), MSDevice_ElecHybrid::MSDevice_ElecHybrid(), MSDevice_Taxi::MSDevice_Taxi(), MSDevice_Routing::notifyEnter(), MSDevice_Vehroutes::notifyEnter(), MSDevice_Emissions::notifyIdle(), MSDevice_Tripinfo::notifyLeave(), MSDevice_Battery::notifyMove(), MSDevice_Bluelight::notifyMove(), MSDevice_Emissions::notifyMove(), MSDevice_Friction::notifyMove(), MSDevice_Transportable::notifyMove(), notifyMove(), MSDevice_ToC::notifyMove(), MSDevice_Emissions::notifyMoveInternal(), MSDevice_Battery::notifyParking(), MSDevice_Vehroutes::notifyStopEnded(), MSVehicleDevice::ComparatorNumericalVehicleIdLess::operator()(), MSDevice_Routing::preInsertionReroute(), MSDevice_Taxi::prepareStop(), MSDevice_Transportable::removeTransportable(), MSDevice_ToC::requestToC(), MSDevice_Routing::reroute(), rerouteToChargingStation(), MSDevice_ToC::resetDeliberateLCs(), MSDevice_Bluelight::resetVehicle(), MSDevice_Tripinfo::saveState(), MSDevice_Battery::setParameter(), MSDevice_ElecHybrid::setParameter(), MSDevice_Taxi::setParameter(), MSDevice_ToC::setVehicleColor(), MSDevice_ToC::switchHolderType(), teleportToChargingStation(), MSDevice_ToC::ToCPreparationStep(), MSDevice_Transportable::transferAtSplitOrJoin(), MSDevice_ToC::triggerDownwardToC(), MSDevice_ToC::triggerMRM(), MSDevice_ToC::triggerUpwardToC(), MSDevice_SSM::updateAndWriteOutput(), updateChargeLimit(), MSDevice_Taxi::updateMove(), MSDevice_Routing::wrappedRerouteCommandExecute(), MSDevice_ToC::writeOutput(), MSDevice_Vehroutes::writeOutput(), MSDevice_Vehroutes::writeXMLRoute(), MSDevice_Transportable::~MSDevice_Transportable(), and MSDevice_Vehroutes::~MSDevice_Vehroutes().

◆ myID

std::string Named::myID
protectedinherited

The name of the object.

Definition at line 125 of file Named.h.

Referenced by MSE2Collector::addDetectorToLanes(), RODFDetector::buildDestinationDistribution(), NGEdge::buildNBEdge(), NGNode::buildNBNode(), MSSOTLTrafficLightLogic::checkPhases(), NBNode::computeNodeShape(), NEMALogic::constructTimingAndPhaseDefs(), MSE2Collector::detectorUpdate(), GNEPOI::getAttribute(), GNEPoly::getAttribute(), MSLane::getCanonicalPredecessorLane(), MSLane::getCanonicalSuccessorLane(), Named::getID(), NBEdge::getLaneID(), NEMALogic::getPhaseObj(), ROEdge::getStoredEffort(), GNEPOI::getSumoBaseObject(), MSLane::getSurroundingVehicles(), ROEdge::getTravelTime(), NBEdge::init(), MSSOTLTrafficLightLogic::init(), MSDelayBasedTrafficLightLogic::init(), NEMALogic::init(), MSLane::isInsertionSuccess(), NBNode::NBNode(), MSE2Collector::notifyEnter(), MSE2Collector::notifyLeave(), MSE2Collector::notifyMove(), MSMeanData::openInterval(), NEMALogic::parseControllerType(), RORouteDef::preComputeCurrentRoute(), NBEdge::reinitNodes(), GNEPOI::setAttribute(), GNEPoly::setAttribute(), NBEdge::setGeometry(), Named::setID(), MSSOTLTrafficLightLogic::setToATargetPhase(), Distribution_Parameterized::toStr(), MSChargingStation::writeAggregatedChargingStationOutput(), MSChargingStation::writeChargingStationOutput(), RODFDetector::writeEmitterDefinition(), MSOverheadWire::writeOverheadWireSegmentOutput(), RODFDetector::writeSingleSpeedTrigger(), MSTractionSubstation::writeTractionSubstationOutput(), MEInductLoop::writeXMLOutput(), and MSE3Collector::writeXMLOutput().

◆ myInvertParams

StoppingPlaceParamSwitchMap_t MSStoppingPlaceRerouter::myInvertParams
protectedinherited

◆ myLane

◆ myLastChargeCheck

SUMOTime MSDevice_StationFinder::myLastChargeCheck
private

Last time the SoC was checked.

Definition at line 331 of file MSDevice_StationFinder.h.

Referenced by notifyMove().

◆ myLastSearch

SUMOTime MSDevice_StationFinder::myLastSearch
private

Last time charging stations have been searched.

Definition at line 340 of file MSDevice_StationFinder.h.

Referenced by notifyMove(), and rerouteToChargingStation().

◆ myLastVehicleUpdateValues

std::map<long long int, std::pair<SUMOTime, double> > MSMoveReminder::myLastVehicleUpdateValues
privateinherited

◆ myMaxChargePower

double MSDevice_StationFinder::myMaxChargePower
private

The maximum charging speed of the vehicle battery in W.

Definition at line 367 of file MSDevice_StationFinder.h.

◆ myMaxEuclideanDistance

double MSDevice_StationFinder::myMaxEuclideanDistance
private

The maximum euclidean distance between the vehicle and the charging station (-1 deactivates the condition)

Definition at line 352 of file MSDevice_StationFinder.h.

Referenced by findChargingStation().

◆ myNormParams

StoppingPlaceParamSwitchMap_t MSStoppingPlaceRerouter::myNormParams
protectedinherited

◆ myParamPrefix

const std::string MSStoppingPlaceRerouter::myParamPrefix
protectedinherited

◆ myRadius

SUMOTime MSDevice_StationFinder::myRadius
private

The max travel time to the next charging station.

Definition at line 355 of file MSDevice_StationFinder.h.

Referenced by validComponentValues().

◆ myRepeatInterval

SUMOTime MSDevice_StationFinder::myRepeatInterval
private

Time interval to search again for a charging station if the first attempt failed.

Definition at line 358 of file MSDevice_StationFinder.h.

Referenced by notifyMove(), and teleportToChargingStation().

◆ myReplacePlannedStop

double MSDevice_StationFinder::myReplacePlannedStop
private

The share of stopping time a charging stop should take from the next regulr (non-charging) stop under certain conditions.

Definition at line 376 of file MSDevice_StationFinder.h.

Referenced by rerouteToChargingStation().

◆ myRescueAction

RescueAction MSDevice_StationFinder::myRescueAction
private

What to do when the state of charge gets very low.

Definition at line 388 of file MSDevice_StationFinder.h.

Referenced by initRescueCommand(), and notifyMove().

◆ myRescueCommand

WrappingCommand<MSDevice_StationFinder>* MSDevice_StationFinder::myRescueCommand
private

The command responsible for rescue actions.

Definition at line 322 of file MSDevice_StationFinder.h.

Referenced by initRescueCommand(), notifyMove(), teleportToChargingStation(), and ~MSDevice_StationFinder().

◆ myRescueTime

double MSDevice_StationFinder::myRescueTime
private

The time to wait for a rescue vehicle in case the battery is empty.

Definition at line 343 of file MSDevice_StationFinder.h.

Referenced by notifyMove().

◆ myReserveFactor

double MSDevice_StationFinder::myReserveFactor
private

The safety buffer when calculating expected consumption.

Definition at line 346 of file MSDevice_StationFinder.h.

Referenced by getParameter(), rerouteToChargingStation(), and teleportToChargingStation().

◆ mySearchSoC

double MSDevice_StationFinder::mySearchSoC
private

The state of charge at which the vehicle starts looking for charging stations.

Definition at line 373 of file MSDevice_StationFinder.h.

Referenced by notifyMove().

◆ mySearchState

SearchState MSDevice_StationFinder::mySearchState = SEARCHSTATE_NONE
private

The current state of the charging search (remember for decision logic)

Definition at line 391 of file MSDevice_StationFinder.h.

Referenced by notifyMove(), rerouteToChargingStation(), and teleportToChargingStation().

◆ myStoppingType

const SumoXMLTag MSStoppingPlaceRerouter::myStoppingType
protectedinherited

Definition at line 285 of file MSStoppingPlaceRerouter.h.

Referenced by MSStoppingPlaceRerouter::reroute().

◆ myTargetSoC

double MSDevice_StationFinder::myTargetSoC
private

The target state of charge where the vehicle stops charging.

Definition at line 370 of file MSDevice_StationFinder.h.

Referenced by rerouteToChargingStation(), and teleportToChargingStation().

◆ myUpdateSoC

double MSDevice_StationFinder::myUpdateSoC
private

SoC the last time the station finder algorithm was run completely.

Definition at line 364 of file MSDevice_StationFinder.h.

Referenced by notifyMove().

◆ myVeh

MSVehicle& MSDevice_StationFinder::myVeh
private

◆ myWaitForCharge

SUMOTime MSDevice_StationFinder::myWaitForCharge
private

Accepted waiting time at the charging station before a place becomes available.

Definition at line 361 of file MSDevice_StationFinder.h.

Referenced by notifyMove().


The documentation for this class was generated from the following files: