CGMES_3_0_0
Loading...
Searching...
No Matches
RotatingMachineDynamics.hpp
1#ifndef RotatingMachineDynamics_H
2#define RotatingMachineDynamics_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 "DynamicsFunctionBlock.hpp"
13#include "BaseClassDefiner.hpp"
14#include "CGMESProfile.hpp"
15#include "CimClassDetails.hpp"
16
17#include "Float.hpp"
18#include "PU.hpp"
19#include "Seconds.hpp"
20
21namespace CIMPP
22{
23
25 class RotatingMachineDynamics : public DynamicsFunctionBlock
26 {
27 public:
28 /* constructor initialising all attributes to null */
29 RotatingMachineDynamics();
30 ~RotatingMachineDynamics() override;
31
34
37
40
43
46
49
50 static const char debugName[];
51 const char* debugString() const override;
52
53 const std::list<std::string>& getAttributeNames() const override;
54
55 const std::string& getClassNamespaceUrl() const override;
56 const std::string& getAttributeNamespaceUrl(const std::string& attrName) const override;
57
58 const std::list<CGMESProfile>& getPossibleProfiles() const override;
59 const CGMESProfile& getRecommendedProfile() const override;
60 const std::list<CGMESProfile>& getPossibleAttributeProfiles(const std::string& attrName) const override;
61 const std::list<CGMESProfile>& getPossibleProfilesIncludingAttributes() const override;
62
63 static void addConstructToMap(std::unordered_map<std::string, BaseClass* (*)()>& factory_map);
64 static void addPrimitiveAssignFnsToMap(std::unordered_map<std::string, assign_function>& assign_map);
65 static void addClassAssignFnsToMap(std::unordered_map<std::string, class_assign_function>& assign_map);
66 void addPrimitiveGetFnsToMap(std::map<std::string, get_function>& get_map) const override;
67 void addClassGetFnsToMap(std::map<std::string, class_get_function>& get_map) const override;
68 void addEnumGetFnsToMap(std::map<std::string, get_function>& get_map) const override;
69
70 bool isAssignableFrom(BaseClass* otherObject) const override;
71 static const BaseClassDefiner declare();
72
73 protected:
74 std::map<std::string, AttrDetails> allAttrDetailsMap() const override;
75 };
76
77 BaseClass* RotatingMachineDynamics_factory();
78}
79#endif
Definition BaseClass.hpp:22
Definition BaseClassDefiner.hpp:12
A floating point number. The range is unspecified and not limited.
Definition Float.hpp:14
Per Unit - a positive or negative value referred to a defined base. Values typically range from -10 t...
Definition PU.hpp:14
CIMPP::Seconds inertia
Inertia constant of generator or motor and mechanical load (H) (> 0). This is the specification for t...
Definition RotatingMachineDynamics.hpp:36
CIMPP::Float saturationFactor120
Saturation factor at 120% of rated terminal voltage (S12) (>= RotatingMachineDynamics....
Definition RotatingMachineDynamics.hpp:42
CIMPP::Float saturationFactor
Saturation factor at rated terminal voltage (S1) (>= 0). Not used by simplified model....
Definition RotatingMachineDynamics.hpp:39
CIMPP::PU statorLeakageReactance
Stator leakage reactance (Xl) (>= 0). Typical value = 0,15. Default: 0.0.
Definition RotatingMachineDynamics.hpp:45
CIMPP::PU statorResistance
Stator (armature) resistance (Rs) (>= 0). Typical value = 0,005. Default: 0.0.
Definition RotatingMachineDynamics.hpp:48
CIMPP::Float damping
Damping torque coefficient (D) (>= 0). A proportionality constant that, when multiplied by the angula...
Definition RotatingMachineDynamics.hpp:33
Time, in seconds.
Definition Seconds.hpp:14