Eclipse SUMO - Simulation of Urban MObility
|
Realises dumping Emission Data. More...
#include <MSEmissionExport.h>
Static Public Member Functions | |
static void | write (OutputDevice &of, SUMOTime timestep, int precision) |
Writes the complete network state of the given edges into the given device. | |
Private Member Functions | |
MSEmissionExport (const MSEmissionExport &) | |
Invalidated copy constructor. | |
MSEmissionExport & | operator= (const MSEmissionExport &) |
Invalidated assignment operator. | |
Realises dumping Emission Data.
The class offers a static method, which writes all available emission factors of each vehicles of the network into the given OutputDevice.
Definition at line 47 of file MSEmissionExport.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 emission factors of all availabel vehicles
[in] | of | The output device to use |
[in] | timestep | The current time step |
IOError | If an error on writing occurs (!!! not yet implemented) |
Definition at line 43 of file MSEmissionExport.cpp.
References PollutantsInterface::Emissions::addScaled(), GeoConvHelper::cartesian2geo(), OutputDevice::closeTag(), PollutantsInterface::Emissions::CO, PollutantsInterface::Emissions::CO2, PollutantsInterface::computeAll(), HelpersHarmonoise::computeNoise(), PollutantsInterface::Emissions::electricity, PollutantsInterface::Emissions::fuel, SUMOTrafficObject::getAcceleration(), SUMOVehicle::getAngle(), OptionsCont::getBool(), SUMOTrafficObject::getDevice(), SUMOTrafficObject::getEdge(), MSVehicleType::getEmissionClass(), SUMOVehicle::getEmissionParameters(), GeoConvHelper::getFinal(), MSVehicleType::getID(), Named::getID(), MSNet::getInstance(), MSVehicle::getLane(), PollutantsInterface::getName(), OptionsCont::getOptions(), SUMOTrafficObject::getPosition(), SUMOTrafficObject::getPositionOnLane(), SUMOVehicle::getRoute(), SUMOTrafficObject::getSlope(), SUMOTrafficObject::getSpeed(), OptionsCont::getString(), MSNet::getVehicleControl(), SUMOTrafficObject::getVehicleType(), MSBaseVehicle::getWaitingSeconds(), MSDevice_Emissions::getWrittenAttributes(), gPrecision, gPrecisionGeo, MSGlobals::gUseMesoSim, PollutantsInterface::Emissions::HC, SUMOVehicle::isIdling(), SUMOVehicle::isOnRoad(), MSVehicleControl::loadedVehBegin(), MSVehicleControl::loadedVehEnd(), MAX2(), GeomHelper::naviDegree(), PollutantsInterface::Emissions::NOx, OutputDevice::openTag(), PollutantsInterface::Emissions::PMx, OutputDevice::setPrecision(), string2time(), SUMO_ATTR_ANGLE, SUMO_ATTR_CO, SUMO_ATTR_CO2, SUMO_ATTR_ECLASS, SUMO_ATTR_EDGE, SUMO_ATTR_ELECTRICITY, SUMO_ATTR_FUEL, SUMO_ATTR_HC, SUMO_ATTR_ID, SUMO_ATTR_LANE, SUMO_ATTR_NOISE, SUMO_ATTR_NOX, SUMO_ATTR_PMX, SUMO_ATTR_POSITION, SUMO_ATTR_ROUTE, SUMO_ATTR_SPEED, SUMO_ATTR_TYPE, SUMO_ATTR_WAITING, SUMO_ATTR_X, SUMO_ATTR_Y, SUMO_ATTR_Z, time2string(), TS, OutputDevice::writeAttr(), OutputDevice::writeOptionalAttr(), Position::x(), Position::y(), and Position::z().
Referenced by MSNet::writeOutput().