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

Public Types

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

Public Member Functions

 TopologicalTerminal (String uid, String name, PhaseType phase=PhaseType::Single)
 
virtual TopologicalNode::Ptr topologicalNodes ()=0
 Returns reference to TopologicalNode.
 
MatrixComp power () const
 Returns Power as complex matrix, where the size depends on the number of phases.
 
Complex singlePower ()
 Returns single complex number for power.
 
void setPower (Complex power)
 
void setPower (MatrixComp power)
 
void setPhaseType (PhaseType type)
 
Real singleActivePower ()
 
Real singleReactivePower ()
 
Complex initialSingleVoltage ()
 
MatrixComp initialVoltage ()
 
UInt matrixNodeIndex ()
 
std::vector< UInt > matrixNodeIndices ()
 
- 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

PhaseType mPhaseType
 Determines the connection between Component and Node.
 
MatrixComp mPower
 Power through the Terminal.
 
- Public Attributes inherited from CPS::IdentifiedObject
const Attribute< String >::Ptr mName
 Human readable name.
 
const Attribute< String >::Ptr mUID
 Unique identifier.
 

Additional Inherited Members

- Protected Attributes inherited from CPS::IdentifiedObject
AttributeList::Ptr mAttributes = AttributeList::make()
 Attribute List.
 

Detailed Description

Definition at line 17 of file TopologicalTerminal.h.


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