Calculate a set temperature based on the outdoor air and room temperature. The boolean isDay enables day/night dependent set temperatures.
Used in model HeatingCurve.
partial function PartialBaseFct extends Modelica.Icons.Function; input Modelica.Units.SI.ThermodynamicTemperature T_oda "Outdoor air temperature"; input Modelica.Units.SI.ThermodynamicTemperature TRoom "Room temperature"; input Boolean isDay "Boolean to evaulate if it is day or night"; output Modelica.Units.SI.ThermodynamicTemperature TSet "Set temperature for the heat generator"; end PartialBaseFct;