Repository navigation
BUG: Internal limit states - #640
Conversation
|
Should I try these changes for fixed vs adaptive experiments? Limiting in REGCA is what causes fixed step Hawaii runs so much convergence trouble. In case there is a related bug, I noticed limiters in SEXS-PTI exciters for ACTIVSg200 are similarly problematic. |
@Steven-Roberts If anything, this makes the solver's job more difficult, since here I am sharpening/enabling limits that were not engaged before. I did not see any convergence changes in my testing. Would not hurt to try, tho |
8cc43cf to
6a7b4ab
Compare
|
@nkoukpaizan rebased, all addressed. thank you! |
Description
Fixes four limiter bugs. The REPCA PI integrators kept winding up while the output was saturated, which left an offset in the plant's reactive power after a fault. They now use PowerWorld's treatment of antiwindup PI, which feeds the limited output back to the integrator in edge cases. REECB skipped its
Vmin/Vmaxlimit on the voltage reference whenVFlagis off, the ESDC1A rate feedback ignored the lower limit on the field voltage, and REGCA did not hold its terminal voltage atVhvmax.Proposed changes
initialize(), which could never fail.Vmin/VmaxwhenVFlagis off.Vhvmax, as PowerWorld does;Khvis now accepted but unused.Validation/plot.pyplot references that mix variables.Checklist
-Wall -Wpedantic -Wconversion -Wextra.Further comments
Compared against PowerWorld on a Hawaii fault, the reactive power error at plant 23_9 drops from 1.4 Mvar to 0.03 Mvar. FourBusLimits matches PowerWorld within 2%; with the develop models it is off by 21%. All validation cases still pass.
Does not change convergence in any scenario I tested, this is purely a niche technical modeling concern