pypowsybl.security.SecurityAnalysis.add_load_active_power_action#

SecurityAnalysis.add_load_active_power_action(action_id, load_id, is_relative, active_power)[source]#

Add a load action, modifying the load active power

Parameters:
  • action_id (str) – unique ID for the action

  • load_id (str) – load identifier

  • is_relative (bool) – whether the active power change specified is absolute, or relative to current load active power

  • active_power (float) – the active power change

Return type:

None