Skip to content

Commit

Permalink
Merge pull request #2156 from rbolgaryn/fix/fdxb_algorithm_id
Browse files Browse the repository at this point in the history
bugfix powerflow algorithm id for fdxb, fdbx (closes #2142)
  • Loading branch information
rbolgaryn authored Jan 2, 2024
2 parents 79352a9 + 43775ce commit b254347
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ Change Log
- [ADDED] option to use a second tap changer for the trafo element
- [CHANGED] parameters of function merge_internal_net_and_equivalent_external_net()
- [FIXED] :code:`convert_format.py`: update the attributes of the characteristic objects to match the new characteristic
- [FIXED] fixed the wrong id numbers for pypower powerflow algorithms fdxb and fdbx
- [FIXED] additional arguments from mpc saved to net._options: create "_options" if it does not exist
- [CHANGED] cim2pp: extracted getting default classes, added generic setting datatypes from CGMES XMI schema
- [ADDED] function :code:`getOTDF` to obtain Outage Transfer Distribution Factors, that can be used to analyse outages using the DC approximation of the power system
Expand Down
2 changes: 1 addition & 1 deletion pandapower/pf/runpf_pypower.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def _get_options(options, **kwargs):
max_iteration = options["max_iteration"]

# algorithms implemented within pypower
algorithm_pypower_dict = {'nr': 1, 'fdbx': 2, 'fdxb': 3, 'gs': 4}
algorithm_pypower_dict = {'nr': 1, 'fdxb': 2, 'fdbx': 3, 'gs': 4}

ppopt = ppoption(ENFORCE_Q_LIMS=enforce_q_lims, PF_TOL=tolerance_mva,
PF_ALG=algorithm_pypower_dict[algorithm], **kwargs)
Expand Down

0 comments on commit b254347

Please sign in to comment.