DPsim
Loading...
Searching...
No Matches
DPsim::StateSpaceModalAnalysis Class Reference

#include <StateSpaceModalAnalysis.h>

Public Member Functions

 StateSpaceModalAnalysis (const MNAStateSpaceExtractor &extractor)
 
void update ()
 Update modal quantities from the current extracted state matrix.
 
const CPS::VectorComp & getDiscreteEigenvalues () const
 Eigenvalues of the extracted discrete-time state matrix Ad.
 
const CPS::VectorComp & getContinuousEigenvalues () const
 Continuous-time EMT eigenvalues reconstructed from discrete eigenvalues.
 

Detailed Description

Performs modal analysis of an extracted discrete-time state-space model.

The analysis uses the state matrix provided by MNAStateSpaceExtractor and maps discrete-time eigenvalues to continuous-time EMT eigenvalues with the trapezoidal-rule relation:

lambda = 2 / dt * (z - 1) / (z + 1)

Definition at line 18 of file StateSpaceModalAnalysis.h.

Constructor & Destructor Documentation

◆ StateSpaceModalAnalysis()

DPsim::StateSpaceModalAnalysis::StateSpaceModalAnalysis ( const MNAStateSpaceExtractor & extractor)
explicit

Definition at line 10 of file StateSpaceModalAnalysis.cpp.

Member Function Documentation

◆ getContinuousEigenvalues()

const CPS::VectorComp & DPsim::StateSpaceModalAnalysis::getContinuousEigenvalues ( ) const
inline

Continuous-time EMT eigenvalues reconstructed from discrete eigenvalues.

Definition at line 31 of file StateSpaceModalAnalysis.h.

◆ getDiscreteEigenvalues()

const CPS::VectorComp & DPsim::StateSpaceModalAnalysis::getDiscreteEigenvalues ( ) const
inline

Eigenvalues of the extracted discrete-time state matrix Ad.

Definition at line 26 of file StateSpaceModalAnalysis.h.

◆ update()

void DPsim::StateSpaceModalAnalysis::update ( )

Update modal quantities from the current extracted state matrix.

Definition at line 14 of file StateSpaceModalAnalysis.cpp.


The documentation for this class was generated from the following files: