JouleHeating
JouleHeating
JouleHeating(
transit: floatArrayLike,
outer_diameter: floatArrayLike,
core_diameter: floatArrayLike,
outer_area: floatArrayLike,
core_area: floatArrayLike,
magnetic_coeff: floatArrayLike,
magnetic_coeff_per_a: floatArrayLike,
temperature_coeff_linear: floatArrayLike,
temperature_coeff_quadratic: floatArrayLike,
linear_resistance_dc_20c: floatArrayLike,
reference_temperature: floatArrayLike = 20.0,
frequency: floatArrayLike = 50.0,
**kwargs: Any,
)
Bases: PowerTerm
Joule heating term.
If more than one input are numpy arrays, they should have the same size.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
|
float | ndarray
|
Transit intensity (A). |
required |
|
float | ndarray
|
External diameter (m). |
required |
|
float | ndarray
|
Core diameter (m). |
required |
|
float | ndarray
|
External (total) cross-sectional area (m²). |
required |
|
float | ndarray
|
Core cross-sectional area (m²). |
required |
|
float | ndarray
|
Coefficient for magnetic effects (—). |
required |
|
float | ndarray
|
Coefficient for magnetic effects (A⁻¹). |
required |
|
float | ndarray
|
Linear resistance augmentation with temperature (K⁻¹). |
required |
|
float | ndarray
|
Quadratic resistance augmentation with temperature (K⁻²). |
required |
|
float | ndarray
|
Electric resistance per unit length (DC) at 20°C (Ω·m⁻¹). |
required |
|
float | ndarray
|
Reference temperature (°C). The default is 20. |
20.0
|
|
float | ndarray
|
Current frequency (Hz). The default is 50. |
50.0
|
Source code in src/thermohl/power/rte/joule_heating.py
19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 | |
derivative
derivative(
conductor_temperature: floatArrayLike,
temperature_increment: float = _TEMP_INCREMENT,
) -> floatArrayLike
Compute power term derivative regarding temperature in function of temperature.
Usually this function should be overriden in children classes; if it is not the case it will evaluate the derivative from the value method with a second-order approximation.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
|
float | ndarray
|
Conductor temperature (°C). |
required |
|
float
|
Temperature increment. The default is 1.0E-03. |
_TEMP_INCREMENT
|
Returns:
| Type | Description |
|---|---|
floatArrayLike
|
float | numpy.ndarray: Power term derivative (W·m⁻¹·K⁻¹). |
Source code in src/thermohl/power/power_term.py
43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 | |
value
value(
conductor_temperature: floatArrayLike,
) -> floatArrayLike
Compute joule heating.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
|
float | ndarray
|
Conductor temperature (°C). |
required |
Returns:
| Type | Description |
|---|---|
floatArrayLike
|
float | numpy.ndarray: Power term value (W·m⁻¹). |
Source code in src/thermohl/power/rte/joule_heating.py
157 158 159 160 161 162 163 164 165 166 167 168 169 170 | |