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_individually()

charge_vehicles()

Charge vehicles.

charge_vehicles_after_core_standing_time(...)

Charge vehicles balanced between end of core standing time and departure.

charge_vehicles_during_core_standing_time()

Charge vehicles during core standing time.

charge_vehicles_during_core_standing_time_v2g(...)

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.

dt_to_end_of_time_window()

Return timedelta between now and end of core standing time (resolution: one minute).

evaluate_core_standing_time_ahead()

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.

utilize_stationary_batteries()

Adjust deviation with batteries.