spice_ev.strategies.flex_window.FlexWindow.distribute_peak_shaving_vehicles

FlexWindow.distribute_peak_shaving_vehicles(timesteps)

Charge vehicles 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