11 #include <dpsim-models/IdentifiedObject.h>
12 #include <dpsim-models/PtrFactory.h>
13 #include <dpsim-models/TopologicalNode.h>
19 typedef std::shared_ptr<TopologicalTerminal> Ptr;
20 typedef std::vector<Ptr> List;
27 PhaseType phase = PhaseType::Single);
33 MatrixComp
power()
const;
37 void setPower(Complex
power);
39 void setPower(MatrixComp
power);
41 void setPhaseType(PhaseType
type);
43 Real singleActivePower();
45 Real singleReactivePower();
47 Complex initialSingleVoltage();
49 MatrixComp initialVoltage();
51 UInt matrixNodeIndex();
53 std::vector<UInt> matrixNodeIndices();
String uid()
Returns unique id.
String type()
Get component type (cross-platform)
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.
PhaseType mPhaseType
Determines the connection between Component and Node.
MatrixComp mPower
Power through the Terminal.
Complex singlePower()
Returns single complex number for power.