11 #include <dpsim-models/CompositePowerComp.h>
12 #include <dpsim-models/DP/DP_Ph1_CurrentSource.h>
13 #include <dpsim-models/PowerProfile.h>
14 #include <dpsim-models/Solver/MNAInterface.h>
26 void updateSetPoint();
27 void updateIntfValues();
36 Logger::Level logLevel = Logger::Level::off);
38 PQLoadCS(String name, Logger::Level logLevel = Logger::Level::off);
40 PQLoadCS(String name, Real activePower, Real reactivePower, Real volt,
41 Logger::Level logLevel = Logger::Level::off);
43 PQLoadCS(String
uid, String name, Real activePower, Real reactivePower,
44 Real nomVolt, Logger::Level logLevel = Logger::Level::off);
46 void setParameters(Real activePower, Real reactivePower, Real nomVolt);
56 void mnaParentPostStep(Real time, Int timeStepCount,
59 void mnaParentAddPreStepDependencies(
60 AttributeBase::List &prevStepDependencies,
61 AttributeBase::List &attributeDependencies,
62 AttributeBase::List &modifiedAttributes)
override;
64 mnaParentAddPostStepDependencies(AttributeBase::List &prevStepDependencies,
65 AttributeBase::List &attributeDependencies,
66 AttributeBase::List &modifiedAttributes,
Base class for composite power components.
PQ-load represented by a current source.
PQLoadCS(String uid, String name, Logger::Level logLevel=Logger::Level::off)
Defines UID, name and logging level.
void mnaParentPreStep(Real time, Int timeStepCount) override
MNA pre and post step operations.
SimPowerComp< Complex >::Ptr clone(String name) override
DEPRECATED: Delete method.
void initializeFromNodesAndTerminals(Real frequency) override
Initializes component from power flow data.
std::shared_ptr< DP::Ph1::CurrentSource > mSubCurrentSource
Internal current source.
String uid()
Returns unique id.
Base class for all components that are transmitting power.