Distribution Capacitor#
- pydantic model gdm.distribution.components.DistributionCapacitor#
Data model for capacitor present in distribution system models.
- field bus: Annotated[DistributionBus, FieldInfo(annotation=NoneType, required=True, description='Distribution bus to which this capacitor is connected to.')] [Required]#
Distribution bus to which this capacitor is connected to.
- field controllers: Annotated[list[CapacitorControllerBase], FieldInfo(annotation=NoneType, required=False, default=[], description='List of the controllers which are used for each phase in order.')] = []#
List of the controllers which are used for each phase in order.
- field equipment: Annotated[CapacitorEquipment, FieldInfo(annotation=NoneType, required=True, description='Capacitor model.')] [Required]#
Capacitor model.
- field feeder: Annotated[DistributionFeeder | None, Field(None, description='Name of the feeder.')] = None#
Name of the feeder.
- field in_service: Annotated[bool, Field(True, description='Is the component in service?')] = True#
Is the component in service?
- field name: Annotated[str, Field(frozen=True)] [Required]#
- field phases: Annotated[list[Phase], FieldInfo(annotation=NoneType, required=True, description='List of phases that have capacitor controllers. Phase order should be in the same order as the controllers.')] [Required]#
List of phases that have capacitor controllers. Phase order should be in the same order as the controllers.
- field substation: Annotated[DistributionSubstation | None, Field(None, description='Name of the substation.')] = None#
Name of the substation.
- field uuid: UUID [Optional]#
- classmethod aggregate(instances: list[DistributionCapacitor], bus: DistributionBus, name: str, split_phase_mapping: dict[str, set[Phase]]) DistributionCapacitor #