|
DPsim
|
#include <MNAStateSpaceExtractor.h>
Public Types | |
| using | Ptr = std::shared_ptr<MNAStateSpaceExtractor> |
Public Member Functions | |
| void | initialize (const CPS::MNAInterface::List &components, UInt mnaVectorSize, Real timeStep) |
| void | extract (DirectLinearSolver &linearSolver, Bool variableModelChanged, Bool systemMatrixChanged) |
| Bool | isInitialized () const |
| UInt | getStateCount () const |
| Real | getTimeStep () const |
| const Matrix & | getDiscreteStateMatrix () const |
Extracts the discrete-time state matrix implied by a real-valued EMT MNA model.
The extractor assembles the MNA-coupled state-space model
x[k+1] = AdLocal x[k] + BdMna xMNA[k+1] Y xMNA[k+1] = CdMna x[k]
where x is the extraction-state vector and xMNA is the full MNA unknown vector. Eliminating xMNA gives
Ad = AdLocal + BdMna * solve(Y, CdMna)
Definition at line 28 of file MNAStateSpaceExtractor.h.
| using DPsim::MNAStateSpaceExtractor::Ptr = std::shared_ptr<MNAStateSpaceExtractor> |
Definition at line 30 of file MNAStateSpaceExtractor.h.
| void DPsim::MNAStateSpaceExtractor::extract | ( | DirectLinearSolver & | linearSolver, |
| Bool | variableModelChanged, | ||
| Bool | systemMatrixChanged ) |
Definition at line 81 of file MNAStateSpaceExtractor.cpp.
|
inline |
Definition at line 46 of file MNAStateSpaceExtractor.h.
|
inline |
Definition at line 42 of file MNAStateSpaceExtractor.h.
|
inline |
Definition at line 44 of file MNAStateSpaceExtractor.h.
| void DPsim::MNAStateSpaceExtractor::initialize | ( | const CPS::MNAInterface::List & | components, |
| UInt | mnaVectorSize, | ||
| Real | timeStep ) |
Definition at line 11 of file MNAStateSpaceExtractor.cpp.
|
inline |
Definition at line 40 of file MNAStateSpaceExtractor.h.