pypowsybl.security.SecurityAnalysis.add_generator_active_power_action#

SecurityAnalysis.add_generator_active_power_action(action_id, generator_id, is_relative, active_power)[source]#

Add a generator action, modifying the generator active power

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

  • generator_id (str) – generator identifier

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

  • active_power (float) – the active power change

Return type:

None