CGMES_3_0_0
Loading...
Searching...
No Matches
GovSteam2.hpp
1#ifndef GovSteam2_H
2#define GovSteam2_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 "TurbineGovernorDynamics.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 GovSteam2 : public TurbineGovernorDynamics
26 {
27 public:
28 /* constructor initialising all attributes to null */
29 GovSteam2();
30 ~GovSteam2() override;
31
34
37
40
43
46
49
52
55
56 static const char debugName[];
57 const char* debugString() const override;
58
59 const std::list<std::string>& getAttributeNames() const override;
60
61 const std::string& getClassNamespaceUrl() const override;
62 const std::string& getAttributeNamespaceUrl(const std::string& attrName) const override;
63
64 const std::list<CGMESProfile>& getPossibleProfiles() const override;
65 const CGMESProfile& getRecommendedProfile() const override;
66 const std::list<CGMESProfile>& getPossibleAttributeProfiles(const std::string& attrName) const override;
67 const std::list<CGMESProfile>& getPossibleProfilesIncludingAttributes() const override;
68
69 static void addConstructToMap(std::unordered_map<std::string, BaseClass* (*)()>& factory_map);
70 static void addPrimitiveAssignFnsToMap(std::unordered_map<std::string, assign_function>& assign_map);
71 static void addClassAssignFnsToMap(std::unordered_map<std::string, class_assign_function>& assign_map);
72 void addPrimitiveGetFnsToMap(std::map<std::string, get_function>& get_map) const override;
73 void addClassGetFnsToMap(std::map<std::string, class_get_function>& get_map) const override;
74 void addEnumGetFnsToMap(std::map<std::string, get_function>& get_map) const override;
75
76 bool isAssignableFrom(BaseClass* otherObject) const override;
77 static const BaseClassDefiner declare();
78
79 protected:
80 std::map<std::string, AttrDetails> allAttrDetailsMap() const override;
81 };
82
83 BaseClass* GovSteam2_factory();
84}
85#endif
Definition BaseClass.hpp:22
Definition BaseClassDefiner.hpp:12
A floating point number. The range is unspecified and not limited.
Definition Float.hpp:14
CIMPP::PU mnef
Fuel flow maximum negative error value (MNEF). Typical value = -1. Default: 0.0.
Definition GovSteam2.hpp:39
CIMPP::PU dbf
Frequency deadband (DBF). Typical value = 0. Default: 0.0.
Definition GovSteam2.hpp:33
CIMPP::PU pmax
Maximum fuel flow (PMAX) (> GovSteam2.pmin). Typical value = 1. Default: 0.0.
Definition GovSteam2.hpp:45
CIMPP::PU pmin
Minimum fuel flow (PMIN) (< GovSteam2.pmax). Typical value = 0. Default: 0.0.
Definition GovSteam2.hpp:48
CIMPP::PU mxef
Fuel flow maximum positive error value (MXEF). Typical value = 1. Default: 0.0.
Definition GovSteam2.hpp:42
CIMPP::Seconds t1
Governor lag time constant (T1) (> 0). Typical value = 0,45. Default: 0.0.
Definition GovSteam2.hpp:51
CIMPP::Float k
Governor gain (reciprocal of droop) (K). Typical value = 20. Default: 0.0.
Definition GovSteam2.hpp:36
CIMPP::Seconds t2
Governor lead time constant (T2) (>= 0). Typical value = 0. Default: 0.0.
Definition GovSteam2.hpp:54
Per Unit - a positive or negative value referred to a defined base. Values typically range from -10 t...
Definition PU.hpp:14
Time, in seconds.
Definition Seconds.hpp:14