Skip to content

Commit

Permalink
Fix after rebase
Browse files Browse the repository at this point in the history
Signed-off-by: Florian Dupuy <florian.dupuy@rte-france.com>
  • Loading branch information
flo-dup committed May 5, 2023
1 parent a66f701 commit 34bba13
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ protected void setupNetwork() {
protected void addDynamicModels(Function<Network, BlackBoxModel> phaseShifterConstructor, boolean dynamicTransformer) {
dynamicModels.add(phaseShifterConstructor.apply(network));
if (dynamicTransformer) {
dynamicModels.add(new TransformerFixedRatio("BBM_NGEN_NHV1", "NGEN_NHV1", "tt", "TransformerFixedRatio"));
dynamicModels.add(new TransformerFixedRatio("BBM_NGEN_NHV1", network.getTwoWindingsTransformer("NGEN_NHV1"), "tt", "TransformerFixedRatio"));
}
}

Expand Down

0 comments on commit 34bba13

Please sign in to comment.