Calculate the set temperature with a linear approach. The room temperature serves as the set point(e.g. 20°C).
function HeatingCurveFunction extends PartialBaseFct; parameter Modelica.Units.SI.TemperatureDifference TOffNig = 10 "Delta K for night mode of heating system"; parameter Modelica.Units.SI.ThermodynamicTemperature TDesign = 328.15 "Design temperature of heating system at -20 °C outside air temperature"; end HeatingCurveFunction;