Wire Equipment#

pydantic model gdm.distribution.equipment.BareConductorEquipment#

Data model for conductor catalaog.

Show JSON schema
{
   "title": "BareConductorEquipment",
   "description": "Data model for conductor catalaog.",
   "type": "object",
   "properties": {
      "uuid": {
         "format": "uuid",
         "title": "Uuid",
         "type": "string"
      },
      "name": {
         "title": "Name",
         "type": "string"
      },
      "conductor_diameter": {
         "default": "0 ohm",
         "description": "Diameter of the conductor.",
         "title": "Conductor Diameter",
         "type": "string"
      },
      "conductor_gmr": {
         "default": "0 ohm",
         "description": "Geometric mean radius of the conductor.",
         "title": "Conductor Gmr",
         "type": "string"
      },
      "ampacity": {
         "default": "0 ohm",
         "description": "Ampacity of the conductor.",
         "title": "Ampacity",
         "type": "string"
      },
      "ac_resistance": {
         "default": "0 ohm",
         "description": "Per unit length positive alternating current resistance of the conductor.",
         "title": "Ac Resistance",
         "type": "string"
      },
      "emergency_ampacity": {
         "default": "0 ohm",
         "description": "Emergency ampacity for this conductor.",
         "title": "Emergency Ampacity",
         "type": "string"
      },
      "dc_resistance": {
         "default": "0 ohm",
         "description": "Per unit length positive direct current resistance of the conductor.",
         "title": "Dc Resistance",
         "type": "string"
      }
   },
   "additionalProperties": false,
   "required": [
      "name",
      "conductor_diameter",
      "conductor_gmr",
      "ampacity",
      "ac_resistance",
      "emergency_ampacity",
      "dc_resistance"
   ]
}

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:
  • ac_resistance (gdm.quantities.ResistancePULength)

  • ampacity (infrasys.quantities.Current)

  • conductor_diameter (infrasys.quantities.Distance)

  • conductor_gmr (infrasys.quantities.Distance)

  • dc_resistance (gdm.quantities.ResistancePULength)

  • emergency_ampacity (infrasys.quantities.Current)

  • name (str)

  • uuid (uuid.UUID)

field ac_resistance: ', metadata=[Gt(gt=0)])] [Required]#

Per unit length positive alternating current resistance of the conductor.

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

  • gt = 0

field ampacity: ', metadata=[Gt(gt=0)])] [Required]#

Ampacity of the conductor.

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

  • gt = 0

field conductor_diameter: ', metadata=[Gt(gt=0)])] [Required]#

Diameter of the conductor.

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

  • gt = 0

field conductor_gmr: ', metadata=[Gt(gt=0)])] [Required]#

Geometric mean radius of the conductor.

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

  • gt = 0

field dc_resistance: ', metadata=[Gt(gt=0)])] [Required]#

Per unit length positive direct current resistance of the conductor.

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

  • gt = 0

field emergency_ampacity: ', metadata=[Gt(gt=0)])] [Required]#

Emergency ampacity for this conductor.

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

  • gt = 0

pydantic model gdm.distribution.equipment.ConcentricCableEquipment#

Data model for cable catalog.

Show JSON schema
{
   "title": "ConcentricCableEquipment",
   "description": "Data model for cable catalog.",
   "type": "object",
   "properties": {
      "uuid": {
         "format": "uuid",
         "title": "Uuid",
         "type": "string"
      },
      "name": {
         "title": "Name",
         "type": "string"
      },
      "strand_diameter": {
         "default": "0 ohm",
         "description": "Diameter of the cable strand.",
         "title": "Strand Diameter",
         "type": "string"
      },
      "conductor_diameter": {
         "default": "0 ohm",
         "description": "Diameter of the conductor inside cable.",
         "title": "Conductor Diameter",
         "type": "string"
      },
      "cable_diameter": {
         "default": "0 ohm",
         "description": "Diameter of the cable.",
         "title": "Cable Diameter",
         "type": "string"
      },
      "insulation_thickness": {
         "default": "0 ohm",
         "description": "Thickness of insulation.",
         "title": "Insulation Thickness",
         "type": "string"
      },
      "insulation_diameter": {
         "default": "0 ohm",
         "description": "Diameter of the insulation.",
         "title": "Insulation Diameter",
         "type": "string"
      },
      "ampacity": {
         "default": "0 ohm",
         "description": "Ampacity of the conductor.",
         "title": "Ampacity",
         "type": "string"
      },
      "conductor_gmr": {
         "default": "0 ohm",
         "description": "Geometric mean radius of the conductor.",
         "title": "Conductor Gmr",
         "type": "string"
      },
      "strand_gmr": {
         "default": "0 ohm",
         "description": "Geometric mean radius of the strand.",
         "title": "Strand Gmr",
         "type": "string"
      },
      "phase_ac_resistance": {
         "default": "0 ohm",
         "description": "Per unit length conductor ac resistance.",
         "title": "Phase Ac Resistance",
         "type": "string"
      },
      "strand_ac_resistance": {
         "default": "0 ohm",
         "description": "Per unit length ac resistance of the strand.",
         "title": "Strand Ac Resistance",
         "type": "string"
      },
      "num_neutral_strands": {
         "description": "Number of neutral strands in the cable.",
         "exclusiveMinimum": 0,
         "title": "Num Neutral Strands",
         "type": "integer"
      },
      "rated_voltage": {
         "default": "0 ohm",
         "description": "Rated voltage for the cable.",
         "title": "Rated Voltage",
         "type": "string"
      }
   },
   "additionalProperties": false,
   "required": [
      "name",
      "strand_diameter",
      "conductor_diameter",
      "cable_diameter",
      "insulation_thickness",
      "insulation_diameter",
      "ampacity",
      "conductor_gmr",
      "strand_gmr",
      "phase_ac_resistance",
      "strand_ac_resistance",
      "num_neutral_strands",
      "rated_voltage"
   ]
}

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)

  • cable_diameter (infrasys.quantities.Distance)

  • conductor_diameter (infrasys.quantities.Distance)

  • conductor_gmr (infrasys.quantities.Distance)

  • insulation_diameter (infrasys.quantities.Distance)

  • insulation_thickness (infrasys.quantities.Distance)

  • name (str)

  • num_neutral_strands (int)

  • phase_ac_resistance (gdm.quantities.ResistancePULength)

  • rated_voltage (infrasys.quantities.Voltage)

  • strand_ac_resistance (gdm.quantities.ResistancePULength)

  • strand_diameter (infrasys.quantities.Distance)

  • strand_gmr (infrasys.quantities.Distance)

  • uuid (uuid.UUID)

Validators:
  • validate_fields » all fields

field ampacity: ', metadata=[Gt(gt=0)])] [Required]#

Ampacity of the conductor.

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

  • gt = 0

Validated by:
  • validate_fields

field cable_diameter: ', metadata=[Gt(gt=0)])] [Required]#

Diameter of the cable.

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

  • gt = 0

Validated by:
  • validate_fields

field conductor_diameter: ', metadata=[Gt(gt=0)])] [Required]#

Diameter of the conductor inside cable.

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

  • gt = 0

Validated by:
  • validate_fields

field conductor_gmr: ', metadata=[Gt(gt=0)])] [Required]#

Geometric mean radius of the conductor.

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

  • gt = 0

Validated by:
  • validate_fields

field insulation_diameter: ', metadata=[Gt(gt=0)])] [Required]#

Diameter of the insulation.

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

  • gt = 0

Validated by:
  • validate_fields

field insulation_thickness: ', metadata=[Gt(gt=0)])] [Required]#

Thickness of insulation.

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

  • gt = 0

Validated by:
  • validate_fields

field num_neutral_strands: Annotated[int, Gt(gt=0), FieldInfo(annotation=NoneType, required=True, description='Number of neutral strands in the cable.')] [Required]#

Number of neutral strands in the cable.

Constraints:
  • gt = 0

Validated by:
  • validate_fields

field phase_ac_resistance: ', metadata=[Gt(gt=0)])] [Required]#

Per unit length conductor ac resistance.

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

  • gt = 0

Validated by:
  • validate_fields

field rated_voltage: ', metadata=[Gt(gt=0)])] [Required]#

Rated voltage for the cable.

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

  • gt = 0

Validated by:
  • validate_fields

field strand_ac_resistance: ', metadata=[Gt(gt=0)])] [Required]#

Per unit length ac resistance of the strand.

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

  • gt = 0

Validated by:
  • validate_fields

field strand_diameter: ', metadata=[Gt(gt=0)])] [Required]#

Diameter of the cable strand.

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

  • gt = 0

Validated by:
  • validate_fields

field strand_gmr: ', metadata=[Gt(gt=0)])] [Required]#

Geometric mean radius of the strand.

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

  • gt = 0

Validated by:
  • validate_fields