edisgo.network.components.BasicComponent ======================================== .. py:class:: edisgo.network.components.BasicComponent(**kwargs) Bases: :py:obj:`abc.ABC` .. autoapi-inheritance-diagram:: edisgo.network.components.BasicComponent :parts: 1 Generic component Can be initialized with EDisGo object or Topology object. In case of Topology object component time series attributes currently will raise an error. .. py:property:: id Unique identifier of component as used in component dataframes in :class:`~.network.topology.Topology`. :returns: Unique identifier of component. :rtype: :obj:`str` .. py:property:: edisgo_obj EDisGo container :rtype: :class:`~.EDisGo` .. py:property:: topology Network topology container :rtype: :class:`~.network.topology.Topology` .. py:property:: voltage_level Voltage level the component is connected to ('mv' or 'lv'). :returns: Voltage level. Returns 'lv' if component connected to the low voltage and 'mv' if component is connected to the medium voltage. :rtype: :obj:`str` .. py:property:: grid :abstractmethod: Grid component is in. :returns: Grid component is in. :rtype: :class:`~.network.grids.Grid`