CGMES_3_0_0
Loading...
Searching...
No Matches
EnergySource.hpp
1#ifndef EnergySource_H
2#define EnergySource_H
3/*
4Generated from the CGMES files via cimgen: https://github.com/sogno-platform/cimgen
5*/
6
7#include <list>
8#include <map>
9#include <string>
10#include <unordered_map>
11
12#include "EnergyConnection.hpp"
13#include "BaseClassDefiner.hpp"
14#include "CGMESProfile.hpp"
15#include "CimClassDetails.hpp"
16
17#include "ActivePower.hpp"
18#include "AngleRadians.hpp"
19#include "Reactance.hpp"
20#include "ReactivePower.hpp"
21#include "Resistance.hpp"
22#include "Voltage.hpp"
23
24namespace CIMPP
25{
27
29 class EnergySource : public EnergyConnection
30 {
31 public:
32 /* constructor initialising all attributes to null */
33 EnergySource();
34 ~EnergySource() override;
35
38
41
44
47
50
53
56
59
62
65
68
71
74
77
78 static const char debugName[];
79 const char* debugString() const override;
80
81 const std::list<std::string>& getAttributeNames() const override;
82
83 const std::string& getClassNamespaceUrl() const override;
84 const std::string& getAttributeNamespaceUrl(const std::string& attrName) const override;
85
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;
90
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;
97
98 bool isAssignableFrom(BaseClass* otherObject) const override;
99 static const BaseClassDefiner declare();
100
101 protected:
102 std::map<std::string, AttrDetails> allAttrDetailsMap() const override;
103 };
104
105 BaseClass* EnergySource_factory();
106}
107#endif
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