BondLib.Examples.SolarHouse.Temperature

# .BondLib.Examples.SolarHouse.Temperature

Ambient temperature

## Information

This block computes the ambient temperature at the experimental house for any day of the year and any hour of the day. Rather than operating on a huge data file with observed data for the location of Tucson for an entire year, the model makes use of two lookup tables.

One table contains the average temperature for each day of the year measured in oK. The table is small, as data values are stored only once per month (roughly). Interpolation is used to interpolate between these storage data points.

The other table contains the average temperature variation during one day. Also this table is small, as data values are stored once per hour. The temperature variation is stored as a multiplicative factor of the average temperature of the day.

This model is good enough for our purposes.

Generated at 2026-05-12T20:19:03Z by OpenModelicaOpenModelica 1.26.7 using GenerateDoc.mos