Ejemplo n.º 1
0
 def substations(self) -> Generator[Substation, None, None]:
     """
     The `zepben.evolve.cim.iec61970.base.core.substation.Substation`s that are powered by this `Loop`.
     """
     return ngen(self._substations)
Ejemplo n.º 2
0
 def diagram_objects(self) -> Generator[DiagramObject, None, None]:
     """
     The diagram objects belonging to this diagram.
     """
     return ngen(self._diagram_objects.values() if self.
                 _diagram_objects is not None else None)
Ejemplo n.º 3
0
 def phases(self) -> Generator[EnergyConsumerPhase, None, None]:
     """The individual phase models for this energy consumer."""
     return ngen(self._energy_consumer_phases)
Ejemplo n.º 4
0
 def feeders(self) -> Generator[Feeder, None, None]:
     """
     The normal energized feeders of the substation. Also used for naming purposes.
     """
     return ngen(self._normal_energized_feeders)
Ejemplo n.º 5
0
 def sub_geographical_regions(
         self) -> Generator[SubGeographicalRegion, None, None]:
     """
     The `SubGeographicalRegion`s of this `GeographicalRegion`.
     """
     return ngen(self._sub_geographical_regions)
Ejemplo n.º 6
0
 def usage_points(self) -> Generator[UsagePoint, None, None]:
     """
     The `zepben.evolve.cim.iec61968.metering.metering.UsagePoint`s associated with this `EndDevice`
     """
     return ngen(self._usage_points)
Ejemplo n.º 7
0
 def loops(self) -> Generator[Loop, None, None]:
     """
     The `zepben.evolve.cim.infiec61970.feeder.loop.Loop` originating from this substation.
     """
     return ngen(self._loops)
Ejemplo n.º 8
0
 def usage_points(self) -> Generator[UsagePoint, None, None]:
     """
     The `zepben.evolve.cim.iec61968.metering.metering.UsagePoint`s for this equipment.
     """
     return ngen(self._usage_points)
Ejemplo n.º 9
0
 def operational_restrictions(
         self) -> Generator[OperationalRestriction, None, None]:
     """
     The `zepben.evolve.cim.iec61968.operations.operational_restriction.OperationalRestriction`s that this equipment is associated with.
     """
     return ngen(self._operational_restrictions)
Ejemplo n.º 10
0
 def equipment_containers(self) -> Generator[Equipment, None, None]:
     """
     The `zepben.evolve.cim.iec61970.base.core.equipment_container.EquipmentContainer`s this equipment belongs to.
     """
     return ngen(self._equipment_containers)
Ejemplo n.º 11
0
 def current_feeders(self) -> Generator[Feeder, None, None]:
     """
     The current `zepben.evolve.cim.iec61970.base.core.equipment_container.Feeder`s this equipment belongs to.
     """
     return ngen(self._current_feeders)
 def equipment(self) -> Generator[Equipment, None, None]:
     """
     The `zepben.evolve.iec61970.base.core.equipment.Equipment` contained in this `EquipmentContainer`
     """
     return ngen(
         self._equipment.values() if self._equipment is not None else None)
 def current_equipment(self) -> Generator[Equipment, None, None]:
     """
     Contained `zepben.evolve.iec61970.base.core.equipment.Equipment` using the current state of the network.
     """
     return ngen(self._current_equipment.values() if self.
                 _current_equipment is not None else None)
Ejemplo n.º 14
0
 def energizing_substations(self) -> Generator[Substation, None, None]:
     """
     The `zepben.evolve.cim.iec61970.base.core.substation.Substation`s that normally energize this `Loop`.
     """
     return ngen(self._energizing_substations)
Ejemplo n.º 15
0
 def end_devices(self) -> Generator[EndDevice, None, None]:
     """
     The `EndDevice`'s (Meter's) associated with this `UsagePoint`.
     """
     return ngen(self._end_devices)
Ejemplo n.º 16
0
 def streetlights(self) -> Generator[Streetlight, None, None]:
     """
     The `zepben.evolve.cim.iec61968.assets.streetlight.Streetlight`s of this `Pole`.
     """
     return ngen(self._streetlights)
Ejemplo n.º 17
0
 def equipment(self) -> Generator[Equipment, None, None]:
     """
     The `zepben.model.Equipment` associated with this `UsagePoint`.
     """
     return ngen(self._equipment)
Ejemplo n.º 18
0
 def equipment(self) -> Generator[Equipment, None, None]:
     """
     The `zepben.evolve.cim.iec61970.base.core.equipment.Equipment` to which this `OperationalRestriction` applies.
     """
     return ngen(self._equipment)
Ejemplo n.º 19
0
 def circuits(self) -> Generator[Circuit, None, None]:
     """
     The `zepben.evolve.cim.infiec61970.feeder.circuit.Circuit`s originating from this substation.
     """
     return ngen(self._circuits)
 def tariffs(self) -> Generator[Tariff, None, None]:
     """
     The `zepben.evolve.cim.iec61968.customers.tariff.Tariff`s of this `PricingStructure`.
     """
     return ngen(self._tariffs)
Ejemplo n.º 21
0
 def energized_loops(self) -> Generator[Loop, None, None]:
     """
     The `zepben.evolve.cim.infiec61970.feeder.loop.Loop`s originating from this substation that are energised.
     """
     return ngen(self._energized_loops)
Ejemplo n.º 22
0
 def end_terminals(self) -> Generator[Terminal, None, None]:
     """
     The `Terminal`s representing the ends for this `Circuit`.
     """
     return ngen(self._end_terminals)
Ejemplo n.º 23
0
 def substations(self) -> Generator[Substation, None, None]:
     """
     All substations belonging to this sub geographical region.
     """
     return ngen(self._substations)
Ejemplo n.º 24
0
 def end_substations(self) -> Generator[Substation, None, None]:
     """
     The `Substations`s representing the ends for this `Circuit`.
     """
     return ngen(self._end_substations)
Ejemplo n.º 25
0
 def agreements(self) -> Generator[CustomerAgreement, None, None]:
     """
     The `zepben.evolve.cim.iec61968.customers.customer_agreement.CustomerAgreement`s for this `Customer`.
     """
     return ngen(self._customer_agreements)
Ejemplo n.º 26
0
 def phases(self) -> Generator[EnergySourcePhase, None, None]:
     """
     The `EnergySourcePhase`s for this `EnergySource`.
     """
     return ngen(self._energy_source_phases)
Ejemplo n.º 27
0
 def points(self) -> Generator[DiagramObjectPoint, None, None]:
     """
     The `DiagramObjectPoint`s for this `DiagramObject`.
     """
     return ngen(self._diagram_object_points)
Ejemplo n.º 28
0
 def points(self) -> Generator[Tuple[int, PositionPoint], None, None]:
     """
     Returns Generator over the `PositionPoint`s of this `Location`.
     """
     for i, point in enumerate(ngen(self._position_points)):
         yield i, point
Ejemplo n.º 29
0
 def ends(self) -> Generator[PowerTransformerEnd, None, None]:
     """The `PowerTransformerEnd`s for this `PowerTransformer`."""
     return ngen(self._power_transformer_ends)
Ejemplo n.º 30
0
 def circuits(self) -> Generator[Circuit, None, None]:
     """
     Sub-transmission `zepben.evolve.cim.infiec61970.base.core.circuit.Circuit`s that form part of this loop.
     """
     return ngen(self._circuits)