CGMES_3_0_0
Loading...
Searching...
No Matches
PetersenCoil.hpp
1#ifndef PetersenCoil_H
2#define PetersenCoil_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 "EarthFaultCompensator.hpp"
13#include "BaseClassDefiner.hpp"
14#include "CGMESProfile.hpp"
15#include "CimClassDetails.hpp"
16
17#include "CurrentFlow.hpp"
18#include "PetersenCoilModeKind.hpp"
19#include "Reactance.hpp"
20#include "Voltage.hpp"
21
22namespace CIMPP
23{
24
26 class PetersenCoil : public EarthFaultCompensator
27 {
28 public:
29 /* constructor initialising all attributes to null */
30 PetersenCoil();
31 ~PetersenCoil() override;
32
35
38
41
44
47
50
53
54 static const char debugName[];
55 const char* debugString() const override;
56
57 const std::list<std::string>& getAttributeNames() const override;
58
59 const std::string& getClassNamespaceUrl() const override;
60 const std::string& getAttributeNamespaceUrl(const std::string& attrName) const override;
61
62 const std::list<CGMESProfile>& getPossibleProfiles() const override;
63 const CGMESProfile& getRecommendedProfile() const override;
64 const std::list<CGMESProfile>& getPossibleAttributeProfiles(const std::string& attrName) const override;
65 const std::list<CGMESProfile>& getPossibleProfilesIncludingAttributes() const override;
66
67 static void addConstructToMap(std::unordered_map<std::string, BaseClass* (*)()>& factory_map);
68 static void addPrimitiveAssignFnsToMap(std::unordered_map<std::string, assign_function>& assign_map);
69 static void addClassAssignFnsToMap(std::unordered_map<std::string, class_assign_function>& assign_map);
70 void addPrimitiveGetFnsToMap(std::map<std::string, get_function>& get_map) const override;
71 void addClassGetFnsToMap(std::map<std::string, class_get_function>& get_map) const override;
72 void addEnumGetFnsToMap(std::map<std::string, get_function>& get_map) const override;
73
74 bool isAssignableFrom(BaseClass* otherObject) const override;
75 static const BaseClassDefiner declare();
76
77 protected:
78 std::map<std::string, AttrDetails> allAttrDetailsMap() const override;
79 };
80
81 BaseClass* PetersenCoil_factory();
82}
83#endif
Definition BaseClass.hpp:22
Definition BaseClassDefiner.hpp:12
Electrical current with sign convention: positive flow is out of the conducting equipment into the co...
Definition CurrentFlow.hpp:14
The mode of operation for a Petersen coil.
Definition PetersenCoilModeKind.hpp:14
CIMPP::Reactance xGroundMax
The maximum reactance. Default: 0.0.
Definition PetersenCoil.hpp:46
CIMPP::CurrentFlow positionCurrent
The control current used to control the Petersen coil also known as the position current....
Definition PetersenCoil.hpp:43
CIMPP::CurrentFlow offsetCurrent
The offset current that the Petersen coil controller is operating from the resonant point....
Definition PetersenCoil.hpp:40
CIMPP::Reactance xGroundNominal
The nominal reactance. This is the operating point (normally over compensation) that is defined based...
Definition PetersenCoil.hpp:52
CIMPP::Voltage nominalU
The nominal voltage for which the coil is designed. Default: 0.0.
Definition PetersenCoil.hpp:37
CIMPP::Reactance xGroundMin
The minimum reactance. Default: 0.0.
Definition PetersenCoil.hpp:49
CIMPP::PetersenCoilModeKind mode
The mode of operation of the Petersen coil. Default: 0.
Definition PetersenCoil.hpp:34
Reactance (imaginary part of impedance), at rated frequency.
Definition Reactance.hpp:14
Electrical voltage, can be both AC and DC.
Definition Voltage.hpp:14