sogno-platform / dpsim

Real-time power system simulator including powerflow, (dynamic) phasors and EMT
https://sogno.energy/dpsim/
Mozilla Public License 2.0
67 stars 49 forks source link

Powerflow improvements and extended validation #266

Open dinkelbachjan opened 7 months ago

dinkelbachjan commented 7 months ago

Further improvements of the powerflow solver were identified in #238. We should reconsidered what we eventually store in sol_P and sol_Q, as described in more detail in the respective TODO comment lines of dpsim/src/PFSolverPowerPolar.cpp. Besides, we should consider combining the methods calculatePAndQAtSlackBus , calculateQAtPVBuses und calculatePAndQInjectionPQBuses into one.

Along with that, the powerflow testing should be improved by having dedicated powerflow validation notebooks rather than embedding the validation within dynamic simulation notebooks.

martinmoraga commented 5 months ago

PR #243 includes validation notebooks for IEEE14, IEEE39 & Kundur's Two-Area system against matpower