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

State Space Group Class #289

Open gnakti opened 2 months ago

gnakti commented 2 months ago

Would it be possible to do something similar to the idea of Aggregation of Swing Equation, but for State-Space? What I was thinking is you can move the logic, that is common for all state-space components, into a separate class, e.g., StateSpaceGroup. The StateSpaceGroup would encapsulate the discrete-state space model.

In terms of logic, StateSpaceGroup could take over the responsibility of defining the ABCD matrices and the state-space model numerical integration.

_Originally posted by @georgii-tishenin in https://github.com/sogno-platform/dpsim/pull/175#discussion_r1591065166_