125
Views
0
CrossRef citations to date
0
Altmetric
Research Article

A new analytical method for modeling network hydraulics in district systems with bidirectional mass and energy flows

, , ORCID Icon, ORCID Icon & ORCID Icon
Received 14 Aug 2023, Accepted 25 Mar 2024, Published online: 10 May 2024

Abstract

Recent technologies of district heating and cooling (DHC) systems integrate renewable energy sources and connect multiple heat producers and consumers to the same network. The resulting interactions may therefore cause the fluid in the pipe, or the energy carried by the system, to flow in both directions. This article presents a newly developed analytical method for evaluating the hydraulic states in DHC networks with bidirectional mass and energy flows. The formulation of the method is presented in detail and is mainly based on the definition of two functions, namely, the flow-pressure function and the bifurcation function. The former describes the relationship between the pressure drop and the mass flow rate in a circular pipe segment, whereas the latter finds the sum of all pressure differences in a closed loop and has a single unique zero that determines the unknown mass flow rate to fulfill network mass balance. Several examples are provided to demonstrate the applicability of the method to single- and multi-looped network topologies. The method enables robust and fast calculations for virtually any network configuration with any number of connected prosumers. It can be easily implemented in any design and simulation tool to account for steady-state or dynamic situations.

Introduction

District heating and cooling (DHC) systems are a key technology for decarbonizing the building sector (H. Lund et al. Citation2010). They enable the integration of renewable energy sources (RES) to meet European Union (EU) and national targets for improving energy efficiency and reducing carbon emissions (European Commission Citation2016; Government Offices of Sweden Citation2016; Government Offices of Sweden Citation2018; Henrik Lund et al. Citation2018; Mathiesen et al. Citation2015; Yuan et al. Citation2021). The share of different fuel inputs and energy sources for DHC systems varies from one country to another. Sweden, for example, predominantly uses bioenergy and municipal solid waste in the production of district heating (DH) with a reported share of about 70% of the total fuel input in 2020 (Abugabbara, Gehlin, et al. Citation2023). Denmark, on the other hand, currently has a share of about 20% of RES in the DH system and a framework is already outlined to reach a share of 100% by 2060 (H. Lund et al. Citation2010). Currently, 43% of the total European DH production comes from renewables (Euroheat & Power Citation2023). Although DH supplies only 12 and 8% of the European and global final heating in buildings and industry, its production rate increased by about 3% in 2021 and is expected to continue to increase (Euroheat & Power Citation2023; IEA Citation2022).

Globally, district cooling (DC) systems deliver much smaller amounts compared to DH, with an estimated amount of 83 TWh (Werner Citation2017). Two-thirds of the global DC deliveries are geographically located in the Middle East. DC is anticipated to grow in Europe due to hot summer events, with an expected increase of 55–60% in the installed cooling capacity in buildings compared to 2010 (Hitchin, Pout, and Riviere Citation2013). DC was introduced in Sweden in the 1990s and currently exists in 42 cities with a total network length of 660 km and a delivery of 1 TWh (Energiföretagen Sverige Citation2022; Energimyndigheten and SCB Citation2020). The DC system located in Stockholm is one of the largest in Europe with 270 MW of installed capacity in 2020, total delivery of 335 GWh, and a pipe length of 250 km (Jangsten Citation2020). Cooling is produced by three sources: heat pumps used in the DH system (55%), compression and absorption chillers (27%), and seawater free cooling (18%), with accounted distribution losses of 8% (Stockholm Exergie Citation2020).

Traditionally, DHC systems consist mainly of three components, namely, (1) a centralized plant, (2) a distribution piping network, and (3) substations to exchange heat with the end users (Frederiksen and Werner Citation2013). In DH systems, it is common to produce heat with high temperatures in the central plant (Werner Citation2017). A piping network distributes the heat from the plant to the end customers through a heat-carrying fluid. Substations at the end users transfer the heat into the building through heat exchangers. The heat-carrying fluid in the pipes is restricted to flow in one direction, from the plant toward the end customer, because of the central pumping station. A similar concept is applied to DC systems but for very-low-temperature production (Østergaard et al. Citation2022). In both systems, the temperature of the medium leaving the plant must meet the requirements of all connected customers. Consequently, distribution losses (or gains) are high and may account for up to one-third of the total delivered energy (Statistics Sweden Citation2019).

The development of new technologies of DH systems has been centered on lowering the network temperature, which has paved the way toward realizing smart and innovative solutions (Brand et al. Citation2014; Henrik Lund et al. Citation2014). As the network operating temperature has been reduced to levels very close to the ambient (e.g., 5–20 °C), the exploitation of low-enthalpy renewable sources like geothermal, solar thermal, and ambient air or water with large shares has become possible. Additionally, multiple low-grade waste heat sources such as sewage networks come into play. The integration of multiple heat sources into the same network poses a technical challenge where the medium direction is no longer restricted by a central plant. Rather, any building connected to the network may become a producer or a consumer of heat (the term prosumer is used in the remainder of the article) (Abugabbara et al. Citation2020; Brange, Englund, and Lauenburg Citation2016).

Several network topologies can be adopted for the prosumer concept, including one-, two-, or even three-pipe systems (Arabkoohsar and Alsagri Citation2020; Buffa et al. Citation2019; Bünning et al. Citation2018; Lindhe et al. Citation2022; Sommer et al. Citation2020; Zarin Pass, Wetter, and Piette Citation2018). The most common application found in literature is for two-pipe systems with warm and cold sides. In such a configuration, decentralized heat pumps or chillers extract water from the respective warm and cold pipes to modulate the network temperature to the desired building supply levels. Heat exchangers are also installed at the building level for possible direct supply of cooling and heating depending on the network temperature and the building temperature requirements. Due to the connection of multiple heat sources and depending on whether heating or cooling demands are dominant, the fluid can flow in any direction. However, it is important to distinguish between bidirectional mass and energy flows (Lindhe et al. Citation2022; Sulzer et al. Citation2021). The former can be typically observed between seasons when the same building has heating demands in winter and cooling demands in summer and when the fluid extraction changes from the warm to the cold pipe. In the latter case, the type of the dominant demand across the network determines whether the energy flows into or out of the network, regardless of the season. Such bidirectional networks with low temperatures are referred to as bidirectional low temperature networks (BLTNs) (Bu et al. Citation2023; Licklederer et al. Citation2021; Wirtz et al. Citation2020).

The distribution pipes in BLTNs are typically uninsulated due to the low temperature of the heat-carrying fluid. Abugabbara, Javed, and Johansson (Citation2022) presented a Modelica model for steady-state heat loss calculation for uninsulated double buried pipes using the multipole method originally developed by Wallentén (Citation1991) and the equivalent resistance model described by van der Heijde, Aertgeerts, et al. (Citation2017). The Modelica model also accounts for pressure drops due to wall friction that have a quadratic relation to the mass flow rate and includes a constant flow resistance obtained from nominal conditions. The requirement of predefined nominal parameters before solving the network can create a tedious task when modeling BLTNs with multiple prosumers. A thorough hydraulic modeling of BLTNs is therefore needed, given that prosumers extract the heat-carrying fluid at varying amounts and directions, which may also cause circulation pumps to have hydraulic imbalances.

As more prosumers with varying loads are connected to BLTNs, nonlinear hydraulic connections may become apparent. In traditional DHC networks for which the topology is described by a tree, no closed loops are created and hence a linear hydraulic system is formed (Cantoni et al. Citation2007). On the other hand, BLTNs are initially structured as a one closed-loop network, which after connecting multiple prosumers can become a meshed network consisting of several closed loops (von Rhein et al. Citation2019). Pressure cycles occur at the connection points between multiple loops and hence a nonlinear hydraulic system is found and the electric pumping power is consequently impacted (De Persis and Kallesoe Citation2011). It is worth noting that in conventional DHC systems with central plants, pumping energy constitutes less than 0.5% of the total delivered energy (Buffa et al. Citation2019). However, the share is expected to increase in BLTNs due to the low temperature difference that yields higher flows, as the pumping power is proportional to the third power of the flow.

Much of the research conducted on bidirectional networks investigated the systems using high-level modeling tools incorporating numerical methods (Bilardo et al. Citation2021; Bu et al. Citation2023; von Rhein et al. Citation2019). Abugabbara et al. (Citation2021) compared the pumping energy consumption in two substation design alternatives. The authors reported that adding a free-cooling heat exchanger reduced the total electricity consumption but nearly doubled the share of pumping energy. Wang, Wang, and Zhu (Citation2017) presented a hydraulic regulation method for district systems with distributed variable-speed pumps. Compared to central circulating pumps, the new regulation method was reported to save 26–90% of pumping energy, depending on the rounds of regulation and the frequency adjustment resolution. Sommer et al. (Citation2022) developed a method to alternate the connection of the expansion vessel located at the suction side of the circulation pump. The developed method ensures that enough pressure is maintained to prevent cavitation, and the authors managed to reduce the network pressure by about 8%.

Previous studies on modeling hydraulics of DHC systems and BLTNs utilized numerical methods. Hirsch and Nicolai (Citation2022) presented a thermohydraulic model for a novel DHC network. The hydraulic equations were solved numerically using an embedded Newton–Raphson method and the model was reported to be approximately 75 times faster than a similar model in Modelica. The Modelica language utilizes different integration algorithms to solve the model’s system of equations and has been used in several studies to model district network hydraulics (Abugabbara, Javed, and Johansson Citation2022; Bünning et al. Citation2018; Schweiger et al. Citation2017; Sommer et al. Citation2020; van der Heijde, Fuchs, et al. Citation2017). Numerical methods inevitably have common problems that may arise when modeling network hydraulics, such as discretization of time steps, iterations, and convergence errors to approximate the solution. These problems may cause the simulation to halt without providing useful information about the error source.

To support the successful implementation of bidirectional DHC systems, this article presents a new fast analytical method to model network hydraulics for BLTNs with any number of connected prosumers. This work derives from a preliminary study in the report of Lindhe (Citation2022). The method is robust in the sense that it enables modeling different network topologies and hydraulic configurations since a detailed description of the district system is not needed. Additionally, the method provides short modeling and simulation time, which would contribute to an accurate and safe hydraulic design. The newly developed method is implemented using Mathcad software and can be easily deployed to any other software and programming language.

General methods

The article begins in the section “A descriptive network example with three prosumers” with an introduction of the sign convention and notations used in the remainder of the article, with the help of a descriptive BLTN example with three connected prosumers. The section “Flow-pressure formula for any pipe segment” presents the mathematical derivation of the flow-pressure function for different flow regimes where the common equations to describe the pressure drops in a circular pipe segment are rewritten in a unified way. The section “General case with any number of prosumers” introduces the bifurcation function, along with its general expression for any number of connected prosumers, and utilizes its unique zero solution in fulfilling the network mass balance. The section “Turbulent flow in all pipe segments” analyzes the use of the bifurcation function in the turbulent flow regime and provides a simpler equation to solve the unknown mass flow rate in the network. The section “Modifications for two viscosities μ+= μ(T+) and μ= μ(T)” examines the impact of varying the medium viscosity and reformulates the ordinary equations to determine the node pressure as a function of the viscosity. The section “Two closed loops, two bifurcation functions” investigates the special case of network expansion when a two-closed-loop network is formed. The discussion and conclusions section provides a summary of the full solution, investigates the impact of pipe roughness by implementing another equation to calculate the friction factor, lists the model limitations and briefly describes the comparative validation against three numerical methods, and finally outlines the main conclusions from the study.

A descriptive network example with three prosumers

This section introduces the sign convention and notations used in the remainder of the article with the aid of a network example shown in . The network consists of three prosumers that deliver and receive the mass flows M˙ν (kg/s), with ν=1,2,3. The loop of pipes is connected to an accumulator tank with temperature stratification.

Fig. 1. Piping grid and notations for three prosumers and an accumulator.

Fig. 1. Piping grid and notations for three prosumers and an accumulator.

All pipe couples have a warm or tepid pipe shown in red, and a cold pipe shown in blue. The cooling or heating demand from each prosumer determines the required mass flows M˙ν. These mass flows may be positive or negative (or zero) to include the bidirectional aspect with positive and negative signs. For positive M˙ν, the water flows from the prosumer to the loop in the red pipe, and in the opposite direction in the blue pipe following the arrows in . For negative M˙ν, these flow directions are reversed.

The closed piping loop consists of 3+1 pipe segments and nodes (or pipe junctions) enumerated counterclockwise from ν=0 to ν=3. Node ν=0 connects the accumulator to the loop, and nodes ν=1,2,3 connect the loop to prosumer ν. Pipe segment ν lies between node ν and node ν+1 for ν=0,1, and 2. The last pipe segment ν=3 lies between node 3 and accumulator node ν=0. Pipe segment ν has a length Lν and a hydraulic pipe diameter Dν.

The mass flow process is driven by the prescribed prosumer flows M˙ν with opposite flow directions on the warm (red) and cold (blue) sides. The flow process is exactly antisymmetric between the warm and cold sides. By antisymmetric flow process we mean that the mass flows in the warm and cold sides are equal in magnitude but opposite in direction. However, the fluid viscosity μ=μ(T) differs on the two sides due to differences in the fluid temperature. The analysis in this article is first performed for a mean viscosity of warm and cold fluids. The impact of varying viscosities between the warm and cold sides is analyzed in the section “Modifications for two viscosities μ+= μ(T+) and μ= μ(T).

The mass flow in the two pipes of segment ν in the loop is m˙ν. For positive m˙ν, the flow is clockwise in the warm pipe and counterclockwise in the cold pipe, as indicated by the arrows along the pipe loop. For negative m˙ν, the flows are reversed.

The mass balances at the nodes connected to the three prosumers and the node connected to the accumulator become (1) m˙ν+M˙ν=m˙ν1,ν=1, 2, 3;m˙1=m˙0M˙1,m˙2=m˙1M˙2=m˙0M˙1M˙2,m˙3=m˙2M˙3=m˙0M˙1M˙2M˙3;m˙0m˙3=M˙1+M˙2+M˙3(1)

The mass flow through the accumulator (positive for downward flow and negative for upward flow) is equal to the sum of the prosumer flows. The mass balances at all nodes are fulfilled for any value of m˙0. The determination of all mass flows m˙ν requires one more relation.

The excess pressure p0 above the accumulator pressure at node ν=0 is zero. The (excess) pressures on the cold side of the nodes then become pν, since the process is antisymmetric between warm and cold pipes (for a mean viscosity for warm and cold sides). See .

The water pressure pacc at the accumulator is equal to the sum of atmospheric pressure patm and a suitable overpressure po.p.. Let pν denote the pressure above pacc at node ν on the warm side: (2) pacc=patm+po.p.,ptotal, warm  side, ν=pacc+pν;p0=0(2)

Flow-pressure formula for any pipe segment

This section presents the mathematical derivation of the flow-pressure formula fp(x) and describes its properties. shows a pipe with flowing water. The length of the considered pipe is L and the inner diameter is D. The pressure drop over the pipe is Δp, and the pressure level at the right-hand outlet is pL. The bulk water velocity is u (m/s) and the corresponding mass flow is m˙ (kg/s). The water density is ρ (kg/m3) and the viscosity is μ (N·s/m2 = Pa·s = kg/(m·s)). The water flow may be positive, zero, or negative to account for flow reversal. The velocity and mass flow become negative for negative Δp.

Fig. 2. Notations for a pipe segment.

Fig. 2. Notations for a pipe segment.

The viscosity depends on the fluid temperature, which is different on the warm and cold sides of the network. The analysis is first made for a mean viscosity. The necessary modifications to account for the two temperature levels are presented in the section “Modifications for two viscosities μ+= μ(T+) and μ= μ(T).

The mass flow is proportional to the bulk velocity. In the formulas here it is convenient to allow the Reynolds number to be negative for negative u: (3) m˙=ρπ (D2)2u (kg/s),Re=ρ D uμ,Retr=2 000(3)

The transition from laminar to turbulent flow occurs around |Re| =Retr=2 000.

Flow-pressure formulas for laminar and turbulent flow

Flow-pressure formulas for laminar and turbulent flow in a circular pipe may be found in many books on mass transfer, for example, Kay and Nedderman (Citation1974). The Darcy–Weisbach equation used to calculate the pressure loss in pipes due to friction in the pipe wall is expressed as (4) Δp=cfLDρu22(4) where cf is the pipe friction factor. In the laminar region when the magnitude of the Reynolds number is smaller than the transition value of around 2000 (Shashi Menon Citation2015), the Hagen–Poiseuille equation (Reay, Kew, and McGlen Citation2014) is used to describe the friction factor in a circular smooth pipe as (5) cf=64Re(5)

Substituting EquationEquation 5 in EquationEquation 4 gives (6) |Re|<Retr:Δp=32 μ L uD2=32 μ L D2μReρ D=u=32 μ2ρLD3Re(6)

The Blasius formula (Massey Citation2006) is often used for the turbulent flow in a circular, smooth pipe, when the magnitude of Reynolds number exceeds the transition value of 2000, and is expressed as (7) |Re|>Retr:Δp=2 cfLDρ u |u|,cf=0.079|Re|0.25(7)

It should be noted that the normally occurring factor u2 is replaced by u|u| in order to include the case of negative u values.

The preceding formula may be rewritten as follows: (8) Δp=20.079|Re|0.25LDρ(μρ D)2 Re |Re|=32 μ2ρLD320.07932 Re |Re|0.75(8)

A “normalized” Reynolds number x and the constants k0 and k1 are now introduced with their corresponding units: (9) x=ReRetr (),k0=32 μ2ρRetr (N),k1=0.07916 Retr0.75 ()(9)

The flow is laminar for 1<x<1, and it is turbulent for x>1 and x<1. The following combined formula is obtained from EquationEquations 6, Equation8, and Equation9: (10) Δp=k0LD3fp(x),fp(x)={x |x|1k1 x |x|0.75|x|>1,x=ReRetr=ρ D uμ Retr(10)

Graphs for flow-pressure formula fp(x)

The dimensionless flow-pressure function fp(x) is shown in and for k1=1.477. It is an odd function of x that increases monotonously with x.

Fig. 3. Flow-pressure function fp(x).

Fig. 3. Flow-pressure function fp(x).

Fig. 4. Flow-pressure function fp(x) up to larger x.

Fig. 4. Flow-pressure function fp(x) up to larger x.

The dashed red curve shows the function with its two branches. It follows x, the blue dotted curve for laminar flow, in 1x1. Outside the laminar region, x>1 and x<1, it follows the black curve, where k1x(|x|)0.75 is the magnitude of the function fp(x) in the turbulent flow, as previously introduced in EquationEquations 9 and Equation10. The flow function is discontinuous at x=1 and x=1 with the jump k11. For x>1 the function is proportional to x to the power 1.75.

The flow in any pipe segment will typically be turbulent in the applications considered in this study. The difference if the turbulent formula is used in the laminar region becomes (11) fp,turb(x)=k1x|x|0.75,fp(x)fp,turb(x)={xk1x|x|0.75|x|10|x|>1(11)

shows this difference fp(x)fp,turb(x). The difference varies between 0 and 0.477, which occur respectively at |x|=0.5945 and exactly at transition at x=1 and x=1. Accordingly, the obtained pressure drop can differ by 0% up to 47.7% if the turbulent formula is used in the laminar region.

Fig. 5. The difference fp(x)fp_turb(x).

Fig. 5. The difference fp(x)−fp_turb(x).

The flow-pressure formula in EquationEquation 10 gives the pressure drop as a function of x (or u). An alternative is to use x as function of the mass flow m˙: (12) m˙=π ρ D2u4=π μ DRe4, x=ReRetr=4 m˙π μ DRetr=m˙k2D;k2=π μ Retr4(12)

The new constant k2 has the same dimension as the viscosity: kg/(m·s).

Now three constants are used: (13) k0=32 μ2ρRetr (N),k1=0.07916 Retr0.75 (),k2=π μ Retr4 (kg/(ms))(13)

The following input data has been used when generating : (14) ρ=1 000 (kg/m3), μ=μ(20oC)=1.00103 (kg/(ms)), Retr=2 000(14)

The three constants of EquationEquation 13 become (15) k0=64106 (N),k1=1.477 (),k2=1.571 (kg/(ms))(15)

General case with any number of prosumers

This section presents the equations to calculate the mass flows m˙ν for any number of prosumers. The key so-called bifurcation function is introduced and discussed in some detail. shows the warm side of the network for any number νps of prosumers. The cold part may be omitted due to the antisymmetry of the flow process. It is worth noting that any prosumer flow M˙ν may in actual cases represent the sum of several branches in the district system, as shown in the magnified part in . The mass flows and the (excess) pressures at nodes are the same as on the warm side but with opposite signs (for a mean viscosity). The piping loop consists of νps+1 segments and nodes (or pipe junctions) enumerated counterclockwise from ν=0 to νps.

Fig. 6. Network for the pipes on the warm side for νps prosumers.

Fig. 6. Network for the pipes on the warm side for νps prosumers.

The mass flow process is driven by the prescribed prosumer flows M˙ν with opposite flow directions on the warm (red) and cold sides. The flow process is exactly antisymmetric between the warm and cold sides, except for the fact that the fluid viscosity μ=μ(T) differs on the two sides. The analysis is first performed for a mean viscosity of warm and cold fluids. The modifications to account for different warm and cold viscosities are dealt with in the section “Modifications for two viscosities μ+= μ(T+) and μ= μ(T).

The mass flow in pipe segment ν in the loop is m˙ν. For positive m˙ν, the flow is clockwise in warm pipes, as indicated by the arrows along the pipe loop. For negative m˙ν, the flow is reversed.

Mass balances

The mass balances at the nodes connected to the νps prosumers become (16) ν=1, νps:m˙ν+M˙ν=m˙ν1,j=1ν(m˙jm˙j1)=m˙νm˙0=j=1νM˙j(16)

Let Σν denote the right-hand sum of accumulated prosumer flows. The following concise formulas for the flows m˙ν are obtained: (17) m˙ν=m˙0Σν,ν=0, 1, νps;Σ0=0,ν1: Σν=j=1νM˙j(17)

This formula follows directly from the mass balance for the rectangular region within the dashed closed line in . The mass balance for node 0 connected to the accumulator becomes (18) m˙0m˙νps=Σνps=M˙1++M˙νps(18)

The pressure difference over pipe segment ν with the mass flow m˙ν from EquationEquations 10, Equation12, and Equation17 becomes (19) pν+1pν=k0LνDν 3fp(m˙0Σνk2Dν),ν=0, 1, νps;pνps+1=p0(19)

The pressure difference over the last pipe segment νps is equal to the pressure p0 at the accumulator node minus the pressure at node νps. The formula is applicable to the last pipe segment νps, if pνps+1 is equal to p0.

The sum of the preceding pressure differences around the closed loop shown in defines a function of the unknown mass flow m˙=m˙0 in pipe segment ν=0: (20) ν=0νps(pν+1pν)=Δpbf(m˙),Δpbf(m˙)=k0ν=0νpsLνDν 3fp(m˙Σνk2Dν)(20)

This sum of these pressure differences over the closed loop shown in is called the bifurcation function.

The sum of pressure differences over the closed loop shown in becomes zero since the sequence of node pressure starts and ends with the node pressure p0 at the accumulator node: (21) ν=0νps(pν+1pν)=pνps+1p0=0Δpbf(m˙0)=0(21)

The bifurcation function Δpbf(m˙) is equal to zero for m˙=m˙0. As previously noted, the flow-pressure function fp(x) is an odd function that increases monotonously for increasing x. This means that the sum Δpbf(m˙) also increases monotonously with increasing m˙ from large negative values and ending with large positive values. The bifurcation function Δpbf(m˙) has a single unique zero: Δpbf(m˙0)=0.

Bifurcation function for a single prosumer

shows the network for the simple case of a single prosumer with a (positive) prosumer flow M˙1. The part m˙0 of M˙1 flows along the upper pipe (pipe segment ν=0), and the remaining part M˙1m˙0=m˙1 flows along the lower pipe (segment ν=1). There is a bifurcation flow at the prosumer node ν=1. The two flows m˙0 and M˙1m˙0 meet at the accumulator node ν=0 in a confluent outflow to the accumulator.

Fig. 7. Network for a single prosumer. Bifurcation flow from the prosumer (right).

Fig. 7. Network for a single prosumer. Bifurcation flow from the prosumer (right).

The right-hand sum in EquationEquation 20 defines the bifurcation function, Δpbf(m˙), of the unknown mass flow m˙: (22)  νps=1:Δpbf(m˙)=k0L0D0 3fp(m˙0k2D0)+k0L1D1 3fp(m˙M˙1k2D1),Δpbf(m˙0)=0(22)

The root, where the bifurcation function Δpbf(m˙) becomes zero, gives the unknown mass flow m˙0.

shows this bifurcation function for the case of (23) νps=1,M˙1=10 (kg/s),L0=100 (m),L1=150 (m),D0=D1=0.25 (m),μ=1.0103 (kg/(ms)); Σ0=0,Σ1=M˙1=10;Δpbf(0)<0,Δpbf(M˙1)>00<m˙0<10(23)

Fig. 8. Bifurcation function from EquationEquations 22 and Equation23 with its two parts: Δpbf(m˙)=Δp(m˙,0)+Δp(m˙,1).

Fig. 8. Bifurcation function from EquationEquations 22(22)  νps=1: Δpbf(m˙)=k0⋅L0D0 3⋅fp(m˙−0k2D0)+k0⋅L1D1 3⋅fp(m˙−M˙1k2D1), Δpbf(m˙0)=0(22) and Equation23(23) νps=1, M˙1=10 (kg/s), L0=100 (m), L1=150 (m),D0=D1=0.25 (m), μ=1.0⋅10−3 (kg/(m⋅s)); ⇒Σ0=0, Σ1=M˙1=10;Δpbf(0)<0,Δpbf(M˙1)>0⇒0<m˙0<10(23) with its two parts: Δpbf(m˙)=Δp(m˙,0)+Δp(m˙,1).

The bifurcation function becomes zero at m˙=m˙0=5.577. The two terms of the bifurcation function in EquationEquation 22, Δp(m˙,0) and Δp(m˙,1), are defined in EquationEquation 24. These two functions balance each other at m˙=m˙0=5.577: Δp(m˙0,1)=Δp(m˙0,0)=62.8.

An exact formula for solving m˙0 for turbulent flows in the case νps=1 is given later by EquationEquation 33.

Bifurcation function for any number of prosumers

For any number of νps prosumers, the bifurcation function is, from EquationEquation 20, (24) Δpbf(m˙)=ν=0νpsΔp(m˙,ν),Δp(m˙,ν)=k0LνDν 3fp(m˙Σνk2Dν);Σ0=0,ν1: Σν=j=1νM˙j(24)

shows this bifurcation function for the case of (25) νps=5;ν=0, 1 νps:Lν=100+10ν (m),Dν=0.25 (m);μ=1.0103 (kg/(ms)),k2=1.571 (kg/(ms));M˙1=10,M˙2=15,M˙3=8,M˙4=0,M˙5=5 (kg/s)Σ0=0,Σ1=10,Σ2=5,Σ3=3,Σ4=3,Σ5=2(25)

Fig. 9. Bifurcation function Δpbf(m˙), from EquationEquations 24 and Equation25, with its six parts Δp(m˙,ν), ν=0,1,5.

Fig. 9. Bifurcation function Δpbf(m˙), from EquationEquations 24(24) Δpbf(m˙)=∑ν=0νpsΔp(m˙,ν), Δp(m˙,ν)=k0⋅LνDν 3⋅fp(m˙−Σνk2Dν); Σ0=0, ν≥1: Σν=∑j=1νM˙j(24) and Equation25(25) νps=5; ν=0, 1 … νps: Lν=100+10⋅ν (m),Dν=0.25 (m); μ=1.0⋅10−3 (kg/(m⋅s)), k2=1.571 (kg/(m⋅s));M˙1=10, M˙2=−15, M˙3=8, M˙4=0, M˙5=−5 (kg/s) ⇒Σ0=0, Σ1=10, Σ2=−5, Σ3=3, Σ4=3, Σ5=−2(25) , with its six parts Δp(m˙,ν), ν=0,1,…5.

The function Δp(m˙,ν), EquationEquation 24 center, is zero at m˙=Σν. It is an odd function of m˙Σν. The order of the six functions Δ(m˙,ν) along the m˙ axes in depends on the values Σν: (26) Σ2=5,Σ5=2,Σ0=0,Σ3=3,Σ4=3,Σ1=10(26)

All six functions are positive for m˙>Σ1=10 and negative for m˙<Σ2=5. The root m˙0 must lie in the interval 5<m˙<10. Calculation gives the root m˙0=1.643.

For the case presented in this section, the excess pressure at each node on the warm side, pν, with a single mean viscosity μ=μ(20) is shown in .

Fig. 10. Excess pressure pν for the network example with 5 prosumers. The start and end nodes ν=0 and ν=6 represent the accumulator node.

Fig. 10. Excess pressure pν for the network example with 5 prosumers. The start and end nodes ν=0 and ν=6 represent the accumulator node.

Turbulent flow in all pipe segments

This section analyzes the bifurcation function for turbulent flows in the pipes. The mass flow function fp(x) for turbulent flow, |x|>1, reads, from EquationEquation 10, (27) fp_turb(x)=k1 x |x|0.75,x=m˙k2D fp_turb(m˙)=k1 m˙|m˙|0.75(k2D)1.75,|m˙| k2D(27)

For turbulent flow in all pipe segments, the bifurcation function becomes (28) Δpbf\_turb(m˙)=ν=0νpsk0LνDν 3k1 (m˙Σν)(|m˙Σν|)0.75(k2Dν)1.75,|m˙Σν| > k2Dν(28)

The dependence of the various parameters is seen more clearly in the formula (29) Δpbf\_turb(m˙)=k0k1k21.75ν=0νpsLνDν 4.75(m˙Σν)(|m˙Σν|)0.75(29)

The relation Δbf\_turb(m˙0)=0 gives the following simpler equations to determine m˙0: (30) ν=0νpsLνDν 4.75(m˙0Σν)(|m˙0Σν|)0.75=0,Σ0=0,ν1: Σν=j=1νM˙j(30)

The mass flow m˙0 depends on the prosumer flows M˙ν and the factors Lν(Dν)4.75.

For applications considered in this study, the (nonzero) prosumer flows correspond to turbulent flow: |M˙ν| k2Dν for all ν. This means that all or nearly all of the terms in EquationEquation 30 are the exact turbulent ones. A typical example is shown in . Here, all six terms lie by a comfortable margin in the turbulent region: (31) μ=0.001 (kg/(ms)),k2=1.571 (kg/(ms)),Dν=0.25 (m):k2Dν=0.393(31)

The values of the six functions in their respective laminar intervals lie close to zero. The deviations from zero are hardly visible. This difference between laminar and turbulent expressions for the pipe flow in the laminar interval is given by EquationEquation 11 and is shown in .

EquationEquation 30 for turbulent flows may be used in the present applications provided that the (nonzero) prosumers flows lie above the transition level |M˙ν| > k2Dν.

EquationEquation 30 for m˙0 may be solved exactly for the simple case of a single prosumer: (32) νps=1:M˙1>0,0<m˙0<M˙1L0D0 4.75(m˙0)1.75L1D1 4.75(M˙1m˙0)1.75=0(32) (33) (L0L1D1 4.75D0 4.75)47m˙0=M˙1m˙0,4.75=194m˙0=M˙11+(L0/L1)47(D1/D0)197(33)

The formula is also valid for negative M˙1.

Modifications for two viscosities μ+= μ(T+) and μ= μ(T)

This section examines the impact of varying viscosities on the calculated node pressures. The water viscosity depends on the temperature: μ= μ(T). See .

Table 1. Viscosity of water μ(T).

The pressures pν at the nodes are, for turbulent flows, determined from EquationEquations 19 and Equation27: (34) pν+1=pν+k0LνDν 3k1m˙0Σνk2Dν|m˙0Σν|0.75(k2Dν)0.75,ν=0, 1, νps;p0=0(34)

The factor k0 is proportional to μ2 and k2 is proportional to μ: (35) k0k1(k2)1.75=32 μ2ρRetr0.07916 Retr0.75(4π μ Retr )1.75=kμμ4, kμ=20.079ρ (4π)1.75=0.241ρ(35)

The pressures pν at the nodes for a single μ (=μ(20)) are given by the preceding relations.

The preceding set of recursive relations may be written: (36) p˜ν=pνμ4:p˜ν+1p˜ν=k.μLνDν 4.75(m˙0Σν)|m˙0Σν|0.75,ν=0, 1, νps;p˜0=0(36)

The differences p˜ν+1p˜ν and the ensuing sequence of pressure factors p˜0, p˜1, p˜2 from EquationEquation 36 are independent of the viscosity. EquationEquation 36 may be applied for a single viscosity as well as for the viscosity on the warm and cold sides: (37) pν=μ4p˜ν,pν+=μ(T+)4p˜ν,pν=μ(T)4p˜ν,ν=0, 1, νps(37)

These three pressure sequences are proportional to the fourth root of the viscosity in accordance with EquationEquation 36. The three sequences are related to each other by the factor on the third line in : (38) pν+=μ(T+)μ4pν,pν=μ(T)μ4pν,ν=0, 1, νps(38)

The temperatures on the warm and cold sides are T+ and T, respectively. Typical values may be T+=30 ºC and T=5 ºC. It should be noted that the preceding formulas for pν+ and pν are exact if the flows in all pipe segments are turbulent. There is a small difference if the flow in a segment becomes laminar. This is discussed in the section “Turbulent flow in all pipe segments” (before and after EquationEquation 31).

To elaborate more on the impact of varying viscosities, shows the excess pressure for the network example with five prosumers previously introduced in the section “Bifurcation function for any number of prosumers” and . The proportion between the pressures in each node is equivalent to the fourth root factors provided in the third row of for μ =μ(5), μ =μ(20), and μ =μ(35).

Fig. 11. Excess pressure pν at different viscosities for the network example with five prosumers.

Fig. 11. Excess pressure pν at different viscosities for the network example with five prosumers.

Two closed loops, two bifurcation functions

This section investigates the case of network expansion to two closed loops, as shown in. There are two connected closed loops involving four parts, each consisting of a sequence of pipes. Parts 1, 2, and 3 make up the first inner closed loop on the right-hand side, while part 2 and the outer part 4 define the second outer loop on the left-hand side. The two loops have part 2 in common. The four parts 1, 2, 3, and 4 are connected to any number ν1, ν2, ν3, and ν4 of prosumers, respectively.

Fig. 12. Piping grid with two closed loops. The right-hand inner loop consists of three parts, 1, 2, and 3, and the lefthand outer loop of parts 2 and 4.

Fig. 12. Piping grid with two closed loops. The right-hand inner loop consists of three parts, 1, 2, and 3, and the lefthand outer loop of parts 2 and 4.

The sums of prosumer flows Σ1ν and the mass flows m˙1ν for part 1 become, in accordance with EquationEquation 17, (39) m˙1ν=m˙10Σ1ν,ν=0, 1, ν1;Σ10=0,ν1: Σ1ν=j=1νM˙1j(39)

There are similar relations for the other three parts: (40) m˙2ν=m˙20Σ2ν,m˙3ν=m˙30Σ3ν,m˙4ν=m˙40Σ4ν;Σ2ν=j=1νM˙2j,Σ3ν=j=1νM˙3j,Σ4ν=j=1νM˙4j,Σ20=Σ30=Σ40=0(40)

The two preceding relations determine the mass flows in all pipe segments with the mass flows in the first segments (m˙10, m˙20, m˙30 and m˙40) as unknowns.

There is a mass balance equation at the node where parts 1, 2, and 4 meet: (41) m˙40+m˙20=m˙1ν1=m˙10Σ1ν1m˙20=m˙10m˙40Σ1ν1(41)

There is another mass balance equation at the node where parts 3, 2, and 4 meet: (42) m˙30=m˙2ν2+m˙4ν4=m˙20Σ2ν2+m˙40Σ4ν4=m˙10Σ1ν1Σ2ν2Σ4ν4(42)

The mass balance at the node connected to the accumulator becomes (43) m˙10m˙3ν3=m˙10m˙30+Σ3ν3=Σ1ν1+Σ2ν2+Σ3ν3+Σ4ν4=ΣM˙all(43)

The mass flow to the accumulator is equal to the sum of all prosumer flows.

EquationEquations 39–42 determine the mass flows in all pipe segments except for two unknowns, X=m˙10 and Y=m˙40, associated with the two bifurcation loops: (44) X=m˙10,Y=m˙40,m˙20=XYΣ1ν1,m˙30=XΣ1ν1Σ2ν2Σ4ν4(44)

The total pressure change over all segments of the inner loop is a function of the unknown flows X and Y: (45) Δploop 1+2+3(X,Y)=Δppart 1(X,Y)+Δppart 2(X,Y)+Δppart 3(X,Y)=Δpbf_in(X,Y)(45)

Applying EquationEquation 19 to parts 1, 2, and 3 with mass flows m˙1ν, m˙2ν, and m˙3ν from EquationEquations 39–44 gives the inner bifurcation function: (46) Δpbf_in(X,Y)=k0ν=0ν1L1νD1ν 3fp(XΣ1νk2D1ν)+k0ν=0ν2L2νD2ν 3fp(XYΣ1ν1Σ2νk2D2ν)+k0ν=0ν3L3νD3ν 3fp(XΣ1ν1Σ2ν2Σ4νAΣ3νk2D3ν)(46)

The total pressure change over all segments of the outer loop becomes (47) Δploop 2+4(X,Y)=Δppart 2(X,Y)+Δppart 4(X,Y)=Δpbf_out(X,Y)(47) (48) Δpbf_out(X,Y)=k0ν=0ν2L2νD2ν 3fp(XYΣ1ν1Σ2νk2D2ν)k0ν=0ν4L4νD4ν 3fp(YΣ4νk2D4ν)(48)

In the second sum. m˙4ν=(YΣ4ν) shall be used in the argument of fp in accordance with the sign definitions used in . Note also that fp(x) is an odd function.

The total pressure change over all segments of any closed loop must be zero since the pressure at the start and end refers to the same node. The values of X and Y, where both bifurcation functions are zero, determine the unknown mass flows m˙10 and m˙40: (49) Δpbf\_in(X,Y)=0,Δpbf\_out(X,Y)=0X=m˙10,Y=m˙40(49)

The two unknown mass flows are readily determined by applying a “root” solver two times.

A solver to find the root of a function F(x) is defined by the relations (50) F(x)=0xroot=root(F(x),x)F(xroot)=0(50)

The second bifurcation function (Δpbf\_out) is zero along a certain “isobar” where X is a function of Y: (51) Δpbf\_out(X,Y)=0Xout(Y)=root[Δpbf\_out(X,Y),X](51)

This function, X=Xout(Y), is inserted in the first bifurcation function (Δpbf\_in). The root (in Y) gives Yroot: (52) Δpbf\_in(Xout(Y),Y)=0Yroot=root{Δpbf\_in[Xout(Y),Y],Y}=m˙40(52)

The other unknown becomes (53) Xroot=Xout(Yroot)=m˙10(53)

There is a close analogy between a pipe network with its flow of water in pipe segments and an electric network with its electric currents. Kirchhoff’s two laws of an electric network state that the sum of the electric currents to a node or junction is zero and that the sum of the electric potentials around any closed loop of electrical resistances is zero.

Discussion and conclusions

The mathematical content of the preceding analyses and solutions is summarized and discussed in this section. In the subsection “Summary of the solution for a single bifurcation loop” the input and all formulas for the solution for a network with a single closed loop of pipes are presented. The flows in the pipes are in our applications normally turbulent. This leads to some simplifications, as discussed in the subsection “Solution for turbulent flows in all pipes with two viscosities.” The case of network expansion to two closed loops shown in the section “Two closed loops, two bifurcation functions” is outlined in the subsection “The case of two bifurcation loops.” The modification to include pipe roughness is presented in the subsection “Impact of pipe roughness.” The model limitations and validations are discussed in the subsection “Model limitations and validation.” Finally, conclusions are outlined in the concluding remarks.

Summary of the solution for a single bifurcation loop

The considered type of network with a warm and cold loop is shown in for three prosumers and in for any number νps of prosumers. The input data required for the full solution are (54) ρ, μ, Retr (=2000), νps;M˙ν for ν=1, .. νps;Lν, Dν for ν=0, 1, .. νps(54)

Three constants are used, from EquationEquation 13: (55) k0=32 μ2ρRetr,k1=0.07916 Retr0.75,k2=π μ Retr4(55)

The accumulative prosumer flows are also used: (56) Σ0=0, ν=1, νps: Σν=j=1νM˙j(56)

The flow-pressure equation for a pipe segment is defined by EquationEquations 3, Equation9, Equation10, and Equation12: (57) Δp=k0LD3fp(x),fp(x)={x |x|1k1 x |x|0.75|x|>1(57)

The bifurcation function gives the pressure drop around the closed loop of pipes as a function of the unknown m˙=m˙0: (58) Δpbf(m˙)=k0ν=0νpsLνDν 3fp(m˙Σνk2Dν)(58)

The unknown flow in the first pipe segment ν=0, m˙0, is the value where the bifurcation function becomes zero: (59) Δpbf(m˙0)=0,(ν=0νps(pν+1pν)=pνps+1p0=0)(59)

All pipe mass flows are now determined from the root m˙0 in EquationEquation 59 and part of EquationEquation 17, left: (60) ν=0, 1, νps: m˙ν=m˙0Σν(60)

The pressures at the nodes are obtained from the recursive relations of EquationEquation 19: (61) p0=0,ν=0, 1, νps:pν+1=pν+k0LνDν 3fp(m˙νk2Dν),(pνps+1=p0)(61)

The excess pressure at the accumulator node, p0, is zero.

Solution for turbulent flows in all pipes with two viscosities

The equation to determine m˙0 for turbulent flow in all pipes is, from EquationEquation 30, (62) ν=0νpsLνDν 4.75(m˙0Σν)(|m˙0Σν|)0.75=0,Σ0=0,ν1: Σν=j=1νM˙j(62)

The mass flow m˙0 is independent of the viscosity. The solution for a single prosumer becomes, from EquationEquation 33, (63) νps=1:m˙0=M˙11+(L0/L1)47(D1/D0)197(63)

The pressures at all nodes are given by EquationEquation 35 at the right, and EquationEquations 36 and Equation37: (64) p˜ν+1p˜ν=k.μLνDν 4.75(m˙0Σν)|m˙0Σν|0.75,p˜0=0;kμ=0.241ρ;pν+=μ(T+)4p˜ν,pν=μ(T)4p˜ν,ν=0, 1, νps(64)

It may be noted again that in applications considered in this study, the (nonzero) prosumer flows normally correspond to turbulent flow: |M˙ν| > k2Dν for all ν. The preceding equation can then be used to determine m˙0, pν+ and pν.

The case of two bifurcation loops

An example of a pipe network with two closed loops of pipe segments is presented in the section “Two closed loops, two bifurcation functions.” There are two coupled closed loops involving four parts, each consisting of a sequence of pipes. Each one of the four parts is connected to a number of prosumers.

EquationEquation 17 is applicable for all four parts. All mass flows are obtained except the first one (for ν=0). There remain four unknowns to determine. The second closed loop is connected to the first one at two nodes, each with a straightforward mass balance. This leaves two unknown flows X and Y. Each one of the two closed loops is associated with a bifurcation function of X and Y with one sum of pressure differences for each involved part of the loop. The two bifurcation functions are both zero for a certain X and a certain Y. A suitable use of a root solver applied two times determines the two unknowns.

Impact of pipe roughness

Several equations can be adopted to account for the pipe roughness e such as given by Chen (Citation1979), Churchill (Citation1977), Haaland (Citation1983), and Swamee and Jain (Citation1976). In this section, the flow-pressure function in EquationEquation 10 is modified based on the Swamee–Jain equation and the following combined formula is obtained: (65) Δp=k0LD3fpSW(x,é),fpSW(x,é)={x |x|<1Retr x |x|256(log(y))2|x|1,y=é3.7+5.74(Retr |x|)0.9,é=eD(65)

The dimensionless flow-pressure function based on the Swamee–Jain equation, fpSW(x,é), is shown in for different values of relative roughness é. Contrasting with shows that the flow-pressure function for smooth pipes is almost identical. Noticeable differences only occur for very rough pipes, which are not commonly used in applications considered in this study.

Fig. 13. Flow-pressure function fpSW(x,é) based on the Swamee–Jain equation up to larger x.

Fig. 13. Flow-pressure function fpSW(x,é) based on the Swamee–Jain equation up to larger x.

Model limitations and validation

The application of the developed method has to be seen in light of some limitations. The first is that the method only considers the main piping loop without dealing much with the prosumers’ components such as service pipes, circulation pumps, heat exchangers, and substation friction losses. The second limitation is related to the representation of the network that must be a single closed piping loop with the same start and end points. Another limitation is that the method currently solves the closed piping loop for a common viscosity along the network length regardless of the different temperature levels at each prosumer. The validation of the newly developed method against three established numerical methods is presented in detail in another article (Abugabbara et al. Citation2024). In summary, nine validation test cases have been described to simulate different operating scenarios, including, for example, nominal operating conditions, peak summer and peak winter, and network expansion to two closed loops. Results from all modeled cases showed excellent agreement between the new analytical and numerical solution methods for all considered validation metrics.

Concluding remarks

New generations of district heating and cooling systems enable the integration of renewable energy sources and multiple heat prosumers. Due to fluctuations in the heat sources and load variability, each connection point can increase or decrease the network pressure. It is therefore important to ensure safe and adequate network operation by modeling network hydraulics accurately yet quickly.

A new fast analytical method is presented in this article. The method mainly relies on the definition of a simple flow-pressure function used for calculating pressure drops in circular pipes in different flow regimes. Additionally, a bifurcation function is used to determine the unknown mass flow to satisfy network mass balance. The presented solution could be easily modified to include pipe roughness and a solution based on the Swamee–Jain equation for pipe friction factor is provided.

The solution sequence in the newly developed method is straightforward. Only input data with regard to medium properties (density and viscosity), number of prosumers and their corresponding flows, and pipe geometry (length and hydraulic diameter) need to be defined. The bifurcation function and the required constants in the calculations are then defined. Results are finally provided in terms of mass flows in each pipe segment in the loop and the corresponding pressure drops, in addition to the absolute pressure in the nodes.

To the authors’ best knowledge, the presented analytical method for modeling network hydraulics in bidirectional district systems with any number of connected prosumers is the only robust and fast formulation published to date. The developed method can be implemented to account for steady-state or dynamic situations according to the aims of the modeling tool. The method is also capable of modeling meshed network topology consisting of multiple closed loops, which can be realized in future expansion of existing networks. Compared to other established numerical methods, the new analytical method is more favorable due to its explicit nature, ease of implementation, and quick modeling time.

Given the expected increase in the share of pumping energy, a possible future research direction could investigate different optimization techniques to lower the electric energy consumption in DHC systems by implementing the newly developed method.

Nomenclature Acronyms
BLTN=

bidirectional low temperature network

DC=

district cooling

DH=

district heating

DHC=

district heating and cooling

RES=

renewable energy sources

Variables
D=

hydraulic diameter [m]

cf=

friction factor [–]

e=

absolute pipe roughness [m]

é=

relative roughness, é=e/D [–]

fp(x)=

flow-pressure function based on the Blasius equation [–]

fpSW(x,é)=

flow-pressure function based on the Swamee–Jain equation [–]

k0=

constant used for pressure drop calculations [N]

k1=

constant used for pressure drop calculations [–]

k2=

constant used for pressure drop calculations [kg/(m·s)]

L=

length [m]

p=

pressure [Pa]

m˙=

mass flow rate in a pipe segment [kg/s]

M˙=

prosumer mass flow rate [kg/s]

Re=

Reynolds number [–]

u=

fluid velocity, [m/s]

x=

normalized Reynolds number [–]

Greek letters
Δp=

pressure drop [Pa]

μ=

fluid dynamic viscosity [Pa·s] or [kg/(m·s)]

νps=

number of prosumers [–]

ρ=

fluid density [kg/m3]

Subscripts
p=

pressure

ps=

prosumer

tr=

transition to turbulent

ν=

index for pipe segments and prosumers

Author contributions

Johan Claesson: Conceptualization (equal), Methodology (lead), Software (lead), Visualization (equal), Validation (support), Formal analysis (lead), Investigation (support), Resources (lead), Data curation (equal), Writing – original draft (lead), Writing – review and editing (equal). Jonas Lindhe: Conceptualization (equal), Methodology (support), Software (support), Validation (support), Formal analysis (support), Investigation (support), Resources (support), Data curation (support), Writing – original draft (support), Writing – review and editing (equal). Marwan Abugabbara: Conceptualization (equal), Methodology (support), Software (support), Validation (lead), Visualization (equal), Formal analysis (support), Investigation (lead), Resources (support), Data curation (equal), Writing – original draft (lead), Writing – review and editing (equal). Dennis Johansson: Conceptualization (equal), Resources (lead), Writing – review and editing (equal), Supervision (support), Project administration (equal), Funding acquisition (equal). Saqib Javed: Conceptualization (equal), Investigation (support), Resources (lead), Writing – review and editing (equal), Supervision (lead), Project administration (equal), Funding acquisition (equal).

Disclosure statement

No potential conflict of interest was reported by the authors.

References

  • Abugabbara, M., S. Gehlin, J. Lindhe, M. Axell, D. Holm, H. Johansson, M. Larsson, A. Mattsson, U. Näslund, A. Rao Puttige, et al. 2023. How to develop fifth-generation district heating and cooling in Sweden? Application review and best practices proposed by middle agents. Energy Reports 9 (December):4971–83. doi:10.1016/J.EGYR.2023.04.048.
  • Abugabbara, M., S. Javed, H. Bagge, and D. Johansson. 2020. Bibliographic analysis of the recent advancements in modeling and co-simulating the fifth-generation district heating and cooling systems. Energy and Buildings 224 (October):110260. doi:10.1016/j.enbuild.2020.110260.
  • Abugabbara, M., S. Javed, and D. Johansson. 2022. A simulation model for the design and analysis of district systems with simultaneous heating and cooling demands. Energy 261:125245. doi:10.1016/J.ENERGY.2022.125245.
  • Abugabbara, M., J. Lindhe, S. Javed, H. Bagge, and D. Johansson. 2021. Modelica-based simulations of decentralised substations to support decarbonisation of district heating and cooling. Energy Reports 7 (October):465–72. doi:10.1016/J.EGYR.2021.08.081.
  • Abugabbara, M., J. Lindhe, S. Javed, D. Johansson, and J. Claesson. 2024. Comparative study and validation of a new analytical method for hydraulic modelling of bidirectional low temperature networks. Energy 296:131168. 10.1016/j.energy.2024.131168
  • Arabkoohsar, A., and A. Sulaiman Alsagri. 2020. A new generation of district heating system with neighborhood-scale heat pumps and advanced pipes, a solution for future renewable-based energy systems. Energy 193:116781. doi:10.1016/j.energy.2019.116781.
  • Bilardo, M., F. Sandrone, G. Zanzottera, and E. Fabrizio. 2021. Modelling a fifth-generation bidirectional low temperature district heating and cooling (5GDHC) network for nearly zero energy district (NZED). Energy Reports 7:8390–405. June. doi:10.1016/j.egyr.2021.04.054.
  • Brand, L., A. Calvén, J. Englund, H. Landersjö, and P. Lauenburg. 2014. Smart district heating networks – A simulation study of prosumers’ impact on technical parameters in distribution networks. Applied Energy 129:39–48. doi: 10.1016/j.apenergy.2014.04.079.
  • Brange, L., J. Englund, and P. Lauenburg. 2016. Prosumers in district heating networks - A Swedish case study. Applied Energy 164:492–500. doi:10.1016/j.apenergy.2015.12.020.
  • Bu, T., R. Fan, B. Zheng, K. Sun, and Y. Zhou. 2023. Design and operation investigation for the fifth-generation heating and cooling system based on load forecasting in business districts. Energy and Buildings 294 (September):113243. doi:10.1016/J.ENBUILD.2023.113243.
  • Buffa, S., M. Cozzini, M. D’Antoni, M. Baratieri, and R. Fedrizzi. 2019. 5th generation district heating and cooling systems: A review of existing cases in Europe. Renewable and Sustainable Energy Reviews 104:504–22. doi:10.1016/j.rser.2018.12.059.
  • Bünning, F., M. Wetter, M. Fuchs, and D. Müller. 2018. Bidirectional low temperature district energy systems with agent-based control: Performance comparison and operation optimization. Applied Energy 209 (October 2017):502–15. doi:10.1016/j.apenergy.2017.10.072.
  • Cantoni, M., E. Weyer, Y. Li, S. K. Ooi, I. Mareels, and M. Ryan. 2007. Control of large-scale irrigation networks. Proceedings of the IEEE 95 (1):75–91. doi:10.1109/JPROC.2006.887289.
  • Chen, N. H. 1979. An explicit equation for friction factor in pipe. Industrial & Engineering Chemistry Fundamentals 18 (3):296–7. doi:10.1021/i160071a019.
  • Churchill, S. W. 1977. Friction-factor equation spans all fluid-flow regimes. Chemical Engineering (New York)84 (24):91–92.
  • De Persis, C., and C. S. Kallesoe. 2011. Pressure regulation in nonlinear hydraulic networks by positive and quantized controls. IEEE Transactions on Control Systems Technology 19 (6):1371–83. doi:10.1109/TCST.2010.2094619.
  • Energiföretagen Sverige. 2022. Fjärrkylestatistik. https://www.energiforetagen.se/statistik/fjarrkylestatistik/
  • Energimyndigheten, and SCB. 2020. Årlig Energistatistik (El, Gas Och Fjärrvärme) 2020. https://www.scb.se/publikation/43313
  • Euroheat & Power. 2023. DHC Market Outlook Insights & Trends. https://www.euroheat.org/static/14cf3743-1837-4d9e-ac4f18058477d0b9/DHC-Market-Outlook-Insights-Trends-2023.pdf
  • European Commission. 2016. An EU strategy on heating and cooling: COM(2016) 51 final. https://eur-lex.europa.eu/legal-content/EN/TXT/?qid=1575551754568&uri=CELEX:52016DC0051
  • Frederiksen, S., and S. Werner. 2013. District heating and cooling. Lund: Studentlitterature AB.
  • Government Offices of Sweden. 2016. Agreement on Swedish energy policy. https://www.government.se/articles/2016/06/agreement-on-swedish-energy-policy/
  • Government Offices of Sweden 2018. The Swedish climate policy framework. https://www.government.se/information-material/2018/03/the-swedish-climate-policy-framework/
  • Haaland, S. E. 1983. Simple and explicit formulas for the friction factor in turbulent pipe flow. Journal of Fluids Engineering 105 (1):89–90. doi:10.1115/1.3240948.
  • Hirsch, H., and A. Nicolai. 2022. An efficient numerical solution method for detailed modelling of large 5th generation district heating and cooling networks. Energy 255 (September):124485. doi:10.1016/J.ENERGY.2022.124485.
  • Hitchin, R., C. Pout, and P. Riviere. 2013. Assessing the market for air conditioning systems in european buildings. Energy and Buildings 58:355–62. doi: 10.1016/j.enbuild.2012.10.007.
  • IEA. 2022. District heating. https://www.iea.org/reports/district-heating.
  • Jangsten, M. 2020. Gothenburg District Cooling System - An Evaluation of the System Performance Based on Operational Data, Licentiate Thesis., Chalmers University of Technology.
  • Kay, J. M., and R. M. Nedderman. 1974. An introduction to fluid mechanics and heat transfer : With Applications in Chemical and Mechanical Process Engineering. 3rd ed. Cambridge: Cambridge University Press.
  • Licklederer, T., T. Hamacher, M. Kramer, and V. S. Perić. 2021. Thermohydraulic model of smart thermal grids with bidirectional power flow between prosumers. Energy 230 (September):120825. doi:10.1016/j.energy.2021.120825.
  • Lindhe, J. 2022. Method for pressure and flow calculations of a 5GDHC with bidirectional energy flow and non-directional medium flow. Internal report ISRN LUTVDG/TVIT-22/7129, Lund University, Sweden.
  • Lindhe, J., S. Javed, D. Johansson, and H. Bagge. 2022. A review of the current status and development of 5GDHC and characterization of a novel shared energy system. Science and Technology for the Built Environment 28 (5):595–609. Taylor & Francis. doi:10.1080/23744731.2022.2057111.
  • Lund, H., B. Möller, B. V. Mathiesen, and A. Dyrelund. 2010. The role of district heating in future renewable energy systems. Energy 35 (3):1381–90. doi:10.1016/J.ENERGY.2009.11.023.
  • Lund, H., N. Duic, P. A. Østergaard, and B. Vad Mathiesen. 2018. Future district heating systems and technologies: On the role of smart energy systems and 4th generation district heating. Energy 165 (December):614–9. doi:10.1016/J.ENERGY.2018.09.115.
  • Lund, H., S. Werner, R. Wiltshire, S. Svendsen, J. E. Thorsen, F. Hvelplund, and B. Vad Mathiesen. 2014. 4th Generation District Heating (4GDH). Integrating smart thermal grids into future sustainable energy systems. Energy 68:1–11. doi:10.1016/j.energy.2014.02.089.
  • Massey, B. 2006. Mechanics of fluids p. 254. Eq 7.5. 8th ed. London and New York: Taylor & Francis.
  • Mathiesen, B. V., H. Lund, D. Connolly, H. Wenzel, P. A. Østergaard, B. Möller, S. Nielsen, I. Ridjan, P. Karnøe, K. Sperling, et al. 2015. Smart energy systems for coherent 100% renewable energy and transport solutions. Applied Energy 145 (May):139–54. doi:10.1016/J.APENERGY.2015.01.075.
  • Østergaard, P. A., S. Werner, A. Dyrelund, H. Lund, A. Arabkoohsar, P. Sorknæs, O. Gudmundsson, J. E. Thorsen, and B. V. Mathiesen. 2022. The four generations of district cooling - A categorization of the development in district cooling from origin to future prospect. Energy 253:124098. doi:10.1016/J.ENERGY.2022.124098.
  • Reay, D. A., P. A. Kew, and R. J. McGlen. 2014. Heat transfer and fluid flow theory. Heat Pipes, January. Butterworth Heinemann:15–64. doi:10.1016/B978-0-08-098266-3.00002-9.
  • Schweiger, G., P.-O. Larsson, F. Magnusson, P. Lauenburg, and S. Velut. 2017. District heating and cooling systems – Framework for modelica-based simulation and dynamic optimization. Energy 137:566–78. doi: 10.1016/j.energy.2017.05.115.
  • Shashi Menon, E. 2015. Fluid flow in pipes. Transmission Pipeline Calculations and Simulations Manual, January. Elsevier Inc., Gulf Professional Publishing. p. 149–234. doi:10.1016/B978-1-85617-830-3.00005-5.
  • Sommer, T., A. Sotnikov, M. Sulzer, V. Scholz, S. Mischler, B. Rismanchi, K. Gjoka, and S. Mennel. 2022. Hydrothermal challenges in low-temperature networks with distributed heat pumps. Energy 257 (October):124527. doi:10.1016/J.ENERGY.2022.124527.
  • Sommer, T., M. Sulzer, M. Wetter, A. Sotnikov, S. Mennel, and C. Stettler. 2020. The reservoir network: A new network topology for district heating and cooling. Energy 199 (May):117418. doi:10.1016/J.ENERGY.2020.117418.
  • Statistics Sweden. 2019. Electricity supply, district heating and supply of natural gas 2019. Final Statistics. https://www.scb.se/publication/40414.
  • Stockholm Exergie. 2020. Annual and sustainability report for 2020. https://www.stockholmexergi.se/om-stockholm-exergi/arsredovisning-2020/.
  • Sulzer, M., S. Werner, S. Mennel, and M. Wetter. 2021. Vocabulary for the fourth generation of district heating and cooling. Smart Energy 1 (February):100003. doi:10.1016/j.segy.2021.100003.
  • Swamee, P., and A. Jain. 1976. Explicit eqations for pipe-flow problems. Journal of the Hydraulics Division 102 (5):657–64. 10.1061/JYCEAJ.0004542
  • van der Heijde, B., M. Fuchs, C. Ribas Tugores, G. Schweiger, K. Sartor, D. Basciotti, D. Müller, C. Nytsch-Geusen, M. Wetter, and L. Helsen. 2017. Dynamic equation-based thermo-hydraulic pipe model for district heating and cooling systems. Energy Conversion and Management 151:158–69. doi:10.1016/j.enconman.2017.08.072.
  • van der Heijde, B., A. Aertgeerts, and L. Helsen. 2017. Modelling steady-state thermal behaviour of double thermal network pipes. International Journal of Thermal Sciences 117 (July):316–27. doi:10.1016/j.ijthermalsci.2017.03.026.
  • von Rhein, J., G. P. Henze, N. Long, and Y. Fu. 2019. Development of a topology analysis tool for fifth-generation district heating and cooling networks. Energy Conversion and Management 196:705–16. doi:10.1016/j.enconman.2019.05.066.
  • Wallentén, P. 1991. Steady-state heat loss from insulated pipes, PhD thesis, Byggnadsfysik LTH, Lunds Tekniska Högskola.
  • Wang, H., H. Wang, and T. Zhu. 2017. A new hydraulic regulation method on district heating system with distributed variable-speed pumps. Energy Conversion and Management 147 (September):174–89. doi:10.1016/J.ENCONMAN.2017.03.059.
  • Werner, S. 2017. International review of district heating and cooling. Energy 137:617–31. doi:10.1016/j.energy.2017.04.045.
  • Wirtz, M., L. Kivilip, P. Remmen, and D. Müller. 2020. Quantifying demand balancing in bidirectional low temperature networks. Energy and Buildings 224:110245. doi: 10.1016/j.enbuild.2020.110245.
  • Yuan, M., J. Z. Thellufsen, P. Sorknæs, H. Lund, and Y. Liang. 2021. District heating in 100% renewable energy systems: Combining industrial excess heat and heat pumps. Energy Conversion and Management 244 (September):114527. doi:10.1016/J.ENCONMAN.2021.114527.
  • Zarin Pass, R., M. Wetter, and M. A. Piette. 2018. A thermodynamic analysis of a novel bidirectional district heating and cooling network. Energy 144:20–30. doi:10.1016/j.energy.2017.11.122.