![]() |
Eclipse SUMO - Simulation of Urban MObility
|
A device which collects info on the vehicle trip (mainly on departure and arrival) More...
#include <MSDevice_ElecHybrid.h>
Public Types | |
enum | Notification { NOTIFICATION_DEPARTED , NOTIFICATION_JUNCTION , NOTIFICATION_SEGMENT , NOTIFICATION_LANE_CHANGE , NOTIFICATION_TELEPORT , 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 } |
Definition of a vehicle state. More... | |
Public Member Functions | |
double | acceleration (SUMOVehicle &veh, double power, double oldSpeed) |
void | addTo (const StoringVisitor &cont) const |
Adds this object to the given container. More... | |
double | consumption (SUMOVehicle &veh, double a, double newSpeed) |
const std::string | deviceName () const |
return the name for this type of device More... | |
void | generateOutput (OutputDevice *tripinfoOut) const |
Called on writing tripinfo output. More... | |
MSOverheadWire * | getActOverheadWireSegment () |
double | getActualBatteryCapacity () const |
Get the actual vehicle's Battery Capacity in kWh. More... | |
double | getCircuitAlpha () const |
double | getConsum () const |
Get consum. More... | |
double | getCurrentFromOverheadWire () const |
Get actual current in the overhead wire segment. More... | |
const std::string & | getDescription () const |
double | getDistance () const |
double | getEnergyCharged () const |
Get charged energy. More... | |
SUMOVehicle & | getHolder () const |
Returns the vehicle that holds this device. More... | |
const std::string & | getID () const |
Returns the id. More... | |
const MSLane * | getLane () const |
Returns the lane the reminder works on. More... | |
double | getMaximumBatteryCapacity () const |
Get the total vehicle's Battery Capacity in kWh. More... | |
SUMOVehicle::NumericalID | getNumericalID () const |
std::string | getOverheadWireSegmentID () const |
Get actual overhead wire segment ID. More... | |
std::string | getParameter (const std::string &key) const |
try to retrieve the given parameter from this device. Throw exception for unsupported key More... | |
double | getParameterDouble (const std::string &key) const |
double | getPowerWanted () const |
std::string | getTractionSubstationID () const |
Get actual traction substationn ID. More... | |
Element * | getVehElem () |
double | getVoltageOfOverheadWire () const |
Get actual voltage on the overhead wire segment. More... | |
bool | isBatteryDischarged () const |
Get consum. More... | |
virtual void | loadState (const SUMOSAXAttributes &attrs) |
Loads the state of the device from the given description. More... | |
virtual void | notifyParking () |
called to update state for parking vehicles More... | |
virtual void | saveState (OutputDevice &out) const |
Saves the state of the device. More... | |
void | setActualBatteryCapacity (const double actualBatteryCapacity) |
Set actual vehicle's Battery Capacity in kWh. More... | |
void | setConsum (const double consumption) |
void | setCurrentFromOverheadWire (double current) |
void | setDescription (const std::string &description) |
void | setEnergyCharged (double energyCharged) |
virtual void | setID (const std::string &newID) |
resets the id More... | |
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... | |
void | setVoltageOfOverheadWire (double voltage) |
~MSDevice_ElecHybrid () | |
Destructor. More... | |
Methods called on vehicle movement / state change, overwriting MSDevice | |
bool | notifyMove (SUMOTrafficObject &tObject, double oldPos, double newPos, double newSpeed) |
Checks for waiting steps when the vehicle moves. More... | |
bool | notifyEnter (SUMOTrafficObject &tObject, MSMoveReminder::Notification reason, const MSLane *enteredLane=0) |
Saves departure info on insertion. More... | |
bool | notifyLeave (SUMOTrafficObject &tObject, double lastPos, MSMoveReminder::Notification reason, const MSLane *enteredLane=0) |
Saves arrival info. More... | |
virtual void | notifyMoveInternal (const SUMOTrafficObject &tObject, const double frontOnLane, const double timeOnLane, const double meanSpeedFrontOnLane, const double meanSpeedVehicleOnLane, const double travelledDistanceFrontOnLane, const double travelledDistanceVehicleOnLane, const double meanLengthOnLane) |
Internal notification about the vehicle moves. More... | |
Interface methods, to be derived by subclasses | |
virtual bool | notifyIdle (SUMOTrafficObject &veh) |
Computes idling emission values and adds them to the emission sums. 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 std::mt19937 * | getEquipmentRNG () |
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_ElecHybrid-options. More... | |
Protected Member Functions | |
void | deleteVehicleFromCircuit (SUMOVehicle &veh) |
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... | |
Helper methods for parsing parameters | |
static std::string | getStringParam (const SUMOVehicle &v, const OptionsCont &oc, std::string paramName, std::string deflt, bool required) |
static double | getFloatParam (const SUMOVehicle &v, const OptionsCont &oc, std::string paramName, double deflt, bool required) |
static bool | getBoolParam (const SUMOVehicle &v, const OptionsCont &oc, std::string paramName, bool deflt, bool required) |
Protected Attributes | |
MSOverheadWire * | myActOverheadWireSegment |
Parameter, Pointer to the actual overhead wire segment in which vehicle is placed (by default is nullptr) More... | |
double | myActualBatteryCapacity |
Parameter, The actual vehicles's Battery Capacity in Wh, [myActualBatteryCapacity <= myMaximumBatteryCapacity]. More... | |
bool | myBatteryDischargedLogic |
Parameter, Flag: Battery of Vehicle is fully discharged (by default is false) More... | |
bool | myCharging |
Parameter, Flag: Vehicle is charging (by default is false) More... | |
double | myCircuitCurrent |
Parameter, Current wanted at overhead wire in next timestep. More... | |
double | myCircuitVoltage |
double | myConsum |
Parameter, Vehicle consumption during a time step (by default is 0.) More... | |
std::string | myDescription |
a description of this moveReminder More... | |
double | myDistance |
double | myEnergyCharged |
Energy flowing into (+) or from (-) the battery pack in the given timestep. More... | |
SUMOVehicle & | myHolder |
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... | |
double | myLastAngle |
Parameter, Vehicle's last angle. More... | |
double | myMaximumBatteryCapacity |
Parameter, The total vehicles's Battery Capacity in Wh, [myMaximumBatteryCapacity >= 0]. More... | |
double | myOverheadWireChargingPower |
Parameter, overhead wire charging power to battery, if the battery SoC is not full (in Watt) More... | |
std::map< int, double > | myParam |
Parameter collection. More... | |
MSOverheadWire * | myPreviousOverheadWireSegment |
Parameter, Pointer to the act overhead wire segment in previous step (by default is nullptr), i.e. auxiliar pointer for disabling charging vehicle from previous (not current) overherad wire segment. More... | |
Node * | pos_veh_node |
Element * | veh_elem |
Element * | veh_pos_tail_elem |
Tripinfo statistics | |
double | myMaxBatteryPower |
double | myMinBatteryPower |
double | myTotalPowerConsumed |
double | myTotalPowerRegenerated |
double | myTotalPowerWasted |
Energy that could not be stored back to the battery or traction station and was wasted on resistors. This is approximate, we ignore the use of classical brakes in lower speeds. More... | |
Power management parameters | |
Minimal SOC of the battery pack, below this value the battery is assumed discharged | |
double | mySOCMin |
double | mySOCMax |
Maximal SOC of the battery pack, battery will not be charged above this level. (But the buffer may still be used for regenerative braking). More... | |
Private Member Functions | |
void | checkParam (const SumoXMLAttr paramKey, const double lower=0., const double upper=std::numeric_limits< double >::infinity()) |
MSDevice_ElecHybrid (const MSDevice_ElecHybrid &) | |
Invalidated copy constructor. More... | |
MSDevice_ElecHybrid (SUMOVehicle &holder, const std::string &id, const double actualBatteryCapacity, const double maximumBatteryCapacity, const double overheadWireChargingPower, const std::map< int, double > ¶m) | |
Constructor. More... | |
MSDevice_ElecHybrid & | operator= (const MSDevice_ElecHybrid &) |
Invalidated assignment operator. More... | |
Private Attributes | |
std::map< SUMOTrafficObject *, std::pair< SUMOTime, double > > | myLastVehicleUpdateValues |
Static Private Attributes | |
static std::mt19937 | 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... | |
A device which collects info on the vehicle trip (mainly on departure and arrival)
Each device collects departure time, lane and speed and the same for arrival.
Definition at line 46 of file MSDevice_ElecHybrid.h.
|
inherited |
Definition of a vehicle state.
Definition at line 89 of file MSMoveReminder.h.
MSDevice_ElecHybrid::~MSDevice_ElecHybrid | ( | ) |
Destructor.
Definition at line 206 of file MSDevice_ElecHybrid.cpp.
|
private |
Constructor.
[in] | holder | The vehicle that holds this device |
[in] | id | The ID of the device |
Definition at line 148 of file MSDevice_ElecHybrid.cpp.
References checkParam(), Named::getID(), myActualBatteryCapacity, myMaximumBatteryCapacity, myOverheadWireChargingPower, SUMO_ATTR_ACTUALBATTERYCAPACITY, SUMO_ATTR_AIRDRAGCOEFFICIENT, SUMO_ATTR_CONSTANTPOWERINTAKE, SUMO_ATTR_FRONTSURFACEAREA, SUMO_ATTR_INTERNALMOMENTOFINERTIA, SUMO_ATTR_MAXIMUMBATTERYCAPACITY, SUMO_ATTR_MAXIMUMPOWER, SUMO_ATTR_OVERHEADWIRECHARGINGPOWER, SUMO_ATTR_PROPULSIONEFFICIENCY, SUMO_ATTR_RADIALDRAGCOEFFICIENT, SUMO_ATTR_RECUPERATIONEFFICIENCY, SUMO_ATTR_RECUPERATIONEFFICIENCY_BY_DECELERATION, SUMO_ATTR_ROLLDRAGCOEFFICIENT, SUMO_ATTR_VEHICLEMASS, toString(), and WRITE_WARNING.
Referenced by buildVehicleDevices().
|
private |
Invalidated copy constructor.
double MSDevice_ElecHybrid::acceleration | ( | SUMOVehicle & | veh, |
double | power, | ||
double | oldSpeed | ||
) |
Definition at line 899 of file MSDevice_ElecHybrid.cpp.
References HelpersEnergy::acceleration(), GeomHelper::angleDiff(), PollutantsInterface::ELEC, SUMOVehicle::getAngle(), PollutantsInterface::getEnergyHelper(), SUMOTrafficObject::getSlope(), ISNAN(), myLastAngle, myParam, and SUMO_ATTR_ANGLE.
Referenced by MSVehicle::executeMove(), and notifyMove().
|
inlineinherited |
Adds this object to the given container.
[in,filled] | cont The container to add this item to |
Definition at line 117 of file Named.h.
References Named::StoringVisitor::add().
|
staticinherited |
Build devices for the given person, if needed.
[in] | p | The person for which a device may be built |
[filled] | into The vector to store the built device in |
Definition at line 119 of file MSDevice.cpp.
References MSTransportableDevice_Routing::buildDevices(), and MSTransportableDevice_FCD::buildDevices().
Referenced by MSTransportable::MSTransportable().
|
static |
Build devices for the given vehicle, if needed.
The options are read and evaluated whether a ElecHybrid-device shall be built for the given vehicle.
The built device is stored in the given vector.
[in] | v | The vehicle for which a device may be built |
[filled] | into The vector to store the built device in |
Definition at line 59 of file MSDevice_ElecHybrid.cpp.
References MSDevice::equippedByDefaultAssignmentOptions(), HelpersEnergy::getDefaultParam(), Parameterised::getDouble(), PollutantsInterface::getEnergyHelper(), Named::getID(), OptionsCont::getOptions(), MSVehicleType::getParameter(), SUMOTrafficObject::getParameter(), Parameterised::getParameter(), SUMOTrafficObject::getVehicleType(), Parameterised::knowsParameter(), MSDevice_ElecHybrid(), SUMO_ATTR_ACTUALBATTERYCAPACITY, SUMO_ATTR_AIRDRAGCOEFFICIENT, SUMO_ATTR_CONSTANTPOWERINTAKE, SUMO_ATTR_FRONTSURFACEAREA, SUMO_ATTR_INTERNALMOMENTOFINERTIA, SUMO_ATTR_MAXIMUMBATTERYCAPACITY, SUMO_ATTR_MAXIMUMPOWER, SUMO_ATTR_OVERHEADWIRECHARGINGPOWER, SUMO_ATTR_PROPULSIONEFFICIENCY, SUMO_ATTR_RADIALDRAGCOEFFICIENT, SUMO_ATTR_RECUPERATIONEFFICIENCY, SUMO_ATTR_RECUPERATIONEFFICIENCY_BY_DECELERATION, SUMO_ATTR_ROLLDRAGCOEFFICIENT, SUMO_ATTR_VEHICLEMASS, StringUtils::toDouble(), toString(), and WRITE_WARNING.
Referenced by MSDevice::buildVehicleDevices().
|
staticinherited |
check device-specific options
[filled] | oc The options container with the user-defined options |
Definition at line 91 of file MSDevice.cpp.
References MSDevice_Routing::checkOptions().
Referenced by MSFrame::checkOptions().
|
private |
Definition at line 709 of file MSDevice_ElecHybrid.cpp.
References HelpersEnergy::getDefaultParam(), PollutantsInterface::getEnergyHelper(), Named::getID(), myParam, toString(), and WRITE_WARNING.
Referenced by MSDevice_ElecHybrid().
|
staticinherited |
perform cleanup for all devices
Definition at line 126 of file MSDevice.cpp.
References MSDevice_FCD::cleanup(), MSDevice_Taxi::cleanup(), MSDevice_Tripinfo::cleanup(), and MSRoutingEngine::cleanup().
Referenced by MSNet::clearAll().
double MSDevice_ElecHybrid::consumption | ( | SUMOVehicle & | veh, |
double | a, | ||
double | newSpeed | ||
) |
Definition at line 905 of file MSDevice_ElecHybrid.cpp.
References GeomHelper::angleDiff(), HelpersEnergy::compute(), PollutantsInterface::ELEC, SUMOVehicle::getAngle(), PollutantsInterface::getEnergyHelper(), SUMOTrafficObject::getSlope(), ISNAN(), myLastAngle, myParam, SUMO_ATTR_ANGLE, and TS.
Referenced by MSVehicle::executeMove(), and setConsum().
|
protected |
Definition at line 574 of file MSDevice_ElecHybrid.cpp.
References Node::addElement(), Circuit::descreaseLastId(), Circuit::eraseElement(), Node::eraseElement(), Circuit::eraseNode(), MSOverheadWire::getCircuit(), Node::getElements(), Node::getId(), Named::getID(), Circuit::getLastId(), Circuit::getNode(), Element::getPosNode(), Element::getResistance(), MSOverheadWire::getTractionSubstation(), Circuit::getVoltageSource(), myPreviousOverheadWireSegment, pos_veh_node, Element::setId(), Node::setId(), Element::setPosNode(), veh_elem, veh_pos_tail_elem, and WRITE_ERROR.
Referenced by notifyLeave(), and notifyMove().
|
inlinevirtual |
return the name for this type of device
Implements MSDevice.
Definition at line 121 of file MSDevice_ElecHybrid.h.
Referenced by getParameter(), getParameterDouble(), and setParameter().
|
staticprotectedinherited |
Determines whether a vehicle should get a certain device.
[in] | oc | The options container to get the information about assignment from |
[in] | deviceName | The name of the device type |
[in] | v | The vehicle to determine whether it shall be equipped or not |
Definition at line 204 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(), and StringUtils::toBool().
Referenced by MSTransportableDevice_Routing::buildDevices(), MSTransportableDevice_FCD::buildDevices(), MSDevice_Battery::buildVehicleDevices(), MSDevice_Bluelight::buildVehicleDevices(), MSDevice_BTreceiver::buildVehicleDevices(), MSDevice_BTsender::buildVehicleDevices(), MSDevice_DriverState::buildVehicleDevices(), buildVehicleDevices(), MSDevice_Emissions::buildVehicleDevices(), MSDevice_Example::buildVehicleDevices(), MSDevice_FCD::buildVehicleDevices(), MSDevice_Routing::buildVehicleDevices(), MSDevice_SSM::buildVehicleDevices(), MSDevice_Taxi::buildVehicleDevices(), MSDevice_ToC::buildVehicleDevices(), MSDevice_Tripinfo::buildVehicleDevices(), and MSDevice_Vehroutes::buildVehicleDevices().
|
virtual |
Called on writing tripinfo output.
[in] | tripinfoOut | The output device to write the information into |
IOError | not yet implemented |
Reimplemented from MSDevice.
Definition at line 723 of file MSDevice_ElecHybrid.cpp.
References OutputDevice::closeTag(), myMaxBatteryPower, myMinBatteryPower, myTotalPowerConsumed, myTotalPowerRegenerated, myTotalPowerWasted, OutputDevice::openTag(), and OutputDevice::writeAttr().
|
inline |
Definition at line 190 of file MSDevice_ElecHybrid.h.
References myActOverheadWireSegment.
double MSDevice_ElecHybrid::getActualBatteryCapacity | ( | ) | const |
Get the actual vehicle's Battery Capacity in kWh.
Definition at line 738 of file MSDevice_ElecHybrid.cpp.
References myActualBatteryCapacity.
Referenced by MSOverheadWire::addChargeValueForOutput(), MSBaseVehicle::getStateOfCharge(), MSElecHybridExport::write(), and MSElecHybridExport::writeAggregated().
|
staticprotectedinherited |
Definition at line 198 of file MSDevice.cpp.
References MSDevice::getStringParam(), StringUtils::toBool(), toString(), and WRITE_ERROR.
Referenced by MSDevice_ToC::buildVehicleDevices().
double MSDevice_ElecHybrid::getCircuitAlpha | ( | ) | const |
Definition at line 799 of file MSDevice_ElecHybrid.cpp.
References Circuit::alphaBest, MSOverheadWire::getCircuit(), MSGlobals::gOverheadWireSolver, myActOverheadWireSegment, and WRITE_ERROR.
Referenced by MSElecHybridExport::write(), and MSElecHybridExport::writeAggregated().
double MSDevice_ElecHybrid::getConsum | ( | ) | const |
Get consum.
Definition at line 779 of file MSDevice_ElecHybrid.cpp.
References myConsum.
Referenced by MSVehicle::executeMove(), MSElecHybridExport::write(), and MSElecHybridExport::writeAggregated().
double MSDevice_ElecHybrid::getCurrentFromOverheadWire | ( | ) | const |
Get actual current in the overhead wire segment.
Definition at line 822 of file MSDevice_ElecHybrid.cpp.
References myCircuitCurrent.
Referenced by MSBaseVehicle::getElecHybridCurrent(), MSElecHybridExport::write(), and MSElecHybridExport::writeAggregated().
|
inlineinherited |
Definition at line 249 of file MSMoveReminder.h.
References MSMoveReminder::myDescription.
|
inline |
Definition at line 175 of file MSDevice_ElecHybrid.h.
References myDistance.
double MSDevice_ElecHybrid::getEnergyCharged | ( | ) | const |
Get charged energy.
Definition at line 789 of file MSDevice_ElecHybrid.cpp.
References myEnergyCharged.
Referenced by MSElecHybridExport::write(), and MSElecHybridExport::writeAggregated().
|
inlinestaticinherited |
Definition at line 88 of file MSDevice.h.
References MSDevice::myEquipmentRNG.
Referenced by NLBuilder::initRandomness(), MSStateHandler::myStartElement(), and MSStateHandler::saveRNGs().
|
staticprotectedinherited |
Definition at line 185 of file MSDevice.cpp.
References MSDevice::getStringParam(), StringUtils::toDouble(), toString(), and WRITE_ERROR.
Referenced by MSDevice_Bluelight::buildVehicleDevices(), MSDevice_ToC::buildVehicleDevices(), MSDevice_ToC::getDynamicMRMProbability(), MSDevice_DriverState::getErrorNoiseIntensityCoefficient(), MSDevice_DriverState::getErrorTimeScaleCoefficient(), MSDevice_DriverState::getHeadwayChangePerceptionThreshold(), MSDevice_DriverState::getHeadwayErrorCoefficient(), MSDevice_DriverState::getInitialAwareness(), MSDevice_DriverState::getMaximalReactionTime(), MSDevice_DriverState::getMinAwareness(), MSDevice_ToC::getOpenGapParams(), MSDevice_DriverState::getSpeedDifferenceChangePerceptionThreshold(), and MSDevice_DriverState::getSpeedDifferenceErrorCoefficient().
|
inlineinherited |
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(), and MSIdling_RandomCircling::idle().
|
inlineinherited |
Returns the id.
Definition at line 73 of file Named.h.
References Named::myID.
Referenced by MSLCM_LC2013::_patchSpeed(), MSLCM_SL2015::_patchSpeed(), MSCFModel_ACC::_v(), MSCFModel_CACC::_v(), MSCFModel_Wiedemann::_v(), MSLCM_LC2013::_wantsChange(), MSLCM_SL2015::_wantsChangeSublane(), MSTransportableControl::abortAnyWaitingForVehicle(), MSLaneChangerSublane::abortLCManeuver(), MSLCM_LC2013::adaptSpeedToPedestrians(), MSVehicle::adaptToLeader(), MSVehicle::adaptToLeaders(), MSVehicleTransfer::add(), MSPModel_Striping::add(), PCPolyContainer::add(), ShapeContainer::add(), MSDetectorControl::add(), NLTriggerBuilder::addAccess(), RORouteDef::addAlternative(), MSLane::addApproachingLane(), MSChargingStation::addChargeValueForOutput(), MSOverheadWire::addChargeValueForOutput(), NBNodeCont::addCluster2Join(), NLHandler::addConnection(), NBLoadedSUMOTLDef::addConnection(), MSPModel_Striping::addCrossingVehs(), RODFDetectorCon::addDetector(), RONet::addEdge(), ROJTREdge::addFollowerProbability(), MSLCM_SL2015::addLCSpeedAdvice(), MSTLLogicControl::TLSLogicVariants::addLogic(), MSLane::addNeigh(), RONet::addNode(), MSTractionSubstation::addOverheadWireClampToCircuit(), MSTractionSubstation::addOverheadWireInnerSegmentToCircuit(), MSTractionSubstation::addOverheadWireSegmentToCircuit(), NIImporter_SUMO::addPhase(), GUIEdge::addRerouter(), MSDispatch::addReservation(), MSRouteHandler::addRide(), RONet::addRouteDef(), NIXMLEdgesHandler::addSplit(), NBTrafficLightLogic::addStep(), MSRouteHandler::addStop(), RORouteHandler::addStop(), ROVehicle::addStop(), MSBaseVehicle::addStop(), MSNet::addStoppingPlace(), MSVehicle::addTransportable(), AGActivityTripWriter::addTrip(), MSRouteHandler::addVehicleStopsToImplicitRoute(), NIXMLConnectionsHandler::addWalkingArea(), MSTransportable::appendStage(), LIBSUMO_NAMESPACE::Person::appendWalkingStage(), MSCFModel::applyHeadwayAndSpeedDifferencePerceptionErrors(), MSCFModel::applyHeadwayPerceptionError(), libsumo::Helper::applySubscriptionFilterLateralDistanceSinglePass(), libsumo::Helper::applySubscriptionFilters(), MSDevice_ToC::awarenessRecoveryStep(), GUITrafficLightLogicWrapper::begin2TrackPhases(), MSPModel_Striping::blockedAtDist(), MSLink::blockedAtTime(), MSLink::blockedByFoe(), MSVehicle::boardTransportables(), NLEdgeControlBuilder::build(), NIVisumTL::build(), RODFNet::buildApproachList(), MSSOTLE2Sensors::buildContinueSensior(), MSSOTLE2Sensors::buildCountSensorForLane(), MSSOTLE2Sensors::buildCountSensorForOutLane(), NBNode::buildCrossings(), NBNode::buildCrossingsAndWalkingAreas(), MSTransportableDevice_Routing::buildDevices(), MSTransportableDevice_FCD::buildDevices(), NIImporter_VISUM::buildDistrictNode(), MSRailSignal::LinkInfo::buildDriveWay(), NLDetectorBuilder::buildE2Detector(), RODFNet::buildEdgeFlowMap(), NBEdge::buildInnerEdges(), NLTriggerBuilder::buildInnerOverheadWireSegments(), GNETLSEditorFrame::buildInternalLanes(), NIVissimEdge::buildNBEdge(), NGEdge::buildNBEdge(), NBRampsComputer::buildOffRamp(), NBRampsComputer::buildOnRamp(), MSRailSignal::DriveWay::buildRoute(), MELoop::buildSegmentsFor(), MSSOTLE2Sensors::buildSensorForLane(), MSSOTLE2Sensors::buildSensorForOutLane(), LIBSUMO_NAMESPACE::Vehicle::buildStopParameters(), MSDevice_Battery::buildVehicleDevices(), MSDevice_Bluelight::buildVehicleDevices(), MSDevice_BTreceiver::buildVehicleDevices(), MSDevice_BTsender::buildVehicleDevices(), MSDevice_DriverState::buildVehicleDevices(), buildVehicleDevices(), MSDevice_Emissions::buildVehicleDevices(), MSDevice_Example::buildVehicleDevices(), MSDevice_FCD::buildVehicleDevices(), MSDevice_Routing::buildVehicleDevices(), MSDevice_SSM::buildVehicleDevices(), MSDevice_Taxi::buildVehicleDevices(), MSDevice_ToC::buildVehicleDevices(), MSDevice_Tripinfo::buildVehicleDevices(), MSDevice_Transportable::buildVehicleDevices(), MSDevice_Vehroutes::buildVehicleDevices(), NBNode::buildWalkingAreas(), MSBaseVehicle::calculateArrivalParams(), MSSwarmTrafficLightLogic::calculateEtaDiff(), MSSwarmTrafficLightLogic::calculateEtaRatio(), MSE2Collector::calculateTimeLossAndTimeOnDetector(), MSSOTLPolicyBasedTrafficLightLogic::canRelease(), MSLaneChanger::change(), MSLaneChangerSublane::change(), MSLCM_SL2015::changed(), MSLaneChanger::changeOpposite(), MELoop::changeSegment(), MSSimpleTrafficLightLogic::changeStepAndDuration(), LIBSUMO_NAMESPACE::Vehicle::changeTarget(), MSTLLogicControl::check2Switch(), MSEdge::checkAndRegisterBiDirEdge(), MSLaneChanger::checkChange(), MSLaneChangerSublane::checkChangeSublane(), NBEdgeCont::checkConsistency(), MSRailSignal::DriveWay::checkCrossingFlanks(), MSDevice_ToC::checkDynamicToC(), MSLane::checkFailure(), MSLane::checkForPedestrians(), GUIApplicationWindow::checkGamingEvents(), MSVehicleTransfer::checkInsertions(), MSVehicle::checkLinkLeader(), MSDevice_Battery::checkParam(), checkParam(), MSE2Collector::checkPositioning(), MSVehicle::checkReversal(), MSVehicle::checkRewindLinkLanes(), MSLCM_SL2015::checkStrategicChange(), MSAbstractLaneChangeModel::checkTraCICommands(), MSLaneChanger::checkTraCICommands(), MSSwarmTrafficLightLogic::choosePolicy(), MSDevice_SSM::classifyEncounter(), ShapeContainer::clearHighlights(), NBTrafficLightLogic::closeBuilding(), ODDistrictHandler::closeDistrict(), NLHandler::closeEdge(), MSDevice_SSM::closeEncounter(), MSRouteHandler::closeFlow(), RORouteHandler::closeRouteDistribution(), RORouteHandler::closeVehicle(), NBTrafficLightDefinition::collectAllLinks(), NBTrafficLightDefinition::collectEdges(), NBLoadedSUMOTLDef::collectEdgeVectors(), NBLoadedTLDef::collectLinks(), MSLCM_SL2015::commitManoeuvre(), IntermodalRouter< E, L, N, V >::compute(), ROJTRRouter::compute(), NBTrafficLightDefinition::compute(), MSVehicle::computeAngle(), MSDispatch::computeDetourTime(), NBNodeShapeComputer::computeEdgeBoundaries(), NBNode::computeInternalLaneShape(), NBNode::computeLanes2Lanes(), NBNode::computeLogic(), NBOwnTLDef::computeLogicAndConts(), NBNodeShapeComputer::computeNodeShapeDefault(), NBNodeShapeComputer::computeNodeShapeSmall(), NBNodeTypeComputer::computeNodeTypes(), RODFNet::computeRoutesFor(), NBTrafficLightLogicCont::computeSingleLogic(), NBNode::computeSmoothShape(), MSLCM_SL2015::computeSpeedLat(), MSDevice_SSM::computeSSMs(), NBTurningDirectionsComputer::computeTurnDirectionsForNode(), MSVehicle::Manoeuvre::configureEntryManoeuvre(), MSVehicle::Manoeuvre::configureExitManoeuvre(), NGNet::connect(), MSRailSignal::constraintsAllow(), MSLaneChanger::continueChange(), MSLaneChangerSublane::continueChangeSublane(), LIBSUMO_NAMESPACE::Person::convertTraCIStage(), NBLoadedSUMOTLDef::copyIndices(), NBOwnTLDef::corridorLike(), MSSOTLWaveTrafficLightLogic::countVehicles(), MSSOTLE2Sensors::countVehicles(), MSDevice_SSM::createEncounters(), GUINet::createTLWrapper(), MSDevice_Taxi::customerArrived(), 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(), deleteVehicleFromCircuit(), MSLane::detectCollisionBetween(), MSLane::detectCollisions(), MSE3Collector::detectorUpdate(), MSLane::detectPedestrianJunctionCollision(), NIVissimDistrictConnection::dict_BuildDistrictNodes(), NIVissimDistrictConnection::dict_BuildDistricts(), NBNodeCont::discardTrafficLights(), MSDispatch_Greedy::dispatch(), MSDispatch_GreedyShared::dispatch(), MSDispatch_RouteExtension::dispatch(), MSDevice_Taxi::dispatchShared(), MSDevice_SSM::Encounter::Encounter(), MSAbstractLaneChangeModel::endLaneChangeManeuver(), MSE3Collector::enter(), MSVehicle::enterLaneAtMove(), MSVehicle::Manoeuvre::entryManoeuvreIsComplete(), MSTransportableControl::erase(), METriggeredCalibrator::execute(), Command_SaveTLSProgram::execute(), Command_SaveTLSState::execute(), Command_SaveTLSSwitches::execute(), Command_SaveTLSSwitchStates::execute(), MSVTypeProbe::execute(), MSPModel_Striping::MovePedestrians::execute(), MSCalibrator::execute(), MSVehicle::executeMove(), MSLane::executeMovements(), NBNodeCont::extract(), NBTrafficLightLogicCont::extract(), MSCFModel::finalizeSpeed(), MSCFModel_Daniel1::finalizeSpeed(), MSLaneChanger::findCandidate(), libsumo::Helper::findCloserLane(), MSRailSignal::DriveWay::findFlankProtection(), MSDevice_SSM::findFoeConflictLane(), LIBSUMO_NAMESPACE::Simulation::findIntermodalRoute(), MSDevice_SSM::findSurroundingVehicles(), MSDevice_SSM::flushConflicts(), MSDevice_SSM::flushGlobalMeasures(), MSCFModel_CACC::followSpeed(), MSCFModel_W99::followSpeed(), NBTrafficLightDefinition::forbids(), NBNodeCont::generateNodeClusters(), MSDevice_Tripinfo::generateOutput(), GUITrafficLightLogicWrapper::getActiveTLLogic(), RODFDetectorCon::getAggFlowFor(), RODFDetectorCon::getAnyDetectorForEdge(), MSPModel_Striping::getArbitraryPath(), MSVehicle::getBackPosition(), MSVehicle::getBackPositionOnLane(), LIBSUMO_NAMESPACE::Vehicle::getBestLanes(), NBOwnTLDef::getBestPair(), NBRailwayTopologyAnalyzer::getBrokenRailNodes(), MSLane::getCanonicalPredecessorLane(), MSLane::getCanonicalSuccessorLane(), MSVehicle::getCenterOnEdge(), MSDevice_Battery::getChargingStationID(), MSRailSignal::getClickableTLLinkID(), GUIVehicle::getColorValue(), MSLaneChanger::getColumnleader(), LIBSUMO_NAMESPACE::TrafficLight::getControlledLinks(), MSLane::getCriticalLeader(), NBNodeShapeComputer::getDefaultRadius(), MSLink::getDescription(), MSStop::getDescription(), NBTrafficLightDefinition::getDescription(), GUIPerson::getDestinationEdgeID(), MSDevice_SSM::getDetectionRange(), RODFNet::getDetectorEdge(), MSActuatedTrafficLightLogic::getDetectorPriority(), MSRailSignal::LinkInfo::getDriveWay(), GUIPerson::getEdgeID(), GUIMEVehicle::getEdgeID(), MSMeanData::getEdgeID(), libsumo::Calibrator::getEdgeID(), LIBSUMO_NAMESPACE::RouteProbe::getEdgeID(), MSDevice_SSM::getExtraTime(), MSPModel_Remote::getFirstPedestrianLane(), MSLane::getFirstVehicleInformation(), MSLane::getFollower(), MSLane::getFollowersOnConsecutive(), GUIPerson::getFromEdgeID(), MSCalibrator::getID(), NBEdge::getID(), MSRailSignal::getJunctionLinkID(), RORouteHandler::getJunctionTaz(), libsumo::Calibrator::getLaneID(), MSParkingArea::getLastFreePosWithReservation(), MSLane::getLastVehicleInformation(), MSVehicle::getLatOffset(), MSLane::getLeader(), MSLink::getLeaderInfo(), MSLane::getLeaderOnConsecutive(), MSLaneChangerSublane::getLeaders(), MSLane::getLeadersOnConsecutive(), MSLink::getLengthBeforeCrossing(), MSDeterministicHiLevelTrafficLightLogic::getMeanSpeedForInputLanes(), MSDeterministicHiLevelTrafficLightLogic::getMeanSpeedForOutputLanes(), MSDevice_SSM::getMeasuresAndThresholds(), NIImporter_VISUM::getNamedEdgeContinuating(), MSPModel_Striping::getNeighboringObstacles(), MSPerson::getNextEdge(), MSPModel_Striping::getNextLane(), MSPModel_Striping::getNextLaneObstacles(), MSLane::getOppositeFollower(), MSLane::getOppositeLeader(), MSLane::getOppositePos(), MSDevice_SSM::getOutputFilename(), getOverheadWireSegmentID(), MSOverheadWire::getOverheadWireSegmentName(), MSDevice_ToC::getParameter(), LIBSUMO_NAMESPACE::Simulation::getParameter(), GUIContainer::getParameterWindow(), GUILane::getParameterWindow(), GUITrafficLightLogicWrapper::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::Calibrator::getRouteProbeID(), MSBaseVehicle::getRouteValidity(), MSVehicle::getSafeFollowSpeed(), MSAbstractLaneChangeModel::getShadowLane(), MSBaseVehicle::getSingularType(), MSTransportable::getSingularType(), LIBSUMO_NAMESPACE::Person::getStage(), MSPerson::MSPersonStage_Walking::getStageSummary(), MSStageTrip::getStageSummary(), MSStageWaiting::getStageSummary(), MSStageDriving::getStageSummary(), MSStageTranship::getStageSummary(), MSDevice_Taxi::getStopLane(), MSNet::getStoppingPlaceID(), MSDevice::getStringParam(), MSLane::getSurroundingVehicles(), MSActuatedTrafficLightLogic::getTarget(), LIBSUMO_NAMESPACE::Person::getTaxiReservations(), MSRailSignal::getTLLinkID(), NIImporter_OpenDrive::getTLSSecure(), getTractionSubstationID(), PedestrianEdge< E, L, N, V >::getTravelTime(), MSVehicle::getUpcomingLanesUntil(), MSLane::getUpcomingLinks(), MSDevice_SSM::getUpstreamVehicles(), LIBSUMO_NAMESPACE::Person::getVehicle(), MSPModel_Striping::getVehicleObstacles(), MSDevice_SSM::getVehiclesOnJunction(), MSRailSignalConstraint::getVehID(), MSStageDriving::getWaitingDescription(), MSEdge::getWaitingVehicle(), MSLink::getZipperSpeed(), GNEEdge::GNEEdge(), NBNode::guessCrossings(), RODFDetectorCon::guessEmptyFlows(), NBNodeCont::guessTLs(), GUITLLogicPhasesTrackerWindow::GUITLLogicPhasesTrackerWindow(), MSLane::handleCollisionBetween(), MSRailSignal::hasInsertionConstraint(), MSRailSignal::hasOncomingRailTraffic(), MSBaseVehicle::hasValidRouteStart(), MSVehicle::hasValidRouteStart(), MSBaseVehicle::haveValidStopEdges(), libsumo::POI::highlight(), LIBSUMO_NAMESPACE::Vehicle::highlight(), MSIdling_Stop::idle(), MSIdling_RandomCircling::idle(), MSVehicle::ignoreRed(), MSLCM_LC2013::inform(), MSLCM_SL2015::inform(), MSLCM_SL2015::informFollower(), MSLCM_LC2013::informFollower(), MSLCM_SL2015::informLeader(), MSLCM_LC2013::informLeader(), NBEdge::init(), MSActuatedTrafficLightLogic::init(), MSDelayBasedTrafficLightLogic::init(), MSDeterministicHiLevelTrafficLightLogic::init(), MSRailSignal::init(), MSSOTLTrafficLightLogic::init(), MSSwarmTrafficLightLogic::init(), MSTrafficLightLogic::init(), MSE2Collector::initAuxiliaries(), MESegment::initialise(), MSTrafficLightLogic::initMesoTLSPenalties(), PolygonDynamics::initTrackedPosition(), NIImporter_SUMO::initTrafficLightLogic(), NIXMLTrafficLightsHandler::initTrafficLightLogic(), NBDistrictCont::insert(), NBNodeCont::insert(), NBTrafficLightLogicCont::insert(), MSCFModel_IDM::insertionFollowSpeed(), MSEdge::insertVehicle(), MSLane::integrateNewVehicles(), GNEJunction::invalidateTLS(), NBNode::invalidateTLS(), MSTLLogicControl::isActive(), MSPedestrianPushButton::isActiveForEdge(), MSPedestrianPushButton::isActiveOnAnySideOfTheRoad(), RODFNet::isDestination(), RODFNet::isFalseSource(), MSLane::isInsertionSuccess(), MSVehicle::isLeader(), MESegment::isOpen(), RODFNet::isSource(), NIImporter_VISUM::isSplitEdge(), MSSOTLTrafficLightLogic::isThresholdPassed(), MSStageDriving::isWaitingFor(), MESegment::jamThresholdForSpeed(), NBNodeCont::joinSameJunctions(), MSVehicle::joinTrainPartFront(), MSAbstractLaneChangeModel::laneChangeOutput(), MSVehicle::lateralDistanceToLane(), MSE3Collector::leave(), MSE3Collector::leaveFront(), MSVehicle::leaveLane(), MSDevice_BTreceiver::BTreceiverUpdate::leaveRange(), MSPedestrianPushButton::loadCrossingEdgeMap(), NIImporter_OpenDrive::loadNetwork(), MSPedestrianPushButton::loadPushButtons(), ODDistrictCont::makeDistricts(), MSE2Collector::makeMoveNotification(), MSE2Collector::makeVehicleInfo(), MSSOTLE2Sensors::meanVehiclesSpeed(), MSPModel_Striping::moveInDirection(), MSPModel_Striping::moveInDirectionOnLane(), 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_Taxi::MSDevice_Taxi(), MSDevice_ToC::MSDevice_ToC(), MSE2Collector::MSE2Collector(), MSLCM_LC2013::MSLCM_LC2013(), MSSimpleDriverState::MSSimpleDriverState(), NBLoadedTLDef::myCompute(), NIImporter_SUMO::myEndElement(), MSStateHandler::myStartElement(), MSLaneSpeedTrigger::myStartElement(), MSTriggeredRerouter::myStartElement(), MSPModel_Striping::nextBlocking(), notifyEnter(), MSE2Collector::notifyEnter(), MSDevice_Bluelight::notifyEnter(), MSDevice_Example::notifyEnter(), MSDevice_SSM::notifyEnter(), MSDevice_Tripinfo::notifyEnter(), MSMeanData::MeanDataValues::notifyEnter(), MSMeanData::MeanDataValueTracker::notifyEnter(), MSMeanData_Net::MSLaneMeanDataValues::notifyEnter(), MSRailSignalConstraint_Predecessor::PassedTracker::notifyEnter(), MSTriggeredRerouter::notifyEnter(), MSE3Collector::MSE3EntryReminder::notifyEnter(), MSE3Collector::MSE3LeaveReminder::notifyEnter(), MSDevice_BTreceiver::notifyEnter(), MSDevice_BTsender::notifyEnter(), notifyLeave(), MSDevice_Bluelight::notifyLeave(), MSDevice_Example::notifyLeave(), MSDevice_SSM::notifyLeave(), MSDevice_Transportable::notifyLeave(), MSDevice_Tripinfo::notifyLeave(), MSE2Collector::notifyLeave(), MSE3Collector::MSE3EntryReminder::notifyLeave(), MSE3Collector::MSE3LeaveReminder::notifyLeave(), MSDevice_BTreceiver::notifyLeave(), MSDevice_BTsender::notifyLeave(), notifyMove(), MSDevice_Battery::notifyMove(), MSDevice_Bluelight::notifyMove(), MSDevice_BTreceiver::notifyMove(), MSDevice_BTsender::notifyMove(), MSDevice_Example::notifyMove(), MSDevice_SSM::notifyMove(), MSDevice_Transportable::notifyMove(), MSE2Collector::notifyMove(), MSMeanData::MeanDataValues::notifyMove(), MSDevice_ToC::notifyMove(), MSE3Collector::MSE3LeaveReminder::notifyMove(), MSE3Collector::MSE3EntryReminder::notifyMove(), MSMeanData_Net::MSLaneMeanDataValues::notifyMoveInternal(), GNETLSEditorFrame::onCmdDefSwitch(), GUIViewTraffic::onGamingClick(), 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_Turns(), NLTriggerBuilder::parseAndBuildCalibrator(), NLTriggerBuilder::parseAndBuildOverheadWireSection(), MSRouteHandler::parseWalkPositions(), NBLoadedSUMOTLDef::patchIfCrossingsAdded(), MSLCM_LC2013::patchSpeed(), MSLCM_SL2015::patchSpeed(), NBLoadedTLDef::SignalGroup::patchTYellow(), MSCFModel_CC::performAutoLaneChange(), MSVehicle::planMove(), MSVehicle::planMoveInternal(), MSLane::planMovements(), PolygonDynamics::PolygonDynamics(), MSInternalJunction::postloadInit(), MSRightOfWayJunction::postloadInit(), MSLCM_SL2015::prepareStep(), MSDevice_Taxi::prepareStop(), MSAbstractLaneChangeModel::primaryLaneChanged(), AGStreet::print(), MSStageDriving::proceed(), MSDevice_SSM::processEncounters(), MSVehicle::processLaneAdvances(), MSVehicle::processLinkApproaches(), MSVehicle::processNextStop(), NIXMLNodesHandler::processNodeType(), TraCIServerAPI_Vehicle::processSet(), MEVehicle::processStop(), MSVehicle::processTraCISpeedControl(), NIXMLNodesHandler::processTrafficLightDefinitions(), MSDelayBasedTrafficLightLogic::proposeProlongation(), NBNodeCont::pruneClusterFringe(), NBNodeCont::pruneSlipLaneNodes(), MSPModel_Striping::PState::PState(), MSOffTrafficLightLogic::rebuildPhase(), NBEdge::recheckLanes(), NBEdgeCont::recheckPostProcessConnections(), NIImporter_OpenStreetMap::reconstructLayerElevation(), NBLoadedSUMOTLDef::reconstructLogic(), MSRailSignalControl::registerProtectedDriveway(), MSLink::removeApproaching(), MSVehicle::removePassedDriveItems(), GNEJunction::removeTLSConnections(), NBNodeCont::rename(), RORouteDef::repairCurrentRoute(), GNEJunction::replaceIncomingConnections(), MSVehicle::replaceParkingArea(), MSBaseVehicle::replaceRouteEdges(), MSVehicle::replaceStop(), NIImporter_DlrNavteq::TrafficlightsHandler::report(), NLEdgeControlBuilder::reportCurrentEdgeOrLane(), MSDevice_SSM::requestsTrajectories(), MSDevice_ToC::requestToC(), MSPerson::reroute(), MSBaseVehicle::reroute(), MSRailSignal::LinkInfo::reroute(), GUIVehicle::rerouteDRTStop(), MSTriggeredRerouter::rerouteParkingArea(), MSVehicle::rerouteParkingArea(), MSTransportable::rerouteParkingArea(), MSDevice_ToC::resetDeliberateLCs(), MSLane::resetManeuverReservation(), MSLane::resetPartialOccupation(), LIBSUMO_NAMESPACE::Vehicle::resume(), MSRailSignal::retrieveDriveWay(), NIImporter_OpenDrive::retrieveSignalEdges(), RODFNet::revalidateFlows(), NBRailwayTopologyAnalyzer::reverseEdges(), MSStageWaiting::routeOutput(), MSStageDriving::routeOutput(), MSLane::safeInsertionSpeed(), LIBSUMO_NAMESPACE::RouteProbe::sampleCurrentRouteID(), LIBSUMO_NAMESPACE::RouteProbe::sampleLastRouteID(), RONet::saveAndRemoveRoutesUntil(), ROPerson::Ride::saveAsXML(), ROVehicle::saveAsXML(), MSLCM_SL2015::saveBlockerLength(), MSLCM_LC2013::saveBlockerLength(), MSBaseVehicle::saveState(), MSLane::saveState(), MSTransportable::saveState(), MESegment::saveState(), MSDevice::saveState(), MSDevice_Routing::saveState(), MSDevice_Transportable::saveState(), MSDevice_Tripinfo::saveState(), MSDevice_Vehroutes::saveState(), MSTransportableDevice_Routing::saveState(), MSStageDriving::saveState(), MSCalibrator::scheduleRemoval(), GUIVehicle::selectBlockingFoes(), MSE2Collector::selectLanes(), MSVehicle::setAngle(), MSLink::setApproaching(), MSVehicle::setApproachingForAllLinks(), MSStageTrip::setArrived(), NBNodeCont::setAsTLControlled(), MSSimpleDriverState::setAwareness(), MSChargingStation::setChargeDelay(), MSChargingStation::setChargingPower(), NLEdgeControlBuilder::setDefaultStopOffsets(), MSChargingStation::setEfficency(), MSAbstractLaneChangeModel::setManeuverDist(), MSLane::setManeuverReservation(), MSDevice_Battery::setMaximumBatteryCapacity(), NBEdge::setNodeBorder(), MSLCM_SL2015::setOwnState(), MSActuatedTrafficLightLogic::setParameter(), MSDevice_ToC::setParameter(), MSCFModel_CACC::setParameter(), MSCFModel_CC::setParameter(), MSLane::setPartialOccupation(), MSDevice_Battery::setPowerMax(), NBEdgePriorityComputer::setPriorityJunctionPriorities(), libsumo::Helper::setRemoteControlled(), MSLink::setRequestInformation(), LIBSUMO_NAMESPACE::Vehicle::setRoute(), LIBSUMO_NAMESPACE::Vehicle::setRouteID(), MSDevice_Battery::setStoppingTreshold(), NBLoadedSUMOTLDef::setTLControllingInformation(), NBLoadedTLDef::setTLControllingInformation(), NBOwnTLDef::setTLControllingInformation(), NBTrafficLightLogicCont::setTLControllingInformation(), MSStageDriving::setVehicle(), MSOverheadWire::setVoltage(), NBEdge::shiftPositionAtNode(), MSLCM_LC2013::slowDownForBlocked(), MSLCM_SL2015::slowDownForBlocked(), MSLane::sortManeuverReservations(), IntermodalNetwork< E, L, N, V >::splitEdge(), MSLaneChangerSublane::startChangeSublane(), MSStopOut::stopEnded(), MSStopOut::stopStarted(), MSLane::succLinkSec(), MSDevice_ToC::switchHolderType(), GUITrafficLightLogicWrapper::switchTLSLogic(), MELoop::teleportVehicle(), MSDevice_ToC::ToCPreparationStep(), MSDevice_ToC::triggerDownwardToC(), MSDevice_ToC::triggerMRM(), MSDevice_ToC::triggerUpwardToC(), MSTransportable::tripInfoOutput(), MSPerson::MSPersonStage_Access::tripInfoOutput(), METriggeredCalibrator::tryEmit(), MSSOTLTrafficLightLogic::trySwitch(), MSDevice_SSM::update(), MSSimpleDriverState::update(), PolygonDynamics::update(), MSDevice_SSM::updateAndWriteOutput(), MSVehicle::updateBestLanes(), MSLCM_SL2015::updateCFRelated(), MSSOTLTrafficLightLogic::updateCTS(), NLEdgeControlBuilder::updateCurrentLaneStopOffsets(), MSVehicle::updateDriveItems(), MSRailSignal::updateDriveway(), MSLCM_SL2015::updateExpectedSublaneSpeeds(), MSVehicle::updateFurtherLanes(), MSLCM_SL2015::updateGaps(), GNETLSEditorFrame::TLSJunction::updateJunctionDescription(), GNENetHelper::AttributeCarriers::updateJunctionID(), MSSwarmTrafficLightLogic::updatePheromoneLevels(), MSSwarmTrafficLightLogic::updateSensitivities(), MSAbstractLaneChangeModel::updateShadowLane(), MSVehicle::updateState(), MSAbstractLaneChangeModel::updateTargetLane(), MSDevice_BTreceiver::BTreceiverUpdate::updateVisibility(), MSDevice_SSM::useGeoCoords(), NBNodeTypeComputer::validateRailCrossings(), libsumo::Helper::VehicleStateListener::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(), MSElecHybridExport::writeAggregated(), MSLink::writeApproaching(), MSRailSignal::writeBlocks(), NWWriter_DlrNavteq::writeConnectedLanes(), NWWriter_SUMO::writeDistrict(), MSMeanData::writeEdge(), NWWriter_SUMO::writeEdge(), MSFullExport::writeEdge(), MSXMLRawOut::writeEdge(), NWWriter_XML::writeEdgesAndConnections(), RODFDetector::writeEmitterDefinition(), RODFDetectorCon::writeEmitterPOIs(), RODFDetectorCon::writeEmitters(), RODFDetectorCon::writeEndRerouterDetectors(), NWWriter_OpenDrive::writeInternalEdge(), writeInterval(), NWWriter_SUMO::writeJunction(), MSFullExport::writeLane(), MSQueueExport::writeLane(), MSXMLRawOut::writeLane(), NWWriter_DlrNavteq::writeLinksUnsplitted(), NWWriter_OpenDrive::writeNetwork(), NWWriter_XML::writeNodes(), NWWriter_DlrNavteq::writeNodesUnsplitted(), MSTractionSubstation::writeOut(), MSDevice_ToC::writeOutput(), MSNet::writeOutput(), MSDevice_Vehroutes::writeOutput(), MSOverheadWire::writeOverheadWireSegmentOutput(), NWWriter_SUMO::writeRoundabout(), 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(), MSRouteProbe::writeXMLOutput(), MSDevice_Transportable::~MSDevice_Transportable(), MSTriggeredRerouter::~MSTriggeredRerouter(), and RONet::~RONet().
|
inlinestaticinherited |
get an identifier for Named-like object which may be Null
Definition at line 66 of file Named.h.
Referenced by MSLCM_LC2013::_wantsChange(), MSLCM_SL2015::_wantsChangeSublane(), NBRailwayTopologyAnalyzer::assignDirectionPriority(), MSLaneChanger::changeOpposite(), MSVehicle::checkReversal(), MSVehicle::checkRewindLinkLanes(), AStarRouter< E, V >::compute(), DijkstraRouter< E, V >::compute(), NBOwnTLDef::computeLogicAndConts(), MSLaneChanger::continueChange(), MSLane::detectCollisions(), MSRailSignal::DriveWay::findProtection(), NBPTLineCont::findWay(), MSCFModel_CACC::followSpeed(), MSCFModel_W99::followSpeed(), 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::getRealLeader(), GUIVehicle::getShadowLaneID(), GUIVehicle::getTargetLaneID(), MSDevice_SSM::getVehiclesOnJunction(), 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(), MSBaseVehicle::reroute(), MSTriggeredRerouter::rerouteParkingArea(), MSLCM_SL2015::saveBlockerLength(), MSLCM_LC2013::saveBlockerLength(), MSLCM_LC2013::slowDownForBlocked(), MSLCM_SL2015::slowDownForBlocked(), MSLaneChangerSublane::startChangeSublane(), MSLeaderInfo::toString(), MSLeaderDistanceInfo::toString(), MSCriticalFollowerDistanceInfo::toString(), toString(), MSVehicle::updateBestLanes(), and MSAbstractLaneChangeModel::updateShadowLane().
|
inlineinherited |
Returns the lane the reminder works 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_BTreceiver::notifyEnter(), MSDevice_BTsender::notifyEnter(), MSDevice_Tripinfo::notifyLeave(), MSDevice_BTreceiver::notifyLeave(), MSDevice_BTsender::notifyLeave(), MSDevice_BTreceiver::notifyMove(), MSDevice_BTsender::notifyMove(), LIBSUMO_NAMESPACE::InductionLoop::storeShape(), and MSMeanData::writeEdge().
double MSDevice_ElecHybrid::getMaximumBatteryCapacity | ( | ) | const |
Get the total vehicle's Battery Capacity in kWh.
Definition at line 744 of file MSDevice_ElecHybrid.cpp.
References myMaximumBatteryCapacity.
Referenced by MSOverheadWire::addChargeValueForOutput(), MSElecHybridExport::writeAggregated(), and MSNet::writeOutput().
|
inlineinherited |
Definition at line 76 of file MSVehicleDevice.h.
References SUMOVehicle::getNumericalID(), and MSVehicleDevice::myHolder.
std::string MSDevice_ElecHybrid::getOverheadWireSegmentID | ( | ) | const |
Get actual overhead wire segment ID.
Definition at line 842 of file MSDevice_ElecHybrid.cpp.
References Named::getID(), and myActOverheadWireSegment.
Referenced by getParameter(), MSElecHybridExport::write(), and MSElecHybridExport::writeAggregated().
|
virtual |
try to retrieve the given parameter from this device. Throw exception for unsupported key
Reimplemented from MSDevice.
Definition at line 749 of file MSDevice_ElecHybrid.cpp.
References deviceName(), getOverheadWireSegmentID(), getTractionSubstationID(), myActualBatteryCapacity, myConsum, myEnergyCharged, myMaximumBatteryCapacity, myParam, SUMO_ATTR_ACTUALBATTERYCAPACITY, SUMO_ATTR_ENERGYCHARGED, SUMO_ATTR_ENERGYCONSUMED, SUMO_ATTR_MAXIMUMBATTERYCAPACITY, SUMO_ATTR_OVERHEADWIREID, SUMO_ATTR_SUBSTATIONID, SUMO_ATTR_VEHICLEMASS, and toString().
double MSDevice_ElecHybrid::getParameterDouble | ( | const std::string & | key | ) | const |
Definition at line 770 of file MSDevice_ElecHybrid.cpp.
References deviceName(), myParam, SUMO_ATTR_MAXIMUMPOWER, and toString().
Referenced by MSVehicle::executeMove().
double MSDevice_ElecHybrid::getPowerWanted | ( | ) | const |
Definition at line 814 of file MSDevice_ElecHybrid.cpp.
References Element::getPowerWanted(), and veh_elem.
Referenced by MSElecHybridExport::write(), and MSElecHybridExport::writeAggregated().
|
staticprotectedinherited |
Definition at line 161 of file MSDevice.cpp.
References OptionsCont::exists(), Named::getID(), MSVehicleType::getParameter(), SUMOTrafficObject::getParameter(), Parameterised::getParameter(), OptionsCont::getValueString(), SUMOTrafficObject::getVehicleType(), OptionsCont::isSet(), and Parameterised::knowsParameter().
Referenced by MSDevice_ToC::buildVehicleDevices(), MSDevice::getBoolParam(), MSDevice::getFloatParam(), and MSDevice_Taxi::MSDevice_Taxi().
std::string MSDevice_ElecHybrid::getTractionSubstationID | ( | ) | const |
Get actual traction substationn ID.
Definition at line 851 of file MSDevice_ElecHybrid.cpp.
References Named::getID(), MSOverheadWire::getTractionSubstation(), and myActOverheadWireSegment.
Referenced by getParameter(), MSElecHybridExport::write(), and MSElecHybridExport::writeAggregated().
|
inline |
Definition at line 194 of file MSDevice_ElecHybrid.h.
References veh_elem.
double MSDevice_ElecHybrid::getVoltageOfOverheadWire | ( | ) | const |
Get actual voltage on the overhead wire segment.
Definition at line 832 of file MSDevice_ElecHybrid.cpp.
References myCircuitVoltage.
Referenced by MSOverheadWire::addChargeValueForOutput(), MSElecHybridExport::write(), and MSElecHybridExport::writeAggregated().
|
staticprotectedinherited |
Adds common command options that allow to assign devices to vehicles.
[in] | deviceName | The name of the device type |
[in] | optionsTopic | The options topic into which the options shall be added |
[filled] | oc The options container to add the options to |
Definition at line 134 of file MSDevice.cpp.
References OptionsCont::addDescription(), OptionsCont::addSynonyme(), MSDevice::deviceName(), and OptionsCont::doRegister().
Referenced by MSDevice_Battery::insertOptions(), MSDevice_Bluelight::insertOptions(), MSDevice_BTreceiver::insertOptions(), MSDevice_BTsender::insertOptions(), MSDevice_DriverState::insertOptions(), insertOptions(), MSDevice_Emissions::insertOptions(), MSDevice_Example::insertOptions(), MSDevice_FCD::insertOptions(), MSDevice_Routing::insertOptions(), MSDevice_SSM::insertOptions(), MSDevice_Taxi::insertOptions(), MSDevice_ToC::insertOptions(), MSDevice_Tripinfo::insertOptions(), MSDevice_Vehroutes::insertOptions(), MSTransportableDevice_FCD::insertOptions(), and MSTransportableDevice_Routing::insertOptions().
|
static |
Inserts MSDevice_ElecHybrid-options.
[filled] | oc The options container to add the options to |
Definition at line 52 of file MSDevice_ElecHybrid.cpp.
References OptionsCont::addOptionSubTopic(), and MSDevice::insertDefaultAssignmentOptions().
Referenced by MSDevice::insertOptions().
bool MSDevice_ElecHybrid::isBatteryDischarged | ( | ) | const |
Get consum.
Definition at line 862 of file MSDevice_ElecHybrid.cpp.
References myBatteryDischargedLogic.
Referenced by notifyMove().
|
virtualinherited |
Loads the state of the device from the given description.
The default implementation does nothing.
[in] | attrs | XML attributes describing the current state |
Reimplemented in MSTransportableDevice_Routing, MSDevice_Vehroutes, MSDevice_Tripinfo, MSDevice_Transportable, and MSDevice_Routing.
Definition at line 156 of file MSDevice.cpp.
|
virtual |
Saves departure info on insertion.
[in] | veh | The entering vehicle. |
[in] | reason | how the vehicle enters the lane |
Reimplemented from MSMoveReminder.
Definition at line 639 of file MSDevice_ElecHybrid.cpp.
References SUMOTrafficObject::getEdge(), Named::getID(), and SUMOTrafficObject::isVehicle().
|
inlinevirtualinherited |
Computes idling emission values and adds them to the emission sums.
Idling implied by zero velocity, acceleration and slope
[in] | veh | The vehicle |
Reimplemented in MSMeanData_Emissions::MSLaneMeanDataValues, MSDevice_Tripinfo, and MSDevice_Emissions.
Definition at line 177 of file MSMoveReminder.h.
References UNUSED_PARAMETER.
|
virtual |
Saves arrival info.
[in] | veh | The leaving vehicle. |
[in] | lastPos | Position on the lane when leaving. |
[in] | isArrival | whether the vehicle arrived at its destination |
[in] | isLaneChange | whether the vehicle changed from the lane |
Reimplemented from MSMoveReminder.
Definition at line 655 of file MSDevice_ElecHybrid.cpp.
References MSTractionSubstation::decreaseElecHybridCount(), deleteVehicleFromCircuit(), MSTractionSubstation::eraseVehicle(), MSOverheadWire::eraseVehicle(), MEVehicle::getAccumulatedWaitingTime(), MEVehicle::getAverageSpeed(), MEVehicle::getBlockTimeSeconds(), SUMOTrafficObject::getEdge(), Named::getID(), MEVehicle::getLastEntryTime(), MEVehicle::getLastEntryTimeSeconds(), MEVehicle::getSegment(), MEVehicle::getSpeed(), MSOverheadWire::getTractionSubstation(), MEVehicle::getWaitingTime(), MSGlobals::gOverheadWireSolver, MSGlobals::gUseMesoSim, SUMOTrafficObject::isVehicle(), myPreviousOverheadWireSegment, MSMoveReminder::NOTIFICATION_TELEPORT, UNUSED_PARAMETER, and WRITE_ERROR.
|
virtual |
Checks for waiting steps when the vehicle moves.
[in] | veh | Vehicle that asks this reminder. |
[in] | oldPos | Position before move. |
[in] | newPos | Position after move with newSpeed. |
[in] | newSpeed | Moving speed. |
Reimplemented from MSMoveReminder.
Definition at line 210 of file MSDevice_ElecHybrid.cpp.
References ACCEL2SPEED, acceleration(), MSOverheadWire::addChargeValueForOutput(), Node::addElement(), Circuit::addElement(), Circuit::addNode(), MSTractionSubstation::addSolvingCirucitToEndOfTimestepEvents(), MSTractionSubstation::addVehicle(), MSOverheadWire::addVehicle(), MSTractionSubstation::decreaseElecHybridCount(), deleteVehicleFromCircuit(), DELTA_T, Node::eraseElement(), MSTractionSubstation::eraseVehicle(), MSOverheadWire::eraseVehicle(), SUMOVehicle::getAngle(), MSOverheadWire::getCircuit(), SUMOTrafficObject::getEdge(), Circuit::getElement(), Node::getElements(), Named::getID(), MSNet::getInstance(), MSStoppingPlace::getLane(), SUMOTrafficObject::getLane(), MSLane::getLength(), Element::getName(), Element::getNegNode(), Circuit::getNode(), SUMOTrafficObject::getPositionOnLane(), Element::getPosNode(), Element::getPowerWanted(), Element::getResistance(), SUMOTrafficObject::getSpeed(), MSNet::getStoppingPlace(), MSNet::getStoppingPlaceID(), MSTractionSubstation::getSubstationVoltage(), MSOverheadWire::getTractionSubstation(), MSGlobals::gOverheadWireSolver, MSTractionSubstation::increaseElecHybridCount(), isBatteryDischarged(), ISNAN(), SUMOTrafficObject::isVehicle(), MSEdge::leftLane(), MAX2(), myActOverheadWireSegment, myActualBatteryCapacity, myBatteryDischargedLogic, myCharging, myCircuitCurrent, myCircuitVoltage, myConsum, myEnergyCharged, myLastAngle, myMaxBatteryPower, myMaximumBatteryCapacity, myMinBatteryPower, myOverheadWireChargingPower, myPreviousOverheadWireSegment, mySOCMax, mySOCMin, myTotalPowerConsumed, myTotalPowerRegenerated, myTotalPowerWasted, pos_veh_node, MSEdge::rightLane(), Element::setCurrent(), Element::setPosNode(), Element::setPowerWanted(), Element::setResistance(), SUMO_TAG_OVERHEAD_WIRE_SEGMENT, veh_elem, veh_pos_tail_elem, WATT2WATTHR, WATTHR2WATT, WIRE_RESISTIVITY, WRITE_ERROR, and WRITE_WARNING.
|
virtual |
Internal notification about the vehicle moves.
Reimplemented from MSMoveReminder.
Definition at line 554 of file MSDevice_ElecHybrid.cpp.
References UNUSED_PARAMETER.
|
inlinevirtualinherited |
called to update state for parking vehicles
Reimplemented in MSDevice_Battery.
Definition at line 152 of file MSDevice.h.
|
private |
Invalidated assignment operator.
|
protectedinherited |
Definition at line 89 of file MSMoveReminder.cpp.
References MSMoveReminder::myLastVehicleUpdateValues.
Referenced by MSMoveReminder::updateDetector().
|
virtualinherited |
Saves the state of the device.
The default implementation writes a warning and does nothing.
[in] | out | The OutputDevice to write the information into |
Reimplemented in MSTransportableDevice_Routing, MSDevice_Vehroutes, MSDevice_Tripinfo, MSDevice_Transportable, MSDevice_Routing, MSTransportableDevice_FCD, and MSDevice_FCD.
Definition at line 150 of file MSDevice.cpp.
References Named::getID(), and WRITE_WARNING.
void MSDevice_ElecHybrid::setActualBatteryCapacity | ( | const double | actualBatteryCapacity | ) |
Set actual vehicle's Battery Capacity in kWh.
Definition at line 867 of file MSDevice_ElecHybrid.cpp.
References myActualBatteryCapacity, and myMaximumBatteryCapacity.
void MSDevice_ElecHybrid::setConsum | ( | const double | consumption | ) |
Definition at line 784 of file MSDevice_ElecHybrid.cpp.
References consumption(), and myConsum.
Referenced by MSVehicle::executeMove().
void MSDevice_ElecHybrid::setCurrentFromOverheadWire | ( | double | current | ) |
Definition at line 827 of file MSDevice_ElecHybrid.cpp.
References myCircuitCurrent.
|
inlineinherited |
Definition at line 245 of file MSMoveReminder.h.
References MSMoveReminder::myDescription.
Referenced by MSMeanData::init(), MEInductLoop::MEInductLoop(), METriggeredCalibrator::METriggeredCalibrator(), and MSCalibrator::MSCalibrator().
void MSDevice_ElecHybrid::setEnergyCharged | ( | double | energyCharged | ) |
Definition at line 794 of file MSDevice_ElecHybrid.cpp.
References myEnergyCharged.
|
inlinevirtualinherited |
resets the id
[in] | newID | The new id of this object |
Reimplemented in MSTransportable, and MSBaseVehicle.
Definition at line 81 of file Named.h.
References Named::myID.
Referenced by Distribution_Parameterized::parse(), NBLoadedSUMOTLDef::reconstructLogic(), NBEdgeCont::rename(), NBNodeCont::rename(), GNEJunction::setAttribute(), and IntermodalNetwork< E, L, N, V >::splitEdge().
|
virtual |
try to set the given parameter for this device. Throw exception for unsupported key
Reimplemented from MSDevice.
Definition at line 878 of file MSDevice_ElecHybrid.cpp.
References deviceName(), myActualBatteryCapacity, myMaximumBatteryCapacity, myOverheadWireChargingPower, myParam, SUMO_ATTR_ACTUALBATTERYCAPACITY, SUMO_ATTR_MAXIMUMBATTERYCAPACITY, SUMO_ATTR_OVERHEADWIRECHARGINGPOWER, SUMO_ATTR_VEHICLEMASS, StringUtils::toDouble(), and toString().
void MSDevice_ElecHybrid::setVoltageOfOverheadWire | ( | double | voltage | ) |
Definition at line 837 of file MSDevice_ElecHybrid.cpp.
References myCircuitVoltage.
|
inherited |
Definition at line 47 of file MSMoveReminder.cpp.
References MSMoveReminder::myLastVehicleUpdateValues, MSMoveReminder::notifyMoveInternal(), MSMoveReminder::removeFromVehicleUpdateValues(), and STEPS2TIME.
Referenced by MEVehicle::updateDetectorForWriting().
|
protected |
Parameter, Pointer to the actual overhead wire segment in which vehicle is placed (by default is nullptr)
Definition at line 265 of file MSDevice_ElecHybrid.h.
Referenced by getActOverheadWireSegment(), getCircuitAlpha(), getOverheadWireSegmentID(), getTractionSubstationID(), and notifyMove().
|
protected |
Parameter, The actual vehicles's Battery Capacity in Wh, [myActualBatteryCapacity <= myMaximumBatteryCapacity].
Definition at line 211 of file MSDevice_ElecHybrid.h.
Referenced by getActualBatteryCapacity(), getParameter(), MSDevice_ElecHybrid(), notifyMove(), setActualBatteryCapacity(), and setParameter().
|
protected |
Parameter, Flag: Battery of Vehicle is fully discharged (by default is false)
Definition at line 229 of file MSDevice_ElecHybrid.h.
Referenced by isBatteryDischarged(), and notifyMove().
|
protected |
Parameter, Flag: Vehicle is charging (by default is false)
Definition at line 232 of file MSDevice_ElecHybrid.h.
Referenced by notifyMove().
|
protected |
Parameter, Current wanted at overhead wire in next timestep.
Definition at line 238 of file MSDevice_ElecHybrid.h.
Referenced by getCurrentFromOverheadWire(), notifyMove(), and setCurrentFromOverheadWire().
|
protected |
Definition at line 240 of file MSDevice_ElecHybrid.h.
Referenced by getVoltageOfOverheadWire(), notifyMove(), and setVoltageOfOverheadWire().
|
protected |
Parameter, Vehicle consumption during a time step (by default is 0.)
Definition at line 226 of file MSDevice_ElecHybrid.h.
Referenced by getConsum(), getParameter(), notifyMove(), and setConsum().
|
protectedinherited |
a description of this moveReminder
Definition at line 261 of file MSMoveReminder.h.
Referenced by MSMoveReminder::getDescription(), and MSMoveReminder::setDescription().
|
protected |
Definition at line 270 of file MSDevice_ElecHybrid.h.
Referenced by getDistance().
|
protected |
Energy flowing into (+) or from (-) the battery pack in the given timestep.
Definition at line 235 of file MSDevice_ElecHybrid.h.
Referenced by getEnergyCharged(), getParameter(), notifyMove(), and setEnergyCharged().
|
staticprivateinherited |
A random number generator used to choose from vtype/route distributions and computing the speed factors.
Definition at line 190 of file MSDevice.h.
Referenced by MSDevice::equippedByDefaultAssignmentOptions(), and MSDevice::getEquipmentRNG().
|
staticprivateinherited |
vehicles which explicitly carry a device, sorted by device, first
Definition at line 187 of file MSDevice.h.
Referenced by MSDevice::equippedByDefaultAssignmentOptions().
|
protectedinherited |
The vehicle that stores the device.
Definition at line 90 of file MSVehicleDevice.h.
Referenced by MSDevice_Vehroutes::addRoute(), MSDevice_Transportable::addTransportable(), MSDevice_ToC::awarenessRecoveryStep(), MSDevice_ToC::checkDynamicToC(), MSDevice_SSM::computeGlobalMeasures(), MSDevice_Taxi::customerArrived(), MSDevice_ToC::deactivateDeliberateLCs(), MSDevice_Taxi::dispatchShared(), MSDevice_SSM::findFoeConflictLane(), MSDevice_Tripinfo::generateOutput(), MSDevice_Tripinfo::generateOutputForUnfinished(), MSVehicleDevice::getHolder(), MSVehicleDevice::getNumericalID(), MSDevice_Routing::getParameter(), MSDevice_ToC::getParameter(), MSDevice_Taxi::getStopLane(), MSDevice_Taxi::hasFuturePickup(), MSDevice_ToC::MRMExecutionStep(), MSDevice_Taxi::MSDevice_Taxi(), MSDevice_Routing::notifyEnter(), MSDevice_Vehroutes::notifyEnter(), MSDevice_Tripinfo::notifyLeave(), MSDevice_Taxi::notifyMove(), MSDevice_Transportable::notifyMove(), MSDevice_ToC::notifyMove(), MSDevice_Battery::notifyParking(), MSVehicleDevice::ComparatorNumericalVehicleIdLess::operator()(), MSDevice_Routing::preInsertionReroute(), MSDevice_Taxi::prepareStop(), MSDevice_Transportable::removeTransportable(), MSDevice_ToC::requestToC(), MSDevice_Routing::reroute(), MSDevice_ToC::resetDeliberateLCs(), MSDevice_Routing::setParameter(), MSDevice_ToC::setVehicleColor(), MSDevice_ToC::switchHolderType(), MSDevice_ToC::ToCPreparationStep(), MSDevice_ToC::triggerDownwardToC(), MSDevice_ToC::triggerMRM(), MSDevice_ToC::triggerUpwardToC(), MSDevice_SSM::updateAndWriteOutput(), MSDevice_ToC::writeOutput(), MSDevice_Vehroutes::writeOutput(), MSDevice_Vehroutes::writeXMLRoute(), MSDevice_Transportable::~MSDevice_Transportable(), and MSDevice_Vehroutes::~MSDevice_Vehroutes().
|
protectedinherited |
The name of the object.
Definition at line 124 of file Named.h.
Referenced by MSE2Collector::addDetectorToLanes(), RODFDetector::buildDestinationDistribution(), NGEdge::buildNBEdge(), NGNode::buildNBNode(), MSSOTLTrafficLightLogic::checkPhases(), NBNode::computeNodeShape(), MSE2Collector::detectorUpdate(), GNEPOI::getAttribute(), GNEPoly::getAttribute(), MSLane::getCanonicalPredecessorLane(), MSLane::getCanonicalSuccessorLane(), Named::getID(), NBEdge::getLaneID(), ROEdge::getStoredEffort(), MSLane::getSurroundingVehicles(), ROEdge::getTravelTime(), NBEdge::init(), MSActuatedTrafficLightLogic::init(), MSDelayBasedTrafficLightLogic::init(), MSSOTLTrafficLightLogic::init(), MSLane::isInsertionSuccess(), NBNode::NBNode(), MSE2Collector::notifyEnter(), MSE2Collector::notifyLeave(), MSE2Collector::notifyMove(), MSMeanData::openInterval(), RORouteDef::preComputeCurrentRoute(), NBEdge::reinitNodes(), MSRoute::release(), GNEPOI::setAttribute(), GNEPoly::setAttribute(), Named::setID(), MSSOTLTrafficLightLogic::setToATargetPhase(), Distribution_Parameterized::toStr(), MSChargingStation::writeChargingStationOutput(), RODFDetector::writeEmitterDefinition(), MSOverheadWire::writeOverheadWireSegmentOutput(), RODFDetector::writeSingleSpeedTrigger(), MEInductLoop::writeXMLOutput(), and MSE3Collector::writeXMLOutput().
|
protectedinherited |
Lane on which the reminder works.
Definition at line 259 of file MSMoveReminder.h.
Referenced by MSE2Collector::getEstimatedCurrentVehicleNumber(), MSE2Collector::getEstimateQueueLength(), MSMoveReminder::getLane(), MSMoveReminder::MSMoveReminder(), MSE2Collector::notifyEnter(), MSInductLoop::notifyEnter(), MSE2Collector::notifyLeave(), and MSE2Collector::notifyMove().
|
protected |
Parameter, Vehicle's last angle.
Definition at line 223 of file MSDevice_ElecHybrid.h.
Referenced by acceleration(), consumption(), and notifyMove().
|
privateinherited |
Definition at line 269 of file MSMoveReminder.h.
Referenced by MSMoveReminder::removeFromVehicleUpdateValues(), and MSMoveReminder::updateDetector().
|
protected |
Definition at line 244 of file MSDevice_ElecHybrid.h.
Referenced by generateOutput(), and notifyMove().
|
protected |
Parameter, The total vehicles's Battery Capacity in Wh, [myMaximumBatteryCapacity >= 0].
Definition at line 214 of file MSDevice_ElecHybrid.h.
Referenced by getMaximumBatteryCapacity(), getParameter(), MSDevice_ElecHybrid(), notifyMove(), setActualBatteryCapacity(), and setParameter().
|
protected |
Definition at line 245 of file MSDevice_ElecHybrid.h.
Referenced by generateOutput(), and notifyMove().
|
protected |
Parameter, overhead wire charging power to battery, if the battery SoC is not full (in Watt)
Definition at line 217 of file MSDevice_ElecHybrid.h.
Referenced by MSDevice_ElecHybrid(), notifyMove(), and setParameter().
|
protected |
Parameter collection.
Definition at line 220 of file MSDevice_ElecHybrid.h.
Referenced by acceleration(), checkParam(), consumption(), getParameter(), getParameterDouble(), and setParameter().
|
protected |
Parameter, Pointer to the act overhead wire segment in previous step (by default is nullptr), i.e. auxiliar pointer for disabling charging vehicle from previous (not current) overherad wire segment.
Definition at line 268 of file MSDevice_ElecHybrid.h.
Referenced by deleteVehicleFromCircuit(), notifyLeave(), and notifyMove().
|
protected |
Maximal SOC of the battery pack, battery will not be charged above this level. (But the buffer may still be used for regenerative braking).
Definition at line 261 of file MSDevice_ElecHybrid.h.
Referenced by notifyMove().
|
protected |
Definition at line 258 of file MSDevice_ElecHybrid.h.
Referenced by notifyMove().
|
protected |
Definition at line 246 of file MSDevice_ElecHybrid.h.
Referenced by generateOutput(), and notifyMove().
|
protected |
Definition at line 247 of file MSDevice_ElecHybrid.h.
Referenced by generateOutput(), and notifyMove().
|
protected |
Energy that could not be stored back to the battery or traction station and was wasted on resistors. This is approximate, we ignore the use of classical brakes in lower speeds.
Definition at line 252 of file MSDevice_ElecHybrid.h.
Referenced by generateOutput(), and notifyMove().
|
protected |
Definition at line 282 of file MSDevice_ElecHybrid.h.
Referenced by deleteVehicleFromCircuit(), and notifyMove().
|
protected |
Definition at line 280 of file MSDevice_ElecHybrid.h.
Referenced by deleteVehicleFromCircuit(), getPowerWanted(), getVehElem(), and notifyMove().
|
protected |
Definition at line 281 of file MSDevice_ElecHybrid.h.
Referenced by deleteVehicleFromCircuit(), and notifyMove().