roseau.load_flow.models.core
#
Module Contents#
Classes#
An abstract class of an element in an Electrical network. |
- class Element(id: Id)#
Bases:
abc.ABC
,roseau.load_flow.utils.Identifiable
,roseau.load_flow.utils.JsonMixin
An abstract class of an element in an Electrical network.
Element constructor.
- Parameters:
id – A unique ID of the element in the network. Two elements of the same type cannot have the same ID.
- property network: ElectricalNetwork | None#
Return the network the element belong to (if any).