spice_ev.components.GridConnector.add_load

GridConnector.add_load(key, value)

Add power value to current_loads dict under key, return updated value.

Parameters:
  • key (str) – key of dictionary

  • value (numeric) – value to be added

Returns:

updated dict

Return type:

dict