10 #include <dpsim-models/SimPowerComp.h>
11 #include <dpsim-models/Solver/PFSolverInterfaceBranch.h>
37 Shunt(String
uid, String name, Logger::Level logLevel = Logger::Level::off);
40 Shunt(String name, Logger::Level logLevel = Logger::Level::off)
41 :
Shunt(name, name, logLevel) {}
String uid()
Returns unique id.
Common base class of all Component templates.
const Attribute< Real >::Ptr mConductance
Conductance [S].
const Attribute< Real >::Ptr mSusceptance
Susceptance [S].
void setBaseVoltage(Real baseVoltage)
Set base voltage.
void pfApplyAdmittanceMatrixStamp(SparseMatrixCompRow &Y)
Stamps admittance matrix.
Shunt(String uid, String name, Logger::Level logLevel=Logger::Level::off)
Defines UID, name, component parameters and logging level.
const Attribute< Real >::Ptr mSusceptancePerUnit
Susceptance [pu].
const Attribute< Real >::Ptr mConductancePerUnit
Conductance [pu].
void calculatePerUnitParameters(Real baseApparentPower, Real baseOmega)
Initializes component from power flow data.
void setParameters(Real conductance, Real susceptance)
Set shunt specific parameters.
Shunt(String name, Logger::Level logLevel=Logger::Level::off)
Defines name and logging level.
Base class for all components that are transmitting power.