def get_point(self, sequence_number: int) -> Optional[PositionPoint]: """ Get the `sequence_number` `PositionPoint` for this `DiagramObject`. `sequence_number` The sequence number of the `PositionPoint` to get. Returns The `PositionPoint` identified by `sequence_number` Raises IndexError if this `Location` didn't contain `sequence_number` points. """ return self._position_points[sequence_number] if 0 < nlen( self._position_points) < sequence_number else None
def num_energizing_substations(self): """Return the number of end `zepben.evolve.cim.iec61970.base.core.substation.Substation`s associated with this `Loop`""" return nlen(self._energizing_substations)
def num_phases(self): """Get the number of `EnergySourcePhase`s for this `EnergyConsumer`.""" return nlen(self._energy_consumer_phases)
def num_points(self): """ Returns the number of `DiagramObjectPoint`s associated with this `DiagramObject` """ return nlen(self._diagram_object_points)
def num_agreements(self) -> int: """ Get the number of `zepben.evolve.iec61968.customers.customer_agreement.CustomerAgreement`s associated with this `Customer`. """ return nlen(self._customer_agreements)
def num_substations(self) -> int: """ Returns The number of `zepben.evolve.iec61970.base.core.substation.Substation`s associated with this `SubGeographicalRegion` """ return nlen(self._substations)
def num_circuits(self): """ Returns The number of `zepben.evolve.cim.infiec61970.feeder.circuit.Circuit`s associated with this `Substation` """ return nlen(self._circuits)
def num_usage_points(self): """ Returns The number of `zepben.evolve.cim.iec61968.metering.metering.UsagePoint`s associated with this `EndDevice` """ return nlen(self._usage_points)
def num_tariffs(self): """ Returns The number of `zepben.evolve.cim.iec61968.customers.tariff.Tariff`s associated with this `PricingStructure` """ return nlen(self._tariffs)
def num_equipment(self): """ Returns the number of `zepben.evolve.cim.iec61970.base.core.equipment.Equipment` associated with this `OperationalRestriction` """ return nlen(self._equipment)
def num_streetlights(self) -> int: """ Get the number of `zepben.evolve.cim.iec61968.assets.streetlight.Streetlight`s associated with this `Pole`. """ return nlen(self._streetlights)
def num_restrictions(self) -> int: """ Returns The number of `zepben.evolve.cim.iec61968.operations.operational_restriction.OperationalRestriction`s associated with this `Equipment` """ return nlen(self._operational_restrictions)
def num_current_feeders(self) -> int: """ Returns The number of `zepben.evolve.cim.iec61970.base.core.equipment_container.Feeder`s associated with this `Equipment` """ return nlen(self._current_feeders)
def num_equipment(self): """ Returns The number of `zepben.evolve.iec61970.base.core.equipment.Equipment` associated with this `EquipmentContainer` """ return nlen(self._equipment)
def num_circuits(self): """Return the number of end `zepben.evolve.cim.infiec61970.base.core.circuit.Circuit`s associated with this `Loop`""" return nlen(self._circuits)
def num_end_devices(self): """ Returns The number of `zepben.evolve.cim.iec61968.metering.metering.EndDevice`s associated with this `UsagePoint` """ return nlen(self._end_devices)
def is_metered(self): """ Check whether this `UsagePoint` is metered. A `UsagePoint` is metered if it's associated with at least one `EndDevice`. Returns True if this `UsagePoint` has an `EndDevice`, False otherwise. """ return nlen(self._end_devices) > 0
def num_end_terminals(self): """Return the number of end `Terminal`s associated with this `Circuit`""" return nlen(self._end_terminals)
def num_energized_loops(self): """ Returns The number of `zepben.evolve.cim.infiec61970.feeder.loop.Loop`s associated with this `Substation` """ return nlen(self._energized_loops)
def num_end_substations(self): """Return the number of end `Substation`s associated with this `Circuit`""" return nlen(self._end_substations)
def num_feeders(self): """ Returns The number of `zepben.evolve.cim.iec61970.base.core.equipment_container.Feeder`s associated with this `Substation` """ return nlen(self._normal_energized_feeders)
def has_phases(self): """ Check if this source has any associated `EnergySourcePhase`s Returns True if there is at least one `EnergySourcePhase`, otherwise False """ return nlen(self._energy_source_phases) > 0
def num_sub_geographical_regions(self) -> int: """ Returns The number of `SubGeographicalRegion`s associated with this `GeographicalRegion` """ return nlen(self._sub_geographical_regions)
def num_phases(self): """Return the number of `EnergySourcePhase`s associated with this `EnergySource`""" return nlen(self._energy_source_phases)
def num_objects(self): """ Returns The number of `DiagramObject`s associated with this `Diagram` """ return nlen(self._diagram_objects)
def num_points(self): """ Returns The number of `PositionPoint`s in this `Location` """ return nlen(self._position_points)
def has_phases(self): """ Check if this consumer has any associated `EnergyConsumerPhases` Returns True if there is at least one `EnergyConsumerPhase`, otherwise False """ return nlen(self._energy_consumer_phases) > 0
def num_equipment(self): """ Returns The number of `zepben.evolve.cim.iec61970.base.core.equipment.Equipment`s associated with this `UsagePoint` """ return nlen(self._equipment)
def num_ends(self): """ Get the number of `PowerTransformerEnd`s for this `PowerTransformer`. """ return nlen(self._power_transformer_ends)
def num_pricing_structures(self): """ The number of `zepben.evolve.cim.iec61968.customers.pricing_structure.PricingStructure`s associated with this `CustomerAgreement` """ return nlen(self._pricing_structures)