Skip to content

RadiativeCooling

RadiativeCooling

RadiativeCooling(
    ambient_temperature: floatArrayLike,
    outer_diameter: floatArrayLike,
    emissivity: floatArrayLike,
    **kwargs: Any,
)

Bases: RadiativeCooling

Parameters:

Name Type Description Default

ambient_temperature

float | ndarray

Ambient temperature (°C).

required

outer_diameter

float | ndarray

External diameter (m).

required

emissivity

float | ndarray

Emissivity (—).

required
Source code in src/thermohl/power/ieee/radiative_cooling.py
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
def __init__(
    self,
    ambient_temperature: floatArrayLike,
    outer_diameter: floatArrayLike,
    emissivity: floatArrayLike,
    **kwargs: Any,
):
    r"""Init with args.

    Args:
        ambient_temperature (float | numpy.ndarray): Ambient temperature (°C).
        outer_diameter (float | numpy.ndarray): External diameter (m).
        emissivity (float | numpy.ndarray): Emissivity (—).

    """
    self.ambient_temp = ambient_temperature
    self.outer_diameter = outer_diameter
    self.emissivity = emissivity

derivative

derivative(
    conductor_temperature: floatArrayLike,
) -> floatArrayLike

Analytical derivative of value method.

Parameters:

Name Type Description Default

conductor_temperature

float | ndarray

Conductor temperature (K).

required

Returns:

Type Description
floatArrayLike

float | numpy.ndarray: Power term derivative (W·m⁻¹·K⁻¹).

Source code in src/thermohl/power/ieee/radiative_cooling.py
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
def derivative(self, conductor_temperature: floatArrayLike) -> floatArrayLike:
    r"""Analytical derivative of value method.

    Args:
        conductor_temperature (float | numpy.ndarray): Conductor temperature (K).

    Returns:
        float | numpy.ndarray: Power term derivative (W·m⁻¹·K⁻¹).

    """
    return (
        4.0
        * 1.78e-07
        * self.emissivity
        * self.outer_diameter
        * conductor_temperature**3
    )

value

value(
    conductor_temperature: floatArrayLike,
) -> floatArrayLike

Compute radiative cooling using the Stefan-Boltzmann law.

Parameters:

Name Type Description Default

conductor_temperature

float | ndarray

Conductor temperature (°C).

required

Returns:

Type Description
floatArrayLike

float | numpy.ndarray: Power term value (W·m⁻¹).

Source code in src/thermohl/power/ieee/radiative_cooling.py
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
def value(self, conductor_temperature: floatArrayLike) -> floatArrayLike:
    r"""Compute radiative cooling using the Stefan-Boltzmann law.

    Args:
        conductor_temperature (float | numpy.ndarray): Conductor temperature (°C).

    Returns:
        float | numpy.ndarray: Power term value (W·m⁻¹).

    """
    return (
        17.8
        * self.emissivity
        * self.outer_diameter
        * (
            ((conductor_temperature + 273.0) / 100.0) ** 4
            - ((self.ambient_temp + 273.0) / 100.0) ** 4
        )
    )