CGMES_3_0_0
Loading...
Searching...
No Matches
SeriesCompensator.hpp
1#ifndef SeriesCompensator_H
2#define SeriesCompensator_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 "ConductingEquipment.hpp"
13#include "BaseClassDefiner.hpp"
14#include "CGMESProfile.hpp"
15#include "CimClassDetails.hpp"
16
17#include "Boolean.hpp"
18#include "CurrentFlow.hpp"
19#include "Reactance.hpp"
20#include "Resistance.hpp"
21#include "Voltage.hpp"
22
23namespace CIMPP
24{
25
27 class SeriesCompensator : public ConductingEquipment
28 {
29 public:
30 /* constructor initialising all attributes to null */
31 SeriesCompensator();
32 ~SeriesCompensator() override;
33
36
39
42
45
48
51
54
55 static const char debugName[];
56 const char* debugString() const override;
57
58 const std::list<std::string>& getAttributeNames() const override;
59
60 const std::string& getClassNamespaceUrl() const override;
61 const std::string& getAttributeNamespaceUrl(const std::string& attrName) const override;
62
63 const std::list<CGMESProfile>& getPossibleProfiles() const override;
64 const CGMESProfile& getRecommendedProfile() const override;
65 const std::list<CGMESProfile>& getPossibleAttributeProfiles(const std::string& attrName) const override;
66 const std::list<CGMESProfile>& getPossibleProfilesIncludingAttributes() const override;
67
68 static void addConstructToMap(std::unordered_map<std::string, BaseClass* (*)()>& factory_map);
69 static void addPrimitiveAssignFnsToMap(std::unordered_map<std::string, assign_function>& assign_map);
70 static void addClassAssignFnsToMap(std::unordered_map<std::string, class_assign_function>& assign_map);
71 void addPrimitiveGetFnsToMap(std::map<std::string, get_function>& get_map) const override;
72 void addClassGetFnsToMap(std::map<std::string, class_get_function>& get_map) const override;
73 void addEnumGetFnsToMap(std::map<std::string, get_function>& get_map) const override;
74
75 bool isAssignableFrom(BaseClass* otherObject) const override;
76 static const BaseClassDefiner declare();
77
78 protected:
79 std::map<std::string, AttrDetails> allAttrDetailsMap() const override;
80 };
81
82 BaseClass* SeriesCompensator_factory();
83}
84#endif
Definition BaseClass.hpp:22
Definition BaseClassDefiner.hpp:12
Definition Boolean.hpp:13
Electrical current with sign convention: positive flow is out of the conducting equipment into the co...
Definition CurrentFlow.hpp:14
Reactance (imaginary part of impedance), at rated frequency.
Definition Reactance.hpp:14
Resistance (real part of impedance).
Definition Resistance.hpp:14
CIMPP::Voltage varistorVoltageThreshold
The dc voltage at which the varistor starts conducting. It is used for short circuit calculations and...
Definition SeriesCompensator.hpp:47
CIMPP::Resistance r
Positive sequence resistance. Default: 0.0.
Definition SeriesCompensator.hpp:35
CIMPP::Reactance x0
Zero sequence reactance. Default: 0.0.
Definition SeriesCompensator.hpp:53
CIMPP::Boolean varistorPresent
Describe if a metal oxide varistor (mov) for over voltage protection is configured in parallel with t...
Definition SeriesCompensator.hpp:41
CIMPP::Resistance r0
Zero sequence resistance. Default: 0.0.
Definition SeriesCompensator.hpp:38
CIMPP::CurrentFlow varistorRatedCurrent
The maximum current the varistor is designed to handle at specified duration. It is used for short ci...
Definition SeriesCompensator.hpp:44
CIMPP::Reactance x
Positive sequence reactance. Default: 0.0.
Definition SeriesCompensator.hpp:50
Electrical voltage, can be both AC and DC.
Definition Voltage.hpp:14