modelMassFlowRatePulse100
Comparative model validation with FEFLOW for a pulse response
Extends from Modelica.Icons.Example (Icon for runnable examples).
Information
This validation cases compares the outlet temperature of a borefield with two zones against the temperatures that were calculated with the FEFLOW software. The mass flow rate in both zones is a pulse function.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.Temperature | T_start | 286.65 | Initial temperature of the soil |
| ZonedBorefields.Data.Filling.Bentonite | filDat | Borehole filling data | |
| ZonedBorefields.Data.Soil.SandStone | soiDat | Soil data | |
| Buildings.Fluid.Geothermal.ZonedBorefields.Data.Borefield.Template | borFieDat | Borefield data | |
| Data.Configuration.Template | conDat | Construction data | |
| Integer | nZon | borFieDat.conDat.nZon | Total number of independent bore field zones |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Sources.Constant[nZon] | TIn | ||
| Modelica.Blocks.Sources.CombiTimeTable | TOut | Reference results for the borehole fluid outlet temperature in each zone from FEFLOW | |
| Modelica.Units.SI.TemperatureDifference[2] | dTOut | {if m_flow[i].y > 1E-5 then TOut.y[i] - TBorFieOut[i].T else 0 for i in 1:2} | Temperature difference FEFLOW minus Modelica outlet temperature |
| Real[2] | dQNor_flow | {if m_flow[i].y > 1E-5 then (TOut.y[i] - sou[i].T)/(TBorFieOut[i].T - sou[i].T) - 1 else 0 for i in 1:2} | Difference in heat extraction FEFLOW divided by Modelica |
| Buildings.Fluid.Geothermal.ZonedBorefields.TwoUTubes | borFie | Borefield | |
| Sensors.TemperatureTwoPort[nZon] | TBorFieIn | Inlet temperature of the borefield | |
| Sensors.TemperatureTwoPort[nZon] | TBorFieOut | Outlet temperature of the borefield | |
| Sources.Boundary_ph[nZon] | sin | Sink | |
| Modelica.Blocks.Sources.Pulse[nZon] | m_flow | ||
| Sources.MassFlowSource_T[nZon] | sou | Mass flow source |
Contents
| Name | Description |
|---|---|
Revisions
-
October 8, 2025, by Michael Wetter:
Corrected wrongeachstatements. -
May 17, 2024, by Michael Wetter:
First implementation.