Skip to content

Commit

Permalink
Fix post merge main
Browse files Browse the repository at this point in the history
Signed-off-by: lisrte <[email protected]>
  • Loading branch information
Lisrte committed Oct 2, 2023
1 parent b0269c8 commit cbc7c65
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
*/
package com.powsybl.dynawaltz.models.buses;

import com.powsybl.dynawaltz.models.MacroConnectAttribute;
import com.powsybl.dynawaltz.models.Side;
import com.powsybl.dynawaltz.models.macroconnections.MacroConnectAttribute;
import com.powsybl.dynawaltz.xml.DynaWaltzXmlConstants;

import java.util.List;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
import com.powsybl.dynawaltz.models.buses.DefaultBusOfEquipment;
import com.powsybl.dynawaltz.parameters.ParametersSet;

import java.util.Collections;
import java.util.List;
import java.util.function.Consumer;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
<dyn:macroStaticRef id="MSR_LoadOneTransformer"/>
</dyn:blackBoxModel>
<dyn:macroConnector id="MC_LoadOneTransformer-DefaultBus">
<dyn:connect var1="transformer_terminal1" var2="@NAME@_ACPIN"/>
<dyn:connect var1="transformer_switchOffSignal1" var2="@NAME@_switchOff"/>
<dyn:connect var1="load_switchOffSignal1" var2="@NAME@_switchOff"/>
<dyn:connect var1="transformer_terminal1" var2="@STATIC_ID@@NODE@_ACPIN"/>
<dyn:connect var1="transformer_switchOffSignal1" var2="@STATIC_ID@@NODE@_switchOff"/>
<dyn:connect var1="load_switchOffSignal1" var2="@STATIC_ID@@NODE@_switchOff"/>
</dyn:macroConnector>
<dyn:macroStaticReference id="MSR_LoadOneTransformer">
<dyn:staticRef var="transformer_P1Pu_value" staticVar="p"/>
<dyn:staticRef var="transformer_Q1Pu_value" staticVar="q"/>
<dyn:staticRef var="transformer_state" staticVar="state"/>
</dyn:macroStaticReference>
<dyn:macroConnect connector="MC_LoadOneTransformer-DefaultBus" id1="BBM_LOAD" id2="NETWORK" name2="NLOAD"/>
<dyn:macroConnect connector="MC_LoadOneTransformer-DefaultBus" id1="BBM_LOAD" id2="NETWORK"/>
</dyn:dynamicModelsArchitecture>
6 changes: 3 additions & 3 deletions dynawaltz/src/test/resources/tap_changer_empty_dyd.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
<dyn:macroStaticRef id="MSR_LoadAlphaBeta"/>
</dyn:blackBoxModel>
<dyn:macroConnector id="MC_LoadAlphaBeta-DefaultBus">
<dyn:connect var1="load_terminal" var2="@NAME@_ACPIN"/>
<dyn:connect var1="load_switchOffSignal1" var2="@NAME@_switchOff"/>
<dyn:connect var1="load_terminal" var2="@STATIC_ID@@NODE@_ACPIN"/>
<dyn:connect var1="load_switchOffSignal1" var2="@STATIC_ID@@NODE@_switchOff"/>
</dyn:macroConnector>
<dyn:macroStaticReference id="MSR_LoadAlphaBeta">
<dyn:staticRef var="load_PPu" staticVar="p"/>
<dyn:staticRef var="load_QPu" staticVar="q"/>
<dyn:staticRef var="load_state" staticVar="state"/>
</dyn:macroStaticReference>
<dyn:macroConnect connector="MC_LoadAlphaBeta-DefaultBus" id1="BBM_LOAD" id2="NETWORK" name2="NLOAD"/>
<dyn:macroConnect connector="MC_LoadAlphaBeta-DefaultBus" id1="BBM_LOAD" id2="NETWORK"/>
</dyn:dynamicModelsArchitecture>

0 comments on commit cbc7c65

Please sign in to comment.