Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes
Package with borehole heat exchangers
Information
This package contains models for borehole heat exchangers.
Extends from Modelica.Icons.VariantsPackage (Icon for package containing variants).
Package Content
Name | Description |
---|---|
OneUTube | Single U-tube borehole heat exchanger |
TwoUTube | Double U-tube borehole heat exchanger |
Examples | Example files for borehole heat exchanger |
BaseClasses | Base classes for Borehole |
Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.OneUTube
Single U-tube borehole heat exchanger
Information
Model of a single U-tube borehole heat exchanger.
The borehole heat exchanger is vertically discretized into
nseg elements of height
h=hBor⁄nseg.
Each segment contains a model for the heat transfer in the borehole,
with a uniform borehole wall boundary temperature given by the
port_wall
port.
The heat transfer in the borehole is computed using a convective heat transfer coefficient that depends on the fluid velocity, a heat resistance between the two pipes, and a heat resistance between the pipes and the borehole wall. The heat capacity of the fluid and the heat capacity of the grout are taken into account. The vertical heat flow is assumed to be zero.
Extends from Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.PartialBorehole (Partial model to implement multi-segment boreholes).
Parameters
Type | Name | Default | Description |
---|---|---|---|
replaceable package Medium | PartialMedium | Medium in the component | |
Integer | nSeg | 10 | Number of segments to use in vertical discretization of the boreholes |
Template | borFieDat | Borefield parameters | |
Nominal condition | |||
MassFlowRate | m_flow_nominal | Nominal mass flow rate [kg/s] | |
PressureDifference | dp_nominal | Pressure difference [Pa] | |
Assumptions | |||
Boolean | allowFlowReversal | true | = false to simplify equations, assuming, but not enforcing, no flow reversal |
Advanced | |||
MassFlowRate | m_flow_small | 1E-4*abs(m_flow_nominal) | Small mass flow rate for regularization of zero flow [kg/s] |
Diagnostics | |||
Boolean | show_T | false | = true, if actual temperature at port is computed |
Flow resistance | |||
Boolean | computeFlowResistance | dp_nominal > Modelica.Consta... | =true, compute flow resistance. Set to false to assume no friction |
Boolean | from_dp | false | = true, use m_flow = f(dp) else dp = f(m_flow) |
Boolean | linearizeFlowResistance | false | = true, use linear relation between m_flow and dp for any flow rate |
Real | deltaM | 0.1 | Fraction of nominal flow rate where flow transitions to laminar |
Initialization | |||
Temperature | TGro_start[nSeg] | Start value of grout temperature [K] | |
Temperature | TFlu_start[nSeg] | TGro_start | Start value of fluid temperature [K] |
AbsolutePressure | p_start | Medium.p_default | Start value of pressure [Pa] |
Dynamics | |||
Equations | |||
Dynamics | energyDynamics | Modelica.Fluid.Types.Dynamic... | Type of energy balance: dynamic (3 initialization options) or steady state |
Boolean | dynFil | true | Set to false to remove the dynamics of the filling material |
Connectors
Type | Name | Description |
---|---|---|
FluidPort_a | port_a | Fluid connector a (positive design flow direction is from port_a to port_b) |
FluidPort_b | port_b | Fluid connector b (positive design flow direction is from port_a to port_b) |
HeatPort_a | port_wall[nSeg] | Thermal connection for borehole wall |
Modelica definition
Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.TwoUTube
Double U-tube borehole heat exchanger
Information
Model of a double U-tube borehole heat exchanger.
The borehole heat exchanger is vertically discretized into
nseg elements of height
h=hBor⁄nseg.
Each segment contains a model for the heat transfer in the borehole,
with a uniform borehole wall boundary temperature given by the
port_wall
port.
The heat transfer in the borehole is computed using a convective heat transfer coefficient that depends on the fluid velocity, a heat resistance between each pair of pipes, and a heat resistance between the pipes and the borehole wall. The heat capacity of the fluid and the heat capacity of the grout are taken into account. The vertical heat flow is assumed to be zero.
Extends from Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.PartialBorehole (Partial model to implement multi-segment boreholes).
Parameters
Type | Name | Default | Description |
---|---|---|---|
replaceable package Medium | PartialMedium | Medium in the component | |
Integer | nSeg | 10 | Number of segments to use in vertical discretization of the boreholes |
Template | borFieDat | Borefield parameters | |
Nominal condition | |||
MassFlowRate | m_flow_nominal | Nominal mass flow rate [kg/s] | |
PressureDifference | dp_nominal | Pressure difference [Pa] | |
Assumptions | |||
Boolean | allowFlowReversal | true | = false to simplify equations, assuming, but not enforcing, no flow reversal |
Advanced | |||
MassFlowRate | m_flow_small | 1E-4*abs(m_flow_nominal) | Small mass flow rate for regularization of zero flow [kg/s] |
Diagnostics | |||
Boolean | show_T | false | = true, if actual temperature at port is computed |
Flow resistance | |||
Boolean | computeFlowResistance | dp_nominal > Modelica.Consta... | =true, compute flow resistance. Set to false to assume no friction |
Boolean | from_dp | false | = true, use m_flow = f(dp) else dp = f(m_flow) |
Boolean | linearizeFlowResistance | false | = true, use linear relation between m_flow and dp for any flow rate |
Real | deltaM | 0.1 | Fraction of nominal flow rate where flow transitions to laminar |
Initialization | |||
Temperature | TGro_start[nSeg] | Start value of grout temperature [K] | |
Temperature | TFlu_start[nSeg] | TGro_start | Start value of fluid temperature [K] |
AbsolutePressure | p_start | Medium.p_default | Start value of pressure [Pa] |
Dynamics | |||
Equations | |||
Dynamics | energyDynamics | Modelica.Fluid.Types.Dynamic... | Type of energy balance: dynamic (3 initialization options) or steady state |
Boolean | dynFil | true | Set to false to remove the dynamics of the filling material |
Connectors
Type | Name | Description |
---|---|---|
FluidPort_a | port_a | Fluid connector a (positive design flow direction is from port_a to port_b) |
FluidPort_b | port_b | Fluid connector b (positive design flow direction is from port_a to port_b) |
HeatPort_a | port_wall[nSeg] | Thermal connection for borehole wall |