Compact EVDevice model
Kind: Component model · Maturity: promotion candidate · Direction: forward · Temporal: inter-temporal
EVDevice combines stored energy, an AC network port, availability and one departure requirement in a single specification. It remains available for compact studies and compatibility. For explicit vehicle and outlet identities, use EV, EVSE and ChargingSession as described in the electric vehicle overview and session guide.
A compact charging schedule
An EVDevice is a storage device that is only controllable while plugged in and must reach a target energy by departure:
ev = EVDevice(
id = "ev1",
bus = "bus1",
p_charge_max = 20e3, # W (V1G: no discharge)
energy_max = 40e3, # Wh
energy_init = 10e3, # Wh
available = [true, true, true, false], # unplugged in period 4
departure_energy = 30e3, # Wh required …
departure_period = 3, # … by the end of period 3
)While a period is unavailable the charger is idle and the state of charge is held. Set p_discharge_max > 0 for bidirectional (V2G) operation, letting the vehicle discharge into expensive periods subject to its departure requirement.
See the EV API for the full field list of EVDevice.
Shared physics and migration
The device uses the PE storage energy balance. Its availability and departure constraints are described in the scientific model. Read the operating-mode guide before using V2G, and the compatibility guide when reproducing studies that used earlier phase-sharing or charge/discharge defaults.