Distribution Capacitor#

pydantic model gdm.DistributionCapacitor#

Interface 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 phases: Annotated[list[Phase], FieldInfo(annotation=NoneType, required=True, description='List of phases at which this phase capacitorsare connected to in the same order.')] [Required]#

List of phases at which this phase capacitorsare connected to in the same order.

field substation: Annotated[DistributionSubstation | None, Field(None, description='Name of the substation.')] = None#

Name of the substation.

classmethod aggregate(instances: list[DistributionCapacitor], bus: DistributionBus, name: str, split_phase_mapping: dict[str, set[Phase]]) DistributionCapacitor#