DPsim
Public Types | Public Member Functions | Public Attributes | Protected Attributes | List of all members
CPS::TopologicalNode Class Referenceabstract
Inheritance diagram for CPS::TopologicalNode:
[legend]
Collaboration diagram for CPS::TopologicalNode:
[legend]

Public Types

typedef std::shared_ptr< TopologicalNodePtr
 
typedef std::vector< Ptr > List
 
- Public Types inherited from CPS::IdentifiedObject
typedef std::shared_ptr< IdentifiedObjectPtr
 
typedef std::vector< Ptr > List
 

Public Member Functions

 TopologicalNode (String uid, String name, PhaseType phaseType, const std::vector< Complex > &initialVoltage)
 This very general constructor is used by other constructors.
 
Bool isGround () const
 
MatrixComp initialVoltage () const
 
void setInitialVoltage (MatrixComp voltage) const
 
void setInitialVoltage (Complex voltage) const
 
void setInitialVoltage (Complex voltage, Int phaseIndex) const
 
Complex initialSingleVoltage (PhaseType phaseType=PhaseType::Single)
 
PhaseType phaseType () const
 
virtual UInt matrixNodeIndex (PhaseType phaseType=PhaseType::Single)=0
 
virtual std::vector< UInt > matrixNodeIndices ()=0
 
virtual void setMatrixNodeIndex (UInt phase, UInt matrixNodeIndex)=0
 
- Public Member Functions inherited from CPS::IdentifiedObject
 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)
 

Public Attributes

const Attribute< MatrixComp >::Ptr mInitialVoltage
 
- Public Attributes inherited from CPS::IdentifiedObject
const Attribute< String >::Ptr mName
 Human readable name.
 
const Attribute< String >::Ptr mUID
 Unique identifier.
 

Protected Attributes

PhaseType mPhaseType = PhaseType::Single
 
Bool mIsGround = false
 
- Protected Attributes inherited from CPS::IdentifiedObject
AttributeList::Ptr mAttributes = AttributeList::make()
 Attribute List.
 

Detailed Description

Definition at line 17 of file TopologicalNode.h.


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