Recloser Equipment#

pydantic model gdm.distribution.equipment.MatrixImpedanceRecloserEquipment#

Data model for matrix impedance based recloser equipment.

Show JSON schema
{
   "title": "MatrixImpedanceRecloserEquipment",
   "description": "Data model for matrix impedance based recloser equipment.",
   "type": "object",
   "properties": {
      "uuid": {
         "format": "uuid",
         "title": "Uuid",
         "type": "string"
      },
      "name": {
         "title": "Name",
         "type": "string"
      },
      "construction": {
         "default": "OVERHEAD",
         "description": "Construction type of MatrixImpedanceBranchEquipmentBase.",
         "type": "string"
      },
      "r_matrix": {
         "default": "OVERHEAD",
         "description": "Per unit length resistance matrix.",
         "title": "R Matrix",
         "type": "string"
      },
      "x_matrix": {
         "default": "OVERHEAD",
         "description": "Per unit length reactance matrix.",
         "title": "X Matrix",
         "type": "string"
      },
      "c_matrix": {
         "default": "OVERHEAD",
         "description": "Per unit length capacitance matrix.",
         "title": "C Matrix",
         "type": "string"
      },
      "ampacity": {
         "default": "OVERHEAD",
         "description": "Ampacity of the conductor.",
         "title": "Ampacity",
         "type": "string"
      }
   },
   "additionalProperties": false,
   "required": [
      "name",
      "r_matrix",
      "x_matrix",
      "c_matrix",
      "ampacity"
   ]
}

Config:
  • str_strip_whitespace: bool = True

  • validate_assignment: bool = True

  • validate_default: bool = True

  • extra: str = forbid

  • use_enum_values: bool = False

  • arbitrary_types_allowed: bool = True

  • populate_by_name: bool = True

Fields:
  • ampacity (infrasys.quantities.Current)

  • c_matrix (gdm.quantities.CapacitancePULength)

  • construction (gdm.distribution.enums.LineType)

  • name (str)

  • r_matrix (gdm.quantities.ResistancePULength)

  • uuid (uuid.UUID)

  • x_matrix (gdm.quantities.ReactancePULength)

Validators:
  • validate_fields » all fields

field ampacity: Annotated[Current, PINT_SCHEMA, Field(..., description='Ampacity of the conductor.', gt=0)] [Required]#

Ampacity of the conductor.

Constraints:
  • json_schema = {‘type’: ‘string’, ‘default’: ‘OVERHEAD’}

  • gt = 0

Validated by:
  • validate_fields

field c_matrix: Annotated[CapacitancePULength, PINT_SCHEMA, Field(..., description='Per unit length capacitance matrix.')] [Required]#

Per unit length capacitance matrix.

Constraints:
  • json_schema = {‘type’: ‘string’, ‘default’: ‘OVERHEAD’}

Validated by:
  • validate_fields

field construction: Annotated[LineType, PINT_SCHEMA, Field(LineType.OVERHEAD, description='Construction type of MatrixImpedanceBranchEquipmentBase.')] = LineType.OVERHEAD#

Construction type of MatrixImpedanceBranchEquipmentBase.

Constraints:
  • json_schema = {‘type’: ‘string’, ‘default’: ‘OVERHEAD’}

Validated by:
  • validate_fields

field r_matrix: Annotated[ResistancePULength, PINT_SCHEMA, Field(..., description='Per unit length resistance matrix.')] [Required]#

Per unit length resistance matrix.

Constraints:
  • json_schema = {‘type’: ‘string’, ‘default’: ‘OVERHEAD’}

Validated by:
  • validate_fields

field x_matrix: Annotated[ReactancePULength, PINT_SCHEMA, Field(..., description='Per unit length reactance matrix.')] [Required]#

Per unit length reactance matrix.

Constraints:
  • json_schema = {‘type’: ‘string’, ‘default’: ‘OVERHEAD’}

Validated by:
  • validate_fields

pydantic model gdm.distribution.equipment.RecloserControllerEquipment#

Class interface for recloser controller equipment.

Show JSON schema
{
   "title": "RecloserControllerEquipment",
   "description": "Class interface for recloser controller equipment.",
   "type": "object",
   "properties": {
      "uuid": {
         "format": "uuid",
         "title": "Uuid",
         "type": "string"
      },
      "name": {
         "title": "Name",
         "type": "string"
      }
   },
   "additionalProperties": false,
   "required": [
      "name"
   ]
}

Config:
  • str_strip_whitespace: bool = True

  • validate_assignment: bool = True

  • validate_default: bool = True

  • extra: str = forbid

  • use_enum_values: bool = False

  • arbitrary_types_allowed: bool = True

  • populate_by_name: bool = True

Fields:
  • name (str)

  • uuid (uuid.UUID)