Skip to content

Commit df3ac05

Browse files
committed
BUG: Use parameters instead of hard-coded values
fixes OpenIPSL#373
1 parent fe8aa5c commit df3ac05

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

OpenIPSL/Electrical/Machines/PSSE/CIM5.mo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ equation
126126
EQ12 = EQ10 + EQ11 - Epr - EQ9;
127127
EQ12 = Tp0*der(Epr);
128128
EQC = NUM/(Epp + C.eps);
129-
NUM = SE(Epp,SE1,SE2,1,1.2);
129+
NUM = SE(Epp,SE1,SE2,E1,E2);
130130
Epp = sqrt(Eppr^2 + Eppi^2);
131131
EQ13 = EQC*Eppr;
132132
EQ14 = Epr*(Tp0*w_b*s);

OpenIPSL/Electrical/Machines/PSSE/CIM6.mo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ equation
132132
EQ12 = EQ10 + EQ11 - Epr - EQ9;
133133
EQ12 = Tp0*der(Epr);
134134
EQC = NUM/(Epp + C.eps);
135-
NUM = SE(Epp,SE1,SE2,1,1.2);
135+
NUM = SE(Epp,SE1,SE2,E1,E2);
136136
Epp = sqrt(Eppr^2 + Eppi^2);
137137
EQ13 = EQC*Eppr;
138138
EQ14 = Epr*(Tp0*w_b*s);

0 commit comments

Comments
 (0)