-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Matpower non regulating generators connected PV buses (#2639)
Signed-off-by: Geoffroy Jamgotchian <geoffroy.jamgotchian@rte-france.com>
- Loading branch information
Showing
3 changed files
with
196 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
146 changes: 146 additions & 0 deletions
146
matpower/matpower-converter/src/test/resources/sim1-with-non-regulating-gen.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,146 @@ | ||
{ | ||
"caseName" : "sim1", | ||
"baseMva" : 100.0, | ||
"version" : "2", | ||
"buses" : [ { | ||
"number" : 1, | ||
"type" : "PV", | ||
"name" : "VLGEN_0", | ||
"realPowerDemand" : -10.0, | ||
"reactivePowerDemand" : -5.0, | ||
"shuntConductance" : 0.0, | ||
"shuntSusceptance" : 0.0, | ||
"areaNumber" : 1, | ||
"voltageMagnitude" : 1.0, | ||
"voltageAngle" : 0.0, | ||
"baseVoltage" : 24.0, | ||
"lossZone" : 1, | ||
"maximumVoltageMagnitude" : 0.0, | ||
"minimumVoltageMagnitude" : 0.0 | ||
}, { | ||
"number" : 2, | ||
"type" : "REF", | ||
"name" : "VLHV1_0", | ||
"realPowerDemand" : 0.0, | ||
"reactivePowerDemand" : 0.0, | ||
"shuntConductance" : 0.0, | ||
"shuntSusceptance" : 0.0, | ||
"areaNumber" : 1, | ||
"voltageMagnitude" : 1.0, | ||
"voltageAngle" : 0.0, | ||
"baseVoltage" : 380.0, | ||
"lossZone" : 1, | ||
"maximumVoltageMagnitude" : 0.0, | ||
"minimumVoltageMagnitude" : 0.0 | ||
}, { | ||
"number" : 3, | ||
"type" : "PQ", | ||
"name" : "VLHV2_0", | ||
"realPowerDemand" : 0.0, | ||
"reactivePowerDemand" : 0.0, | ||
"shuntConductance" : 0.0, | ||
"shuntSusceptance" : 0.0, | ||
"areaNumber" : 1, | ||
"voltageMagnitude" : 1.0, | ||
"voltageAngle" : 0.0, | ||
"baseVoltage" : 380.0, | ||
"lossZone" : 1, | ||
"maximumVoltageMagnitude" : 0.0, | ||
"minimumVoltageMagnitude" : 0.0 | ||
}, { | ||
"number" : 4, | ||
"type" : "PQ", | ||
"name" : "VLLOAD_0", | ||
"realPowerDemand" : 600.0, | ||
"reactivePowerDemand" : 200.0, | ||
"shuntConductance" : 0.0, | ||
"shuntSusceptance" : 0.0, | ||
"areaNumber" : 1, | ||
"voltageMagnitude" : 1.0, | ||
"voltageAngle" : 0.0, | ||
"baseVoltage" : 150.0, | ||
"lossZone" : 1, | ||
"maximumVoltageMagnitude" : 0.0, | ||
"minimumVoltageMagnitude" : 0.0 | ||
} ], | ||
"generators" : [ { | ||
"number" : 1, | ||
"realPowerOutput" : 607.0, | ||
"reactivePowerOutput" : 301.0, | ||
"maximumReactivePowerOutput" : 9999.99, | ||
"minimumReactivePowerOutput" : -9999.99, | ||
"voltageMagnitudeSetpoint" : 1.0208333333333333, | ||
"totalMbase" : 0.0, | ||
"status" : 1, | ||
"maximumRealPowerOutput" : 9999.99, | ||
"minimumRealPowerOutput" : -9999.99, | ||
"pc1" : 0.0, | ||
"pc2" : 0.0, | ||
"qc1Min" : 0.0, | ||
"qc1Max" : 0.0, | ||
"qc2Min" : 0.0, | ||
"qc2Max" : 0.0, | ||
"rampAgc" : 0.0, | ||
"rampTenMinutes" : 0.0, | ||
"rampThirtyMinutes" : 0.0, | ||
"rampQ" : 0.0, | ||
"apf" : 0.0 | ||
} ], | ||
"branches" : [ { | ||
"from" : 2, | ||
"to" : 3, | ||
"r" : 0.002077562326869806, | ||
"x" : 0.022853185595567867, | ||
"b" : 0.557384, | ||
"rateA" : 0.0, | ||
"rateB" : 0.0, | ||
"rateC" : 0.0, | ||
"ratio" : 0.0, | ||
"phaseShiftAngle" : 0.0, | ||
"status" : 1.0, | ||
"angMin" : 0.0, | ||
"angMax" : 0.0 | ||
}, { | ||
"from" : 2, | ||
"to" : 3, | ||
"r" : 0.002077562326869806, | ||
"x" : 0.022853185595567867, | ||
"b" : 0.557384, | ||
"rateA" : 0.0, | ||
"rateB" : 0.0, | ||
"rateC" : 0.0, | ||
"ratio" : 0.0, | ||
"phaseShiftAngle" : 0.0, | ||
"status" : 1.0, | ||
"angMin" : 0.0, | ||
"angMax" : 0.0 | ||
}, { | ||
"from" : 1, | ||
"to" : 2, | ||
"r" : 1.846153846153846E-4, | ||
"x" : 0.007690091988585015, | ||
"b" : 0.0, | ||
"rateA" : 0.0, | ||
"rateB" : 0.0, | ||
"rateC" : 0.0, | ||
"ratio" : 0.9500000000000001, | ||
"phaseShiftAngle" : 0.0, | ||
"status" : 1.0, | ||
"angMin" : 0.0, | ||
"angMax" : 0.0 | ||
}, { | ||
"from" : 3, | ||
"to" : 4, | ||
"r" : 2.0999999999999998E-4, | ||
"x" : 0.017998774958313132, | ||
"b" : 0.0, | ||
"rateA" : 0.0, | ||
"rateB" : 0.0, | ||
"rateC" : 0.0, | ||
"ratio" : 0.9986679988158019, | ||
"phaseShiftAngle" : 0.0, | ||
"status" : 1.0, | ||
"angMin" : 0.0, | ||
"angMax" : 0.0 | ||
} ] | ||
} |