CGMES_3_0_0
Loading...
Searching...
No Matches
GovHydroFrancis.hpp
1#ifndef GovHydroFrancis_H
2#define GovHydroFrancis_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 "Area.hpp"
18#include "Boolean.hpp"
19#include "Float.hpp"
20#include "FrancisGovernorControlKind.hpp"
21#include "Frequency.hpp"
22#include "Length.hpp"
23#include "PU.hpp"
24#include "Seconds.hpp"
25#include "VolumeFlowRate.hpp"
26
27namespace CIMPP
28{
29
31 class GovHydroFrancis : public TurbineGovernorDynamics
32 {
33 public:
34 /* constructor initialising all attributes to null */
35 GovHydroFrancis();
36 ~GovHydroFrancis() override;
37
40
43
46
49
52
55
58
61
64
67
70
73
76
79
82
85
88
91
94
97
100
103
106
109
112
115
118
119 static const char debugName[];
120 const char* debugString() const override;
121
122 const std::list<std::string>& getAttributeNames() const override;
123
124 const std::string& getClassNamespaceUrl() const override;
125 const std::string& getAttributeNamespaceUrl(const std::string& attrName) const override;
126
127 const std::list<CGMESProfile>& getPossibleProfiles() const override;
128 const CGMESProfile& getRecommendedProfile() const override;
129 const std::list<CGMESProfile>& getPossibleAttributeProfiles(const std::string& attrName) const override;
130 const std::list<CGMESProfile>& getPossibleProfilesIncludingAttributes() const override;
131
132 static void addConstructToMap(std::unordered_map<std::string, BaseClass* (*)()>& factory_map);
133 static void addPrimitiveAssignFnsToMap(std::unordered_map<std::string, assign_function>& assign_map);
134 static void addClassAssignFnsToMap(std::unordered_map<std::string, class_assign_function>& assign_map);
135 void addPrimitiveGetFnsToMap(std::map<std::string, get_function>& get_map) const override;
136 void addClassGetFnsToMap(std::map<std::string, class_get_function>& get_map) const override;
137 void addEnumGetFnsToMap(std::map<std::string, get_function>& get_map) const override;
138
139 bool isAssignableFrom(BaseClass* otherObject) const override;
140 static const BaseClassDefiner declare();
141
142 protected:
143 std::map<std::string, AttrDetails> allAttrDetailsMap() const override;
144 };
145
146 BaseClass* GovHydroFrancis_factory();
147}
148#endif
Definition BaseClass.hpp:22
Area.
Definition Area.hpp:14
Definition BaseClassDefiner.hpp:12
Definition Boolean.hpp:13
A floating point number. The range is unspecified and not limited.
Definition Float.hpp:14
Governor control flag for Francis hydro model.
Definition FrancisGovernorControlKind.hpp:14
Cycles per second.
Definition Frequency.hpp:14
CIMPP::PU etamax
Maximum efficiency (EtaMax). Typical value = 1,05. Default: 0.0.
Definition GovHydroFrancis.hpp:54
CIMPP::Frequency db1
Intentional dead-band width (DB1). Unit = Hz. Typical value = 0. Default: 0.0.
Definition GovHydroFrancis.hpp:51
CIMPP::Seconds ta
Derivative gain (Ta) (>= 0). Typical value = 3. Default: 0.0.
Definition GovHydroFrancis.hpp:84
CIMPP::Length hn
Rated hydraulic head (Hn). Unit = km. Typical value = 0,250. Default: 0.0.
Definition GovHydroFrancis.hpp:66
CIMPP::Boolean waterTunnelSurgeChamberSimulation
Water tunnel and surge chamber simulation (Tflag). true = enable of water tunnel and surge chamber si...
Definition GovHydroFrancis.hpp:114
CIMPP::VolumeFlowRate qn
Rated flow (Qn). Unit = m3/s. Typical value = 250. Default: 0.0.
Definition GovHydroFrancis.hpp:81
CIMPP::PU kg
Water tunnel and surge chamber loss coefficient (due to friction) (Kg). Typical value = 0,...
Definition GovHydroFrancis.hpp:72
CIMPP::Area av0
Area of the surge tank (AV0). Unit = m2. Typical value = 30. Default: 0.0.
Definition GovHydroFrancis.hpp:42
CIMPP::Seconds ts
Gate servo time constant (Ts) (>= 0). Typical value = 0,5. Default: 0.0.
Definition GovHydroFrancis.hpp:90
CIMPP::Length h2
Head of surge tank water level with respect to the level of penstock (H2). Unit = km....
Definition GovHydroFrancis.hpp:63
CIMPP::Seconds twng
Water tunnel and surge chamber inertia time constant (Twng) (>= 0). Typical value = 3....
Definition GovHydroFrancis.hpp:96
CIMPP::PU bp
Droop (Bp). Typical value = 0,05. Default: 0.0.
Definition GovHydroFrancis.hpp:48
CIMPP::Area av1
Area of the compensation tank (AV1). Unit = m2. Typical value = 700. Default: 0.0.
Definition GovHydroFrancis.hpp:45
CIMPP::PU valvmax
Maximum gate opening (ValvMax) (> GovHydroFrancis.valvmin). Typical value = 1,1. Default: 0....
Definition GovHydroFrancis.hpp:105
CIMPP::Length zsfc
Head of upper water level with respect to the level of penstock (Zsfc). Unit = km....
Definition GovHydroFrancis.hpp:117
CIMPP::PU qc0
No-load turbine flow at nominal head (Qc0). Typical value = 0,1. Default: 0.0.
Definition GovHydroFrancis.hpp:78
CIMPP::PU valvmin
Minimum gate opening (ValvMin) (< GovHydroFrancis.valvmax). Typical value = 0. Default: 0....
Definition GovHydroFrancis.hpp:108
CIMPP::PU kt
Washout gain (Kt). Typical value = 0,25. Default: 0.0.
Definition GovHydroFrancis.hpp:75
CIMPP::Float vc
Maximum gate closing velocity (Vc). Unit = PU / s. Typical value = -0,06. Default: 0....
Definition GovHydroFrancis.hpp:111
CIMPP::FrancisGovernorControlKind governorControl
Governor control flag (Cflag). Typical value = mechanicHydrolicTachoAccelerator. Default: 0.
Definition GovHydroFrancis.hpp:57
CIMPP::PU am
Opening section SEFF at the maximum efficiency (Am). Typical value = 0,7. Default: 0....
Definition GovHydroFrancis.hpp:39
CIMPP::Seconds td
Washout time constant (Td) (>= 0). Typical value = 6. Default: 0.0.
Definition GovHydroFrancis.hpp:87
CIMPP::Seconds tx
Derivative feedback gain (Tx) (>= 0). Typical value = 1. Default: 0.0.
Definition GovHydroFrancis.hpp:99
CIMPP::Length h1
Head of compensation chamber water level with respect to the level of penstock (H1)....
Definition GovHydroFrancis.hpp:60
CIMPP::Float va
Maximum gate opening velocity (Va). Unit = PU / s. Typical value = 0,06. Default: 0....
Definition GovHydroFrancis.hpp:102
CIMPP::Seconds twnc
Water inertia time constant (Twnc) (>= 0). Typical value = 1. Default: 0.0.
Definition GovHydroFrancis.hpp:93
CIMPP::PU kc
Penstock loss coefficient (due to friction) (Kc). Typical value = 0,025. Default: 0....
Definition GovHydroFrancis.hpp:69
Unit of length. It shall be a positive value or zero.
Definition Length.hpp:14
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
Volume per time.
Definition VolumeFlowRate.hpp:14