Skip to content

pypowsybl 1.9.0 ‐ Migration guide

HugoKulesza edited this page Jan 14, 2025 · 1 revision

Dynamic simulation

Inputs

Replace :

  • add_alpha_beta_load with add_base_load with LoadAlphaBeta as model_name
  • add_one_transformer_load with add_load_one_transformer
  • add_generator_synchronous_three_windings with add_synchronous_generator with GeneratorSynchronousThreeWindings as model_name
  • add_generator_synchronous_three_windings_proportional_regulations with add_synchronous_generator with GeneratorSynchronousThreeWindingsProportionalRegulations as model_name
  • add_generator_synchronous_four_windings with add_synchronous_generator with GeneratorSynchronousFourWindings as model_name
  • add_generator_synchronous_four_windings_proportional_regulations with add_synchronous_generator with GeneratorSynchronousFourWindingsProportionalRegulations as model_name
  • add_current_limit_automaton with add_overload_management_system

Output Variables

Replace CurveMapping::add_curve and CurveMapping::add_curve with OutputVariableMapping::add_dynamic_model_curves.

Results

SimulationResult::status now returns a DynamicSimulationStatus enum instead of 'Ok' / 'Not ok' string.

Clone this wiki locally