Skip to content

Commit 1089057

Browse files
committed
Reverting changes in hierarchy that are a breaking change
1 parent 50395e0 commit 1089057

6 files changed

Lines changed: 5 additions & 12 deletions

File tree

OpenIPSL/Electrical/Sources/SourcesWithRealInputs/CurrentSourceReImInput.mo renamed to OpenIPSL/Electrical/Sources/CurrentSourceReImInput.mo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
within OpenIPSL.Electrical.Sources.SourcesWithRealInputs;
1+
within OpenIPSL.Electrical.Sources;
22
model CurrentSourceReImInput
33
"Ideal current source with user defined real and imaginary parts of the current phasor"
44
extends OpenIPSL.Electrical.Essentials.pfComponent(enableS_b = true);

OpenIPSL/Electrical/Sources/SourcesWithRealInputs/package.mo

Lines changed: 0 additions & 5 deletions
This file was deleted.

OpenIPSL/Electrical/Sources/SourcesWithRealInputs/package.order

Lines changed: 0 additions & 2 deletions
This file was deleted.

OpenIPSL/Electrical/Sources/SourcesWithRealInputs/VoltageSourceReImInput.mo renamed to OpenIPSL/Electrical/Sources/VoltageSourceReImInput.mo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
within OpenIPSL.Electrical.Sources.SourcesWithRealInputs;
1+
within OpenIPSL.Electrical.Sources;
22
model VoltageSourceReImInput
33
"Ideal voltage source with user defined real and imaginary parts of the voltage phasor"
44
extends OpenIPSL.Electrical.Essentials.pfComponent(enableS_b=true);

OpenIPSL/Electrical/Sources/package.order

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1+
VoltageSourceReImInput
2+
CurrentSourceReImInput
13
SourceBehindImpedance
2-
SourcesWithRealInputs

OpenIPSL/Tests/BaseClasses/SMIBAddOn.mo

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,7 @@ partial model SMIBAddOn
3232
annotation (Placement(transformation(extent={{18,-10},{38,10}})));
3333
OpenIPSL.Electrical.Buses.Bus GEN2
3434
annotation (Placement(transformation(extent={{60,-10},{80,10}})));
35-
Electrical.Sources.SourcesWithRealInputs.VoltageSourceReImInput
36-
voltageSourceReImInput
35+
Electrical.Sources.VoltageSourceReImInput voltageSourceReImInput
3736
annotation (Placement(transformation(extent={{96,-10},{76,10}})));
3837
Modelica.Blocks.Sources.RealExpression imagPart annotation (Placement(transformation(extent={{80,-30},{100,-10}})));
3938
Modelica.Blocks.Sources.RealExpression realPart(y=if time <= 50000 then 1 else 0.99) annotation (Placement(transformation(extent={{80,10},{100,30}})));

0 commit comments

Comments
 (0)