22 #ifndef MSChargingStation_h
23 #define MSChargingStation_h
62 SUMOReal chargingPower,
SUMOReal efficency,
bool chargeInTransit,
int chargeDelay);
SUMOReal myChargingPower
Charging station's charging power.
bool isCharging() const
Return true if in the current time step charging station is charging a vehicle.
MSChargingStation & operator=(const MSChargingStation &)
Invalidated assignment operator.
A lane area vehicles can halt at.
~MSChargingStation()
destructor
void setChargeDelay(int chargeDelay)
Set charge delay of the charging station.
SUMOReal getChargingPower() const
Get charging station's charging power.
SUMOReal myEfficiency
Efficiency of the charging station.
bool myChargingVehicle
Check if in the current TimeStep chargingStation is charging a vehicle.
MSChargingStation(const std::string &chargingStationID, MSLane &lane, SUMOReal startPos, SUMOReal endPos, SUMOReal chargingPower, SUMOReal efficency, bool chargeInTransit, int chargeDelay)
constructor
void setChargingPower(SUMOReal chargingPower)
Set charging station's charging power.
bool getChargeInTransit() const
Get chargeInTransit.
void setChargingVehicle(bool value)
enable or disable charging vehicle
SUMOReal getEfficency() const
Get efficiency of the charging station.
SUMOReal getChargeDelay() const
Get Charge Delay.
void setChargeInTransit(bool chargeInTransit)
Set charge in transit of the charging station.
bool vehicleIsInside(const SUMOReal position) const
Check if a vehicle is inside in the Charge Station.
int myChargeDelay
Charge Delay.
bool myChargeInTransit
Allow charge in transit.
A storage for options typed value containers)
void setEfficency(SUMOReal efficency)
Set efficiency of the charging station.
Representation of a lane in the micro simulation.