piel.models.physical.electrical.cables.dc#

Submodules#

Functions#

generic_banana(→ piel.types.DCCable)

calculate_dc_cable_geometry(...)

Calculate the geometry of a DC cable. Defaults are based on the parameters of a TODO

define_dc_cable_materials(...)

Define the materials of a coaxial cable.

calculate_dc_cable_heat_transfer(, material_class, ...)

Calculate the heat transfer of a coaxial cable.

Package Contents#

generic_banana(name: str, length_m: float, **kwargs) piel.types.DCCable[source]#
calculate_dc_cable_geometry(length_m: float = 1, core_diameter_dimension: Literal['awg', 'metric'] = 'metric', core_diameter_awg: float = 0.0, core_diameter_m: float = 0.002, *args, **kwargs) piel.types.electrical.cables.DCCableGeometryType[source]#

Calculate the geometry of a DC cable. Defaults are based on the parameters of a TODO

Parameters:
  • length_m – Length of the cable in meters.

  • core_diameter_dimension – Dimension of the core diameter.

  • core_diameter_awg – Core diameter in AWG.

  • core_diameter_m – Core diameter in meters.

  • **kwargs

Returns:

The geometry of the coaxial cable.

Return type:

CoaxialCableGeometryType

define_dc_cable_materials(core_material: piel.types.materials.MaterialReferenceType) piel.types.electrical.cables.DCCableMaterialSpecificationType[source]#

Define the materials of a coaxial cable.

Parameters:

core_material – The material of the core.

Returns:

The material specification of the dc cable.

Return type:

DCCableMaterialSpecificationType

calculate_dc_cable_heat_transfer(temperature_range_K: piel.types.physical.TemperatureRangeTypes = [273, 293], geometry_class: piel.types.electrical.cables.DCCableGeometryType = DCCableGeometryType(), material_class: piel.types.electrical.cables.DCCableMaterialSpecificationType | None = DCCableMaterialSpecificationType(), core_material: piel.types.materials.MaterialReferenceType = MaterialReferenceType()) piel.types.electrical.cables.DCCableHeatTransferType[source]#

Calculate the heat transfer of a coaxial cable.

Parameters:
  • temperature_range_K – The temperature range in Kelvin.

  • geometry_class – The geometry of the cable.

  • material_class – The material of the cable.

  • core_material – The material of the core.

Returns:

The heat transfer of the cable.

Return type:

DCCableHeatTransferType