DPsim
|
Public Types | |
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 | |
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 () |
![]() | |
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 () |
Public Attributes | |
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. | |
Additional Inherited Members | |
![]() | |
AttributeList::Ptr | mAttributes = AttributeList::make() |
Attribute List. | |
Definition at line 17 of file TopologicalTerminal.h.
typedef std::vector<Ptr> CPS::TopologicalTerminal::List |
Definition at line 20 of file TopologicalTerminal.h.
typedef std::shared_ptr<TopologicalTerminal> CPS::TopologicalTerminal::Ptr |
Definition at line 19 of file TopologicalTerminal.h.
TopologicalTerminal::TopologicalTerminal | ( | String | uid, |
String | name, | ||
PhaseType | phase = PhaseType::Single ) |
Definition at line 13 of file TopologicalTerminal.cpp.
|
inlinevirtual |
Definition at line 29 of file TopologicalTerminal.h.
Complex TopologicalTerminal::initialSingleVoltage | ( | ) |
Definition at line 37 of file TopologicalTerminal.cpp.
MatrixComp TopologicalTerminal::initialVoltage | ( | ) |
Definition at line 58 of file TopologicalTerminal.cpp.
UInt TopologicalTerminal::matrixNodeIndex | ( | ) |
Definition at line 41 of file TopologicalTerminal.cpp.
std::vector< UInt > TopologicalTerminal::matrixNodeIndices | ( | ) |
Definition at line 45 of file TopologicalTerminal.cpp.
MatrixComp TopologicalTerminal::power | ( | ) | const |
Returns Power as complex matrix, where the size depends on the number of phases.
Definition at line 19 of file TopologicalTerminal.cpp.
void TopologicalTerminal::setPhaseType | ( | PhaseType | type | ) |
Definition at line 25 of file TopologicalTerminal.cpp.
void TopologicalTerminal::setPower | ( | Complex | power | ) |
Definition at line 21 of file TopologicalTerminal.cpp.
void TopologicalTerminal::setPower | ( | MatrixComp | power | ) |
Definition at line 23 of file TopologicalTerminal.cpp.
Real TopologicalTerminal::singleActivePower | ( | ) |
Definition at line 33 of file TopologicalTerminal.cpp.
Complex TopologicalTerminal::singlePower | ( | ) |
Returns single complex number for power.
Definition at line 49 of file TopologicalTerminal.cpp.
Real TopologicalTerminal::singleReactivePower | ( | ) |
Definition at line 35 of file TopologicalTerminal.cpp.
|
pure virtual |
Returns reference to TopologicalNode.
Implemented in CPS::SimTerminal< VarType >, CPS::SimTerminal< Complex >, and CPS::SimTerminal< Real >.
PhaseType CPS::TopologicalTerminal::mPhaseType |
Determines the connection between Component and Node.
Definition at line 22 of file TopologicalTerminal.h.
MatrixComp CPS::TopologicalTerminal::mPower |
Power through the Terminal.
Definition at line 24 of file TopologicalTerminal.h.