DPsim
|
Base class for all MNA components that are transmitting power. More...
#include <MNASimPowerComp.h>
Classes | |
class | MnaPostStep |
class | MnaPreStep |
Public Types | |
using | Type = VarType |
using | Ptr = std::shared_ptr<MNASimPowerComp<VarType>> |
using | List = std::vector<Ptr> |
![]() | |
typedef VarType | Type |
typedef std::shared_ptr< SimPowerComp< VarType > > | Ptr |
typedef std::vector< Ptr > | List |
![]() | |
enum | Behaviour { Initialization , MNASimulation , PFSimulation } |
typedef std::shared_ptr< TopologicalPowerComp > | Ptr |
typedef std::vector< Ptr > | List |
![]() | |
typedef std::shared_ptr< IdentifiedObject > | Ptr |
typedef std::vector< Ptr > | List |
![]() | |
typedef std::shared_ptr< MNAInterface > | Ptr |
typedef std::vector< Ptr > | List |
Public Member Functions | |
MNASimPowerComp (String uid, String name, Bool hasPreStep, Bool hasPostStep, Logger::Level logLevel) | |
Basic constructor that takes UID, name and log level. | |
MNASimPowerComp (String name, Bool hasPreStep=true, Bool hasPostStep=true, Logger::Level logLevel=Logger::Level::off) | |
Basic constructor that takes name and log level and sets the UID to name as well. | |
virtual | ~MNASimPowerComp ()=default |
Destructor - does not do anything. | |
void | mnaInitialize (Real omega, Real timeStep) final |
Initializes variables of components. | |
void | mnaInitialize (Real omega, Real timeStep, Attribute< Matrix >::Ptr leftVector) final |
void | mnaApplySystemMatrixStamp (SparseMatrixRow &systemMatrix) final |
Stamps system matrix. | |
void | mnaApplyRightSideVectorStamp (Matrix &rightVector) final |
Stamps right side (source) vector. | |
void | mnaUpdateVoltage (const Matrix &leftVector) final |
Update interface voltage from MNA system result. | |
void | mnaUpdateCurrent (const Matrix &leftVector) final |
Update interface current from MNA system result. | |
void | mnaPreStep (Real time, Int timeStepCount) final |
MNA pre step operations. | |
void | mnaPostStep (Real time, Int timeStepCount, Attribute< Matrix >::Ptr &leftVector) final |
void | mnaAddPreStepDependencies (AttributeBase::List &prevStepDependencies, AttributeBase::List &attributeDependencies, AttributeBase::List &modifiedAttributes) final |
Add MNA pre step dependencies. | |
void | mnaAddPostStepDependencies (AttributeBase::List &prevStepDependencies, AttributeBase::List &attributeDependencies, AttributeBase::List &modifiedAttributes, Attribute< Matrix >::Ptr &leftVector) final |
void | mnaInitializeHarm (Real omega, Real timeStep, std::vector< Attribute< Matrix >::Ptr > leftVector) final |
void | mnaApplySystemMatrixStampHarm (SparseMatrixRow &systemMatrix, Int freqIdx) final |
Stamps system matrix considering the frequency index. | |
void | mnaApplyRightSideVectorStampHarm (Matrix &sourceVector) final |
Stamps right side (source) vector considering the frequency index. | |
void | mnaApplyRightSideVectorStampHarm (Matrix &sourceVector, Int freqIdx) final |
virtual void | mnaCompInitialize (Real omega, Real timeStep, Attribute< Matrix >::Ptr leftVector) |
virtual void | mnaCompApplySystemMatrixStamp (SparseMatrixRow &systemMatrix) |
virtual void | mnaCompApplyRightSideVectorStamp (Matrix &rightVector) |
virtual void | mnaCompUpdateVoltage (const Matrix &leftVector) |
virtual void | mnaCompUpdateCurrent (const Matrix &leftVector) |
virtual void | mnaCompPreStep (Real time, Int timeStepCount) |
virtual void | mnaCompPostStep (Real time, Int timeStepCount, Attribute< Matrix >::Ptr &leftVector) |
virtual void | mnaCompAddPreStepDependencies (AttributeBase::List &prevStepDependencies, AttributeBase::List &attributeDependencies, AttributeBase::List &modifiedAttributes) |
virtual void | mnaCompAddPostStepDependencies (AttributeBase::List &prevStepDependencies, AttributeBase::List &attributeDependencies, AttributeBase::List &modifiedAttributes, Attribute< Matrix >::Ptr &leftVector) |
virtual void | mnaCompInitializeHarm (Real omega, Real timeStep, std::vector< Attribute< Matrix >::Ptr > leftVector) |
virtual void | mnaCompApplySystemMatrixStampHarm (SparseMatrixRow &systemMatrix, Int freqIdx) |
virtual void | mnaCompApplyRightSideVectorStampHarm (Matrix &sourceVector) |
virtual void | mnaCompApplyRightSideVectorStampHarm (Matrix &sourceVector, Int freqIdx) |
const Task::List & | mnaTasks () const final |
Return list of MNA tasks. | |
Attribute< Matrix >::Ptr | getRightVector () const final |
![]() | |
SimPowerComp (String uid, String name, Logger::Level logLevel=Logger::Level::off) | |
Basic constructor that takes UID, name and log level. | |
SimPowerComp (String name, Logger::Level logLevel=Logger::Level::off) | |
Basic constructor that takes name and log level and sets the UID to name as well. | |
virtual | ~SimPowerComp () |
Destructor - does not do anything. | |
virtual SimPowerComp< VarType >::Ptr | clone (String name) |
Returns a modified copy of the component with the given suffix added to the name and without. | |
UInt | terminalNumber () |
Returns nominal number of Terminals for this component type. | |
UInt | terminalNumberConnected () |
Returns the number of connected Terminals. | |
Bool | hasUnconnectedTerminals () |
void | checkForUnconnectedTerminals () |
SimTerminal< VarType >::List | terminals () |
Return list of Terminal pointers. | |
SimTerminal< VarType >::Ptr | terminal (UInt index) |
Get pointer to Terminal. | |
TopologicalTerminal::List | topologicalTerminals () |
Returns the list of terminals as TopologicalTerminal pointers. | |
void | setTerminalNumber (UInt num) |
void | setTerminals (typename SimTerminal< VarType >::List terminals) |
void | setTerminalAt (typename SimTerminal< VarType >::Ptr terminal, UInt terminalPosition) |
Sets Terminal at index terminalPosition. | |
void | updateMatrixNodeIndices () |
Update the "cached" mMatrixNodeIndices and mMatrixNodeIndexIsGround members. | |
UInt | nodeNumber () |
Returns the actual number of Nodes / Terminals that are already set to valid Nodes. | |
SimNode< VarType >::Ptr | node (UInt index) |
Get pointer to node. | |
UInt | matrixNodeIndex (UInt nodeIndex) |
UInt | matrixNodeIndex (UInt nodeIndex, UInt phaseIndex) |
std::vector< UInt > | matrixNodeIndices (UInt index) |
TODO replace with access to mMatrixNodeIndices. | |
TopologicalNode::List | topologicalNodes () |
Get nodes as base type TopologicalNode. | |
UInt | virtualNodesNumber () |
Returns nominal number of virtual nodes for this component type. | |
Bool | hasVirtualNodes () |
Returns true if virtual node number is greater than zero. | |
Bool | hasSubComponents () |
Returns true if subcomponents included in this component. | |
SimPowerComp< VarType >::List | subComponents () |
Get list of subcomponents. | |
SimNode< VarType >::List & | virtualNodes () |
SimNode< VarType >::Ptr | virtualNode (UInt index) |
Get pointer to virtual node. | |
std::vector< UInt > | virtualMatrixNodeIndices (UInt index) |
Get vector of simulation node numbers from virtual Node. | |
UInt | virtualSimNode (UInt nodeIndex, UInt phaseIndex=0) |
Get simulation node number from virtual node. | |
const MatrixVar< VarType > & | intfCurrent () |
const MatrixVar< VarType > & | intfVoltage () |
MatrixComp | initialVoltage (UInt index) |
Complex | initialSingleVoltage (UInt index) |
Bool | terminalNotGrounded (UInt index) |
void | setIntfCurrent (MatrixVar< VarType > current) |
void | setIntfVoltage (MatrixVar< VarType > voltage) |
void | setVirtualNodeNumber (UInt num) |
void | setVirtualNodeAt (typename SimNode< VarType >::Ptr virtualNode, UInt nodeNum) |
Sets the virtual node at index nodeNum. | |
void | connect (typename SimNode< VarType >::List nodes) |
Sets all nodes and checks for nominal number of Nodes for this Component. | |
virtual void | initialize (Matrix frequencies) |
Initialize components with correct network frequencies. | |
virtual void | initializeFromNodesAndTerminals (Real frequency) |
Initializes Component variables according to power flow data stored in Nodes. | |
![]() | |
TopologicalPowerComp (String uid, String name, Logger::Level logLevel=Logger::Level::off) | |
Basic constructor that takes UID, name and log level. | |
TopologicalPowerComp (String name, Logger::Level logLevel=Logger::Level::off) | |
Basic constructor that takes name and log level and sets the UID to name as well. | |
virtual | ~TopologicalPowerComp () |
Destructor - does not do anything. | |
void | setBehaviour (Behaviour behaviour) |
Set behavior of component, e.g. initialization. | |
![]() | |
IdentifiedObject (const String &uid, const String &name) | |
IdentifiedObject (const String &name) | |
AttributeBase::Ptr | attribute (const String &name) const |
Return pointer to an attribute. | |
template<typename T> | |
Attribute< T >::Ptr | attributeTyped (const String &name) const |
Return pointer to an attribute. | |
const AttributeBase::Map & | attributes () const |
String | name () |
String | uid () |
Returns unique id. | |
String | type () |
Get component type (cross-platform) | |
virtual String | description () |
![]() | |
virtual void | mnaInitialize (Real omega, Real timeStep, Attribute< Matrix >::Ptr leftVector)=0 |
virtual void | mnaPostStep (Real time, Int timeStepCount, Attribute< Matrix >::Ptr &leftVector)=0 |
MNA post step operations. | |
virtual void | mnaAddPostStepDependencies (AttributeBase::List &prevStepDependencies, AttributeBase::List &attributeDependencies, AttributeBase::List &modifiedAttributes, Attribute< Matrix >::Ptr &leftVector)=0 |
Add MNA post step dependencies. | |
virtual void | mnaInitializeHarm (Real omega, Real timeStep, std::vector< Attribute< Matrix >::Ptr > leftVector)=0 |
Initializes variables of components. | |
Public Attributes | |
Attribute< Matrix >::Ptr | mRightVector |
Task::List | mMnaTasks |
List of tasks that relate to using MNA for this component (usually pre-step and/or post-step) | |
![]() | |
const Attribute< MatrixVar< VarType > >::Ptr | mIntfVoltage |
Voltage between terminals. | |
const Attribute< MatrixVar< VarType > >::Ptr | mIntfCurrent |
Current through component. | |
![]() | |
const Attribute< String >::Ptr | mName |
Human readable name. | |
const Attribute< String >::Ptr | mUID |
Unique identifier. | |
Additional Inherited Members | |
![]() | |
SimTerminal< VarType >::List | mTerminals |
List of Terminals. | |
SimNode< VarType >::List | mVirtualNodes |
List of virtual nodes. | |
Matrix | mFrequencies |
List of considered network frequencies. | |
UInt | mNumFreqs = 0 |
Number of network frequencies. | |
PhaseType | mPhaseType = PhaseType::Single |
std::vector< std::shared_ptr< SimPowerComp< VarType > > > | mSubComponents |
std::vector< UInt > | mMatrixNodeIndices |
"Cached" list of simulation nodes (to avoid shared_ptr accesses during simulation) | |
std::vector< bool > | mMatrixNodeIndexIsGround |
"Cached" flags for whether the connected nodes are grounded | |
![]() | |
UInt | mNumTerminals = 0 |
Determines the number of Terminals which can be connected to network Nodes. | |
UInt | mNumVirtualNodes = 0 |
Determines the number of virtual or internal Nodes. | |
Logger::Log | mSLog |
Component logger. | |
Logger::Level | mLogLevel |
Component logger control for internal variables. | |
Behaviour | mBehaviour = Behaviour::MNASimulation |
bool | mParametersSet = false |
Flag indicating that parameters are set via setParameters() function. | |
![]() | |
AttributeList::Ptr | mAttributes = AttributeList::make() |
Attribute List. | |
Base class for all MNA components that are transmitting power.
Definition at line 13 of file MNASimPowerComp.h.
using CPS::MNASimPowerComp< VarType >::List = std::vector<Ptr> |
Definition at line 22 of file MNASimPowerComp.h.
using CPS::MNASimPowerComp< VarType >::Ptr = std::shared_ptr<MNASimPowerComp<VarType>> |
Definition at line 21 of file MNASimPowerComp.h.
using CPS::MNASimPowerComp< VarType >::Type = VarType |
Definition at line 20 of file MNASimPowerComp.h.
|
inline |
Basic constructor that takes UID, name and log level.
Definition at line 32 of file MNASimPowerComp.h.
|
inlineexplicit |
Basic constructor that takes name and log level and sets the UID to name as well.
Definition at line 40 of file MNASimPowerComp.h.
|
finalvirtual |
Implements CPS::MNAInterface.
Definition at line 13 of file MNASimPowerComp.cpp.
|
final |
Definition at line 92 of file MNASimPowerComp.cpp.
|
finalvirtual |
Add MNA pre step dependencies.
Implements CPS::MNAInterface.
Definition at line 83 of file MNASimPowerComp.cpp.
|
finalvirtual |
Stamps right side (source) vector.
Implements CPS::MNAInterface.
Definition at line 56 of file MNASimPowerComp.cpp.
|
finalvirtual |
Stamps right side (source) vector considering the frequency index.
Implements CPS::MNAInterface.
Definition at line 109 of file MNASimPowerComp.cpp.
|
finalvirtual |
Implements CPS::MNAInterface.
Definition at line 115 of file MNASimPowerComp.cpp.
|
finalvirtual |
Stamps system matrix.
Implements CPS::MNAInterface.
Definition at line 49 of file MNASimPowerComp.cpp.
|
finalvirtual |
Stamps system matrix considering the frequency index.
Implements CPS::MNAInterface.
Definition at line 103 of file MNASimPowerComp.cpp.
|
virtual |
Reimplemented in CPS::Base::ReducedOrderSynchronGenerator< VarType >, CPS::Base::ReducedOrderSynchronGenerator< Complex >, CPS::Base::ReducedOrderSynchronGenerator< Real >, and CPS::SP::Ph3::RxLine.
Definition at line 168 of file MNASimPowerComp.cpp.
|
virtual |
Reimplemented in CPS::Base::ReducedOrderSynchronGenerator< VarType >, CPS::Base::ReducedOrderSynchronGenerator< Complex >, CPS::Base::ReducedOrderSynchronGenerator< Real >, CPS::CompositePowerComp< VarType >, CPS::CompositePowerComp< Complex >, CPS::CompositePowerComp< Real >, CPS::DP::Ph1::Capacitor, CPS::DP::Ph1::CurrentSource, CPS::DP::Ph1::Inductor, CPS::DP::Ph1::Inverter, CPS::DP::Ph1::ProfileVoltageSource, CPS::DP::Ph1::ResIndSeries, CPS::DP::Ph1::SVC, CPS::DP::Ph1::VoltageSource, CPS::DP::Ph3::Capacitor, CPS::DP::Ph3::Inductor, CPS::DP::Ph3::SynchronGeneratorDQTrapez, CPS::DP::Ph3::VoltageSource, CPS::EMT::Ph1::Capacitor, CPS::EMT::Ph1::CurrentSource, CPS::EMT::Ph1::Inductor, CPS::EMT::Ph1::VoltageSource, CPS::EMT::Ph1::VoltageSourceNorton, CPS::EMT::Ph3::AvVoltSourceInverterStateSpace, CPS::EMT::Ph3::Capacitor, CPS::EMT::Ph3::ControlledCurrentSource, CPS::EMT::Ph3::ControlledVoltageSource, CPS::EMT::Ph3::CurrentSource, CPS::EMT::Ph3::Inductor, CPS::EMT::Ph3::SSN::Capacitor, CPS::EMT::Ph3::SSN::Full_Serial_RLC, CPS::EMT::Ph3::SSN::Inductor, CPS::EMT::Ph3::SynchronGeneratorDQODE, CPS::EMT::Ph3::SynchronGeneratorDQTrapez, CPS::EMT::Ph3::SynchronGeneratorVBR, CPS::EMT::Ph3::VoltageSource, CPS::EMT::Ph3::VoltageSourceNorton, CPS::SP::Ph1::VoltageSource, CPS::SP::Ph3::RxLine, and CPS::SP::Ph3::VoltageSource.
Definition at line 160 of file MNASimPowerComp.cpp.
|
virtual |
Reimplemented in CPS::CompositePowerComp< VarType >, CPS::CompositePowerComp< Complex >, CPS::CompositePowerComp< Real >, CPS::DP::Ph1::Capacitor, CPS::DP::Ph1::CurrentSource, CPS::DP::Ph1::Inductor, CPS::DP::Ph1::Inverter, CPS::DP::Ph1::ProfileVoltageSource, CPS::DP::Ph1::ResIndSeries, CPS::DP::Ph1::SVC, CPS::DP::Ph1::Switch, CPS::DP::Ph1::varResSwitch, CPS::DP::Ph1::VoltageSource, CPS::DP::Ph1::VoltageSourceNorton, CPS::DP::Ph3::Capacitor, CPS::DP::Ph3::Inductor, CPS::DP::Ph3::VoltageSource, CPS::EMT::Ph1::Capacitor, CPS::EMT::Ph1::CurrentSource, CPS::EMT::Ph1::Inductor, CPS::EMT::Ph1::Resistor, CPS::EMT::Ph1::Switch, CPS::EMT::Ph1::VoltageSource, CPS::EMT::Ph1::VoltageSourceNorton, CPS::EMT::Ph3::AvVoltSourceInverterStateSpace, CPS::EMT::Ph3::Capacitor, CPS::EMT::Ph3::ControlledCurrentSource, CPS::EMT::Ph3::ControlledVoltageSource, CPS::EMT::Ph3::CurrentSource, CPS::EMT::Ph3::Inductor, CPS::EMT::Ph3::Resistor, CPS::EMT::Ph3::SSN::Capacitor, CPS::EMT::Ph3::SSN::Full_Serial_RLC, CPS::EMT::Ph3::SSN::Inductor, CPS::EMT::Ph3::Switch, CPS::EMT::Ph3::SynchronGeneratorVBR, CPS::EMT::Ph3::VoltageSource, CPS::EMT::Ph3::VoltageSourceNorton, CPS::SP::Ph1::Switch, CPS::SP::Ph1::varResSwitch, CPS::SP::Ph1::VoltageSource, CPS::SP::Ph3::RxLine, and CPS::SP::Ph3::VoltageSource.
Definition at line 133 of file MNASimPowerComp.cpp.
|
virtual |
Definition at line 189 of file MNASimPowerComp.cpp.
|
virtual |
Definition at line 195 of file MNASimPowerComp.cpp.
|
virtual |
Reimplemented in CPS::Base::ReducedOrderSynchronGenerator< VarType >, CPS::Base::ReducedOrderSynchronGenerator< Complex >, CPS::Base::ReducedOrderSynchronGenerator< Real >, CPS::CompositePowerComp< VarType >, CPS::CompositePowerComp< Complex >, CPS::CompositePowerComp< Real >, CPS::DP::Ph1::Capacitor, CPS::DP::Ph1::CurrentSource, CPS::DP::Ph1::Inductor, CPS::DP::Ph1::Inverter, CPS::DP::Ph1::ProfileVoltageSource, CPS::DP::Ph1::ReducedOrderSynchronGeneratorVBR, CPS::DP::Ph1::ResIndSeries, CPS::DP::Ph1::Resistor, CPS::DP::Ph1::SVC, CPS::DP::Ph1::Switch, CPS::DP::Ph1::SynchronGenerator4OrderPCM, CPS::DP::Ph1::SynchronGenerator4OrderTPM, CPS::DP::Ph1::SynchronGenerator6OrderPCM, CPS::DP::Ph1::SynchronGeneratorIter, CPS::DP::Ph1::Transformer, CPS::DP::Ph1::varResSwitch, CPS::DP::Ph1::VoltageSource, CPS::DP::Ph1::VoltageSourceNorton, CPS::DP::Ph3::Capacitor, CPS::DP::Ph3::Inductor, CPS::DP::Ph3::Resistor, CPS::DP::Ph3::SeriesResistor, CPS::DP::Ph3::SeriesSwitch, CPS::DP::Ph3::VoltageSource, CPS::EMT::Ph1::Capacitor, CPS::EMT::Ph1::CurrentSource, CPS::EMT::Ph1::Inductor, CPS::EMT::Ph1::Resistor, CPS::EMT::Ph1::Switch, CPS::EMT::Ph1::VoltageSource, CPS::EMT::Ph1::VoltageSourceNorton, CPS::EMT::Ph3::AvVoltSourceInverterStateSpace, CPS::EMT::Ph3::Capacitor, CPS::EMT::Ph3::ControlledVoltageSource, CPS::EMT::Ph3::Inductor, CPS::EMT::Ph3::ReducedOrderSynchronGeneratorVBR, CPS::EMT::Ph3::Resistor, CPS::EMT::Ph3::SeriesResistor, CPS::EMT::Ph3::SeriesSwitch, CPS::EMT::Ph3::SSN::Capacitor, CPS::EMT::Ph3::SSN::Full_Serial_RLC, CPS::EMT::Ph3::SSN::Inductor, CPS::EMT::Ph3::Switch, CPS::EMT::Ph3::SynchronGenerator4OrderPCM, CPS::EMT::Ph3::SynchronGeneratorVBR, CPS::EMT::Ph3::Transformer, CPS::EMT::Ph3::VoltageSource, CPS::EMT::Ph3::VoltageSourceNorton, CPS::SP::Ph1::Capacitor, CPS::SP::Ph1::Inductor, CPS::SP::Ph1::ReducedOrderSynchronGeneratorVBR, CPS::SP::Ph1::Resistor, CPS::SP::Ph1::Switch, CPS::SP::Ph1::Transformer, CPS::SP::Ph1::varResSwitch, CPS::SP::Ph1::VoltageSource, CPS::SP::Ph3::Capacitor, CPS::SP::Ph3::Inductor, CPS::SP::Ph3::Resistor, CPS::SP::Ph3::RxLine, and CPS::SP::Ph3::VoltageSource.
Definition at line 127 of file MNASimPowerComp.cpp.
|
virtual |
Reimplemented in CPS::DP::Ph1::Resistor.
Definition at line 183 of file MNASimPowerComp.cpp.
|
virtual |
Reimplemented in CPS::SP::Ph3::RxLine.
Definition at line 121 of file MNASimPowerComp.cpp.
|
virtual |
Definition at line 177 of file MNASimPowerComp.cpp.
|
virtual |
Definition at line 154 of file MNASimPowerComp.cpp.
|
virtual |
Reimplemented in CPS::CompositePowerComp< VarType >, CPS::CompositePowerComp< Complex >, CPS::CompositePowerComp< Real >, CPS::DP::Ph1::Capacitor, CPS::DP::Ph1::Inductor, CPS::DP::Ph1::ProfileVoltageSource, CPS::DP::Ph1::SVC, CPS::DP::Ph1::VoltageSource, CPS::DP::Ph3::SynchronGeneratorDQODE, CPS::EMT::Ph3::Capacitor, CPS::EMT::Ph3::ControlledCurrentSource, CPS::EMT::Ph3::ControlledVoltageSource, CPS::EMT::Ph3::CurrentSource, CPS::EMT::Ph3::Inductor, CPS::EMT::Ph3::SSN::Capacitor, CPS::EMT::Ph3::SSN::Full_Serial_RLC, CPS::EMT::Ph3::SSN::Inductor, CPS::EMT::Ph3::SynchronGeneratorVBR, CPS::EMT::Ph3::VoltageSource, and CPS::SP::Ph1::VoltageSource.
Definition at line 149 of file MNASimPowerComp.cpp.
|
virtual |
Reimplemented in CPS::DP::Ph1::AvVoltageSourceInverterDQ, CPS::DP::Ph1::Capacitor, CPS::DP::Ph1::Inductor, CPS::DP::Ph1::NetworkInjection, CPS::DP::Ph1::PiLine, CPS::DP::Ph1::ProfileVoltageSource, CPS::DP::Ph1::Resistor, CPS::DP::Ph1::RXLoad, CPS::DP::Ph1::SVC, CPS::DP::Ph1::Switch, CPS::DP::Ph1::SynchronGeneratorIdeal, CPS::DP::Ph1::Transformer, CPS::DP::Ph1::varResSwitch, CPS::DP::Ph1::VoltageSource, CPS::DP::Ph1::VoltageSourceNorton, CPS::DP::Ph3::Capacitor, CPS::DP::Ph3::Inductor, CPS::DP::Ph3::SeriesSwitch, CPS::DP::Ph3::VoltageSource, CPS::EMT::Ph1::Capacitor, CPS::EMT::Ph1::Inductor, CPS::EMT::Ph1::Resistor, CPS::EMT::Ph1::Switch, CPS::EMT::Ph1::VoltageSource, CPS::EMT::Ph1::VoltageSourceNorton, CPS::EMT::Ph3::AvVoltageSourceInverterDQ, CPS::EMT::Ph3::AvVoltSourceInverterStateSpace, CPS::EMT::Ph3::Capacitor, CPS::EMT::Ph3::ControlledVoltageSource, CPS::EMT::Ph3::Inductor, CPS::EMT::Ph3::NetworkInjection, CPS::EMT::Ph3::PiLine, CPS::EMT::Ph3::Resistor, CPS::EMT::Ph3::SeriesResistor, CPS::EMT::Ph3::SeriesSwitch, CPS::EMT::Ph3::SSN::Capacitor, CPS::EMT::Ph3::SSN::Full_Serial_RLC, CPS::EMT::Ph3::SSN::Inductor, CPS::EMT::Ph3::Switch, CPS::EMT::Ph3::SynchronGeneratorIdeal, CPS::EMT::Ph3::Transformer, CPS::EMT::Ph3::VoltageSource, CPS::EMT::Ph3::VoltageSourceNorton, CPS::SP::Ph1::AvVoltageSourceInverterDQ, CPS::SP::Ph1::Capacitor, CPS::SP::Ph1::Inductor, CPS::SP::Ph1::Load, CPS::SP::Ph1::NetworkInjection, CPS::SP::Ph1::PiLine, CPS::SP::Ph1::Resistor, CPS::SP::Ph1::Switch, CPS::SP::Ph1::Transformer, CPS::SP::Ph1::varResSwitch, CPS::SP::Ph1::VoltageSource, CPS::SP::Ph3::Capacitor, CPS::SP::Ph3::Inductor, and CPS::SP::Ph3::VoltageSource.
Definition at line 144 of file MNASimPowerComp.cpp.
|
virtual |
Reimplemented in CPS::DP::Ph1::AvVoltageSourceInverterDQ, CPS::DP::Ph1::Capacitor, CPS::DP::Ph1::Inductor, CPS::DP::Ph1::NetworkInjection, CPS::DP::Ph1::PiLine, CPS::DP::Ph1::ResIndSeries, CPS::DP::Ph1::Resistor, CPS::DP::Ph1::RXLoad, CPS::DP::Ph1::SVC, CPS::DP::Ph1::Switch, CPS::DP::Ph1::SynchronGeneratorIdeal, CPS::DP::Ph1::Transformer, CPS::DP::Ph1::varResSwitch, CPS::DP::Ph1::VoltageSourceNorton, CPS::DP::Ph3::Capacitor, CPS::DP::Ph3::Inductor, CPS::DP::Ph3::SeriesSwitch, CPS::DP::Ph3::SynchronGeneratorDQ, CPS::EMT::Ph1::Capacitor, CPS::EMT::Ph1::Inductor, CPS::EMT::Ph1::Resistor, CPS::EMT::Ph1::Switch, CPS::EMT::Ph1::VoltageSourceNorton, CPS::EMT::Ph3::AvVoltageSourceInverterDQ, CPS::EMT::Ph3::AvVoltSourceInverterStateSpace, CPS::EMT::Ph3::Capacitor, CPS::EMT::Ph3::ControlledCurrentSource, CPS::EMT::Ph3::CurrentSource, CPS::EMT::Ph3::Inductor, CPS::EMT::Ph3::NetworkInjection, CPS::EMT::Ph3::PiLine, CPS::EMT::Ph3::Resistor, CPS::EMT::Ph3::SeriesResistor, CPS::EMT::Ph3::SeriesSwitch, CPS::EMT::Ph3::SSN::Capacitor, CPS::EMT::Ph3::SSN::Full_Serial_RLC, CPS::EMT::Ph3::SSN::Inductor, CPS::EMT::Ph3::Switch, CPS::EMT::Ph3::SynchronGeneratorDQ, CPS::EMT::Ph3::SynchronGeneratorIdeal, CPS::EMT::Ph3::Transformer, CPS::EMT::Ph3::VoltageSourceNorton, CPS::SP::Ph1::AvVoltageSourceInverterDQ, CPS::SP::Ph1::Capacitor, CPS::SP::Ph1::Inductor, CPS::SP::Ph1::Load, CPS::SP::Ph1::NetworkInjection, CPS::SP::Ph1::PiLine, CPS::SP::Ph1::Resistor, CPS::SP::Ph1::Switch, CPS::SP::Ph1::Transformer, CPS::SP::Ph1::varResSwitch, CPS::SP::Ph3::Capacitor, and CPS::SP::Ph3::Inductor.
Definition at line 139 of file MNASimPowerComp.cpp.
|
finalvirtual |
Initializes variables of components.
Implements CPS::MNAInterface.
Definition at line 18 of file MNASimPowerComp.cpp.
|
final |
Definition at line 23 of file MNASimPowerComp.cpp.
|
final |
Definition at line 42 of file MNASimPowerComp.cpp.
|
final |
Definition at line 77 of file MNASimPowerComp.cpp.
|
finalvirtual |
MNA pre step operations.
Implements CPS::MNAInterface.
Definition at line 72 of file MNASimPowerComp.cpp.
|
finalvirtual |
Return list of MNA tasks.
Implements CPS::MNAInterface.
Definition at line 8 of file MNASimPowerComp.cpp.
|
finalvirtual |
Update interface current from MNA system result.
Implements CPS::MNAInterface.
Definition at line 67 of file MNASimPowerComp.cpp.
|
finalvirtual |
Update interface voltage from MNA system result.
Implements CPS::MNAInterface.
Definition at line 62 of file MNASimPowerComp.cpp.
Task::List CPS::MNASimPowerComp< VarType >::mMnaTasks |
List of tasks that relate to using MNA for this component (usually pre-step and/or post-step)
Definition at line 29 of file MNASimPowerComp.h.
Attribute<Matrix>::Ptr CPS::MNASimPowerComp< VarType >::mRightVector |
This component's contribution ("stamp") to the right-side vector. TODO performance improvements from a sparse representation, at least during copying / summation?
Definition at line 26 of file MNASimPowerComp.h.