.BondLib.Examples.Biosphere.AmbientTemp

Information

This block computes the ambient temperature as a function of time for the location of Oracle, Arizona, i.e., for the location of Biosphere 2. The model operates on a huge table containing temperature values of an entire year stored hourly in oF. The model then converts the interpolated temperature value to oC, and finally to oK, which are the unit needed by the model.

The model reads the data from an external file. This is essential, as Dymola isn't geared to dealing with large data tables in memory. Dymola essentially converts all matrices to sets of individual scalar variables in the process of compilation. This is necessary, as the most flexible automatic causality assignment depends on this feature. Yet, this is highly inefficient, when dealing with large data tables containing many thousands of data points. We must hide these tables from Dymola, and can do so by placing them in external data files.


Generated at 2024-12-21T19:25:56Z by OpenModelicaOpenModelica 1.24.3 using GenerateDoc.mos