DPsim
Public Types | Public Member Functions | Protected Attributes | List of all members
CPS::SimTerminal< VarType > Class Template Reference
Inheritance diagram for CPS::SimTerminal< VarType >:
[legend]
Collaboration diagram for CPS::SimTerminal< VarType >:
[legend]

Public Types

typedef std::shared_ptr< SimTerminal< VarType > > Ptr
 
typedef std::vector< Ptr > List
 
- Public Types inherited from CPS::TopologicalTerminal
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

 SimTerminal (String name)
 
 SimTerminal (String uid, String name)
 
SimNode< VarType >::Ptr node ()
 
void setNode (typename SimNode< VarType >::Ptr node)
 
TopologicalNode::Ptr topologicalNodes ()
 Returns reference to TopologicalNode.
 
VarType singleVoltage ()
 
MatrixVar< VarType > voltage ()
 
- Public Member Functions inherited from CPS::TopologicalTerminal
 TopologicalTerminal (String uid, String name, PhaseType phase=PhaseType::Single)
 
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)
 

Protected Attributes

MatrixVar< VarType > mCurrent
 
std::weak_ptr< SimNode< VarType > > mNode
 
- Protected Attributes inherited from CPS::IdentifiedObject
AttributeList::Ptr mAttributes = AttributeList::make()
 Attribute List.
 

Additional Inherited Members

- Static Public Member Functions inherited from SharedFactory< SimTerminal< VarType > >
static std::shared_ptr< SimTerminal< VarType > > make (Args &&...args)
 
- Public Attributes inherited from CPS::TopologicalTerminal
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.
 

Detailed Description

template<typename VarType>
class CPS::SimTerminal< VarType >

Definition at line 17 of file SimTerminal.h.


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