Fuse Equipment#

pydantic model gdm.distribution.equipment.MatrixImpedanceFuseEquipment#

Data model for impedance based fuse equipment.

Show JSON schema
{
   "title": "MatrixImpedanceFuseEquipment",
   "description": "Data model for impedance based fuse 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"
      },
      "delay": {
         "default": "OVERHEAD",
         "description": "Delay time before blowing the fuse.",
         "title": "Delay",
         "type": "string"
      },
      "tcc_curve": {
         "$ref": "#/$defs/TimeCurrentCurve",
         "description": "Time current curve"
      }
   },
   "$defs": {
      "TimeCurrentCurve": {
         "additionalProperties": false,
         "description": "An interface for time current curve.",
         "properties": {
            "uuid": {
               "format": "uuid",
               "title": "Uuid",
               "type": "string"
            },
            "name": {
               "default": "",
               "description": "Name of the curve.",
               "title": "Name",
               "type": "string"
            },
            "curve_x": {
               "default": "OVERHEAD",
               "description": "Array of time values.",
               "title": "Curve X",
               "type": "string"
            },
            "curve_y": {
               "default": "OVERHEAD",
               "description": "Array of current values.",
               "title": "Curve Y",
               "type": "string"
            }
         },
         "required": [
            "curve_x",
            "curve_y"
         ],
         "title": "TimeCurrentCurve",
         "type": "object"
      }
   },
   "additionalProperties": false,
   "required": [
      "name",
      "r_matrix",
      "x_matrix",
      "c_matrix",
      "ampacity",
      "delay",
      "tcc_curve"
   ]
}

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)

  • delay (infrasys.quantities.Time)

  • name (str)

  • r_matrix (gdm.quantities.ResistancePULength)

  • tcc_curve (gdm.distribution.common.curve.TimeCurrentCurve)

  • 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 delay: ')] [Required]#

Delay time before blowing the fuse.

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 tcc_curve: Annotated[TimeCurrentCurve, FieldInfo(annotation=NoneType, required=True, description='Time current curve')] [Required]#

Time current curve

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