DPsim
Loading...
Searching...
No Matches
DPsim::MNAStateSpaceContributor Class Referenceabstract

#include <MNAStateSpaceContributor.h>

Public Types

using Ptr = std::shared_ptr<MNAStateSpaceContributor>
 
using List = std::vector<Ptr>
 

Public Member Functions

virtual UInt getStateCount () const =0
 Number of local extraction states contributed by this component.
 
virtual Bool isVariable () const
 Returns true if the local matrices may change during simulation.
 
virtual void stamp (Matrix &AdLocal, Matrix &BdMna, Matrix &CdMna, UInt stateOffset, UInt mnaVectorSize) const =0
 Stamp this component's current local state-space contribution.
 

Detailed Description

Live adapter that contributes one component's local state-space blocks to the MNA-coupled state-space extraction.

The extracted system is assembled as:

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. CdMna maps extraction states to MNA current injections.

Definition at line 24 of file MNAStateSpaceContributor.h.

Member Typedef Documentation

◆ List

using DPsim::MNAStateSpaceContributor::List = std::vector<Ptr>

Definition at line 27 of file MNAStateSpaceContributor.h.

◆ Ptr

using DPsim::MNAStateSpaceContributor::Ptr = std::shared_ptr<MNAStateSpaceContributor>

Definition at line 26 of file MNAStateSpaceContributor.h.

Member Function Documentation

◆ isVariable()

virtual Bool DPsim::MNAStateSpaceContributor::isVariable ( ) const
inlinevirtual

Returns true if the local matrices may change during simulation.

Definition at line 35 of file MNAStateSpaceContributor.h.


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