 |
Eclipse SUMO - Simulation of Urban MObility
|
Go to the documentation of this file.
19 #ifndef MSChargingStation_h
20 #define MSChargingStation_h
56 const std::string& name,
57 double chargingPower,
double efficency,
bool chargeInTransit,
double chargeDelay);
113 charge(
SUMOTime _timeStep, std::string _vehicleID, std::string _vehicleType, std::string _status,
114 double _WCharged,
double _actualBatteryCapacity,
double _maxBatteryCapacity,
double _chargingPower,
115 double _chargingEfficiency,
double _totalEnergyCharged) :
double getChargingPower() const
Get charging station's charging power.
A lane area vehicles can halt at.
Representation of a lane in the micro simulation.
Static storage of an output device and its base (abstract) implementation.
bool myChargeInTransit
Allow charge in transit.
void setChargeDelay(double chargeDelay)
Set charge delay of the charging station.
std::vector< charge > myChargeValues
vector with the charges of this charging station
double myChargeDelay
Charge Delay.
~MSChargingStation()
destructor
charge(SUMOTime _timeStep, std::string _vehicleID, std::string _vehicleType, std::string _status, double _WCharged, double _actualBatteryCapacity, double _maxBatteryCapacity, double _chargingPower, double _chargingEfficiency, double _totalEnergyCharged)
constructor
struct to save information for the cahrgingStation output
void setChargingVehicle(bool value)
enable or disable charging vehicle
void setChargeInTransit(bool chargeInTransit)
Set charge in transit of the charging station.
double getEfficency() const
Get efficiency of the charging station.
double myTotalCharge
total energy charged by this charging station
void setEfficency(double efficency)
Set efficiency of the charging station.
double maxBatteryCapacity
void writeChargingStationOutput(OutputDevice &output)
write charging station values
double myEfficiency
Efficiency of the charging station.
double myChargingPower
Charging station's charging power.
A storage for options typed value containers)
Battery device for electric vehicles.
bool myChargingVehicle
Check if in the current TimeStep chargingStation is charging a vehicle.
double actualBatteryCapacity
MSChargingStation(const std::string &chargingStationID, MSLane &lane, double startPos, double endPos, const std::string &name, double chargingPower, double efficency, bool chargeInTransit, double chargeDelay)
constructor
void setChargingPower(double chargingPower)
Set charging station's charging power.
MSChargingStation & operator=(const MSChargingStation &)
Invalidated assignment operator.
bool isCharging() const
Return true if in the current time step charging station is charging a vehicle.
double getTotalCharged() const
bool vehicleIsInside(const double position) const
Check if a vehicle is inside in the Charge Station.
double totalEnergyCharged
void addChargeValueForOutput(double WCharged, MSDevice_Battery *battery)
add charge value for output
double getChargeDelay() const
Get Charge Delay.
bool getChargeInTransit() const
Get chargeInTransit.
double chargingEfficiency