spice_ev.util.clamp_power
- spice_ev.util.clamp_power(power, vehicle, cs)
Return power that is actually available at charging station.
- Parameters:
power (numeric) – available charging power
vehicle (vehicle object) – Vehicle object
cs (object) – Charging station object
- Returns:
power
- Return type:
numeric