spice_ev.events.get_schedule_from_csv

spice_ev.events.get_schedule_from_csv(obj, dir_path)

Read out schedule CSV file and generate list of GridOperatorSignal events.

Only changed target values generate a new event.
Ignore any timestamp in file, assume constant stride.
Parameters:
  • obj (dict) – dictionary with information about input csv

  • dir_path (Path) – directory

Raises:

SystemExit – if specified schedule column is not present in input file

Returns:

grid operator schedule

Return type:

list