Eclipse SUMO - Simulation of Urban MObility
|
Realises dumping Battery Data. More...
#include <MSElecHybridExport.h>
Static Public Member Functions | |
static void | write (OutputDevice &of, const SUMOVehicle *veh, SUMOTime timestep, int precision) |
Writes the complete network state of the given edges into the given device. | |
static void | writeAggregated (OutputDevice &of, SUMOTime timestep, int precision) |
Private Member Functions | |
MSElecHybridExport (const MSElecHybridExport &) | |
Invalidated copy constructor. | |
MSElecHybridExport & | operator= (const MSElecHybridExport &) |
Invalidated assignment operator. | |
Realises dumping Battery Data.
The class offers a static method, which writes all available Battery factors of each vehicles of the network into the given OutputDevice.
Definition at line 45 of file MSElecHybridExport.h.
|
private |
Invalidated copy constructor.
|
private |
Invalidated assignment operator.
|
static |
Writes the complete network state of the given edges into the given device.
Opens the current time step and export the Battery factors of all availabel vehicles
[in] | of | The output device to use |
[in] | timestep | The current time step |
[in] | precision | The output precision |
IOError | If an error on writing occurs (!!! not yet implemented) |
Definition at line 115 of file MSElecHybridExport.cpp.
References OutputDevice::closeTag(), SUMOTrafficObject::getAcceleration(), MSDevice_ElecHybrid::getActualBatteryCapacity(), MSDevice_ElecHybrid::getCircuitAlpha(), MSDevice_ElecHybrid::getConsum(), MSDevice_ElecHybrid::getCurrentFromOverheadWire(), SUMOTrafficObject::getDevice(), MSDevice_ElecHybrid::getEnergyCharged(), Named::getID(), MSVehicle::getLane(), SUMOVehicle::getOdometer(), MSDevice_ElecHybrid::getOverheadWireSegmentID(), SUMOTrafficObject::getPosition(), SUMOTrafficObject::getPositionOnLane(), MSDevice_ElecHybrid::getPowerWanted(), SUMOTrafficObject::getSlope(), SUMOTrafficObject::getSpeed(), MSDevice_ElecHybrid::getTractionSubstationID(), MSDevice_ElecHybrid::getVoltageOfOverheadWire(), SUMOVehicle::isOnRoad(), OutputDevice::openTag(), OutputDevice::setPrecision(), SUMO_ATTR_ACCELERATION, SUMO_ATTR_ACTUALBATTERYCAPACITY, SUMO_ATTR_ALPHACIRCUITSOLVER, SUMO_ATTR_CHARGINGPOWER, SUMO_ATTR_CURRENTFROMOVERHEADWIRE, SUMO_ATTR_DISTANCE, SUMO_ATTR_ENERGYCHARGED, SUMO_ATTR_ENERGYCONSUMED, SUMO_ATTR_LANE, SUMO_ATTR_OVERHEADWIREID, SUMO_ATTR_POSONLANE, SUMO_ATTR_SLOPE, SUMO_ATTR_SPEED, SUMO_ATTR_TIME, SUMO_ATTR_TRACTIONSUBSTATIONID, SUMO_ATTR_VOLTAGEOFOVERHEADWIRE, SUMO_ATTR_X, SUMO_ATTR_Y, SUMO_ATTR_Z, SUMO_TAG_TIMESTEP, time2string(), OutputDevice::writeAttr(), Position::x(), Position::y(), and Position::z().
Referenced by MSNet::writeOutput().
|
static |
Definition at line 39 of file MSElecHybridExport.cpp.
References OutputDevice::closeTag(), SUMOTrafficObject::getAcceleration(), MSDevice_ElecHybrid::getActualBatteryCapacity(), MSDevice_ElecHybrid::getCircuitAlpha(), MSDevice_ElecHybrid::getConsum(), MSDevice_ElecHybrid::getCurrentFromOverheadWire(), SUMOTrafficObject::getDevice(), MSDevice_ElecHybrid::getEnergyCharged(), Named::getID(), MSNet::getInstance(), MSVehicle::getLane(), MSDevice_ElecHybrid::getMaximumBatteryCapacity(), SUMOVehicle::getOdometer(), MSDevice_ElecHybrid::getOverheadWireSegmentID(), SUMOTrafficObject::getPosition(), SUMOTrafficObject::getPositionOnLane(), MSDevice_ElecHybrid::getPowerWanted(), SUMOTrafficObject::getSlope(), SUMOTrafficObject::getSpeed(), MSDevice_ElecHybrid::getTractionSubstationID(), MSNet::getVehicleControl(), MSDevice_ElecHybrid::getVoltageOfOverheadWire(), SUMOVehicle::isOnRoad(), MSVehicleControl::loadedVehBegin(), MSVehicleControl::loadedVehEnd(), OutputDevice::openTag(), OutputDevice::setPrecision(), SUMO_ATTR_ACCELERATION, SUMO_ATTR_ACTUALBATTERYCAPACITY, SUMO_ATTR_ALPHACIRCUITSOLVER, SUMO_ATTR_CHARGINGPOWER, SUMO_ATTR_CURRENTFROMOVERHEADWIRE, SUMO_ATTR_DISTANCE, SUMO_ATTR_ENERGYCHARGED, SUMO_ATTR_ENERGYCONSUMED, SUMO_ATTR_ID, SUMO_ATTR_LANE, SUMO_ATTR_MAXIMUMBATTERYCAPACITY, SUMO_ATTR_OVERHEADWIREID, SUMO_ATTR_POSONLANE, SUMO_ATTR_SLOPE, SUMO_ATTR_SPEED, SUMO_ATTR_TIME, SUMO_ATTR_TRACTIONSUBSTATIONID, SUMO_ATTR_VOLTAGEOFOVERHEADWIRE, SUMO_ATTR_X, SUMO_ATTR_Y, SUMO_ATTR_Z, SUMO_TAG_TIMESTEP, SUMO_TAG_VEHICLE, time2string(), OutputDevice::writeAttr(), Position::x(), Position::y(), and Position::z().
Referenced by MSNet::writeOutput().