VeraGridEngine.Devices.Events packageο
Submodulesο
VeraGridEngine.Devices.Events.contingency moduleο
- class VeraGridEngine.Devices.Events.contingency.Contingency(device: EditableDevice | None = None, idtag: str | None = None, name='Contingency', code='', prop: ContingencyOperationTypes = active, value=0.0, group: None | ContingencyGroup = None, comment: str = '')[source]ο
Bases:
PointerDeviceParentThe Contingency object
- CLASS_NON_EDITABLE_PROPERTIES = ('idtag', 'diff_changes', 'device_idtag', 'tpe', 'device_name')ο
- CLASS_PROPERTIES_WITH_PROFILE = {}ο
- CLASS_PROPERTY_DECLARATIONS = (prop:idtag, prop:name, prop:code, prop:rdfid, prop:action, prop:comment, prop:diff_changes, prop:device_idtag, prop:tpe, prop:device_name, prop:prop, prop:value, prop:group)ο
- CLASS_PROPERTY_LIST = (prop:idtag, prop:name, prop:code, prop:rdfid, prop:action, prop:comment, prop:diff_changes, prop:device_idtag, prop:tpe, prop:device_name, prop:prop, prop:value, prop:group)ο
- CLASS_REGISTERED_PROPERTIES = {'action': prop:action, 'code': prop:code, 'comment': prop:comment, 'device_idtag': prop:device_idtag, 'device_name': prop:device_name, 'diff_changes': prop:diff_changes, 'group': prop:group, 'idtag': prop:idtag, 'name': prop:name, 'prop': prop:prop, 'rdfid': prop:rdfid, 'tpe': prop:tpe, 'value': prop:value}ο
- property categoryο
- Returns:
- property group: ContingencyGroupο
Contingency group :return:
- property name: strο
Name of the object
- property prop: ContingencyOperationTypesο
Property to modify when contingency is triggered out :return: ContingencyOperationsTypes
- property value: floatο
Property value to apply when contingency happens :return:
VeraGridEngine.Devices.Events.contingency_group moduleο
- class VeraGridEngine.Devices.Events.contingency_group.ContingencyGroup(idtag: str | None = None, name='ContingencyGroup', category='', active: bool = True)[source]ο
Bases:
EditableDeviceThe Contingency group
- CLASS_NON_EDITABLE_PROPERTIES: Tuple[str, ...] = ('idtag', 'diff_changes')ο
- CLASS_PROPERTIES_WITH_PROFILE: Dict[str, str] = {}ο
- CLASS_PROPERTY_DECLARATIONS: Tuple[GCProp, ...] = (prop:idtag, prop:name, prop:code, prop:rdfid, prop:action, prop:comment, prop:diff_changes, prop:category, prop:active)ο
- CLASS_PROPERTY_LIST: Tuple[GCProp, ...] = (prop:idtag, prop:name, prop:code, prop:rdfid, prop:action, prop:comment, prop:diff_changes, prop:category, prop:active)ο
- CLASS_REGISTERED_PROPERTIES: Dict[str, GCProp] = {'action': prop:action, 'active': prop:active, 'category': prop:category, 'code': prop:code, 'comment': prop:comment, 'diff_changes': prop:diff_changes, 'idtag': prop:idtag, 'name': prop:name, 'rdfid': prop:rdfid}ο
- property active: boolο
Get
active.- Returns:
bool
- categoryο
VeraGridEngine.Devices.Events.dynamic_plot moduleο
- class VeraGridEngine.Devices.Events.dynamic_plot.DynamicPlot(idtag: str | None = None, name: str = 'EmtEventsGroup', simulation_type: PlotSimulationType = PlotSimulationType.RMS, mode: DynamicPlotMode = DynamicPlotMode.TIME_SERIES, comment: str = '')[source]ο
Bases:
EditableDevicePersistent dynamic plot definition owned by the project assets.
This asset stores only the plot configuration that the user wants to keep in the
.veragridproject file. Runtime simulation results, NumPy arrays, and any GUI-only plotting state remain outside this object.A dynamic plot belongs to exactly one simulation family in the first implementation so RMS and EMT curve definitions are not mixed in the same persistent group.
- CLASS_NON_EDITABLE_PROPERTIES: Tuple[str, ...] = ('idtag', 'diff_changes')ο
- CLASS_PROPERTIES_WITH_PROFILE: Dict[str, str] = {}ο
- CLASS_PROPERTY_DECLARATIONS: Tuple[GCProp, ...] = (prop:idtag, prop:name, prop:code, prop:rdfid, prop:action, prop:comment, prop:diff_changes, prop:simulation_type, prop:mode)ο
- CLASS_PROPERTY_LIST: Tuple[GCProp, ...] = (prop:idtag, prop:name, prop:code, prop:rdfid, prop:action, prop:comment, prop:diff_changes, prop:simulation_type, prop:mode)ο
- CLASS_REGISTERED_PROPERTIES: Dict[str, GCProp] = {'action': prop:action, 'code': prop:code, 'comment': prop:comment, 'diff_changes': prop:diff_changes, 'idtag': prop:idtag, 'mode': prop:mode, 'name': prop:name, 'rdfid': prop:rdfid, 'simulation_type': prop:simulation_type}ο
- property mode: DynamicPlotModeο
Get the plotting mode assigned to this plot.
- Returns:
Plotting mode identifier.
- property simulation_type: PlotSimulationTypeο
Get the simulation family assigned to this plot.
- Returns:
Simulation family identifier.
VeraGridEngine.Devices.Events.dynamic_plot_entry moduleο
- class VeraGridEngine.Devices.Events.dynamic_plot_entry.DynamicPlotEntry(variable: Var = None, plot: DynamicPlot = None, group: RmsEventsGroup = None, device: Any = None, simulation_type: PlotSimulationType = PlotSimulationType.RMS, entry_kind: DynamicPlotEntryKind = DynamicPlotEntryKind.VARIABLE, role: DynamicPlotEntryRole = DynamicPlotEntryRole.CURVE, event_group_idtag: str = '', event_group_name: str = '', curve_device_type: DeviceType = NoDevice, device_idtag: str = '', device_name_hint: str = '', variable_name: str = '', result_path_kind: str = '', variable_custom_name: str = '', enabled: bool = True, runtime_series_key_payload: str = '', idtag: str | None = None, name: str = 'RmsEvent', code='', comment: str = '')[source]ο
Bases:
EditableDevicePersistent dynamic plot curve reference.
The entry stores the semantic identity of one requested dynamic curve so it can exist before simulation results are available and can later be rebound to runtime result series. Stable identifiers such as event-group and device idtags are preferred over visible names.
The legacy
variableandgroupreferences are preserved as optional compatibility hints, but the canonical identity is the explicit semantic fields declared on this asset. Unresolved entries must remain stored in the project so later simulations can try to bind them again.- CLASS_NON_EDITABLE_PROPERTIES: Tuple[str, ...] = ('idtag', 'diff_changes')ο
- CLASS_PROPERTIES_WITH_PROFILE: Dict[str, str] = {}ο
- CLASS_PROPERTY_DECLARATIONS: Tuple[GCProp, ...] = (prop:idtag, prop:name, prop:code, prop:rdfid, prop:action, prop:comment, prop:diff_changes, prop:variable, prop:plot, prop:group, prop:simulation_type, prop:entry_kind, prop:role, prop:event_group_idtag, prop:event_group_name, prop:curve_device_type, prop:device_idtag, prop:device_name_hint, prop:variable_name, prop:result_path_kind, prop:variable_custom_name, prop:enabled, prop:runtime_series_key_payload)ο
- CLASS_PROPERTY_LIST: Tuple[GCProp, ...] = (prop:idtag, prop:name, prop:code, prop:rdfid, prop:action, prop:comment, prop:diff_changes, prop:variable, prop:plot, prop:group, prop:simulation_type, prop:entry_kind, prop:role, prop:event_group_idtag, prop:event_group_name, prop:curve_device_type, prop:device_idtag, prop:device_name_hint, prop:variable_name, prop:result_path_kind, prop:variable_custom_name, prop:enabled, prop:runtime_series_key_payload)ο
- CLASS_REGISTERED_PROPERTIES: Dict[str, GCProp] = {'action': prop:action, 'code': prop:code, 'comment': prop:comment, 'curve_device_type': prop:curve_device_type, 'device_idtag': prop:device_idtag, 'device_name_hint': prop:device_name_hint, 'diff_changes': prop:diff_changes, 'enabled': prop:enabled, 'entry_kind': prop:entry_kind, 'event_group_idtag': prop:event_group_idtag, 'event_group_name': prop:event_group_name, 'group': prop:group, 'idtag': prop:idtag, 'name': prop:name, 'plot': prop:plot, 'rdfid': prop:rdfid, 'result_path_kind': prop:result_path_kind, 'role': prop:role, 'runtime_series_key_payload': prop:runtime_series_key_payload, 'simulation_type': prop:simulation_type, 'variable': prop:variable, 'variable_custom_name': prop:variable_custom_name, 'variable_name': prop:variable_name}ο
- LOCAL_PROPERTY_DECLARATIONS: Tuple[GCProp, ...] = (prop:variable, prop:plot, prop:group, prop:simulation_type, prop:entry_kind, prop:role, prop:event_group_idtag, prop:event_group_name, prop:curve_device_type, prop:device_idtag, prop:device_name_hint, prop:variable_name, prop:result_path_kind, prop:variable_custom_name, prop:enabled, prop:runtime_series_key_payload)ο
- property curve_device_type: DeviceTypeο
Get the device type that owns the referenced variable.
- Returns:
Device type.
- device: Anyο
- property device_idtag: strο
Get the stable device identifier.
- Returns:
Device idtag.
- property device_name_hint: strο
Get the visible device-name hint.
- Returns:
Device-name hint.
- property enabled: boolο
Get whether the curve is enabled.
- Returns:
Truewhen enabled.
- property entry_kind: DynamicPlotEntryKindο
Get the semantic kind of this persistent plot entry.
- Returns:
Entry kind.
- property event_group_idtag: strο
Get the stable event-group identifier.
- Returns:
Event-group idtag.
- property event_group_name: strο
Get the visible event-group name.
- Returns:
Event-group visible name.
- group: RmsEventsGroupο
- plot: DynamicPlotο
- property result_path_kind: strο
Get the result namespace for this curve.
- Returns:
Result namespace identifier.
- property role: DynamicPlotEntryRoleο
Get the semantic role of this persistent plot entry.
- Returns:
Entry role.
- property runtime_series_key_payload: strο
Get the cached runtime exact-match payload.
- Returns:
Serialized runtime series key payload.
- property simulation_type: PlotSimulationTypeο
Get the simulation family identifier.
- Returns:
Simulation family identifier.
- variable: Anyο
- property variable_custom_name: strο
Get the remembered custom visible variable name.
- Returns:
Custom visible variable name.
- property variable_name: strο
Get the requested variable name.
- Returns:
Variable name.
- VeraGridEngine.Devices.Events.dynamic_plot_entry.compare_dynamic_plot(plot1: DynamicPlot, plot2: DynamicPlot) bool[source]ο
Compare two persistent dynamic plot groups.
The plot comparison uses the saved headers and saved values because those are the fields that define the project persistence contract for the plot group.
- Parameters:
plot1 β Original plot group.
plot2 β Reloaded plot group.
- Returns:
Truewhen the two plot groups are equal.
- VeraGridEngine.Devices.Events.dynamic_plot_entry.compare_dynamic_plot_entry(entry1: DynamicPlotEntry, entry2: DynamicPlotEntry, dyn_plots1: List[DynamicPlot], dyn_plots2: List[DynamicPlot]) bool[source]ο
Compare two persistent dynamic plot entries.
The entry comparison checks all saved fields and also verifies that the two entries point to the corresponding plot position in their owning plot lists. This keeps the comparison exact without relying on Python object identity across two separately loaded grids.
- Parameters:
entry1 β Original entry.
entry2 β Reloaded entry.
dyn_plots1 β Original plot collection.
dyn_plots2 β Reloaded plot collection.
- Returns:
Truewhen the two entries are equal.
- VeraGridEngine.Devices.Events.dynamic_plot_entry.compare_dynamic_plots(dyn_plots1: List[DynamicPlot], dyn_plots2: List[DynamicPlot], dyn_plots1_entries: List[DynamicPlotEntry], dyn_plots2_entries: List[DynamicPlotEntry]) bool[source]ο
Compare persistent dynamic plot groups and entries after a save/load cycle.
The comparison validates both plot groups and their curve entries using the registered persistence schema. Entry-to-plot references are compared through the corresponding plot position so the check does not depend on Python object identity after reloading the file.
- Parameters:
dyn_plots1 β Dynamic plot collection from the original grid.
dyn_plots2 β Dynamic plot collection from the reloaded grid.
dyn_plots1_entries β Dynamic plot entry collection from the original grid.
dyn_plots2_entries β Dynamic plot entry collection from the reloaded grid.
- Returns:
Truewhen both persistent collections are exactly equal.
VeraGridEngine.Devices.Events.emt_event moduleο
- class VeraGridEngine.Devices.Events.emt_event.EmtEvent(device: EditableDevice | None = None, parameter: Var = None, time: float = None, end_time: float | None = None, value: float = None, group: EmtEventsGroup = None, force_step_alignment: bool = False, transition_type: DynamicEventTransitionType = step, idtag: str | None = None, name='EmtEvent', code='', comment: str = '')[source]ο
Bases:
PointerDeviceParentInvestment
- CLASS_NON_EDITABLE_PROPERTIES = ('idtag', 'diff_changes', 'device_idtag', 'tpe', 'device_name')ο
- CLASS_PROPERTIES_WITH_PROFILE = {}ο
- CLASS_PROPERTY_DECLARATIONS = (prop:idtag, prop:name, prop:code, prop:rdfid, prop:action, prop:comment, prop:diff_changes, prop:device_idtag, prop:tpe, prop:device_name, prop:parameter, prop:time, prop:end_time, prop:value, prop:group, prop:force_step_alignment, prop:transition_type)ο
- CLASS_PROPERTY_LIST = (prop:idtag, prop:name, prop:code, prop:rdfid, prop:action, prop:comment, prop:diff_changes, prop:device_idtag, prop:tpe, prop:device_name, prop:parameter, prop:time, prop:end_time, prop:value, prop:group, prop:force_step_alignment, prop:transition_type)ο
- CLASS_REGISTERED_PROPERTIES = {'action': prop:action, 'code': prop:code, 'comment': prop:comment, 'device_idtag': prop:device_idtag, 'device_name': prop:device_name, 'diff_changes': prop:diff_changes, 'end_time': prop:end_time, 'force_step_alignment': prop:force_step_alignment, 'group': prop:group, 'idtag': prop:idtag, 'name': prop:name, 'parameter': prop:parameter, 'rdfid': prop:rdfid, 'time': prop:time, 'tpe': prop:tpe, 'transition_type': prop:transition_type, 'value': prop:value}ο
- LOCAL_PROPERTY_DECLARATIONS: Tuple[GCProp, ...] = (prop:parameter, prop:time, prop:end_time, prop:value, prop:group, prop:force_step_alignment, prop:transition_type)ο
- property end_time: float | Noneο
Get
end_time.- Returns:
Optional event end time.
- force_step_alignment: boolο
- property group: EmtEventsGroupο
Group of events :return:
- parameter: Anyο
- time: floatο
- property transition_type: DynamicEventTransitionTypeο
Get
transition_type.- Returns:
Dynamic event transition type.
- value: floatο
VeraGridEngine.Devices.Events.emt_events_group moduleο
- class VeraGridEngine.Devices.Events.emt_events_group.EmtEventsGroup(idtag: str | None = None, active: bool = True, name: str = 'EmtEventsGroup', comment: str = '')[source]ο
Bases:
EditableDeviceEMT events group.
- CLASS_NON_EDITABLE_PROPERTIES: Tuple[str, ...] = ('idtag', 'diff_changes')ο
- CLASS_PROPERTIES_WITH_PROFILE: Dict[str, str] = {}ο
- CLASS_PROPERTY_DECLARATIONS: Tuple[GCProp, ...] = (prop:idtag, prop:name, prop:code, prop:rdfid, prop:action, prop:comment, prop:diff_changes, prop:active)ο
- CLASS_PROPERTY_LIST: Tuple[GCProp, ...] = (prop:idtag, prop:name, prop:code, prop:rdfid, prop:action, prop:comment, prop:diff_changes, prop:active)ο
- CLASS_REGISTERED_PROPERTIES: Dict[str, GCProp] = {'action': prop:action, 'active': prop:active, 'code': prop:code, 'comment': prop:comment, 'diff_changes': prop:diff_changes, 'idtag': prop:idtag, 'name': prop:name, 'rdfid': prop:rdfid}ο
- property active: boolο
Get whether this events group is active.
- Returns:
True when the group must be simulated.
VeraGridEngine.Devices.Events.remedial_action moduleο
- class VeraGridEngine.Devices.Events.remedial_action.RemedialAction(device: EditableDevice | None = None, idtag: str | None = None, name='Remedial action', code='', prop: ContingencyOperationTypes = active, value=0.0, group: None | RemedialActionGroup = None, comment: str = '')[source]ο
Bases:
PointerDeviceParentThe RemedialAction object
- CLASS_NON_EDITABLE_PROPERTIES = ('idtag', 'diff_changes', 'device_idtag', 'tpe', 'device_name')ο
- CLASS_PROPERTIES_WITH_PROFILE = {}ο
- CLASS_PROPERTY_DECLARATIONS = (prop:idtag, prop:name, prop:code, prop:rdfid, prop:action, prop:comment, prop:diff_changes, prop:device_idtag, prop:tpe, prop:device_name, prop:prop, prop:value, prop:group)ο
- CLASS_PROPERTY_LIST = (prop:idtag, prop:name, prop:code, prop:rdfid, prop:action, prop:comment, prop:diff_changes, prop:device_idtag, prop:tpe, prop:device_name, prop:prop, prop:value, prop:group)ο
- CLASS_REGISTERED_PROPERTIES = {'action': prop:action, 'code': prop:code, 'comment': prop:comment, 'device_idtag': prop:device_idtag, 'device_name': prop:device_name, 'diff_changes': prop:diff_changes, 'group': prop:group, 'idtag': prop:idtag, 'name': prop:name, 'prop': prop:prop, 'rdfid': prop:rdfid, 'tpe': prop:tpe, 'value': prop:value}ο
- property categoryο
- Returns:
- property group: RemedialActionGroupο
Contingency group :return:
- property name: strο
Name of the object
- property prop: ContingencyOperationTypesο
Property to modify when contingency is triggered out :return: ContingencyOperationsTypes
- property value: floatο
Property value to apply when contingency happens :return:
VeraGridEngine.Devices.Events.remedial_action_group moduleο
- class VeraGridEngine.Devices.Events.remedial_action_group.RemedialActionGroup(idtag: str | None = None, name='RemedialActionGroup', category='', conn_group: ContingencyGroup | None = None)[source]ο
Bases:
EditableDeviceThe RemedialAction group
- CLASS_NON_EDITABLE_PROPERTIES: Tuple[str, ...] = ('idtag', 'diff_changes')ο
- CLASS_PROPERTIES_WITH_PROFILE: Dict[str, str] = {}ο
- CLASS_PROPERTY_DECLARATIONS: Tuple[GCProp, ...] = (prop:idtag, prop:name, prop:code, prop:rdfid, prop:action, prop:comment, prop:diff_changes, prop:category, prop:conn_group)ο
- CLASS_PROPERTY_LIST: Tuple[GCProp, ...] = (prop:idtag, prop:name, prop:code, prop:rdfid, prop:action, prop:comment, prop:diff_changes, prop:category, prop:conn_group)ο
- CLASS_REGISTERED_PROPERTIES: Dict[str, GCProp] = {'action': prop:action, 'category': prop:category, 'code': prop:code, 'comment': prop:comment, 'conn_group': prop:conn_group, 'diff_changes': prop:diff_changes, 'idtag': prop:idtag, 'name': prop:name, 'rdfid': prop:rdfid}ο
- categoryο
- property conn_group: ContingencyGroupο
Contingency group :return:
VeraGridEngine.Devices.Events.rms_event moduleο
- class VeraGridEngine.Devices.Events.rms_event.RmsEvent(device: EditableDevice | None = None, parameter: Var = None, time: float = None, end_time: float | None = None, value: float = None, group: RmsEventsGroup = None, force_step_alignment: bool = False, transition_type: DynamicEventTransitionType = step, idtag: str | None = None, name='RmsEvent', code='', comment: str = '')[source]ο
Bases:
PointerDeviceParentInvestment
- CLASS_NON_EDITABLE_PROPERTIES = ('idtag', 'diff_changes', 'device_idtag', 'tpe', 'device_name')ο
- CLASS_PROPERTIES_WITH_PROFILE = {}ο
- CLASS_PROPERTY_DECLARATIONS = (prop:idtag, prop:name, prop:code, prop:rdfid, prop:action, prop:comment, prop:diff_changes, prop:device_idtag, prop:tpe, prop:device_name, prop:parameter, prop:time, prop:end_time, prop:value, prop:group, prop:force_step_alignment, prop:transition_type)ο
- CLASS_PROPERTY_LIST = (prop:idtag, prop:name, prop:code, prop:rdfid, prop:action, prop:comment, prop:diff_changes, prop:device_idtag, prop:tpe, prop:device_name, prop:parameter, prop:time, prop:end_time, prop:value, prop:group, prop:force_step_alignment, prop:transition_type)ο
- CLASS_REGISTERED_PROPERTIES = {'action': prop:action, 'code': prop:code, 'comment': prop:comment, 'device_idtag': prop:device_idtag, 'device_name': prop:device_name, 'diff_changes': prop:diff_changes, 'end_time': prop:end_time, 'force_step_alignment': prop:force_step_alignment, 'group': prop:group, 'idtag': prop:idtag, 'name': prop:name, 'parameter': prop:parameter, 'rdfid': prop:rdfid, 'time': prop:time, 'tpe': prop:tpe, 'transition_type': prop:transition_type, 'value': prop:value}ο
- LOCAL_PROPERTY_DECLARATIONS: Tuple[GCProp, ...] = (prop:parameter, prop:time, prop:end_time, prop:value, prop:group, prop:force_step_alignment, prop:transition_type)ο
- property end_time: float | Noneο
Get
end_time.- Returns:
Optional ramp end time.
- property force_step_alignment: boolο
Get
force_step_alignment.- Returns:
bool
- property group: RmsEventsGroupο
Group of events :return:
- parameter: Anyο
- property time: floatο
Get
time.- Returns:
float
- property transition_type: DynamicEventTransitionTypeο
Get
transition_type.- Returns:
Dynamic event transition type.
- property value: floatο
Get
value.- Returns:
float
VeraGridEngine.Devices.Events.rms_events_group moduleο
- class VeraGridEngine.Devices.Events.rms_events_group.RmsEventsGroup(idtag: str | None = None, active: bool = True, name: str = 'RmsEventsGroup', comment: str = '')[source]ο
Bases:
EditableDeviceRMS events group.
- CLASS_NON_EDITABLE_PROPERTIES: Tuple[str, ...] = ('idtag', 'diff_changes')ο
- CLASS_PROPERTIES_WITH_PROFILE: Dict[str, str] = {}ο
- CLASS_PROPERTY_DECLARATIONS: Tuple[GCProp, ...] = (prop:idtag, prop:name, prop:code, prop:rdfid, prop:action, prop:comment, prop:diff_changes, prop:active)ο
- CLASS_PROPERTY_LIST: Tuple[GCProp, ...] = (prop:idtag, prop:name, prop:code, prop:rdfid, prop:action, prop:comment, prop:diff_changes, prop:active)ο
- CLASS_REGISTERED_PROPERTIES: Dict[str, GCProp] = {'action': prop:action, 'active': prop:active, 'code': prop:code, 'comment': prop:comment, 'diff_changes': prop:diff_changes, 'idtag': prop:idtag, 'name': prop:name, 'rdfid': prop:rdfid}ο
- property active: boolο
Get whether this events group is active.
- Returns:
True when the group must be simulated.
VeraGridEngine.Devices.Events.short_cirtcuit_event moduleο
- class VeraGridEngine.Devices.Events.short_cirtcuit_event.ShortCircuitEvent(device: EditableDevice | None = None, idtag: str | None = None, name='Fault', code='', active: bool = True, fault_type: FaultType = LLLG, method: MethodShortCircuit = sequences, phases: PhasesShortCircuit = abc, r_fault=0.0, x_fault=0.0, comment: str = '')[source]ο
Bases:
PointerDeviceParentInvestment
- CLASS_NON_EDITABLE_PROPERTIES = ('idtag', 'diff_changes', 'device_idtag', 'tpe', 'device_name')ο
- CLASS_PROPERTIES_WITH_PROFILE = {}ο
- CLASS_PROPERTY_DECLARATIONS = (prop:idtag, prop:name, prop:code, prop:rdfid, prop:action, prop:comment, prop:diff_changes, prop:device_idtag, prop:tpe, prop:device_name, prop:fault_type, prop:method, prop:phases, prop:active, prop:r_fault, prop:x_fault)ο
- CLASS_PROPERTY_LIST = (prop:idtag, prop:name, prop:code, prop:rdfid, prop:action, prop:comment, prop:diff_changes, prop:device_idtag, prop:tpe, prop:device_name, prop:fault_type, prop:method, prop:phases, prop:active, prop:r_fault, prop:x_fault)ο
- CLASS_REGISTERED_PROPERTIES = {'action': prop:action, 'active': prop:active, 'code': prop:code, 'comment': prop:comment, 'device_idtag': prop:device_idtag, 'device_name': prop:device_name, 'diff_changes': prop:diff_changes, 'fault_type': prop:fault_type, 'idtag': prop:idtag, 'method': prop:method, 'name': prop:name, 'phases': prop:phases, 'r_fault': prop:r_fault, 'rdfid': prop:rdfid, 'tpe': prop:tpe, 'x_fault': prop:x_fault}ο
- LOCAL_PROPERTY_DECLARATIONS: Tuple[GCProp, ...] = (prop:fault_type, prop:method, prop:phases, prop:active, prop:r_fault, prop:x_fault)ο
- property active: boolο
Get
active.- Returns:
bool
- get_fault_impedance() complex[source]ο
Get the fault impedance :return: complex value of fault impedance
- property method: MethodShortCircuitο
- Returns:
- property phases: PhasesShortCircuitο
- Returns:
- property r_fault: floatο
Get
r_fault.- Returns:
float
- property x_fault: floatο
Get
x_fault.- Returns:
float