CGMES_3_0_0
Loading...
Searching...
No Matches
PFVArType2Common1.hpp
1#ifndef PFVArType2Common1_H
2#define PFVArType2Common1_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 "PFVArControllerType2Dynamics.hpp"
13#include "BaseClassDefiner.hpp"
14#include "CGMESProfile.hpp"
15#include "CimClassDetails.hpp"
16
17#include "Boolean.hpp"
18#include "PU.hpp"
19
20namespace CIMPP
21{
22
24 class PFVArType2Common1 : public PFVArControllerType2Dynamics
25 {
26 public:
27 /* constructor initialising all attributes to null */
28 PFVArType2Common1();
29 ~PFVArType2Common1() override;
30
33
36
39
42
44 CIMPP::PU ref;
45
46 static const char debugName[];
47 const char* debugString() const override;
48
49 const std::list<std::string>& getAttributeNames() const override;
50
51 const std::string& getClassNamespaceUrl() const override;
52 const std::string& getAttributeNamespaceUrl(const std::string& attrName) const override;
53
54 const std::list<CGMESProfile>& getPossibleProfiles() const override;
55 const CGMESProfile& getRecommendedProfile() const override;
56 const std::list<CGMESProfile>& getPossibleAttributeProfiles(const std::string& attrName) const override;
57 const std::list<CGMESProfile>& getPossibleProfilesIncludingAttributes() const override;
58
59 static void addConstructToMap(std::unordered_map<std::string, BaseClass* (*)()>& factory_map);
60 static void addPrimitiveAssignFnsToMap(std::unordered_map<std::string, assign_function>& assign_map);
61 static void addClassAssignFnsToMap(std::unordered_map<std::string, class_assign_function>& assign_map);
62 void addPrimitiveGetFnsToMap(std::map<std::string, get_function>& get_map) const override;
63 void addClassGetFnsToMap(std::map<std::string, class_get_function>& get_map) const override;
64 void addEnumGetFnsToMap(std::map<std::string, get_function>& get_map) const override;
65
66 bool isAssignableFrom(BaseClass* otherObject) const override;
67 static const BaseClassDefiner declare();
68
69 protected:
70 std::map<std::string, AttrDetails> allAttrDetailsMap() const override;
71 };
72
73 BaseClass* PFVArType2Common1_factory();
74}
75#endif
Definition BaseClass.hpp:22
Definition BaseClassDefiner.hpp:12
Definition Boolean.hpp:13
CIMPP::PU ki
Reset gain (Ki). Default: 0.0.
Definition PFVArType2Common1.hpp:35
CIMPP::Boolean j
Selector (J). true = control mode for reactive power false = control mode for power factor....
Definition PFVArType2Common1.hpp:32
CIMPP::PU kp
Proportional gain (Kp). Default: 0.0.
Definition PFVArType2Common1.hpp:38
CIMPP::PU max
Output limit (max). Default: 0.0.
Definition PFVArType2Common1.hpp:41
Per Unit - a positive or negative value referred to a defined base. Values typically range from -10 t...
Definition PU.hpp:14