SUMO - Simulation of Urban MObility
MSDevice_Battery Class Reference

The battery parametereter. More...

#include <MSDevice_Battery.h>

Inheritance diagram for MSDevice_Battery:
Inheritance graph
Collaboration diagram for MSDevice_Battery:
Collaboration graph

Public Types

enum  Notification {
  NOTIFICATION_DEPARTED, NOTIFICATION_JUNCTION, NOTIFICATION_SEGMENT, NOTIFICATION_LANE_CHANGE,
  NOTIFICATION_TELEPORT, NOTIFICATION_PARKING, NOTIFICATION_ARRIVED, NOTIFICATION_VAPORIZED,
  NOTIFICATION_TELEPORT_ARRIVED
}
 Definition of a vehicle state. More...
 

Public Member Functions

void addTo (const StoringVisitor &cont) const
 Adds this object to the given container. More...
 
void generateOutput () const
 Called on writing tripinfo output. More...
 
SUMOReal getActualBatteryCapacity () const
 Get parameter 01, the actual vehicles' Battery Capacity in kWh. More...
 
SUMOReal getAirDragCoefficient () const
 Get parameter 06, vehicle's drag coefficient. More...
 
SUMOReal getChargingStartTime () const
 Get parameter 17, charging start time. More...
 
const std::string & getChargingStationID () const
 Get parameter 19, Charging Station I. More...
 
SUMOReal getChrgEnergy () const
 Get parameter 20, charging energy. More...
 
SUMOReal getConstantPowerIntake () const
 Get parameter 10, vehicles' constant power intake. More...
 
SUMOReal getConsum () const
 Get parameter 18, consum (Strange error with linker) More...
 
const std::string & getDescription () const
 
SUMOReal getFrontSurfaceArea () const
 Get parameter 05, vehicle's front surface Area. More...
 
SUMOVehiclegetHolder () const
 Returns the vehicle that holds this device. More...
 
const std::string & getID () const
 Returns the id. More...
 
SUMOReal getInternalMomentOfInertia () const
 Get parameter 07, vehicles' internal moment of inertia. More...
 
const MSLanegetLane () const
 Returns the lane the reminder works on. More...
 
SUMOReal getLastAngle () const
 Get parameter 13, vehicles' last angle. More...
 
SUMOReal getLastEnergy () const
 Get parameter 14, vehicles' last Energy. More...
 
SUMOReal getMass () const
 Get parameter 04, vehicle's Mass. More...
 
SUMOReal getMaximumBatteryCapacity () const
 Get parameter 02, the total vehicles' Battery Capacity in kWh. More...
 
SUMOReal getMaximumPower () const
 Get parameter 03, the maximum power when accelerating. More...
 
SUMOReal getPropEnergy (SUMOVehicle &veh)
 get propulsion energy More...
 
SUMOReal getPropulsionEfficiency () const
 Get parameter 11, vehicles' Propulsion efficiency. More...
 
SUMOReal getRadialDragCoefficient () const
 Get parameter 08, vehicles' radial friction coefficient. More...
 
SUMOReal getRecuperationEfficiency () const
 Get parameter 12, vehicles' Recuparation efficiency. More...
 
SUMOReal getRollDragCoefficient () const
 Get parameter 09, vehicles' roll friction coefficient. More...
 
int getVehicleStopped () const
 Get parameter 20, charging energy. More...
 
void increaseChargingStartTime ()
 Set parameter 17b, increase Charging Start time. More...
 
void increaseVehicleStoppedTimer ()
 Set parameter 21a, increase vehicleStopped. More...
 
bool isChargingInTransit () const
 Get parameter 16, true if Vehicle it's charging, false if not. More...
 
bool isChargingStopped () const
 Get parameter 15, true if Vehicle it's charging, false if not. More...
 
virtual void notifyMoveInternal (SUMOVehicle &veh, SUMOReal timeOnLane, SUMOReal speed)
 Internal notification about the vehicle moves. More...
 
void resetChargingStartTime ()
 Set parameter 17a, reset charging start time. More...
 
void resetVehicleStoppedTimer ()
 Set parameter 21a, reset vehicleStopped. More...
 
void setActualBatteryCapacity (const SUMOReal new_ActBatKap)
 Set parameter 01, The actual vehicles' Battery Capacity in kWh. More...
 
void setAirDragCoefficient (const SUMOReal new_C_Veh)
 Set parameter 06, vehicle's drag coefficient. More...
 
void setConstantPowerIntake (const SUMOReal new_ConstantPowerIntake)
 Set parameter 10, vehicles' constant power intake. More...
 
void setDescription (const std::string &description)
 
void setFrontSurfaceArea (const SUMOReal new_FrontSurfaceArea)
 Set parameter 05, vehicle's front surface Area. More...
 
void setID (const std::string &newID)
 resets the id More...
 
void setInternalMomentOfInertia (const SUMOReal new_InternalMomentOfInertia)
 Set parameter 07, vehicles' internal moment of inertia. More...
 
void setLastAngle (const SUMOReal new_LastAngle)
 Set parameter 13, vehicles' last Angle. More...
 
void setLastEnergy (const SUMOReal new_LastEnergy)
 Set parameter 14, vehicles' last Energy. More...
 
void setMass (const SUMOReal new_Mass)
 Set parameter 04, vehicle's Mass. More...
 
void setMaximumBatteryCapacity (const SUMOReal new_MaxBatKap)
 Set parameter 02, The total vehicles' Battery Capacity in kWh. More...
 
void setPowerMax (const SUMOReal new_Pmax)
 Set parameter 03, The maximum power when accelerating. More...
 
void setPropulsionEfficiency (const SUMOReal new_PropulsionEfficiency)
 Set parameter 11, vehicles' Propulsion efficiency. More...
 
void setRadialDragCoefficient (const SUMOReal new_RadialDragCoefficient)
 Set parameter 08, Vehicles' radial friction coefficient. More...
 
void setRecuperationEfficiency (const SUMOReal new_RecuperationEfficiency)
 Set parameter 12, vehicles' Recuparation efficiency. More...
 
void setRollDragCoefficient (const SUMOReal new_RollDragCoefficient)
 Set parameter 09, vehicles' roll friction coefficient. More...
 
 ~MSDevice_Battery ()
 Destructor. More...
 
Methods called on vehicle movement / state change, overwriting MSDevice
bool notifyMove (SUMOVehicle &veh, SUMOReal oldPos, SUMOReal newPos, SUMOReal newSpeed)
 Checks for waiting steps when the vehicle moves // IMPLEMENTADA!! More...
 
bool notifyEnter (SUMOVehicle &veh, MSMoveReminder::Notification reason)
 Saves departure info on insertion. More...
 
Interface methods, to be derived by subclasses
virtual bool notifyLeave (SUMOVehicle &veh, SUMOReal lastPos, Notification reason)
 Called if the vehicle leaves the reminder's lane. More...
 

Static Public Member Functions

static void buildVehicleDevices (SUMOVehicle &v, std::vector< MSDevice * > &into)
 Build devices for the given vehicle, if needed. More...
 
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_Example-options. More...
 

Static Protected Member Functions

Helper methods for device assignment
static void insertDefaultAssignmentOptions (const std::string &deviceName, const std::string &optionsTopic, OptionsCont &oc)
 Adds common command options that allow to assign devices to vehicles. More...
 
static bool equippedByDefaultAssignmentOptions (const OptionsCont &oc, const std::string &deviceName, SUMOVehicle &v)
 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 Member Functions

 MSDevice_Battery (SUMOVehicle &holder, const std::string &id, const SUMOReal new_ActBatKap, const SUMOReal new_MaxBatKap, const SUMOReal new_PowerMax, const SUMOReal new_Mass, const SUMOReal new_FrontSurfaceArea, const SUMOReal new_AirDragCoefficient, const SUMOReal new_InternalMomentOfInertia, const SUMOReal new_RadialDragCoefficient, const SUMOReal new_RollDragCoefficient, const SUMOReal new_ConstantPowerIntake, const SUMOReal new_PropulsionEfficiency, const SUMOReal new_RecuperationEfficiency, const SUMOReal new_LastAngle, const SUMOReal new_LastEnergy)
 Constructor. More...
 
 MSDevice_Battery (const MSDevice_Battery &)
 Invalidated copy constructor. More...
 
MSDevice_Batteryoperator= (const MSDevice_Battery &)
 Invalidated assignment operator. More...
 
std::string SUMOReal_str (const SUMOReal &var)
 convert from SUMOReal to String More...
 

Private Attributes

SUMOReal ActBatKap
 Parameter 01, The actual vehicles' Battery Capacity in kWh [ActBatKap <= MaxBatKap]. More...
 
std::string actChargingStation
 Parameter 19, Vehicle consum during a time step by default is "". More...
 
SUMOReal AirDragCoefficient
 Parameter 06, Vehicle's drag coefficient [AirDragCoefficient >=0]. More...
 
SUMOReal ChargingStartTime
 Parameter 17, Moment, wich the vehicle has beging to charging none. More...
 
SUMOReal ConstantPowerIntake
 Parameter 10, Vehicles' constant power intake [ConstantPowerIntake >= 0]. More...
 
SUMOReal Consum
 Parameter 18, Vehicle consum during a time step by default is 0. More...
 
SUMOReal energyCharged
 Parameter 20, Energy charged in each timestep. More...
 
SUMOReal FrontSurfaceArea
 Parameter 05, Vehicle's front surface Area [FrontSurfaceArea >= 0]. More...
 
SUMOReal InternalMomentOfInertia
 Parameter 07, Vehicles' internal moment of inertia [InternalMomentOfInertia >= 0]. More...
 
bool ItsChargingInTransit
 Parameter 16, Flag: Vehicles it's charging in transit by default is false. More...
 
bool ItsChargingStopped
 Parameter 15, Flag: Vehicles it's charging stopped by default is false. More...
 
SUMOReal LastAngle
 Parameter 13, Vehicles' last angle none. More...
 
SUMOReal LastEnergy
 Parameter 14, Vehicles' last energy none. More...
 
SUMOReal Mass
 Parameter 04, Vehicle's Mass [Mass >= 0]. More...
 
SUMOReal MaxBatKap
 Parameter 02, The total vehicles' Battery Capacity in kWh [MaxBatKap >= 0]. More...
 
SUMOReal PowerMax
 Parameter 03, The Maximum Power when accelerating [PowerMax >= 0]. More...
 
SUMOReal PropulsionEfficiency
 Parameter 11, Vehicles' propulsion efficiency [1 >= PropulsionEfficiency >= 0]. More...
 
SUMOReal RadialDragCoefficient
 Parameter 08, Vehicles' radial friction coefficient [RadialDragCoefficient >=0]. More...
 
SUMOReal RecuperationEfficiency
 Parameter 12, Vehicles' recuparation efficiency [1 >= RecuperationEfficiency >= 0]. More...
 
SUMOReal RollDragCoefficient
 Parameter 09, Vehicles' roll friction coefficient [RollDragCoefficient >= 0]. More...
 
int vehicleStopped
 Parameter 21, How many timestep the vehicle is stopped. More...
 

Detailed Description

The battery parametereter.

MSDevice_Battery //COMPLETAR

Definition at line 60 of file MSDevice_Battery.h.

Member Enumeration Documentation

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_TELEPORT 

The vehicle is being teleported.

NOTIFICATION_PARKING 

The vehicle starts or ends parking.

NOTIFICATION_ARRIVED 

The vehicle arrived at its destination (is deleted)

NOTIFICATION_VAPORIZED 

The vehicle got vaporized.

NOTIFICATION_TELEPORT_ARRIVED 

The vehicle was teleported out of the net.

Definition at line 95 of file MSMoveReminder.h.

Constructor & Destructor Documentation

MSDevice_Battery::~MSDevice_Battery ( )

Destructor.

Definition at line 344 of file MSDevice_Battery.cpp.

MSDevice_Battery::MSDevice_Battery ( SUMOVehicle holder,
const std::string &  id,
const SUMOReal  new_ActBatKap,
const SUMOReal  new_MaxBatKap,
const SUMOReal  new_PowerMax,
const SUMOReal  new_Mass,
const SUMOReal  new_FrontSurfaceArea,
const SUMOReal  new_AirDragCoefficient,
const SUMOReal  new_InternalMomentOfInertia,
const SUMOReal  new_RadialDragCoefficient,
const SUMOReal  new_RollDragCoefficient,
const SUMOReal  new_ConstantPowerIntake,
const SUMOReal  new_PropulsionEfficiency,
const SUMOReal  new_RecuperationEfficiency,
const SUMOReal  new_LastAngle,
const SUMOReal  new_LastEnergy 
)
private

Constructor.

Parameters
[in]holderThe vehicle that holds this device
[in]idThe ID of the device
[in]periodThe period with which a new route shall be searched
[in]preInsertionPeriodThe route search period before insertion

Definition at line 260 of file MSDevice_Battery.cpp.

References ActBatKap, actChargingStation, AirDragCoefficient, ConstantPowerIntake, Consum, energyCharged, FrontSurfaceArea, Named::getID(), InternalMomentOfInertia, ItsChargingInTransit, ItsChargingStopped, Mass, MaxBatKap, PowerMax, PropulsionEfficiency, RadialDragCoefficient, RecuperationEfficiency, RollDragCoefficient, SUMOReal_str(), vehicleStopped, and WRITE_WARNING.

Referenced by buildVehicleDevices().

MSDevice_Battery::MSDevice_Battery ( const MSDevice_Battery )
private

Invalidated copy constructor.

Member Function Documentation

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

Adds this object to the given container.

Parameters

Definition at line 126 of file Named.h.

References Named::StoringVisitor::add().

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

Build devices for the given vehicle, if needed.

The options are read and evaluated whether a example-device shall be built for the given vehicle.

The built device is stored in the given vector.

Parameters
[in]vThe vehicle for which a device may be built

Definition at line 63 of file MSDevice_Battery.cpp.

References TplConvert::_2SUMOReal(), MSDevice::equippedByDefaultAssignmentOptions(), SUMOVehicle::getID(), OptionsCont::getOptions(), Parameterised::getParameter(), SUMOVehicle::getParameter(), MSVehicleType::getParameter(), SUMOVehicle::getVehicleType(), MSDevice_Battery(), and SUMOReal.

Referenced by MSDevice::buildVehicleDevices().

bool MSDevice::equippedByDefaultAssignmentOptions ( const OptionsCont oc,
const std::string &  deviceName,
SUMOVehicle v 
)
staticprotectedinherited
void MSDevice_Battery::generateOutput ( ) const
virtual

Called on writing tripinfo output.

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

Reimplemented from MSDevice.

Definition at line 252 of file MSDevice_Battery.cpp.

SUMOReal MSDevice_Battery::getActualBatteryCapacity ( ) const

Get parameter 01, the actual vehicles' Battery Capacity in kWh.

Definition at line 484 of file MSDevice_Battery.cpp.

References ActBatKap.

Referenced by notifyMove(), and MSBatteryExport::write().

SUMOReal MSDevice_Battery::getAirDragCoefficient ( ) const
inline

Get parameter 06, vehicle's drag coefficient.

Definition at line 504 of file MSDevice_Battery.cpp.

References AirDragCoefficient.

Referenced by getPropEnergy().

SUMOReal MSDevice_Battery::getChargingStartTime ( ) const
inline

Get parameter 17, charging start time.

Definition at line 552 of file MSDevice_Battery.cpp.

References ChargingStartTime.

Referenced by notifyMove().

const std::string & MSDevice_Battery::getChargingStationID ( ) const

Get parameter 19, Charging Station I.

Definition at line 556 of file MSDevice_Battery.cpp.

References actChargingStation.

Referenced by MSBatteryExport::write().

SUMOReal MSDevice_Battery::getChrgEnergy ( ) const

Get parameter 20, charging energy.

Definition at line 560 of file MSDevice_Battery.cpp.

References energyCharged.

Referenced by MSBatteryExport::write().

SUMOReal MSDevice_Battery::getConstantPowerIntake ( ) const
inline

Get parameter 10, vehicles' constant power intake.

Definition at line 520 of file MSDevice_Battery.cpp.

References ConstantPowerIntake.

Referenced by getPropEnergy().

SUMOReal MSDevice_Battery::getConsum ( ) const

Get parameter 18, consum (Strange error with linker)

Definition at line 540 of file MSDevice_Battery.cpp.

References Consum.

Referenced by MSBatteryExport::write().

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

Definition at line 215 of file MSMoveReminder.h.

References MSMoveReminder::myDescription.

Referenced by MSBaseVehicle::addStops().

SUMOReal MSDevice_Battery::getFrontSurfaceArea ( ) const
inline

Get parameter 05, vehicle's front surface Area.

Definition at line 500 of file MSDevice_Battery.cpp.

References FrontSurfaceArea.

Referenced by getPropEnergy().

SUMOVehicle& MSDevice::getHolder ( ) const
inlineinherited

Returns the vehicle that holds this device.

Returns
The vehicle that holds this device

Definition at line 105 of file MSDevice.h.

References MSDevice::myHolder.

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

Returns the id.

Returns
The stored id

Definition at line 65 of file Named.h.

References Named::myID.

Referenced by NIImporter_SUMO::_loadNetwork(), MSVehicleTransfer::add(), TraCIServerAPI_Lane::StoringVisitor::add(), MSDetectorControl::add(), Named::StoringVisitor::add(), RORouteDef::addAlternative(), MSLane::addApproachingLane(), MSNet::addBusStop(), MSNet::addChargingStation(), NBLoadedSUMOTLDef::addConnection(), NLHandler::addConnection(), MSNet::addContainerStop(), NIXMLConnectionsHandler::addCrossing(), RODFDetectorCon::addDetector(), RONet::addEdge(), ROJTREdge::addFollowerProbability(), MSTLLogicControl::TLSLogicVariants::addLogic(), RONet::addNode(), NIImporter_SUMO::addPhase(), GUIEdge::addRerouter(), NBEdge::addRestrictedLane(), RONet::addRouteDef(), NBDistrict::addSink(), NBDistrict::addSource(), NIXMLEdgesHandler::addSplit(), NBTrafficLightLogic::addStep(), MSRouteHandler::addStop(), MSVehicle::addStop(), NIXMLTrafficLightsHandler::addTlConnection(), NIVissimDisturbance::addToNode(), MSVehicle::addTraciBusOrContainerStop(), MSVehicle::addTraciStop(), AGActivityTripWriter::addTrip(), GUITrafficLightLogicWrapper::begin2TrackPhases(), MSContainer::MSContainerStage_Driving::beginEventOutput(), MSContainer::MSContainerStage_Waiting::beginEventOutput(), MSPerson::MSPersonStage_Driving::beginEventOutput(), MSPerson::MSPersonStage_Waiting::beginEventOutput(), NLEdgeControlBuilder::build(), NIVisumTL::build(), RODFNet::buildApproachList(), MS_E2_ZS_CollectorOverLanes::buildCollector(), NBNode::buildCrossings(), NBNode::buildCrossingsAndWalkingAreas(), NIImporter_VISUM::buildDistrictNode(), NIVissimConnection::buildEdgeConnections(), RODFNet::buildEdgeFlowMap(), GNEConnector::buildIinternalLanes(), GNETLSEditor::buildIinternalLanes(), NBEdge::buildInnerEdges(), NGEdge::buildNBEdge(), NIVissimEdge::buildNBEdge(), NBRampsComputer::buildOffRamp(), NBRampsComputer::buildOnRamp(), NBNode::buildWalkingAreas(), MSBaseVehicle::calculateArrivalParams(), MSSimpleTrafficLightLogic::changeStepAndDuration(), NBEdge::checkGeometry(), MSVehicleTransfer::checkInsertions(), ODDistrictHandler::closeDistrict(), NLHandler::closeEdge(), RORouteHandler::closeRouteDistribution(), RORouteHandler::closeVehicle(), NBTrafficLightDefinition::collectAllLinks(), NBLoadedSUMOTLDef::collectEdges(), NBTrafficLightDefinition::collectEdges(), ROJTRRouter::compute(), NBTrafficLightDefinition::compute(), NBNode::computeInternalLaneShape(), NBEdge::computeLaneShapes(), NBNode::computeLogic(), NBOwnTLDef::computeLogicAndConts(), NBNode::computeNodeShape(), RODFNet::computeRoutesFor(), NBTrafficLightLogicCont::computeSingleLogic(), NBTurningDirectionsComputer::computeTurnDirectionsForNode(), NGNet::connect(), MSAbstractLaneChangeModel::continueLaneChangeManeuver(), NLDetectorBuilder::convUncontE2PosLength(), GUINet::createTLWrapper(), NIVissimDistrictConnection::dict_BuildDistricts(), MSContainer::MSContainerStage_Driving::endEventOutput(), MSContainer::MSContainerStage_Waiting::endEventOutput(), MSPerson::MSPersonStage_Driving::endEventOutput(), MSPerson::MSPersonStage_Waiting::endEventOutput(), MSE3Collector::enter(), MSCalibrator::execute(), Command_SaveTLSState::execute(), Command_SaveTLSSwitchStates::execute(), Command_SaveTLSSwitches::execute(), MSVTypeProbe::execute(), MSPModel_Striping::MovePedestrians::execute(), MSTrafficLightLogic::SwitchCommand::execute(), MSVehicle::executeMove(), MSLane::executeMovements(), NBNodeCont::extract(), NBTrafficLightLogicCont::extract(), NBEdgeCont::extract(), NBRampsComputer::fulfillsRampConstraints(), RODFDetectorCon::getAggFlowFor(), RODFDetectorCon::getAnyDetectorForEdge(), MSNet::getBusStopID(), MSNet::getChargingStationID(), NBEdge::getConnection(), MSNet::getContainerStopID(), NBEdge::getCrossingAngle(), GNEEdge::getDest(), RODFNet::getDetectorEdge(), MSMeanData::getEdgeID(), PedestrianEdge< E, L, N >::getEffort(), NBEdge::getFirstNonPedestrianLane(), MS_E2_ZS_CollectorOverLanes::getLanePredeccessorLanes(), MSTLLogicControl::TLSLogicVariants::getLogicInstantiatingOff(), NIImporter_VISUM::getNamedEdgeContinuating(), MSPerson::getNextEdge(), MSPModel_Striping::getNextLane(), GUIInstantInductLoop::MyWrapper::getParameterWindow(), GUI_E2_ZS_Collector::MyWrapper::getParameterWindow(), GUIVehicle::getParameterWindow(), GUIInductLoop::MyWrapper::getParameterWindow(), GUITrafficLightLogicWrapper::getPopUpMenu(), NLTriggerBuilder::getPosition(), NLDetectorBuilder::getPositionChecking(), NBNode::getPossiblySplittedIncoming(), NBNode::getPossiblySplittedOutgoing(), NIImporter_VISUM::getReversedContinuating(), GNEEdge::getSource(), MSVehicleControl::getWaitingVehicle(), MSLink::getZipperSpeed(), NBNode::guessCrossings(), RODFDetectorCon::guessEmptyFlows(), NBEdgeCont::guessSidewalks(), NBNodeCont::guessTLs(), GUITLLogicPhasesTrackerWindow::GUITLLogicPhasesTrackerWindow(), MSLane::handleCollision(), NBEdgeCont::ignoreFilterMatch(), MSRailSignal::init(), MSActuatedTrafficLightLogic::init(), MSTrafficLightLogic::init(), PedestrianEdge< E, L, N >::initPedestrianNetwork(), NIImporter_SUMO::initTrafficLightLogic(), NIXMLTrafficLightsHandler::initTrafficLightLogic(), NBDistrictCont::insert(), NBNodeCont::insert(), NBTrafficLightLogicCont::insert(), NBEdgeCont::insert(), MSEdge::insertVehicle(), GNEJunction::invalidateTLS(), NBNode::invalidateTLS(), MSTLLogicControl::isActive(), RODFNet::isDestination(), RODFNet::isFalseSource(), RODFNet::isSource(), NBNodeCont::joinJunctions(), NBEdgeCont::joinSameNodeConnectingEdges(), MSE3Collector::leave(), MSDevice_BTreceiver::BTreceiverUpdate::leaveRange(), NIImporter_OpenDrive::loadNetwork(), ODDistrictCont::makeDistricts(), MSPModel_Striping::moveInDirection(), MSPModel_Striping::moveInDirectionOnLane(), NBRampsComputer::moveRampRight(), MSPModel_Striping::PState::moveToNextLane(), MSCalibrator::MSCalibrator(), MSChargingStation::MSChargingStation(), MSDevice_Battery(), NBLoadedTLDef::myCompute(), NIXMLEdgesHandler::myEndElement(), NIImporter_SUMO::myEndElement(), NIXMLConnectionsHandler::myStartElement(), MSLaneSpeedTrigger::myStartElement(), MSTriggeredRerouter::myStartElement(), NBConnection::NBConnection(), NBRequest::NBRequest(), MSDevice_BTsender::notifyEnter(), MSDevice_BTreceiver::notifyEnter(), MSDevice_Example::notifyEnter(), MSDevice_Tripinfo::notifyEnter(), MSTriggeredRerouter::notifyEnter(), MSDevice_Container::notifyLeave(), MSDevice_Person::notifyLeave(), MSE3Collector::MSE3EntryReminder::notifyLeave(), MSDevice_Example::notifyLeave(), MSDevice_Tripinfo::notifyLeave(), MSDevice_BTsender::notifyLeave(), MSDevice_BTreceiver::notifyLeave(), MSDevice_Example::notifyMove(), MSDevice_BTsender::notifyMove(), MSDevice_BTreceiver::notifyMove(), MSMeanData::MeanDataValues::notifyMove(), GUIViewTraffic::onGamingClick(), RORouteHandler::openRoute(), Named::ComparatorIdLess::operator()(), NBTurningDirectionsComputer::combination_by_angle_sorter::operator()(), RODFNet::idComp::operator()(), NBNetBuilder::by_id_sorter::operator()(), NBOwnTLDef::edge_by_incoming_priority_sorter::operator()(), NBContHelper::same_connection_edge_sorter::operator()(), NBContHelper::edge_by_angle_to_nodeShapeCentroid_sorter::operator()(), MSEdge::by_id_sorter::operator()(), NBNode::nodes_by_id_sorter::operator()(), NIImporter_VISUM::parse_EdgePolys(), NIImporter_VISUM::parse_Lanes(), NIImporter_VISUM::parse_LanesConnections(), NIImporter_VISUM::parse_Turns(), NIImporter_VISUM::parse_TurnsToSignalGroups(), NIXMLConnectionsHandler::parseDeprecatedLaneDefinition(), NIXMLConnectionsHandler::parseLaneBound(), MSRouteHandler::parseWalkPositions(), NBLoadedSUMOTLDef::patchIfCrossingsAdded(), MSLCM_JE2013::patchSpeed(), NBLoadedTLDef::SignalGroup::patchTYellow(), MSRightOfWayJunction::postloadInit(), AGStreet::print(), TraCIServerAPI_InductionLoop::processGet(), TraCIServerAPI_ArealDetector::processGet(), TraCIServerAPI_TLS::processGet(), TraCIServerAPI_Vehicle::processGet(), TraCIServerAPI_Person::processGet(), TraCIServerAPI_Lane::processGet(), TraCIServerAPI_Vehicle::processSet(), NIXMLNodesHandler::processTrafficLightDefinitions(), NWWriter_SUMO::prohibitionConnection(), MSPModel_Striping::PState::PState(), NBEdgeCont::recheckPostProcessConnections(), NBLoadedTLDef::SignalGroup::remapIncoming(), NBLoadedTLDef::SignalGroup::remapOutgoing(), NBLoadedSUMOTLDef::removeConnection(), NBNodeCont::removeIsolatedRoads(), MSCalibrator::removePending(), NBNode::removeSelfLoops(), NBEdgeCont::removeUnwishedEdges(), NBNodeCont::removeUnwishedNodes(), NBNodeCont::rename(), NBEdgeCont::rename(), GNENet::renameEdge(), GNENet::renameJunction(), RORouteDef::repairCurrentRoute(), NBConnection::replaceFrom(), MSBaseVehicle::replaceRouteEdges(), NBConnection::replaceTo(), NIImporter_DlrNavteq::TrafficlightsHandler::report(), NIXMLTrafficLightsHandler::retrieveLaneIndex(), RODFNet::revalidateFlows(), RONet::saveAndRemoveRoutesUntil(), MSBaseVehicle::saveState(), setActualBatteryCapacity(), setAirDragCoefficient(), NBNodeCont::setAsTLControlled(), MSChargingStation::setChrgPower(), setConstantPowerIntake(), NBEdge::setControllingTLInformation(), MSChargingStation::setEfficency(), setFrontSurfaceArea(), setInternalMomentOfInertia(), GNEJunction::setLogicValid(), setMass(), setMaximumBatteryCapacity(), NIXMLEdgesHandler::setNodes(), setPowerMax(), setPropulsionEfficiency(), setRadialDragCoefficient(), setRecuperationEfficiency(), MSLink::setRequestInformation(), setRollDragCoefficient(), MSTLLogicControl::TLSLogicVariants::setStateInstantiatingOnline(), NBOwnTLDef::setTLControllingInformation(), NBLoadedSUMOTLDef::setTLControllingInformation(), NBTrafficLightLogicCont::setTLControllingInformation(), NBLoadedTLDef::setTLControllingInformation(), NBEdgeCont::splitAt(), MSLane::succLinkSec(), GUITrafficLightLogicWrapper::switchTLSLogic(), GNETLSEditor::updateDescription(), MSDevice_BTreceiver::BTreceiverUpdate::updateVisibility(), TraCIServerAPI_Vehicle::vtdMap(), TraCIServerAPI_Vehicle::vtdMap_matchingRoutePosition(), MSPModel_Striping::PState::walk(), MSLCM_JE2013::wantsChange(), MSBatteryExport::write(), MSEmissionExport::write(), MSFCDExport::write(), MSInstantInductLoop::write(), NBSign::writeAsPOI(), NWWriter_SUMO::writeConnection(), NWWriter_SUMO::writeDistrict(), MSFullExport::writeEdge(), MSXMLRawOut::writeEdge(), NWWriter_SUMO::writeEdge(), MSMeanData::writeEdge(), NWWriter_XML::writeEdgesAndConnections(), RODFDetector::writeEmitterDefinition(), RODFDetectorCon::writeEmitterPOIs(), RODFDetectorCon::writeEmitters(), RODFDetectorCon::writeEndRerouterDetectors(), NWWriter_SUMO::writeInternalConnections(), writeInterval(), NWWriter_SUMO::writeJunction(), MSQueueExport::writeLane(), MSFullExport::writeLane(), NWWriter_DlrNavteq::writeLinksUnsplitted(), NWWriter_OpenDrive::writeNetwork(), NWWriter_XML::writeNodes(), NWWriter_DlrNavteq::writeNodesUnsplitted(), NWWriter_SUMO::writeRoundabout(), RODFDetectorCon::writeSpeedTrigger(), NWWriter_DlrNavteq::writeTrafficSignals(), MSInductLoop::writeTypedXMLOutput(), RODFDetectorCon::writeValidationDetectors(), MSFullExport::writeVehicles(), PointOfInterest::writeXML(), SUMO::Polygon::writeXML(), MSRouteProbe::writeXMLOutput(), and MSE2Collector::writeXMLOutput().

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 58 of file Named.h.

SUMOReal MSDevice_Battery::getInternalMomentOfInertia ( ) const
inline

Get parameter 07, vehicles' internal moment of inertia.

Definition at line 508 of file MSDevice_Battery.cpp.

References InternalMomentOfInertia.

Referenced by getPropEnergy(), and notifyEnter().

SUMOReal MSDevice_Battery::getLastAngle ( ) const
inline

Get parameter 13, vehicles' last angle.

Definition at line 532 of file MSDevice_Battery.cpp.

References LastAngle.

Referenced by getPropEnergy().

SUMOReal MSDevice_Battery::getLastEnergy ( ) const
inline

Get parameter 14, vehicles' last Energy.

Definition at line 536 of file MSDevice_Battery.cpp.

References LastEnergy.

Referenced by getPropEnergy().

SUMOReal MSDevice_Battery::getMass ( ) const
inline

Get parameter 04, vehicle's Mass.

Definition at line 496 of file MSDevice_Battery.cpp.

References Mass.

Referenced by getPropEnergy(), and notifyEnter().

SUMOReal MSDevice_Battery::getMaximumBatteryCapacity ( ) const

Get parameter 02, the total vehicles' Battery Capacity in kWh.

Definition at line 488 of file MSDevice_Battery.cpp.

References MaxBatKap.

Referenced by notifyMove(), and MSBatteryExport::write().

SUMOReal MSDevice_Battery::getMaximumPower ( ) const
inline

Get parameter 03, the maximum power when accelerating.

Definition at line 492 of file MSDevice_Battery.cpp.

References PowerMax.

SUMOReal MSDevice_Battery::getPropulsionEfficiency ( ) const
inline

Get parameter 11, vehicles' Propulsion efficiency.

Definition at line 524 of file MSDevice_Battery.cpp.

References PropulsionEfficiency.

Referenced by getPropEnergy().

SUMOReal MSDevice_Battery::getRadialDragCoefficient ( ) const
inline

Get parameter 08, vehicles' radial friction coefficient.

Definition at line 512 of file MSDevice_Battery.cpp.

References RadialDragCoefficient.

Referenced by getPropEnergy().

SUMOReal MSDevice_Battery::getRecuperationEfficiency ( ) const
inline

Get parameter 12, vehicles' Recuparation efficiency.

Definition at line 528 of file MSDevice_Battery.cpp.

References RecuperationEfficiency.

Referenced by getPropEnergy().

SUMOReal MSDevice_Battery::getRollDragCoefficient ( ) const
inline

Get parameter 09, vehicles' roll friction coefficient.

Definition at line 516 of file MSDevice_Battery.cpp.

References RollDragCoefficient.

Referenced by getPropEnergy().

int MSDevice_Battery::getVehicleStopped ( ) const

Get parameter 20, charging energy.

Definition at line 565 of file MSDevice_Battery.cpp.

References vehicleStopped.

Referenced by MSBatteryExport::write().

void MSDevice_Battery::increaseChargingStartTime ( )
inline

Set parameter 17b, increase Charging Start time.

Definition at line 470 of file MSDevice_Battery.cpp.

References ChargingStartTime.

Referenced by notifyMove().

void MSDevice_Battery::increaseVehicleStoppedTimer ( )
inline

Set parameter 21a, increase vehicleStopped.

Definition at line 478 of file MSDevice_Battery.cpp.

References vehicleStopped.

Referenced by notifyMove().

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

Adds common command options that allow to assign devices to vehicles.

Parameters
[in]deviceNameThe name of the device type
[in]optionsTopicThe options topic into which the options shall be added

!! describe

!! describe

!! describe

Definition at line 88 of file MSDevice.cpp.

References OptionsCont::addDescription(), OptionsCont::addSynonyme(), and OptionsCont::doRegister().

Referenced by MSDevice::generateOutput(), MSDevice_Example::insertOptions(), MSDevice_BTreceiver::insertOptions(), MSDevice_BTsender::insertOptions(), insertOptions(), MSDevice_Emissions::insertOptions(), and MSDevice_Routing::insertOptions().

void MSDevice_Battery::insertOptions ( OptionsCont oc)
static

Inserts MSDevice_Example-options.

Parameters

Definition at line 57 of file MSDevice_Battery.cpp.

References MSDevice::insertDefaultAssignmentOptions().

Referenced by MSDevice::insertOptions().

bool MSDevice_Battery::isChargingInTransit ( ) const

Get parameter 16, true if Vehicle it's charging, false if not.

Definition at line 548 of file MSDevice_Battery.cpp.

References ItsChargingInTransit.

Referenced by MSBatteryExport::write().

bool MSDevice_Battery::isChargingStopped ( ) const

Get parameter 15, true if Vehicle it's charging, false if not.

Definition at line 544 of file MSDevice_Battery.cpp.

References ItsChargingStopped.

Referenced by MSBatteryExport::write().

bool MSDevice_Battery::notifyEnter ( SUMOVehicle veh,
MSMoveReminder::Notification  reason 
)
virtual

Saves departure info on insertion.

Parameters
[in]vehThe entering vehicle.
[in]reasonhow the vehicle enters the lane
Returns
Always true
See also
MSMoveReminder::notifyEnter
MSMoveReminder::Notification

Reimplemented from MSMoveReminder.

Definition at line 240 of file MSDevice_Battery.cpp.

References PositionVector::beginEndAngle(), getInternalMomentOfInertia(), SUMOVehicle::getLane(), getMass(), MSLane::getShape(), SUMOVehicle::getSpeed(), MSMoveReminder::NOTIFICATION_DEPARTED, setLastAngle(), and setLastEnergy().

virtual bool MSMoveReminder::notifyLeave ( SUMOVehicle veh,
SUMOReal  lastPos,
Notification  reason 
)
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 MSMeanData::MeanDataValueTracker, MSE3Collector::MSE3LeaveReminder, MSE2Collector, MSInductLoop, MSDevice_BTreceiver, MSMeanData::MeanDataValues, MSDevice_BTsender, MSDevice_Tripinfo, MSDevice_Example, MSInstantInductLoop, MSDevice_Vehroutes, MSE3Collector::MSE3EntryReminder, MSDevice_Person, MSDevice_Container, and MSMeanData_Net::MSLaneMeanDataValues.

Definition at line 175 of file MSMoveReminder.h.

References SUMOReal, and UNUSED_PARAMETER.

virtual void MSMoveReminder::notifyMoveInternal ( SUMOVehicle veh,
SUMOReal  timeOnLane,
SUMOReal  speed 
)
inlinevirtualinherited

Internal notification about the vehicle moves.

Indicator if the reminders is still active for the passed vehicle/parameters. If false, the vehicle will erase this reminder from it's reminder-container.

Parameters
[in]vehVehicle that asks this reminder.
[in]timeOnLanetime the vehicle spent on the lane.
[in]speedMoving speed.

Reimplemented in MSMeanData::MeanDataValueTracker, MSMeanData_Net::MSLaneMeanDataValues, MSMeanData_Harmonoise::MSLaneMeanDataValues, MSMeanData_Amitran::MSLaneMeanDataValues, and MSMeanData_Emissions::MSLaneMeanDataValues.

Definition at line 203 of file MSMoveReminder.h.

References UNUSED_PARAMETER.

Referenced by MSMoveReminder::MSMoveReminder(), and MSMeanData::MeanDataValues::notifyMove().

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

Invalidated assignment operator.

void MSDevice_Battery::resetChargingStartTime ( )
inline

Set parameter 17a, reset charging start time.

Definition at line 466 of file MSDevice_Battery.cpp.

References ChargingStartTime.

Referenced by notifyMove().

void MSDevice_Battery::resetVehicleStoppedTimer ( )
inline

Set parameter 21a, reset vehicleStopped.

Definition at line 474 of file MSDevice_Battery.cpp.

References vehicleStopped.

Referenced by notifyMove().

void MSDevice_Battery::setActualBatteryCapacity ( const SUMOReal  new_ActBatKap)
inline

Set parameter 01, The actual vehicles' Battery Capacity in kWh.

Definition at line 350 of file MSDevice_Battery.cpp.

References ActBatKap, Named::getID(), MaxBatKap, SUMOReal_str(), and WRITE_WARNING.

Referenced by notifyMove().

void MSDevice_Battery::setAirDragCoefficient ( const SUMOReal  new_C_Veh)
inline

Set parameter 06, vehicle's drag coefficient.

Definition at line 394 of file MSDevice_Battery.cpp.

References AirDragCoefficient, Named::getID(), SUMOReal_str(), and WRITE_WARNING.

void MSDevice_Battery::setConstantPowerIntake ( const SUMOReal  new_ConstantPowerIntake)
inline

Set parameter 10, vehicles' constant power intake.

Definition at line 430 of file MSDevice_Battery.cpp.

References ConstantPowerIntake, Named::getID(), SUMOReal_str(), and WRITE_WARNING.

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

Definition at line 211 of file MSMoveReminder.h.

References MSMoveReminder::myDescription.

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

void MSDevice_Battery::setFrontSurfaceArea ( const SUMOReal  new_FrontSurfaceArea)
inline

Set parameter 05, vehicle's front surface Area.

Definition at line 385 of file MSDevice_Battery.cpp.

References FrontSurfaceArea, Named::getID(), SUMOReal_str(), and WRITE_WARNING.

void Named::setID ( const std::string &  newID)
inlineinherited

resets the id

Parameters
[in]newIDThe new id of this object

Definition at line 73 of file Named.h.

References Named::myID.

Referenced by NBNodeCont::rename(), and NBEdgeCont::rename().

void MSDevice_Battery::setInternalMomentOfInertia ( const SUMOReal  new_InternalMomentOfInertia)
inline

Set parameter 07, vehicles' internal moment of inertia.

Definition at line 403 of file MSDevice_Battery.cpp.

References Named::getID(), InternalMomentOfInertia, SUMOReal_str(), and WRITE_WARNING.

void MSDevice_Battery::setLastAngle ( const SUMOReal  new_LastAngle)
inline

Set parameter 13, vehicles' last Angle.

Definition at line 457 of file MSDevice_Battery.cpp.

References LastAngle.

Referenced by notifyEnter(), and notifyMove().

void MSDevice_Battery::setLastEnergy ( const SUMOReal  new_LastEnergy)
inline

Set parameter 14, vehicles' last Energy.

Definition at line 462 of file MSDevice_Battery.cpp.

References LastEnergy.

Referenced by getPropEnergy(), and notifyEnter().

void MSDevice_Battery::setMass ( const SUMOReal  new_Mass)
inline

Set parameter 04, vehicle's Mass.

Definition at line 368 of file MSDevice_Battery.cpp.

References Named::getID(), Mass, SUMOReal_str(), and WRITE_WARNING.

void MSDevice_Battery::setMaximumBatteryCapacity ( const SUMOReal  new_MaxBatKap)
inline

Set parameter 02, The total vehicles' Battery Capacity in kWh.

Definition at line 359 of file MSDevice_Battery.cpp.

References Named::getID(), MaxBatKap, SUMOReal_str(), and WRITE_WARNING.

void MSDevice_Battery::setPowerMax ( const SUMOReal  new_Pmax)
inline

Set parameter 03, The maximum power when accelerating.

Definition at line 377 of file MSDevice_Battery.cpp.

References Named::getID(), PowerMax, SUMOReal_str(), and WRITE_WARNING.

void MSDevice_Battery::setPropulsionEfficiency ( const SUMOReal  new_PropulsionEfficiency)
inline

Set parameter 11, vehicles' Propulsion efficiency.

Definition at line 439 of file MSDevice_Battery.cpp.

References Named::getID(), PropulsionEfficiency, SUMOReal_str(), and WRITE_WARNING.

void MSDevice_Battery::setRadialDragCoefficient ( const SUMOReal  new_RadialDragCoefficient)
inline

Set parameter 08, Vehicles' radial friction coefficient.

Definition at line 412 of file MSDevice_Battery.cpp.

References Named::getID(), RadialDragCoefficient, SUMOReal_str(), and WRITE_WARNING.

void MSDevice_Battery::setRecuperationEfficiency ( const SUMOReal  new_RecuperationEfficiency)
inline

Set parameter 12, vehicles' Recuparation efficiency.

Definition at line 448 of file MSDevice_Battery.cpp.

References Named::getID(), RecuperationEfficiency, SUMOReal_str(), and WRITE_WARNING.

void MSDevice_Battery::setRollDragCoefficient ( const SUMOReal  new_RollDragCoefficient)
inline

Set parameter 09, vehicles' roll friction coefficient.

Definition at line 421 of file MSDevice_Battery.cpp.

References Named::getID(), RollDragCoefficient, SUMOReal_str(), and WRITE_WARNING.

std::string MSDevice_Battery::SUMOReal_str ( const SUMOReal var)
private

Field Documentation

SUMOReal MSDevice_Battery::ActBatKap
private

Parameter 01, The actual vehicles' Battery Capacity in kWh [ActBatKap <= MaxBatKap].

Definition at line 276 of file MSDevice_Battery.h.

Referenced by getActualBatteryCapacity(), MSDevice_Battery(), and setActualBatteryCapacity().

std::string MSDevice_Battery::actChargingStation
private

Parameter 19, Vehicle consum during a time step by default is "".

Definition at line 348 of file MSDevice_Battery.h.

Referenced by getChargingStationID(), MSDevice_Battery(), and notifyMove().

SUMOReal MSDevice_Battery::AirDragCoefficient
private

Parameter 06, Vehicle's drag coefficient [AirDragCoefficient >=0].

Definition at line 296 of file MSDevice_Battery.h.

Referenced by getAirDragCoefficient(), MSDevice_Battery(), and setAirDragCoefficient().

SUMOReal MSDevice_Battery::ChargingStartTime
private

Parameter 17, Moment, wich the vehicle has beging to charging none.

Definition at line 340 of file MSDevice_Battery.h.

Referenced by getChargingStartTime(), increaseChargingStartTime(), and resetChargingStartTime().

SUMOReal MSDevice_Battery::ConstantPowerIntake
private

Parameter 10, Vehicles' constant power intake [ConstantPowerIntake >= 0].

Definition at line 312 of file MSDevice_Battery.h.

Referenced by getConstantPowerIntake(), MSDevice_Battery(), and setConstantPowerIntake().

SUMOReal MSDevice_Battery::Consum
private

Parameter 18, Vehicle consum during a time step by default is 0.

Definition at line 344 of file MSDevice_Battery.h.

Referenced by getConsum(), MSDevice_Battery(), and notifyMove().

SUMOReal MSDevice_Battery::energyCharged
private

Parameter 20, Energy charged in each timestep.

Definition at line 351 of file MSDevice_Battery.h.

Referenced by getChrgEnergy(), MSDevice_Battery(), and notifyMove().

SUMOReal MSDevice_Battery::FrontSurfaceArea
private

Parameter 05, Vehicle's front surface Area [FrontSurfaceArea >= 0].

Definition at line 292 of file MSDevice_Battery.h.

Referenced by getFrontSurfaceArea(), MSDevice_Battery(), and setFrontSurfaceArea().

SUMOReal MSDevice_Battery::InternalMomentOfInertia
private

Parameter 07, Vehicles' internal moment of inertia [InternalMomentOfInertia >= 0].

Definition at line 300 of file MSDevice_Battery.h.

Referenced by getInternalMomentOfInertia(), MSDevice_Battery(), and setInternalMomentOfInertia().

bool MSDevice_Battery::ItsChargingInTransit
private

Parameter 16, Flag: Vehicles it's charging in transit by default is false.

Definition at line 336 of file MSDevice_Battery.h.

Referenced by isChargingInTransit(), MSDevice_Battery(), and notifyMove().

bool MSDevice_Battery::ItsChargingStopped
private

Parameter 15, Flag: Vehicles it's charging stopped by default is false.

Definition at line 332 of file MSDevice_Battery.h.

Referenced by isChargingStopped(), MSDevice_Battery(), and notifyMove().

SUMOReal MSDevice_Battery::LastAngle
private

Parameter 13, Vehicles' last angle none.

Definition at line 324 of file MSDevice_Battery.h.

Referenced by getLastAngle(), and setLastAngle().

SUMOReal MSDevice_Battery::LastEnergy
private

Parameter 14, Vehicles' last energy none.

Definition at line 328 of file MSDevice_Battery.h.

Referenced by getLastEnergy(), and setLastEnergy().

SUMOReal MSDevice_Battery::Mass
private

Parameter 04, Vehicle's Mass [Mass >= 0].

Definition at line 288 of file MSDevice_Battery.h.

Referenced by getMass(), MSDevice_Battery(), and setMass().

SUMOReal MSDevice_Battery::MaxBatKap
private

Parameter 02, The total vehicles' Battery Capacity in kWh [MaxBatKap >= 0].

Definition at line 280 of file MSDevice_Battery.h.

Referenced by getMaximumBatteryCapacity(), MSDevice_Battery(), setActualBatteryCapacity(), and setMaximumBatteryCapacity().

std::string MSMoveReminder::myDescription
protectedinherited

a description of this moveReminder

Definition at line 229 of file MSMoveReminder.h.

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

SUMOReal MSDevice_Battery::PowerMax
private

Parameter 03, The Maximum Power when accelerating [PowerMax >= 0].

Definition at line 284 of file MSDevice_Battery.h.

Referenced by getMaximumPower(), MSDevice_Battery(), and setPowerMax().

SUMOReal MSDevice_Battery::PropulsionEfficiency
private

Parameter 11, Vehicles' propulsion efficiency [1 >= PropulsionEfficiency >= 0].

Definition at line 316 of file MSDevice_Battery.h.

Referenced by getPropulsionEfficiency(), MSDevice_Battery(), and setPropulsionEfficiency().

SUMOReal MSDevice_Battery::RadialDragCoefficient
private

Parameter 08, Vehicles' radial friction coefficient [RadialDragCoefficient >=0].

Definition at line 304 of file MSDevice_Battery.h.

Referenced by getRadialDragCoefficient(), MSDevice_Battery(), and setRadialDragCoefficient().

SUMOReal MSDevice_Battery::RecuperationEfficiency
private

Parameter 12, Vehicles' recuparation efficiency [1 >= RecuperationEfficiency >= 0].

Definition at line 320 of file MSDevice_Battery.h.

Referenced by getRecuperationEfficiency(), MSDevice_Battery(), and setRecuperationEfficiency().

SUMOReal MSDevice_Battery::RollDragCoefficient
private

Parameter 09, Vehicles' roll friction coefficient [RollDragCoefficient >= 0].

Definition at line 308 of file MSDevice_Battery.h.

Referenced by getRollDragCoefficient(), MSDevice_Battery(), and setRollDragCoefficient().

int MSDevice_Battery::vehicleStopped
private

Parameter 21, How many timestep the vehicle is stopped.

Definition at line 354 of file MSDevice_Battery.h.

Referenced by getVehicleStopped(), increaseVehicleStoppedTimer(), MSDevice_Battery(), and resetVehicleStoppedTimer().


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