CGMES_3_0_0
Loading...
Searching...
No Matches
TransformerEnd.hpp
1#ifndef TransformerEnd_H
2#define TransformerEnd_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 "IdentifiedObject.hpp"
13#include "BaseClassDefiner.hpp"
14#include "CGMESProfile.hpp"
15#include "CimClassDetails.hpp"
16
17#include "Boolean.hpp"
18#include "Integer.hpp"
19#include "Reactance.hpp"
20#include "Resistance.hpp"
21
22namespace CIMPP
23{
24 class BaseVoltage;
25 class PhaseTapChanger;
26 class RatioTapChanger;
27 class Terminal;
28
30 class TransformerEnd : public IdentifiedObject
31 {
32 public:
33 /* constructor initialising all attributes to null */
34 TransformerEnd();
35 ~TransformerEnd() override;
36
39
42
45
48
50 CIMPP::Integer endNumber;
51
54
57
60
61 static const char debugName[];
62 const char* debugString() const override;
63
64 const std::list<std::string>& getAttributeNames() const override;
65
66 const std::string& getClassNamespaceUrl() const override;
67 const std::string& getAttributeNamespaceUrl(const std::string& attrName) const override;
68
69 const std::list<CGMESProfile>& getPossibleProfiles() const override;
70 const CGMESProfile& getRecommendedProfile() const override;
71 const std::list<CGMESProfile>& getPossibleAttributeProfiles(const std::string& attrName) const override;
72 const std::list<CGMESProfile>& getPossibleProfilesIncludingAttributes() const override;
73
74 static void addConstructToMap(std::unordered_map<std::string, BaseClass* (*)()>& factory_map);
75 static void addPrimitiveAssignFnsToMap(std::unordered_map<std::string, assign_function>& assign_map);
76 static void addClassAssignFnsToMap(std::unordered_map<std::string, class_assign_function>& assign_map);
77 void addPrimitiveGetFnsToMap(std::map<std::string, get_function>& get_map) const override;
78 void addClassGetFnsToMap(std::map<std::string, class_get_function>& get_map) const override;
79 void addEnumGetFnsToMap(std::map<std::string, get_function>& get_map) const override;
80
81 bool isAssignableFrom(BaseClass* otherObject) const override;
82 static const BaseClassDefiner declare();
83
84 protected:
85 std::map<std::string, AttrDetails> allAttrDetailsMap() const override;
86 };
87
88 BaseClass* TransformerEnd_factory();
89}
90#endif
Definition BaseClass.hpp:22
Definition BaseClassDefiner.hpp:12
Defines a system base voltage which is referenced.
Definition BaseVoltage.hpp:28
Definition Boolean.hpp:13
Definition Integer.hpp:13
A transformer phase shifting tap model that controls the phase angle difference across the power tran...
Definition PhaseTapChanger.hpp:24
A tap changer that changes the voltage ratio impacting the voltage magnitude but not the phase angle ...
Definition RatioTapChanger.hpp:26
Reactance (imaginary part of impedance), at rated frequency.
Definition Reactance.hpp:14
Resistance (real part of impedance).
Definition Resistance.hpp:14
An AC electrical connection point to a piece of conducting equipment. Terminals are connected at phys...
Definition Terminal.hpp:35
CIMPP::RatioTapChanger * RatioTapChanger
Ratio tap changer associated with this transformer end. Default: nullptr.
Definition TransformerEnd.hpp:44
CIMPP::Resistance rground
(for Yn and Zn connections) Resistance part of neutral impedance where grounded is true....
Definition TransformerEnd.hpp:56
CIMPP::Reactance xground
(for Yn and Zn connections) Reactive part of neutral impedance where grounded is true....
Definition TransformerEnd.hpp:59
CIMPP::BaseVoltage * BaseVoltage
Base voltage of the transformer end. This is essential for PU calculation. Default: nullptr.
Definition TransformerEnd.hpp:38
CIMPP::PhaseTapChanger * PhaseTapChanger
Phase tap changer associated with this transformer end. Default: nullptr.
Definition TransformerEnd.hpp:41
CIMPP::Terminal * Terminal
Terminal of the power transformer to which this transformer end belongs. Default: nullptr.
Definition TransformerEnd.hpp:47
CIMPP::Boolean grounded
Number for this transformer end, corresponding to the end`s order in the power transformer vector gro...
Definition TransformerEnd.hpp:53