22 #ifndef MSChargingStation_h 23 #define MSChargingStation_h 62 SUMOReal chargingPower,
SUMOReal efficency,
bool chargeInTransit,
int chargeDelay);
SUMOReal myChargingPower
Charging station's charging power.
MSChargingStation & operator=(const MSChargingStation &)
Invalidated assignment operator.
SUMOReal getEfficency() const
Get efficiency of the charging station.
A lane area vehicles can halt at.
~MSChargingStation()
destructor
void setChargeDelay(int chargeDelay)
Set charge delay of the charging station.
SUMOReal myEfficiency
Efficiency of the charging station.
bool isCharging() const
Return true if in the current time step charging station is charging a vehicle.
SUMOReal getChargeDelay() const
Get Charge Delay.
bool getChargeInTransit() const
Get chargeInTransit.
bool myChargingVehicle
Check if in the current TimeStep chargingStation is charging a vehicle.
bool vehicleIsInside(const SUMOReal position) const
Check if a vehicle is inside in the Charge Station.
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.
void setChargingVehicle(bool value)
enable or disable charging vehicle
void setChargeInTransit(bool chargeInTransit)
Set charge in transit of the charging station.
SUMOReal getChargingPower() const
Get charging station's charging power.
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.