Skip to content

Commit 55a1550

Browse files
committed
Corrects displayUnit to MV.A
Related to OpenIPSL#334
1 parent 97b81ac commit 55a1550

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

OpenIPSL/Tests/Solar/PowerFactory/DIgSILENT_PV.mo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ model DIgSILENT_PV "Simple system to test voltage drop disturbance in DIgSILENT_
99
Placement(transformation(origin = {70, 30}, extent = {{10, -10}, {-10, 10}})));
1010
inner OpenIPSL.Electrical.SystemBase SysData annotation (
1111
Placement(transformation(origin = {-70.5, 90}, extent = {{-29.5, -10}, {29.5, 10}})));
12-
OpenIPSL.Electrical.Solar.PowerFactory.DIgSILENT.PV_Plant pv_plant(M_b(displayUnit = "MVA") = 0.5e6, P_0 = 300000, angle_0 = 0, v_0 = 1) annotation (
12+
OpenIPSL.Electrical.Solar.PowerFactory.DIgSILENT.PV_Plant pv_plant(M_b(displayUnit = "MV.A") = 0.5e6, P_0 = 300000, angle_0 = 0, v_0 = 1) annotation (
1313
Placement(transformation(origin = {-30, 0}, extent = {{-10, -10}, {10, 10}})));
1414
equation
1515
connect(pv_plant.p, voltage_source.p) annotation (

OpenIPSL/Types.mo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ package Types "Library specific type definitions"
2222
operator record ComplexCurrent = SI.ComplexCurrent(re(nominal = 1e4, displayUnit="kA"), im(nominal = 1e4, displayUnit="kA")) "Current phasor in cartesian representation";
2323
operator record ComplexAdmittance = SI.ComplexAdmittance "Admittance in cartesian representation";
2424
operator record ComplexImpedance = SI.ComplexImpedance "Impedance in cartesian representation";
25-
operator record ComplexPower = SI.ComplexPower(re(nominal = 1e8, displayUnit="MW"), im(nominal = 1e8, displayUnit="MVA")) "Active and Reactive powers in cartesian representation";
25+
operator record ComplexPower = SI.ComplexPower(re(nominal = 1e8, displayUnit="MW"), im(nominal = 1e8, displayUnit="MV.A")) "Active and Reactive powers in cartesian representation";
2626
operator record ComplexPerUnit = Complex(re(unit = "1"), im(unit = "1")) "Per unit record for phasor in cartesian representation";
2727
type Ctrl = enumeration(
2828
alpha "Control using the firing angle alpha",

0 commit comments

Comments
 (0)