spice_ev.strategies.schedule.Schedule
- class spice_ev.strategies.schedule.Schedule(components, start_time, **kwargs)
Charging according to a given schedule, that depends on the grid situation.
- __init__(components, start_time, **kwargs)
Methods
__init__(components, start_time, **kwargs)apply_battery_losses()Regardless of specific strategy, reduce SoC of lossy batteries.
Charge vehicles.
Charge vehicles balanced between end of core standing time and departure.
Charge vehicles during core standing time.
collect_future_gc_info([dt])Get grid connector info for each future timestep until all vehicles left.
distribute_surplus_power()Distribute surplus power to vehicles.
Return timedelta between now and end of core standing time (resolution: one minute).
Evaluate provided energy per timestep by schedule and needed energy in total.
sim_balanced_charging(vehicle, dt, max_power)Simulate a balanced charging process for a single vehicle.
step()Calculate charging power in each timestep.
update_batteries()Charge/discharge batteries.
Adjust deviation with batteries.