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: PointerDeviceParent

The 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}
LOCAL_PROPERTY_DECLARATIONS: Tuple[GCProp, ...] = (prop:prop, prop:value, prop:group)
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: EditableDevice

The 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}
LOCAL_PROPERTY_DECLARATIONS: Tuple[GCProp, ...] = (prop:category, prop:active)
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: EditableDevice

Persistent dynamic plot definition owned by the project assets.

This asset stores only the plot configuration that the user wants to keep in the .veragrid project 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}
LOCAL_PROPERTY_DECLARATIONS: Tuple[GCProp, ...] = (prop:simulation_type, prop:mode)
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: EditableDevice

Persistent 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 variable and group references 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:

True when 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:

True when 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:

True when 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:

True when 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: PointerDeviceParent

Investment

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: EditableDevice

EMT 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}
LOCAL_PROPERTY_DECLARATIONS: Tuple[GCProp, ...] = (prop:active,)
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: PointerDeviceParent

The 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}
LOCAL_PROPERTY_DECLARATIONS: Tuple[GCProp, ...] = (prop:prop, prop:value, prop:group)
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: EditableDevice

The 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}
LOCAL_PROPERTY_DECLARATIONS: Tuple[GCProp, ...] = (prop:category, prop:conn_group)
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: PointerDeviceParent

Investment

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: EditableDevice

RMS 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}
LOCAL_PROPERTY_DECLARATIONS: Tuple[GCProp, ...] = (prop:active,)
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: PointerDeviceParent

Investment

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

property fault_type: FaultType
Returns:

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

Module contents