blockTemperature2
Ground temperature
Information
This block computes the ground 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 air 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.
The average ground temperature is computed by a correction equation applied to the air temperature.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Real | pi | Modelica.Constants.pi |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealInput[6] | u | Connector of Real input signals | |
| Modelica.Blocks.Interfaces.RealOutput | y | Connector of Real output signal |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Real | corr | Temperature correction factor | |
| Modelica.SIunits.Temperature | AvgTemp | Average temperature | |
| Modelica.SIunits.Temperature | AvgTemp2 | Average temperature corrected | |
| Modelica.Blocks.Math.Product | P1 |