modelTemperatureResponseMatrix

This validation case test the calculation, writing and reading of the temperature step response

Extends from Modelica.Icons.Example (Icon for runnable examples).

Information

This validation case calculates the g-function for a defined single borehole, turns it into a temperature step response, saves it as "TemperatureResponseMatrix_validationTStep.mat", reads this .mat file and shows the evolution of the temperature step reponse over the course of the first year.

Parameters

TypeNameDefaultDescription
Real[26 + 50,2]timSerBuildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.temperatureResponseMatrix(nBor = 1, cooBor = {{0, 0}}, hBor = 150, dBor = 4, rBor = 0.075, aSoi = 1e-6, kSoi = 3, nSeg = 12, nClu = 1, nTimSho = 26, nTimLon = 50, nTimTot = 26 + 50, ttsMax = exp(5), sha = "TemperatureResponseMatrix_validation", forceGFunCalc = true)Resulting temperature response matrix

Components

TypeNameDefaultDescription
RealTStepTemperature step response

Revisions

  • March 20, 2026, by Michael Wetter:
    Corrected type declaration of g-function.
    This is for Buildings, #4501.
  • July 18, 2018, by Alex Laferrière:
    First implementation.