DPsim
|
Public Types | |
typedef std::shared_ptr< SimTerminal< VarType > > | Ptr |
typedef std::vector< Ptr > | List |
![]() | |
typedef std::shared_ptr< TopologicalTerminal > | Ptr |
typedef std::vector< Ptr > | List |
![]() | |
typedef std::shared_ptr< IdentifiedObject > | Ptr |
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 () |
![]() | |
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 () |
![]() | |
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 () |
Protected Attributes | |
MatrixVar< VarType > | mCurrent |
std::weak_ptr< SimNode< VarType > > | mNode |
![]() | |
AttributeList::Ptr | mAttributes = AttributeList::make() |
Attribute List. | |
Additional Inherited Members | |
![]() | |
static std::shared_ptr< SimTerminal< VarType > > | make (Args &&...args) |
![]() | |
PhaseType | mPhaseType |
Determines the connection between Component and Node. | |
MatrixComp | mPower |
Power through the Terminal. | |
![]() | |
const Attribute< String >::Ptr | mName |
Human readable name. | |
const Attribute< String >::Ptr | mUID |
Unique identifier. | |
Definition at line 17 of file SimTerminal.h.
typedef std::vector<Ptr> CPS::SimTerminal< VarType >::List |
Definition at line 25 of file SimTerminal.h.
typedef std::shared_ptr<SimTerminal<VarType> > CPS::SimTerminal< VarType >::Ptr |
Definition at line 24 of file SimTerminal.h.
|
inline |
Definition at line 27 of file SimTerminal.h.
|
inline |
Definition at line 29 of file SimTerminal.h.
|
inline |
Definition at line 31 of file SimTerminal.h.
|
inline |
Definition at line 33 of file SimTerminal.h.
|
inline |
Definition at line 40 of file SimTerminal.h.
|
inlinevirtual |
Returns reference to TopologicalNode.
Implements CPS::TopologicalTerminal.
Definition at line 38 of file SimTerminal.h.
|
inline |
Definition at line 47 of file SimTerminal.h.
|
protected |
Definition at line 20 of file SimTerminal.h.
|
protected |
Definition at line 21 of file SimTerminal.h.