10#include <unordered_map>
12#include "ConductingEquipment.hpp"
13#include "BaseClassDefiner.hpp"
14#include "CGMESProfile.hpp"
15#include "CimClassDetails.hpp"
18#include "CurrentFlow.hpp"
26 class Switch :
public ConductingEquipment
54 static const char debugName[];
55 const char* debugString()
const override;
57 const std::list<std::string>& getAttributeNames()
const override;
59 const std::string& getClassNamespaceUrl()
const override;
60 const std::string& getAttributeNamespaceUrl(
const std::string& attrName)
const override;
62 const std::list<CGMESProfile>& getPossibleProfiles()
const override;
63 const CGMESProfile& getRecommendedProfile()
const override;
64 const std::list<CGMESProfile>& getPossibleAttributeProfiles(
const std::string& attrName)
const override;
65 const std::list<CGMESProfile>& getPossibleProfilesIncludingAttributes()
const override;
67 static void addConstructToMap(std::unordered_map<std::string,
BaseClass* (*)()>& factory_map);
68 static void addPrimitiveAssignFnsToMap(std::unordered_map<std::string, assign_function>& assign_map);
69 static void addClassAssignFnsToMap(std::unordered_map<std::string, class_assign_function>& assign_map);
70 void addPrimitiveGetFnsToMap(std::map<std::string, get_function>& get_map)
const override;
71 void addClassGetFnsToMap(std::map<std::string, class_get_function>& get_map)
const override;
72 void addEnumGetFnsToMap(std::map<std::string, get_function>& get_map)
const override;
74 bool isAssignableFrom(
BaseClass* otherObject)
const override;
78 std::map<std::string, AttrDetails> allAttrDetailsMap()
const override;
Definition BaseClass.hpp:22
Definition BaseClassDefiner.hpp:12
Definition Boolean.hpp:13
Electrical current with sign convention: positive flow is out of the conducting equipment into the co...
Definition CurrentFlow.hpp:14
State variable for switch.
Definition SvSwitch.hpp:25
A schedule of switch positions. If RegularTimePoint.value1 is 0, the switch is open....
Definition SwitchSchedule.hpp:24
CIMPP::CurrentFlow ratedCurrent
The maximum continuous current carrying capacity in amps governed by the device material and construc...
Definition Switch.hpp:49
CIMPP::Boolean retained
Branch is retained in the topological solution. The flow through retained switches will normally be c...
Definition Switch.hpp:52
CIMPP::Boolean locked
If true, the switch is locked. The resulting switch state is a combination of locked and Switch....
Definition Switch.hpp:40
CIMPP::Boolean open
The attribute tells if the switch is considered open when used as input to topology processing....
Definition Switch.hpp:46
std::list< CIMPP::SwitchSchedule * > SwitchSchedules
A Switch can be associated with SwitchSchedules. Default: {}.
Definition Switch.hpp:37
std::list< CIMPP::SvSwitch * > SvSwitch
The switch state associated with the switch. Default: {}.
Definition Switch.hpp:34
CIMPP::Boolean normalOpen
The attribute is used in cases when no Measurement for the status value is present....
Definition Switch.hpp:43