meld.system.temperature.LinearTemperatureScaler
- class meld.system.temperature.LinearTemperatureScaler(alpha_min, alpha_max, temperature_min, temperature_max)[source]
Bases:
TemperatureScaler
Scale temperature linearly between alpha_min and alpha_max
- __init__(alpha_min, alpha_max, temperature_min, temperature_max)[source]
Initialize LinearTemperatureScaler
- Parameters
alpha_min (
float
) – temperature istemperature_min
whenalpha <= alpha_min
alpha_max (
float
) – temperature istemperature_max
whenalpha >= alpha_max
temperature_min (
Quantity
) – minimum temperature in Kelvintermperature_max – maximum temperature in Kelvin
Methods
__init__
(alpha_min, alpha_max, ...)Initialize LinearTemperatureScaler