Distribution Switch#

pydantic model gdm.MatrixImpedanceSwitch#

Interface for matrix impedance switch.

field buses: Annotated[list[DistributionBus], Field(..., description='List of buses connecting a branch.')] [Required]#

List of buses connecting a branch.

field equipment: Annotated[MatrixImpedanceSwitchEquipment, FieldInfo(annotation=NoneType, required=True, description='Matrix impedance branch equipment.')] [Required]#

Matrix impedance branch equipment.

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 is_closed: Annotated[list[bool], Field(description='Status of branch for each phase.')] [Required]#

Status of branch for each phase.

field length: Annotated[PositiveDistance, PINT_SCHEMA, Field(..., description='Length of the branch.')] [Required]#

Length of the branch.

field phases: Annotated[list[Phase], Field(..., description='List of phases in the same order as conductors.')] [Required]#

List of phases in the same order as conductors.

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

Name of the substation.

validator validate_fields_base  »  all fields#

Custom validator for distribution switch.