CGMES_3_0_0
Loading...
Searching...
No Matches
PowerTransformerEnd.hpp
1#ifndef PowerTransformerEnd_H
2#define PowerTransformerEnd_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 "TransformerEnd.hpp"
13#include "BaseClassDefiner.hpp"
14#include "CGMESProfile.hpp"
15#include "CimClassDetails.hpp"
16
17#include "ApparentPower.hpp"
18#include "Conductance.hpp"
19#include "Integer.hpp"
20#include "Reactance.hpp"
21#include "Resistance.hpp"
22#include "Susceptance.hpp"
23#include "Voltage.hpp"
24#include "WindingConnection.hpp"
25
26namespace CIMPP
27{
28 class PowerTransformer;
29
31 class PowerTransformerEnd : public TransformerEnd
32 {
33 public:
34 /* constructor initialising all attributes to null */
35 PowerTransformerEnd();
36 ~PowerTransformerEnd() override;
37
40
43
46
49
52
55
58
61
64
67
70
73
76
77 static const char debugName[];
78 const char* debugString() const override;
79
80 const std::list<std::string>& getAttributeNames() const override;
81
82 const std::string& getClassNamespaceUrl() const override;
83 const std::string& getAttributeNamespaceUrl(const std::string& attrName) const override;
84
85 const std::list<CGMESProfile>& getPossibleProfiles() const override;
86 const CGMESProfile& getRecommendedProfile() const override;
87 const std::list<CGMESProfile>& getPossibleAttributeProfiles(const std::string& attrName) const override;
88 const std::list<CGMESProfile>& getPossibleProfilesIncludingAttributes() const override;
89
90 static void addConstructToMap(std::unordered_map<std::string, BaseClass* (*)()>& factory_map);
91 static void addPrimitiveAssignFnsToMap(std::unordered_map<std::string, assign_function>& assign_map);
92 static void addClassAssignFnsToMap(std::unordered_map<std::string, class_assign_function>& assign_map);
93 void addPrimitiveGetFnsToMap(std::map<std::string, get_function>& get_map) const override;
94 void addClassGetFnsToMap(std::map<std::string, class_get_function>& get_map) const override;
95 void addEnumGetFnsToMap(std::map<std::string, get_function>& get_map) const override;
96
97 bool isAssignableFrom(BaseClass* otherObject) const override;
98 static const BaseClassDefiner declare();
99
100 protected:
101 std::map<std::string, AttrDetails> allAttrDetailsMap() const override;
102 };
103
104 BaseClass* PowerTransformerEnd_factory();
105}
106#endif
Definition BaseClass.hpp:22
Product of the RMS value of the voltage and the RMS value of the current.
Definition ApparentPower.hpp:14
Definition BaseClassDefiner.hpp:12
Factor by which voltage must be multiplied to give corresponding power lost from a circuit....
Definition Conductance.hpp:14
Definition Integer.hpp:13
CIMPP::Conductance g0
Zero sequence magnetizing branch conductance (star-model). Default: 0.0.
Definition PowerTransformerEnd.hpp:54
CIMPP::WindingConnection connectionKind
Kind of connection. Default: 0.
Definition PowerTransformerEnd.hpp:48
CIMPP::Resistance r0
Zero sequence series resistance (star-model) of the transformer end. Default: 0.0.
Definition PowerTransformerEnd.hpp:63
CIMPP::Susceptance b0
Zero sequence magnetizing branch susceptance. Default: 0.0.
Definition PowerTransformerEnd.hpp:45
CIMPP::ApparentPower ratedS
Normal apparent power rating. The attribute shall be a positive value. For a two-winding transformer ...
Definition PowerTransformerEnd.hpp:66
CIMPP::Reactance x0
Zero sequence series reactance of the transformer end. Default: 0.0.
Definition PowerTransformerEnd.hpp:75
CIMPP::Voltage ratedU
Rated voltage: phase-phase for three-phase windings, and either phase-phase or phase-neutral for sing...
Definition PowerTransformerEnd.hpp:69
CIMPP::Integer phaseAngleClock
Terminal voltage phase angle displacement where 360 degrees are represented with clock hours....
Definition PowerTransformerEnd.hpp:57
CIMPP::Susceptance b
Magnetizing branch susceptance (B mag). The value can be positive or negative. Default: 0....
Definition PowerTransformerEnd.hpp:42
CIMPP::Reactance x
Positive sequence series reactance (star-model) of the transformer end. Default: 0....
Definition PowerTransformerEnd.hpp:72
CIMPP::Resistance r
Resistance (star-model) of the transformer end. The attribute shall be equal to or greater than zero ...
Definition PowerTransformerEnd.hpp:60
CIMPP::PowerTransformer * PowerTransformer
The power transformer of this power transformer end. Default: nullptr.
Definition PowerTransformerEnd.hpp:39
CIMPP::Conductance g
Magnetizing branch conductance. Default: 0.0.
Definition PowerTransformerEnd.hpp:51
An electrical device consisting of two or more coupled windings, with or without a magnetic core,...
Definition PowerTransformer.hpp:28
Reactance (imaginary part of impedance), at rated frequency.
Definition Reactance.hpp:14
Resistance (real part of impedance).
Definition Resistance.hpp:14
Imaginary part of admittance.
Definition Susceptance.hpp:14
Electrical voltage, can be both AC and DC.
Definition Voltage.hpp:14
Winding connection type.
Definition WindingConnection.hpp:14