Skip to content

Switchgear

The Switchgear is the main object that needs to be defined to work with our thermal model.

Switchgear

Switchgear(
    rated_current: float,
    measured_temperature_rise: float,
    temp_rise_exp: float,
    thermal_time_constant: float,
)

Bases: BaseModel

A switchgear to model the thermal behavior of a switchgear component.

Source code in switchgear_thermal_model/switchgear.py
36
37
38
39
40
41
42
43
44
45
def __init__(
    self, rated_current: float, measured_temperature_rise: float, temp_rise_exp: float, thermal_time_constant: float
) -> None:
    """Initialize the switchgear with its thermal parameters."""
    super().__init__(
        rated_current=rated_current,
        measured_temperature_rise=measured_temperature_rise,
        temp_rise_exp=temp_rise_exp,
        thermal_time_constant=thermal_time_constant,
    )