Sample CLI
gway awg find-cable
References
Signature
(*, meters: Union[int, str, NoneType] = None, amps: Union[int, str] = '40', volts: Union[int, str] =
'220', material: Literal['cu', 'al', '?'] = 'cu', max_lines: Union[int, str] = '1', phases:
Literal['1', '3', 1, 3] = '2', conduit: Union[str, bool, NoneType] = None, ground: Union[int, str] =
'1')
Docstring
Calculate the type of cable needed for an electrical system.
Args:
meters: Cable length (one line) in meters. Required keyword.
amps: Load in Amperes. Default: 40 A.
volts: System voltage. Default: 220 V.
material: 'cu' (copper) or 'al' (aluminum). Default: cu.
max_lines: Maximum number of line conductors allowed. Default: 1
phases: Number of phases for AC (1, 2 or 3). Default: 2
conduit: Conduit type or None.
ground: Number of ground wires.
Returns:
dict with cable selection and voltage drop info, or {'awg': 'n/a'} if not possible.