10#include <unordered_map>
12#include "EnergyConnection.hpp"
13#include "BaseClassDefiner.hpp"
14#include "CGMESProfile.hpp"
15#include "CimClassDetails.hpp"
17#include "ActivePower.hpp"
18#include "AngleRadians.hpp"
19#include "Reactance.hpp"
20#include "ReactivePower.hpp"
21#include "Resistance.hpp"
29 class EnergySource :
public EnergyConnection
34 ~EnergySource()
override;
78 static const char debugName[];
79 const char* debugString()
const override;
81 const std::list<std::string>& getAttributeNames()
const override;
83 const std::string& getClassNamespaceUrl()
const override;
84 const std::string& getAttributeNamespaceUrl(
const std::string& attrName)
const override;
86 const std::list<CGMESProfile>& getPossibleProfiles()
const override;
87 const CGMESProfile& getRecommendedProfile()
const override;
88 const std::list<CGMESProfile>& getPossibleAttributeProfiles(
const std::string& attrName)
const override;
89 const std::list<CGMESProfile>& getPossibleProfilesIncludingAttributes()
const override;
91 static void addConstructToMap(std::unordered_map<std::string,
BaseClass* (*)()>& factory_map);
92 static void addPrimitiveAssignFnsToMap(std::unordered_map<std::string, assign_function>& assign_map);
93 static void addClassAssignFnsToMap(std::unordered_map<std::string, class_assign_function>& assign_map);
94 void addPrimitiveGetFnsToMap(std::map<std::string, get_function>& get_map)
const override;
95 void addClassGetFnsToMap(std::map<std::string, class_get_function>& get_map)
const override;
96 void addEnumGetFnsToMap(std::map<std::string, get_function>& get_map)
const override;
98 bool isAssignableFrom(
BaseClass* otherObject)
const override;
102 std::map<std::string, AttrDetails> allAttrDetailsMap()
const override;
Definition BaseClass.hpp:22
Product of RMS value of the voltage and the RMS value of the in-phase component of the current.
Definition ActivePower.hpp:14
Phase angle in radians.
Definition AngleRadians.hpp:14
Definition BaseClassDefiner.hpp:12
Used to define the type of generation for scheduling purposes.
Definition EnergySchedulingType.hpp:24
CIMPP::Resistance rn
Negative sequence Thevenin resistance. Default: 0.0.
Definition EnergySource.hpp:61
CIMPP::EnergySchedulingType * EnergySchedulingType
Energy Scheduling Type of an Energy Source. Default: nullptr.
Definition EnergySource.hpp:37
CIMPP::ActivePower pMax
This is the maximum active power that can be produced by the source. Load sign convention is used,...
Definition EnergySource.hpp:46
CIMPP::ReactivePower reactivePower
High voltage source reactive injection. Load sign convention is used, i.e. positive sign means flow o...
Definition EnergySource.hpp:58
CIMPP::ActivePower activePower
High voltage source active injection. Load sign convention is used, i.e. positive sign means flow out...
Definition EnergySource.hpp:40
CIMPP::Reactance x
Positive sequence Thevenin reactance. Default: 0.0.
Definition EnergySource.hpp:70
CIMPP::Resistance r
Positive sequence Thevenin resistance. Default: 0.0.
Definition EnergySource.hpp:52
CIMPP::Voltage voltageMagnitude
Phase-to-phase open circuit voltage magnitude used when voltage characteristics need to be imposed at...
Definition EnergySource.hpp:67
CIMPP::Resistance r0
Zero sequence Thevenin resistance. Default: 0.0.
Definition EnergySource.hpp:55
CIMPP::Voltage nominalVoltage
Phase-to-phase nominal voltage. Default: 0.0.
Definition EnergySource.hpp:43
CIMPP::Reactance xn
Negative sequence Thevenin reactance. Default: 0.0.
Definition EnergySource.hpp:76
CIMPP::ActivePower pMin
This is the minimum active power that can be produced by the source. Load sign convention is used,...
Definition EnergySource.hpp:49
CIMPP::AngleRadians voltageAngle
Phase angle of a-phase open circuit used when voltage characteristics need to be imposed at the node ...
Definition EnergySource.hpp:64
CIMPP::Reactance x0
Zero sequence Thevenin reactance. Default: 0.0.
Definition EnergySource.hpp:73
Reactance (imaginary part of impedance), at rated frequency.
Definition Reactance.hpp:14
Product of RMS value of the voltage and the RMS value of the quadrature component of the current.
Definition ReactivePower.hpp:14
Resistance (real part of impedance).
Definition Resistance.hpp:14
Electrical voltage, can be both AC and DC.
Definition Voltage.hpp:14