Skip to content

Commit

Permalink
Upgrade to powsybl dependencies 2023.3.2 (#673)
Browse files Browse the repository at this point in the history
Signed-off-by: Geoffroy Jamgotchian <[email protected]>
  • Loading branch information
geofjamg authored Nov 14, 2023
1 parent 615ec32 commit aaeccb0
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
2 changes: 1 addition & 1 deletion java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
<junit-jupiter.version>5.5.2</junit-jupiter.version>
<mapdb.version>3.0.8</mapdb.version>
<maven-dependency-plugin.version>3.6.0</maven-dependency-plugin.version>
<powsybl-dependencies.version>2023.3.1</powsybl-dependencies.version>
<powsybl-dependencies.version>2023.3.2</powsybl-dependencies.version>
<powsybl-open-reac.version>0.3.0</powsybl-open-reac.version>
<zstdjni.version>1.5.5-3</zstdjni.version>
</properties>
Expand Down
15 changes: 12 additions & 3 deletions tests/test_loadflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ def test_get_provider_parameters_names():
'slackBusesIds',
'lowImpedanceBranchMode',
'voltageRemoteControl',
'throwsExceptionInCaseOfSlackDistributionFailure',
'slackDistributionFailureBehavior',
'loadPowerFactorConstant',
'plausibleActivePowerLimit',
'slackBusPMaxMismatch',
Expand Down Expand Up @@ -231,13 +231,22 @@ def test_get_provider_parameters_names():
'asymmetrical',
'minNominalVoltageTargetVoltageCheck',
'reactivePowerDispatchMode',
'outerLoopNames'
'outerLoopNames',
'useActiveLimits',
'lineSearchStateVectorScalingMaxIteration',
'lineSearchStateVectorScalingStepFold',
'maxVoltageChangeStateVectorScalingMaxDv',
'maxVoltageChangeStateVectorScalingMaxDphi',
'linePerUnitMode',
'useLoadModel',
'dcApproximationType',
'simulateAutomationSystems'
]


def test_get_provider_parameters():
specific_parameters = pp.loadflow.get_provider_parameters('OpenLoadFlow')
assert 47 == len(specific_parameters)
assert 56 == len(specific_parameters)
assert 'Slack bus selection mode' == specific_parameters['description']['slackBusSelectionMode']
assert 'STRING' == specific_parameters['type']['slackBusSelectionMode']
assert 'MOST_MESHED' == specific_parameters['default']['slackBusSelectionMode']
Expand Down

0 comments on commit aaeccb0

Please sign in to comment.