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

#include <StateSpaceModalAnalysis.h>

Public Member Functions

 StateSpaceModalAnalysis (const MNAStateSpaceExtractor &extractor)
 
void setAnalysisFrame (StateSpaceAnalysisFrame frame)
 
void setGlobalDq0Frame (Real omega, Real theta0=0.0)
 
void update ()
 Update modal quantities from the current extracted state matrix.
 
const CPS::VectorComp & getDiscreteEigenvalues () const
 Eigenvalues of the extracted discrete-time state matrix in the selected analysis frame.
 
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 22 of file StateSpaceModalAnalysis.h.

Constructor & Destructor Documentation

◆ StateSpaceModalAnalysis()

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

Definition at line 34 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 52 of file StateSpaceModalAnalysis.h.

◆ getDiscreteEigenvalues()

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

Eigenvalues of the extracted discrete-time state matrix in the selected analysis frame.

Definition at line 47 of file StateSpaceModalAnalysis.h.

◆ setAnalysisFrame()

void DPsim::StateSpaceModalAnalysis::setAnalysisFrame ( StateSpaceAnalysisFrame frame)
inline

Select the coordinate frame used for modal analysis.

Native uses the extracted EMT state matrix directly. GlobalDQ0 transforms registered abc state triples to a global dq0 frame.

Definition at line 30 of file StateSpaceModalAnalysis.h.

◆ setGlobalDq0Frame()

void DPsim::StateSpaceModalAnalysis::setGlobalDq0Frame ( Real omega,
Real theta0 = 0.0 )
inline

Set the global dq0 frame.

omega is the constant synchronous angular speed. theta0 is the global frame angle at t = 0.

Definition at line 38 of file StateSpaceModalAnalysis.h.

◆ update()

void DPsim::StateSpaceModalAnalysis::update ( )

Update modal quantities from the current extracted state matrix.

Definition at line 38 of file StateSpaceModalAnalysis.cpp.


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