CGMES_3_0_0
Loading...
Searching...
No Matches
VsConverter.hpp
1#ifndef VsConverter_H
2#define VsConverter_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 "ACDCConverter.hpp"
13#include "BaseClassDefiner.hpp"
14#include "CGMESProfile.hpp"
15#include "CimClassDetails.hpp"
16
17#include "AngleDegrees.hpp"
18#include "Float.hpp"
19#include "PU.hpp"
20#include "PerCent.hpp"
21#include "ReactivePower.hpp"
22#include "Resistance.hpp"
23#include "Voltage.hpp"
24#include "VsPpccControlKind.hpp"
25#include "VsQpccControlKind.hpp"
26
27namespace CIMPP
28{
29 class VSCDynamics;
31
33 class VsConverter : public ACDCConverter
34 {
35 public:
36 /* constructor initialising all attributes to null */
37 VsConverter();
38 ~VsConverter() override;
39
42
45
48
51
54
56 CIMPP::Float maxModulationIndex;
57
60
63
66
69
72
75
78
81
84
85 static const char debugName[];
86 const char* debugString() const override;
87
88 const std::list<std::string>& getAttributeNames() const override;
89
90 const std::string& getClassNamespaceUrl() const override;
91 const std::string& getAttributeNamespaceUrl(const std::string& attrName) const override;
92
93 const std::list<CGMESProfile>& getPossibleProfiles() const override;
94 const CGMESProfile& getRecommendedProfile() const override;
95 const std::list<CGMESProfile>& getPossibleAttributeProfiles(const std::string& attrName) const override;
96 const std::list<CGMESProfile>& getPossibleProfilesIncludingAttributes() const override;
97
98 static void addConstructToMap(std::unordered_map<std::string, BaseClass* (*)()>& factory_map);
99 static void addPrimitiveAssignFnsToMap(std::unordered_map<std::string, assign_function>& assign_map);
100 static void addClassAssignFnsToMap(std::unordered_map<std::string, class_assign_function>& assign_map);
101 void addPrimitiveGetFnsToMap(std::map<std::string, get_function>& get_map) const override;
102 void addClassGetFnsToMap(std::map<std::string, class_get_function>& get_map) const override;
103 void addEnumGetFnsToMap(std::map<std::string, get_function>& get_map) const override;
104
105 bool isAssignableFrom(BaseClass* otherObject) const override;
106 static const BaseClassDefiner declare();
107
108 protected:
109 std::map<std::string, AttrDetails> allAttrDetailsMap() const override;
110 };
111
112 BaseClass* VsConverter_factory();
113}
114#endif
Definition BaseClass.hpp:22
Measurement of angle in degrees.
Definition AngleDegrees.hpp:14
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
Percentage on a defined base. For example, specify as 100 to indicate at the defined base.
Definition PerCent.hpp:14
Product of RMS value of the voltage and the RMS value of the quadrature component of the current.
Definition ReactivePower.hpp:14
Resistance (real part of impedance).
Definition Resistance.hpp:14
VSC function block whose behaviour is described by reference to a standard model <font color="#0f0f0f...
Definition VSCDynamics.hpp:24
Electrical voltage, can be both AC and DC.
Definition Voltage.hpp:14
The P-Q capability curve for a voltage source converter, with P on X-axis and Qmin and Qmax on Y1-axi...
Definition VsCapabilityCurve.hpp:24
CIMPP::AngleDegrees targetPhasePcc
Phase target at AC side, at point of common coupling. The attribute shall be a positive value....
Definition VsConverter.hpp:71
CIMPP::Voltage targetUpcc
Voltage target in AC grid, at point of common coupling. The attribute shall be a positive value....
Definition VsConverter.hpp:80
CIMPP::VsCapabilityCurve * CapabilityCurve
Capability curve of this converter. Default: nullptr.
Definition VsConverter.hpp:41
CIMPP::PerCent qShare
Reactive power sharing factor among parallel converters on Uac control. The attribute shall be a posi...
Definition VsConverter.hpp:65
CIMPP::Resistance droopCompensation
Compensation constant. Used to compensate for voltage drop when controlling voltage at a distant bus....
Definition VsConverter.hpp:53
CIMPP::ReactivePower targetQpcc
Reactive power injection target in AC grid, at point of common coupling. Load sign convention is used...
Definition VsConverter.hpp:77
CIMPP::VSCDynamics * VSCDynamics
Voltage source converter dynamics model used to describe dynamic behaviour of this converter....
Definition VsConverter.hpp:44
CIMPP::Float targetPowerFactorPcc
Power factor target at the AC side, at point of common coupling. The attribute shall be a positive va...
Definition VsConverter.hpp:74
CIMPP::Float targetPWMfactor
Magnitude of pulse-modulation factor. The attribute shall be a positive value. Default: 0....
Definition VsConverter.hpp:68
CIMPP::VsPpccControlKind pPccControl
The maximum quotient between the AC converter voltage (Uc) and DC voltage (Ud). A factor typically le...
Definition VsConverter.hpp:59
CIMPP::PU droop
Angle between VsConverter.uv and ACDCConverter.uc. It is converter`s state variable used in power flo...
Definition VsConverter.hpp:50
CIMPP::VsQpccControlKind qPccControl
Kind of reactive power control. Default: 0.
Definition VsConverter.hpp:62
Types applicable to the control of real power and/or DC voltage by voltage source converter.
Definition VsPpccControlKind.hpp:14
Kind of reactive power control at point of common coupling for a voltage source converter.
Definition VsQpccControlKind.hpp:14