Skip to content

RaoParameters 1.15.0 migration guide

Bertrand Rix edited this page Apr 16, 2026 · 1 revision

Rao parameters API migration guide

Rao parameters python API has evolved to more closely match the Java API. This page will explains the main changes introduced in 1.15.0.

Rao seach tree parameters

A new subclass of RaoParameters has been introduced, the RaoSearchTreeParameters. The following parameter classes have been moved into this new subclass :

  • MultithreadingParameters (flatten to a single parameter available_cpus)
  • SecondPreventiveRaoParameters
  • LoadFlowAndSensitivityParameters

Some of the parameters that were previously present in RangeActionOptimizationParameters and TopoOptimizationParameters have been also moved to the RaoSearchTreeParameters in dedicated classes.

For TopoSearchTreeParameters

  • max_preventive_search_tree_depth
  • max_curative_search_tree_depth
  • predefined_combinations
  • skip_actions_far_from_most_limiting_element
  • max_number_of_boundaries_for_skipping_actions

For RangeActionSearchTreeParameters

  • max_mip_iterations
  • pst_sensitivity_threshold
  • hvdc_sensitivity_threshold
  • injection_ra_sensitivity_threshold
  • pst_model
  • ra_range_shrinking
  • solver
  • relative_mip_gap
  • solver_specific_parameters

Finally objective function parameter curative_min_obj_improvement has also been moved into the RaoSearchTreeParameters class.

FastRaoParameters

FastRaoParameters subclass has been added to RaoParameters, see https://github.com/powsybl/powsybl-open-rao/pull/1438

Clone this wiki locally