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