spice_ev.strategies.flex_window.FlexWindow.distribute_peak_shaving_v2g

FlexWindow.distribute_peak_shaving_v2g(timesteps)

Charge/discharge vehicles with v2g with peak shaving method according to time windows.

Parameters:

timesteps (list) – list of dictionaries for each timestep in horizon

Returns:

commands for charging stations

Return type:

dict