Skip to content

Commit 62ebdd8

Browse files
committed
Trying to fix the PF names - Part A
Models/packages starting with Pf were renamed as Px...
1 parent 1c45bd9 commit 62ebdd8

30 files changed

Lines changed: 90 additions & 90 deletions

OpenIPSL/Examples/Tutorial/Example_4/BaseModels/BaseNetwork/SMIBPartial.mo

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ model SMIBPartial "Partial SMIB Model with PF Record and Load"
6161
extent={{-6,-6},{6,6}},
6262
rotation=270,
6363
origin={36,-46})));
64-
PFData.PowerFlow pf(redeclare record PowerFlow =
65-
OpenIPSL.Examples.Tutorial.Example_4.PFData.PF00000)
64+
PxData.PowerFlow pf(redeclare record PowerFlow =
65+
OpenIPSL.Examples.Tutorial.Example_4.PxData.Px00000)
6666
annotation (Placement(transformation(extent={{-80,26},{-60,46}})));
6767
equation
6868
connect(line_01.p, B01.p)

OpenIPSL/Examples/Tutorial/Example_4/Experiments/SMIB.mo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ within OpenIPSL.Examples.Tutorial.Example_4.Experiments;
22
model SMIB
33
extends Modelica.Icons.Example;
44
extends BaseModels.BaseNetwork.SMIBPartial( pf(redeclare record PowerFlow =
5-
PFData.PF00000));
5+
PxData.Px00000));
66
replaceable BaseModels.GeneratingUnits.GeneratorTurbGovAVR genunit(
77
P_0=pf.powerflow.machine.PG1,
88
Q_0=pf.powerflow.machine.QG1,

OpenIPSL/Examples/Tutorial/Example_4/Experiments/SMIBVarLoad.mo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ within OpenIPSL.Examples.Tutorial.Example_4.Experiments;
22
model SMIBVarLoad "SMIB Model with a Variable Load"
33
extends Modelica.Icons.Example;
44
extends BaseModels.BaseNetwork.SMIBPartial(
5-
pf(redeclare record PowerFlow = PFData.PF00000),
5+
pf(redeclare record PowerFlow = PxData.Px00000),
66
redeclare OpenIPSL.Electrical.Loads.PSSE.Load_variation load(
77
P_0=pf.powerflow.load.PL1,
88
Q_0=pf.powerflow.load.QL1,

OpenIPSL/Examples/Tutorial/Example_4/PFData/PF00000.mo

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

OpenIPSL/Examples/Tutorial/Example_4/PfData/BusData/PfBus00000.mo

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

OpenIPSL/Examples/Tutorial/Example_4/PfData/LoadData/PfLoad00000.mo

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

OpenIPSL/Examples/Tutorial/Example_4/PfData/MachineData/PfMachine00000.mo

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

OpenIPSL/Examples/Tutorial/Example_4/PfData/TrafoData/PfTrafo00000.mo

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

OpenIPSL/Examples/Tutorial/Example_4/PfData/BusData/BusTemplate.mo renamed to OpenIPSL/Examples/Tutorial/Example_4/PxData/BusData/BusTemplate.mo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
within OpenIPSL.Examples.Tutorial.Example_4.PFData.BusData;
1+
within OpenIPSL.Examples.Tutorial.Example_4.PxData.BusData;
22
partial record BusTemplate "Record template for power flow solutions in buses"
33

44
parameter OpenIPSL.Types.PerUnit v1 "Voltage magnitude at bus 'B01'" annotation(Dialog(enable = false));
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
within OpenIPSL.Examples.Tutorial.Example_4.PxData.BusData;
2+
record PxBus00000 "Record for power flow solutions in buses - Id 00000"
3+
extends OpenIPSL.Examples.Tutorial.Example_4.PxData.BusData.BusTemplate(
4+
v1=1.0000000,
5+
A1=0.0706208,
6+
v2=1.0000000,
7+
A2=0.0000000,
8+
v3=0.9959842,
9+
A3=-0.0050087,
10+
v4=0.9919935,
11+
A4=-0.0100578);
12+
13+
end PxBus00000;

0 commit comments

Comments
 (0)