Next Article in Journal
Operation at Reduced Atmospheric Pressure and Concept of Reliability Redundancy for Optimized Design of Insulation Systems
Previous Article in Journal
Non-Intrusive Load Identification Based on Multivariate Features and Information Entropy-Weighted Ensemble
Previous Article in Special Issue
The Impact of the Urban Heat Island and Future Climate on Urban Building Energy Use in a Midwestern U.S. Neighborhood
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

MATLAB Simulink-Based Modelling and Performance Analysis of District Heating Substations for Renewable Energy Integration

by
Gyula Richárd Kiss
,
Miklós Horváth
* and
Zoltán Szánthó
Department of Building Services and Process Engineering, Faculty of Mechanical Engineering, Budapest University of Technology and Economics, H-1111 Budapest, Hungary
*
Author to whom correspondence should be addressed.
Energies 2025, 18(9), 2370; https://doi.org/10.3390/en18092370
Submission received: 6 April 2025 / Revised: 29 April 2025 / Accepted: 1 May 2025 / Published: 6 May 2025

Abstract

:
Sustainable and energy-efficient district heating systems are essential for reducing carbon emissions and improving building energy performance. This study presents a MATLAB (Version: 2024b) Simulink-based modelling and performance analysis approach for evaluating district heating substations, focusing on lowering the primary return temperature to support renewable energy integration. The analysis investigates the role of heat exchanger configurations and the effects of varying mass flow rates and domestic hot water (DHW) consumption. Three substation designs are examined. Version 1 (v1) includes three heat exchangers with a single DHW storage charge and circulation pump; version 2 (v2) has two heat exchangers with a similar pump arrangement; and version 3 (v3) features three heat exchangers with separate DHW circulation and storage charge pumps. Based on the simulation results, the v1 configuration demonstrated the most favourable performance in terms of primary return temperature reduction. The v2 configuration resulted in the highest return temperatures among the three, whereas the thermal performance of v3 was intermediate, falling between the outcomes of v1 and v2. However, the v3 configuration requires further optimization to enhance its primary return temperature reduction performance and achieve more effective functioning under varying operating conditions. The comparison highlights that optimised district heating substation design can reduce return temperatures. Lower return temperatures improve system efficiency and enable greater integration of renewable energy sources.

1. Introduction

The effective operation of thermal substations is essential for achieving energy efficiency and sustainability objectives in modern district heating systems. Within district heating networks, the reduction in the primary return temperature has emerged as a critical parameter, as it directly influences energy consumption, operational efficiency, and the environmental impact of the system. Lower return temperatures not only decrease distribution losses and improve the efficiency of heat production, but also enable the integration of renewable heat sources, such as industrial waste heat and geothermal energy [1]. In this context, low primary return temperature represents a key strategy for the decarbonisation of district heating systems. However, the successful implementation of district heating networks hinges on the ability to manage complex interactions between substation design, control logic, and end-user consumption behaviour. In particular, the coordination of DHW production and space heating (SH) demand presents significant challenges, as both subsystems contribute to the primary return temperature. To achieve the full potential of reduced return temperature, it is necessary to optimise the hydraulic and thermal performance of substations through appropriate design configurations, intelligent control strategies, and dynamic modelling approaches that reflect real-world operating conditions.
Braas et al. [2] explored the impact of DHW preparation on the load profiles of district heating systems, focusing particularly on peak loads arising from simultaneity and the dynamics of primary return temperatures. Utilising TRNSYS simulation software and the DHWcalc tool, their study examined various DHW production systems, as depicted in Figure 1, including both fresh-water modules and DHW storage tank configurations, across different building types including both single-family houses (SFH) and multi-family houses (MFH). They found that the characteristics of the DHW consumption have a significant effect on the annual heat demand and primary network temperatures, which are critical to ensure the economic viability and sustainability of district heating networks. Additionally, they emphasised the importance of carefully selecting statistical methods and appropriate time intervals for generating load profiles, as these factors greatly influence peak performance requirements, the sizing of DHW storage, and ultimately, the hydraulic design of district heating systems [2].
Tijs Van Oevelen et al. [3] investigated optimisation strategies for the primary return temperature in district heating systems, emphasising its key role in enhancing network efficiency and reducing energy losses. Their research aimed to develop control techniques for heating substations to lower this temperature effectively. Similarly, Qinjiang Yang et al. [4] explored the reduction potential of the primary return temperature, finding that in a Danish multi-apartment building, it could decrease from 46.4 °C to 34.1 °C with a conventional serial connection, and down to 27.9 °C with a parallel setup, where the serial and parallel configurations refer to the specific arrangement of the SH and DHW production heat exchangers (HX) within the substation [4].
To reduce the primary return temperatures in district heating systems, a variety of technical and operational strategies have been explored. Among these, the implementation of instantaneous DHW preparation has emerged as an effective approach, as it minimises heat losses and maintains low primary return temperatures by eliminating the need for DHW storage. However, this method is typically associated with high peak thermal loads, necessitating the use of larger, and consequently more costly, heat exchangers to accommodate short-duration demand peaks [4,5].
To mitigate the challenge of high peak demands, several studies have proposed the integration of thermal storage tanks into the primary network at the substation level. These tanks function as thermal buffers, absorbing fluctuations in demand and enabling a reduction in the required heat exchanger capacity. Consequently, a more stable operation can be achieved, although higher return temperatures are expected [5,6,7,8].
Primary return temperatures are influenced by both SH and DHW demands. Despite this, the scope of existing literature is sometimes limited in focus; some studies concentrate only on the impact of space heating [8,9,10], while others investigate only the role of DHW consumption [2,7]. A bigger body of research addresses the combined effects of SH and DHW preparation, providing a more integrated perspective on the drivers of the primary return temperature behaviour [4,5,6,7,8,9,10,11,12,13,14,15,16].
Another critical aspect concerns the role of the DHW circulation loop, which is indispensable for ensuring user comfort by delivering immediate access to hot water at all points of use within a building. Nevertheless, continuous DHW circulation contributes to considerable distribution losses, particularly in extensive or inadequately insulated networks. These losses contribute to elevated primary return temperatures and increased energy consumption under certain operating conditions. When the returning DHW circulation flow exhibits higher temperatures, the resulting primary return temperature also rises, thereby reducing the overall efficiency of district heating systems. Only a few recent studies have examined the effect of DHW circulation [1,2,4,5,6,14,15]. The inclusion of the DHW circulation loop in detailed hydraulic-thermal simulations has proven essential for accurately evaluating its impact on system overall performance and identifying viable pathways for improving energy efficiency and reducing return temperatures. Table 1 provides a comprehensive overview of the system configurations, summarising their key characteristics, design principles, and functional components.
This study focuses on the detailed simulation-based analysis of DHS configurations commonly deployed in Budapest. Three distinct DHW connection schemes were investigated using dynamic models developed in MATLAB Simulink. The primary objective was to assess how different DHW connection designs and operational parameters influence the reduction in primary return temperatures, particularly emphasizing the effects of varying DHW circulation flow rates and consumption patterns. A constant secondary mass flow rate for the SH systems was maintained to ensure consistency across simulations. The investigation specifically targets DHS configurations including two- and three-heat exchanger layouts. Special emphasis was placed on the three-heat exchanger setup, featuring separate preheating and after-heating stages, as this arrangement was hypothesised to deliver the greatest reductions in primary return temperature. Although both single and dual pump arrangements are used in practice, our analysis primarily concentrated on single pump configurations, reflecting the predominant operational practice in Budapest. All system parameters and operational profiles employed in the simulations were based on empirical data collected from a DHS located at Harmat Street 74, District X, Budapest, Hungary. This ensured a realistic and accurate representation of the physical systems under investigation.
A Grey Box modelling [22] approach was employed to integrate empirical measurements with partial physical system knowledge, reaching an optimal balance between model accuracy and practical applicability. This methodology supports the development of a robust yet manageable simulation environment, suitable for engineering applications. This research aims to establish a comprehensive dynamic simulation framework that captures the complex interactions between SH and DHW demands within the DHS. Particular attention was given to the dynamic modelling of DHW circulation systems and storage tank behaviour, aspects that are often oversimplified or neglected in traditional modelling approaches. The model relies on measured DHW consumption profiles, ensuring the use of realistic boundary conditions and demand scenarios. The developed simulation environment integrates both hydraulic and thermal domains, enabling the accurate representation of flow distribution, pressure losses, and heat transfer processes within the substation’s key components. This multi-domain approach facilitates a detailed analysis of transient thermal and hydraulic behaviours and the assessment of various control strategies under dynamic operational conditions. The findings of this study are intended to enhance the understanding of SH and DHW system interactions, offering valuable insights for the design, control, and optimization of energy-efficient, low-temperature district heating networks. Furthermore, the developed modelling framework lays the groundwork for future digital twin applications, supporting real-time monitoring, fault detection, and operational optimization in modern district heating systems.
The structure of this paper is organised as follows. Section 2 describes the system boundaries and introduces the applied modelling methodology. It includes the justification for adopting a Grey Box modelling approach, the description of the three analysed district heating substation configurations (v1, v2, and v3), the structure and assumptions of the MATLAB Simulink-based physical system model, the detailed representation of HX and TST, and the formulation of simulation scenarios, including boundary conditions and solver settings. Section 3 presents the simulation results, beginning with an analysis of the relationship between DHW consumption and primary return temperature using both weighted and unweighted evaluation methods. This is followed by a comparative performance analysis of the three configurations under varying DHW circulation strategies and DHW consumption conditions, along with an assessment of the operational behaviour of the DHW storage tank and the interaction between DHW circulation flow and return temperature. Section 4 provides a critical discussion of the results, addressing the effects of load variations, the implications of DHW control strategies, and the practical constraints of the modelling assumptions and configurations examined. Finally, Section 5 concludes the paper by summarizing the key findings, highlighting the methodological limitations, and outlining future research directions, including the need for empirical validation, seasonal performance evaluation, and the integration of advanced control strategies for real-world applications.

2. Materials and Methods

In this study, the modelling framework was developed in MATLAB Simulink, which enables the dynamic simulation of complex thermohydraulic systems through a modular, block-based structure. The objective was to investigate various DHW and SH substation configurations in a district heating context, with a focus on primary return temperature reduction strategies. The model integrates both thermal and hydraulic domains, enabling the detailed representation of component-level interactions, such as heat exchanger performance, storage tank dynamics, and circulation loop behaviour. Building on previous studies that employed either simplified or static modelling approaches, this work adopts a Grey Box methodology, combining theoretical system knowledge with empirical input data. This approach was chosen due to the lack of complete information on certain boundary conditions and internal system parameters, which rendered purely White Box [23] models impractical, while allowing for deeper physical interpretation than Black Box [24] methods.
In the literature, various configurations have been examined individually, but comparative analyses within a unified simulation environment remain limited. Therefore, this study aims to bridge this gap by implementing and analysing three widely used substation configurations under harmonised conditions. The detailed structure of each configuration and its modelling in Simulink is presented in the following sections. To assess the impact of different substation configurations, three distinct simulation models, labelled v1, v2, and v3, were developed, as illustrated in Figure 2. In the applied labelling convention, the first digit of each identifier corresponds to the specific substation configuration (i.e., v1 = 1, v2 = 2, v3 = 3), whereas the second digit designates the numerical order of the associated temperature sensor within the respective system layout.
The v1 configuration includes three heat exchangers, which is currently widely implemented by FŐTÁV in Budapest. This setup consists of a dedicated SH heat exchanger (HX1.1) and two DHW heat exchangers, a preheater (HX1.3) and an after heater (HX1.2). A single circulation pump (P1.2) serves both the DHW storage tank charging and the DHW circulation loop, so the mass flow rate to fill the storage tank and the circulating mass flow rate are determined as a function of the DHW consumption. In this configuration, cold water first enters the preheater (HX1.3), where it is partially heated. The preheated water is then divided between the after heater (HX1.2) and the DHW storage tank. DHW circulation is maintained between the preheater and the after heater to ensure immediate hot water availability. Since the storage tank is discharged from the bottom, where the temperature may vary depending on stratification and prior consumption, the available thermal capacity of the tank is highly dependent on the actual DHW demand. This configuration has been used within FŐTÁV’s DHN in Budapest since approximately 2013 and serves as a reference point for evaluating alternative substation layouts.
The v2 configuration represents a simplified two-heat-exchanger system, comprising one heat exchanger dedicated to SH (HX2.1) and one for DHW production (HX2.2). The primary distinction relative to the v1 configuration lies in the hydraulic separation between the SH and DHW circuits; the primary-side mass flow exiting the SH heat exchanger (HX2.1) does not contribute to DHW preparation, which results in less effective primary return temperature reduction. In this setup, the DHW storage tank is discharged from the bottom using cold water, thereby enabling a precise calculation of the extractable thermal capacity. Like the v1 configuration, a single circulation pump is responsible for both the charging of the storage tank and the DHW circulation loop. As a result, continuous storage replenishment is required to maintain system stability and ensure consistent hot water availability. This configuration was used by FŐTÁV between 2006 and 2013 but is still widely used in district heating systems in Budapest.
The v3 configuration, like v1, is a three-heat-exchanger system; however, it distinguishes itself by employing separate pumps for DHW circulation (P3.2) and storage tank charging (P3.3). This design eliminates the need for continuous (24 h) distributed storage charging, allowing for intermittent operation based on consumption demand. Specifically, storage charging is initiated only when the tank temperature falls below a predefined threshold and is terminated once the target temperature is reached, thereby improving operational efficiency. The DHW circulation loop is operated by its own dedicated pump, which transports water between the preheater and the after heater depending on the prevailing thermal conditions—a configuration commonly referred to as “mid-connected circulation.” Like the previous configurations, the storage tank is discharged using cold water, enabling the precise calculation of the extractable thermal energy. The use of an independently controlled storage charging pump allows for the functional division of the tank into two thermal volumes: an active (net) volume, from which the useful energy is extracted, and a hysteresis volume, which accommodates operational variability. Owing to its enhanced control logic and intermittent charging strategy, the v3 configuration is expected to deliver the most favourable performance in terms of reducing the primary return temperature. The key technical parameters of the components used in the heating substation configurations and modelled temperature ranges are summarised in Table 2.
Given our objective to perform a detailed and physically meaningful analysis of the mechanical and control subsystems, Grey Box modelling offers a necessary balance between theoretical representation and empirical data fitting, thus enabling more robust system identification and dynamic performance evaluation. MATLAB Simulink provides a suitable platform for the integrated analysis of mechanical and automation processes within thermal-hydraulic systems. The modelling approach employed in this study was based on the interconnection of modular blocks, through which the thermodynamic and fluid dynamic behaviour of the system was formulated, complemented by the mechanical configuration of the substation. Accurate representation of real-world system operation necessitates the inclusion of various control and measurement elements, such as actuators, temperature sensors, and PID controllers. These components are essential for simulating dynamic control responses and maintaining operational stability under varying boundary conditions. During the modelling process, standardised components from the Simulink library were used. These components have been validated by the software developers for their operational reliability, and their underlying mathematical formulations are publicly documented. Owing to the considerable number of unknown or unavailable parameters associated with the DHS configuration, certain modelling simplifications were necessary to ensure the feasibility and stability of the simulation.
One such simplification concerned the management of pressure and pressure losses, which were not dynamically controlled but provided with predefined baselines. This approach was deemed acceptable, given that typical pressure drops across district heating substations are in the order of 1 bar—a magnitude that exerts a negligible influence on thermal performance. In addition, the system under study is not modelled as a closed hydraulic circuit, which further justifies the omission of detailed pressure dynamics from the simulation framework, but it is important to note that this does not have a significant impact on the modelling as the real substation handles this adequately. Flow rate variations resulting from pressure fluctuations within the system were managed by using controlled pumps. As pressure dynamics were not incorporated into the model, actual pump behaviour—dependent on pressure–flow relationships—was replaced by idealised theoretical pumps, as in the work of Vandermeulen et al. [19]. These theoretical pumps were assumed to maintain a constant volumetric flow rate, independent of the prevailing pressure conditions in the system, according to the findings of Song et al. [25].
For similar reasons, the pressure-drop-based controllers typically associated with heat exchangers were also substituted with idealised flow-controlled pumps. This modelling simplification allowed for the regulation of flow rates without the need to simulate the complex pressure interactions inherent in real hydraulic systems, thereby focusing the analysis on thermal behaviour and system topology. Given the lack of detailed hydraulic data for both the primary and secondary heating circuits, the decision to omit the real pump models from the simulation was justified. On the SH side, a constant mass flow was considered and only the supply temperature was controlled. The hydraulics of the DHW pumps are extremely complex, which was approximated in a linear way in our work, which satisfactorily approximated reality. However, if the hydraulic parameters of the system were available, real pumps could be implemented within the model by defining their characteristic performance curves, thereby enabling a more realistic representation of pressure–flow interactions and pump energy consumption.
In the simulation model, theoretical pumps were employed to transport fluids to and from idealised infinite reservoirs, which represented the thermal boundary conditions of the district heating provider’s central plant. These reservoirs were thermally controlled in accordance with the input data, ensuring that the temperatures of the working fluids—including the primary supply, secondary return, cold water inlet, and DHW circulation return—remained consistent with realistic operating conditions. The theoretical pumps extracted fluid from these reservoirs and delivered it to the system without imposing additional pressure or thermal constraints, thereby enabling the isolated analysis of hydraulic and thermal interactions within the modelled substation configurations [26].
In our study, a more detailed and physically representative heat exchanger model was employed compared to the simplified approaches commonly adopted in the existing literature. Typical models found in the literature often rely on approximations based on the logarithmic mean temperature difference method [1,3,19] or simplified energy balance equations [5,6,25], which neglect detailed flow and heat transfer dynamics. In contrast, our approach incorporates the heat exchangers’ geometric, fluid dynamic, and thermal modelling, allowing for a more accurate representation of real operating conditions and internal processes. As a result of this enhanced modelling complexity, direct comparisons between our results and previously reported design parameters are inherently constrained. Specifically, the level of detail incorporated in our model captures thermodynamic and operational phenomena often neglected or approximated in traditional models, thereby limiting the validity of straightforward parameter-by-parameter benchmarking against earlier studies.
In the modelling of the heat exchangers, their geometric and thermal characteristics were defined based on detailed technical data obtained from manufacturer datasheets and product catalogues. This approach allowed for the development of a significantly more accurate representation than conventional models relying solely on logarithmic mean temperature difference calculations. The model incorporated many parameters, including fin depth, spacing, inclination angle, material properties, thermal resistance, fouling factor, overall dimensions, number of plates, and pipe connection sizes. These detailed inputs enabled the simulation to reflect the actual performance characteristics of the heat exchangers more closely. For this purpose, the dedicated plate heat exchanger block available in Simulink was utilised, as it supports the integration of such detailed physical specifications and enables dynamic thermal-hydraulic analysis under varying operating conditions [27]. The heat transfer coefficient model employed in this study is based on the Colburn equation, which estimates the convective heat transfer coefficient using empirically derived Colburn correlation coefficients. This approach relates dimensionless parameters to capture the effects of flow conditions and geometry on heat transfer performance. The Nusselt number (Nu), representing the dimensionless heat transfer coefficient, is calculated as follows [27]:
N u = a R e b P r c
The indices and multiplicative coefficients applied in the model were selected based on the methodologies presented in [28,29], with specific consideration given to a fin inclination angle of 65°. The selected parameter values are summarised in Table 3:
The mass flow rates entering and exiting the heat exchangers often require appropriate merging or splitting to accommodate the operational demands of the system. To achieve this, a T-junction fitting was implemented, enabling dynamic mass flow distribution. This component ensures hydraulically consistent flow division and combination at the junctions, thereby maintaining accurate mass and energy balances within the thermal system under varying operating scenarios [30].
A one-dimensional thermal storage model was adopted for the representation of the DHW storage tank, in line with methodologies identified in the literature review. For this purpose, the fixed-volume storage tank model available in MATLAB Simulink was selected, as it offers sufficient flexibility for the intended application. Specifically, the model supports up to four configurable inlet/outlet ports and an additional interface for coupling with an external thermal source or heat dissipation pathway. This modelling approach enables the representation of stratified temperature layers and dynamic charging/discharging behaviour under varying operating conditions [31]. The thermal storage unit was modelled as a “thermally insulated storage tank” in the simulation environment due to certain simplifications and the lack of detailed thermal loss data. This modelling approach assumes that no heat exchange occurs between the storage unit and its surroundings, which is acceptable considering that adequate insulation is typically applied in practice. M. Reda Haddouche et al. [32] explored the dynamics of stratified hot water storage tanks, focusing on temperature stratification during both charging and discharging cycles. Based on mass and energy conservation principles, they developed a one-dimensional numerical model designed to simulate temperature distributions within the tank. To validate the model, they conducted experimental measurements, which led to enhancements in the model by increasing the number of computational nodes. This iterative process progressively improved the alignment between the numerical results and the experimental data, as illustrated in Figure 3.
To improve the representational accuracy of the thermal stratification within the storage reservoir, the tank was discretised into multiple smaller volumes connected in series. This approach follows established modelling methodologies in the literature [32,33,34,35], allowing for a more detailed depiction of vertical temperature gradients. Specifically, the storage unit was subdivided into 100 layers, each representing a thermally homogeneous sub-volume, thereby enabling a refined approximation of the dynamic thermal behaviour of the stratified storage system. To perform the simulations, it is essential to select an appropriate numerical solver, as it governs the underlying solution algorithm and time integration strategy.
The simulation environment allows for the use of either fixed-step or variable-step solvers. Based on practical experience with modelling highly dynamic thermal-hydraulic systems, the application of fixed time steps was found to frequently result in numerical inaccuracies or notable deviations from the expected system behaviour. In contrast, simulations performed using a variable time-stepping approach produced results that more closely aligned with theoretical expectations and analytical estimates. Consequently, the variable-step solver was selected for this study, as it provided superior accuracy and numerical stability under the investigated transient operating conditions. When employing variable time stepping, the simulation software adaptively reduces the integration time interval during periods of rapid parameter variation, thereby increasing the temporal resolution and enhancing the accuracy of the results. In the present study, the maximum allowable time step was set to 60 s, corresponding to the temporal resolution of the available input data.
However, due to the stochastic nature of DHW consumption, the solver frequently reduced the time step, resulting in an average integration interval of approximately 5 s throughout the simulations. To accommodate the system’s dynamic behaviour while maintaining computational efficiency, the ODE23 solver was selected. This solver is based on an explicit Runge–Kutta method, offering a suitable balance between accuracy and computational cost for the given application. The simulation was carried out over a continuous two-day period, with data recorded at a temporal resolution of one minute. This resulted in a total of 2880 data points per parameter, enabling a detailed temporal analysis of the system’s dynamic behaviour under varying operating conditions. During the simulations, two distinct levels of DHW consumption and DHW circulation mass flow rates, along with their combinations, were investigated to assess their impact on system performance. In the baseline scenario, a dataset comprising measured DHW consumption and circulation volumetric flow rates was employed, both recorded at one-minute intervals over a two-day period. The circulation flow dataset was derived from a simplified hydraulic calculation applied to the circulation network of the building under investigation. This methodology is consistent with that used in a previous simulation study in 2023, thereby ensuring coherence in modelling assumptions and boundary conditions [36].
According to the design guidelines of FŐTÁV, the calculated DHW consumption profile for a building corresponds to approximately twice the measured peak consumption. To account for this discrepancy and to evaluate system performance under design-level conditions, additional simulations were conducted by scaling the measured DHW consumption values. In the baseline scenario, the peak DHW consumption reached 36 L/min (referred to as 1 × DHW), whereas, in the amplified scenario, the consumption was increased to 72 L/min (2 × DHW), thereby approximating the design flow conditions specified in the sizing methodology. To assess the impact of increased DHW circulation, a scenario with unregulated circulation was examined, resulting in a significantly elevated recirculated mass flow rate. In the regulated configuration, the circulation volumetric flow rate was set at 7.14 L/min (denoted as 1_Circ.), which was estimated based on the assumed pipe length of the building, the thermal insulation properties of the piping system, and the expected temperature drop, whereas in the unregulated case, a flow rate of 22 L/min was assumed (denoted as 2_Circ.), three times the calculated balanced flowrate. Considering the various combinations of DHW consumption levels, circulation flow rates, and system configurations, a total of 12 distinct simulation cases were defined and analysed. These are summarised in Table 4, which provides an overview of the investigated scenarios and their corresponding boundary conditions. The MATLAB Simulink model of the district heating substation we investigated is shown in Figure 4.

3. Results

Figure 5 illustrates the variation in the primary return temperature as a function of DHW consumption for configuration v1 under Case I conditions, which assume individual DHW usage combined with controlled circulation. In this configuration, a clear correlation is observed between the DHW consumption and the resulting primary return temperature. The relationship is well approximated by a Gaussian–Amp fitting function, yielding a coefficient of determination (R2) of 0.9468, indicating a high degree of correlation between the fitted curve and the simulation data. The fitted equation is as follows:
y = y 0 + A e x x c 2 2 w 2
where
  • x k g s mass flow rate of consumption;
  • x C = 0.38 ± 0.0647 k g s constant of DHW consumption;
  • w = 0.3558 ± 0.0320 k g s calculation constant;
  • A = 35.5 ± 4.273 ° C calculation constant;
  • y 0 = 31.51 ± 0.6177 ° C primary return temperature constant;
  • y   ° C expected primary return temperature.
The average DHW consumption during the analysed two-day period was 0.057 kg/s, corresponding to approximately 3.42 L/min. The mean primary return temperature associated with this period was 48.3 °C. As illustrated in Figure 5, the simulation data points exhibit a highly consistent alignment and reveal a strictly monotonically decreasing relationship between DHW mass flow rate and primary return temperature. This trend progressively levels off at higher consumption flow rates, which can be attributed to the fundamental limitations of thermal exchange processes; specifically, the primary return temperature cannot fall below the temperature of the cold water entering the secondary side of the heat exchanger. Figure A1 shows the v1 configuration in Case II.
Figure 5. Primary return temperature as a function of DHW consumption for the v1 configuration in case I.
Figure 5. Primary return temperature as a function of DHW consumption for the v1 configuration in case I.
Energies 18 02370 g005
Figure 6 presents the primary return temperature as a function of DHW consumption for configuration v2 under Case II conditions, which assume doubled DHW demand, Figure A2 shows Case I for a single DHW demand condition. Unlike configuration v1, which employs both preheating and after heating stages for DHW preparation, configuration v2 includes only a single DHW heat exchanger and, as such, does not exhibit a strictly monotonically decreasing return temperature trend. Instead, a distinct minimum is observed at approximately 42 L/min, which corresponds closely to the nominal design flow rate of the DHW subsystem (42.1 L/min). This non-monotonic behaviour is a result of the interplay between the primary-side flow rate and the thermal performance of the DHW heat exchanger. When the primary mass flow rate is insufficient to fully transfer the required heat for DHW preparation, i.e., when the outlet temperature of the DHW heat exchanger is lower than that of the upstream SH heat exchanger—the return temperature decreases monotonically. However, above the design mass flow rate of the heat exchanger (~0.7 kg/s or 42.1 L/min), the primary outlet temperature of the DHW heat exchanger starts to increase, since the heat exchanger can only satisfy the desired DHW temperature with an excess primary mass flow rate, and this excess mass flow rate ultimately results in a higher primary return temperature.
Figure 7 illustrates the behaviour of configuration v3 under Case I conditions, seen in Figure A3. Primary return temperature as a function of DHW consumption for the v3 configuration in Case II reveals a significantly different thermal response compared to the previously discussed configurations. In this setup, two distinct data clusters are observed, reflecting the influence of a dedicated DHW storage charging pump that operates independently from the DHW circulation loop. When the storage tank is discharging (i.e., the charging pump is inactive), the primary return temperatures tend to stabilise around 52 °C, largely independent of the actual DHW consumption rate. This return temperature results from the combined effect of primary water exiting the SH exchanger and the outlet of the DHW after heater. The system’s operational logic and hydraulic separation of functions lead to a complex return temperature profile that deviates from the patterns seen in configurations v1 and v2. During the charging phase of the DHW storage reservoir, a characteristic right-angled triangular pattern emerges in the data representation. The slope of the hypotenuse in this pattern is determined by the ratio between the storage charging flow rate and the DHW consumption rate. Maximum primary return temperature reduction is achieved when these two values are equal, as this condition results in the preheater’s secondary inlet being supplied with cold water, thereby maximising the temperature differential across the HX. In cases where this balance is not maintained, a mixed temperature—resulting from partial recirculation and storage discharge—enters the preheater, leading to a vertical clustering of results. The vertical positioning of these points along the Y-axis (representing primary return temperature) is governed by several dynamic operating parameters, including the current storage charge level, the magnitude and direction of changes in DHW consumption, and the mixing flow rates and temperatures in the secondary circuit. These factors collectively influence the thermal state of the system and contribute to the variability observed in the simulation results.
Table 5 presents a summary of the primary return temperature variations across different hydraulic configurations and operational cases. The results indicate that circulation control has a pronounced impact on the primary return temperature for configurations v1 and v2 within the tested parameter ranges. In contrast, for configuration v3, the influence of circulation adjustment is less significant, with observed differences limited to approximately 1–1.5 °C. An increase in DHW consumption—specifically, a doubling of the baseline demand—resulted in a reduction of 1–3 °C in the average primary return temperature. Moreover, when analysing the minimum return temperature values, differences of up to 10 °C were observed between the various configurations and operational conditions, highlighting the sensitivity of the system to both design- and demand-related parameters. The constants used for the fits are listed in Table 6 and are based on Equation (2).
The primary return temperatures weighted by the DHN mass flow are illustrated in Figure 8. This weighted approach provides a more accurate representation of the system’s thermal performance by accounting for the varying mass flow rates over time. The equation applied for this evaluation is as follows:
T r e t = i = 1 n T r e t , i m ˙ D H N r e t , i i = 1 n m ˙ D H N r e t , i
It was observed that, across all examined scenarios, configuration v1 consistently resulted in the lowest primary return temperatures, whereas configuration v2 produced the highest values. In Case I, the system operated with measured DHW volume flow and regulated circulation, while Case III represented the same consumption conditions under uncontrolled circulation. Case II considered a doubled DHW volume flow with regulated circulation, and Case IV examined this increased demand under uncontrolled circulation conditions. The influence of circulation mass flow on the primary return temperature was found to be marginal under the tested conditions. Specifically, Case I and Case III yielded comparable results, as did Case II and Case IV, with temperature differences ranging between 0.1 °C and 0.5 °C. Interestingly, in Cases III and IV, the uncontrolled circulation led to slightly lower primary return temperatures compared to the controlled cases. This can be attributed to the return flow entering the substation at approximately 45 °C, which, instead of being reheated, contributes to a reduction in the overall return temperature.

4. Discussion

This study investigates three DHS configurations (v1, v2, and v3), focusing on their thermal performance with respect to primary return temperature reduction and the efficiency of DHW production and storage. Simulations were conducted in MATLAB Simulink, which provided a suitable environment for modelling the dynamic interactions between hydraulic and thermal components; however, further validation is required to ensure the robustness of the findings. Among the configurations, v2 demonstrated the least favourable performance, with return temperatures reaching approximately 40 °C, while v1 and v3 achieved significantly lower values (around 32 °C), indicating enhanced thermal efficiency. Notably, only configuration v3 utilised the storage tank effectively under standard conditions, whereas v1 and v2 relied on storage charging primarily during elevated DHW demand. The impact of DHW circulation control was minor for v1 and v2, but in the case of v3, controlled circulation yielded a return temperature reduction of up to 1–1.5 °C. When weighted by the primary mass flow, the difference between controlled and uncontrolled circulation scenarios remained minimal (approximately 0.1 °C). Furthermore, increasing DHW consumption led to improved return cooling in v1, with a temperature reduction of up to 6 °C, while in v2, peak loads caused return temperatures to rise by a similar margin. Excessive preheater outlet temperatures in v1 and v3 may introduce operational risks, including limescale formation and potential scalding. To alleviate such problems and to ensure the efficient operation of the substation, it is recommended to use preheater and after heater together, to control the temperature of the preheater precisely and to use a separate DHW circulating and storage charging pump. Despite the simplifications inherent in the model, the findings offer important insights into the influence of configuration design, load variation, and control strategies on substation performance.
Over the course of a year or a heating season, traditional control systems typically exhibit return temperatures between 40 and 55 °C, as reported in the literature, with one study also providing measurement-based validation of these findings, particularly in the presence of DHW circulation or suboptimal control strategies [16,20]. For instance, in one study, the annual weighted return temperature for both a continuous flow system and a storage-based district heating system was approximately 50 °C [16]. Another investigation reported an average return temperature of 44.6 °C in a conventional high-temperature system, which was reduced to 38.6 °C following control optimization [3]. The impact of control optimization and alternative substation architectures has been extensively studied, with many articles reporting an average return temperature reduction of 3–10 °C compared to conventional reference systems [3,15]. For example, the implementation of an optimised substation control reduced the average return temperature by 6 °C, while full system oversizing, e.g., of heat exchangers and radiators, enabled more significant temperature reductions, with decreases of up to 9–10 °C [3].
Further research should aim to evaluate long-term behaviour, seasonal dynamics, and real-world applicability to support the development of more efficient low-temperature district heating systems. Three heat exchanger configurations were analyzed, similarly to the work of Chardon et al. [15] and Thorsen et al. [1], each representing typical substation designs currently in use in Budapest. Among these, configuration v1 corresponds to the standard solution presently implemented by FŐTÁV, the main district heating utility provider. In the context of this study, v1 denotes a substation design comprising three-heat exchangers (SH, DHW preheater, and DHW after heater) and a single DHW circulation pump. Configuration v2 consists of a simplified setup with two-heat exchangers and a single pump responsible for both DHW circulation and storage charging. Configuration v3, on the other hand, includes three heat exchangers along with two separate pumps—one for DHW circulation and one for DHW storage charging—allowing for independent control of these subsystems. This comparative analysis provides valuable insights into the thermal and hydraulic performance of three DHS configurations (v1, v2, and v3), informing the optimization of future low-temperature system designs. The simulation results indicate that the simplest setup, v2, featuring only a single DHW heat exchanger, exhibited the highest primary return temperature, approximately 40 °C under favourable conditions. In contrast, configurations v1 and v3 achieved lower return temperatures, around 32 °C, when simulations were conducted using measured DHW consumption data, which represent only 50% of the design value. When the DHW consumption was doubled to reflect design-level conditions, configuration v1 outperformed the others, reducing the return temperature to as low as 26 °C during peak demand. The utilization of the 300 litre DHW storage tank also varied; v1 and v2 only activated the tank under increased demand, leaving it unused under baseline conditions, while v3 charged the tank intermittently even at lower loads, owing to its hydraulically separated charging circuit with a dedicated pump. This enhanced operational flexibility and system responsiveness. To ensure safe and efficient operation, the recommended configuration for DHW production should include both a preheater and an after heater. The preheater shall be equipped with an overtemperature protection mechanism to prevent scale formation and scalding, and for DHW circulation, hydraulic separation of the storage tank filling circuit from the DHW circulation loop is strongly recommended for proper operation in the building. These findings highlight the importance of integrated design and control strategies for achieving optimal performance in dynamic district heating environments.

Limitations

Although the developed simulation framework provided valuable insights into various DHS configurations’ thermal and hydraulic performance, several limitations must be acknowledged. Further investigations are required to determine the optimal hydraulic integration of the DHW circulation system. While simulation results suggest that supplying the lower connection of the storage tank directly from the cold water inlet could improve the efficiency of the charging process and enable more accurate quantification of the discharged volume, none of the examined coupling strategies—configurations v1, v2, and v3—fully met the identified performance criteria. These findings highlight certain limitations in current design approaches; however, optimizing or strategically combining key elements from different configurations may offer a promising pathway towards more efficient and robust substation designs. Another major limitation is the lack of empirical validation due to the absence of corresponding measured operational data. While the software developer validated the component-level models employed, the validation of the complete, integrated system remains crucial to ensure the reliability of the results. Although the outcomes demonstrate internal consistency and align with theoretical expectations and energy balance principles, empirical confirmation is necessary for broader applicability.
Several modelling simplifications also affect the accuracy of the simulation results. Although the weather data were based on real measurements, the primary supply temperature was derived from a predefined outdoor-temperature-dependent control curve rather than from direct measurement. Furthermore, the secondary SH demand was modelled solely as a function of outdoor temperature, neglecting internal heat gains, occupancy patterns, and building-specific characteristics. These assumptions constrain the model’s ability to accurately reflect real-world dynamic thermal behaviour, particularly under variable or partially loaded conditions. From a hydraulic perspective, pressure losses were assumed as fixed values rather than dynamically calculated, limiting the model’s capability to capture hydraulic interactions and control sensitivities. In the case of DHW demand modelling, consumption profiles were based on measured data; however, they represented only short-term, partial load conditions, without accounting for seasonal variability. DHW circulation mass flow rates were estimated using simplified hydraulic calculations instead of direct measurements, introducing further uncertainty concerning circulation energy demand and thermal losses. Finally, while the configurations studied reflect typical Hungarian system layouts, this may somewhat limit the generalisability of the findings. Nevertheless, the literature indicates that similar DHS designs are employed in other countries, enhancing the broader relevance of the results.

5. Conclusions

The evaluation of the simulation results revealed that none of the examined configurations fully utilised the available 300 L of DHW storage capacity; in all cases, only approximately two-thirds of the total volume was effectively discharged. In configuration v3, the storage charging process was initiated prematurely, relative to the remaining usable volume of the tank, indicating a suboptimal control strategy that could be improved through better timing and logic of storage management. Contrary to initial expectations, the change in the primary return temperature under baseline conditions was negligible—amounting to only 0.1 °C when evaluated as a mass flow weighted average. However, when the DHW consumption was doubled to reflect design-level conditions, the thermal performance changed markedly. In configuration v1, average primary return temperatures decreased by 1 °C to 3 °C, and a reduction of up to 6 °C was observed during peak demand. In contrast, configuration v3 showed little sensitivity to increased consumption due to its operational logic, while configuration v2 exhibited a counterproductive response; peak DHW loads led to a 6 °C increase in return temperature. Across all configurations, differences in return temperatures reached up to 10 °C in unweighted analyses and up to 2 °C when weighted by primary-side mass flow. Additionally, the simulations highlighted a potential risk of overheating in configurations v1 and v3 due to the absence of effective control on the DHW preheater. Outlet temperatures exceeding 50 °C were observed under certain conditions, posing risks of limescale formation in the secondary circuit and scalding at points of use. Although these scenarios have not yet been experimentally validated, they warrant further investigation to ensure safe and efficient system operation.
Although the simulation framework provided valuable insights into the thermal and hydraulic performance of various substation configurations, several limitations must be acknowledged. While the weather data used in the simulations were based on real measured values, the primary supply temperature was not directly measured but derived from a predefined outdoor-temperature-dependent control curve, as applied in DHN. Similarly, the secondary SH demand was modelled solely as a function of outdoor temperature, without accounting for internal heat gains, occupancy patterns, or building-specific characteristics. These simplifications reduce the model’s ability to reflect real-world thermal behaviour, particularly under dynamic or partially loaded conditions. Additionally, pressure losses were not actively calculated; instead, a fixed pressure drop was assumed, which limits the model’s capacity to simulate hydraulic interactions and control sensitivities. Another significant limitation pertains to the modelling of DHW generation and circulation. While the DHW consumption profiles were based on measured data, these represented only short-term and partial design load conditions, without capturing seasonal variability or stochastic user behaviour. Furthermore, the DHW circulation mass flow rates were not based on direct measurements but were instead assumed based on simplified hydraulic calculations, introducing potential uncertainty regarding the actual circulation energy demand and thermal losses. Although MATLAB Simulink offers validated component models, the integrated substation systems have not been empirically verified due to the lack of measured operational data. Finally, the configurations studied reflect typical Hungarian system layouts, which may limit the generalisability of the results, but the literature review shows that the design of the substation we examined is also used in many other countries. Future work should aim to incorporate empirical validation, refined DHW and circulation modelling, seasonal and long-term simulation scenarios, and advanced control strategies to support the practical application of the findings in diverse real-world settings.

Author Contributions

Conceptualization, G.R.K., Z.S. and M.H.; methodology, G.R.K., M.H. and Z.S.; software, G.R.K.; validation, G.R.K. and Z.S.; formal analysis, M.H. and Z.S.; investigation, G.R.K. and Z.S.; resources, G.R.K.; data curation, Z.S.; writing—original draft preparation, G.R.K.; writing—review and editing, M.H. and Z.S.; visualisation, G.R.K., M.H. and Z.S.; supervision, M.H. and Z.S.; project administration, M.H. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Data Availability Statement

The raw data supporting the conclusions of this article will be made available by the authors on request.

Acknowledgments

This work was supported by the Doctoral Excellence Scholarship Programme (DKÖP-25) of the Ministry of Culture and Innovation, funded by the National Research, Development and Innovation Fund.

Conflicts of Interest

The authors declare no conflicts of interest.

Abbreviations

The following abbreviations are used in this manuscript:
DHNdistrict heating network
DHSdistrict heating substation
DHWdomestic hot water
HXheat exchanger
Ppump
retreturn
SHspace heating or secondary heating
TSTthermal storage tank
N u Nusselt number, 1
P r Prandtl number, 1
R e Reynolds number, 1
T temperature, °C
a multiplication factor, 1
b Reynolds number constant, 1
c Prandtl number constant, 1
m ˙ mass flow rate, kg/s

Appendix A

Figure A1. Primary return temperature as a function of DHW consumption for the v1 configuration in Case II.
Figure A1. Primary return temperature as a function of DHW consumption for the v1 configuration in Case II.
Energies 18 02370 g0a1
Figure A2. Primary return temperature as a function of DHW consumption for the v2 configuration in Case I.
Figure A2. Primary return temperature as a function of DHW consumption for the v2 configuration in Case I.
Energies 18 02370 g0a2
Figure A3. Primary return temperature as a function of DHW consumption for the v3 configuration in Case II.
Figure A3. Primary return temperature as a function of DHW consumption for the v3 configuration in Case II.
Energies 18 02370 g0a3

References

  1. Thorsen, J.E.; Gudmundsson, O.; Tunzi, M.; Esbensen, T. Aftercooling Concept: An Innovative Substation Ready for 4th Generation District Heating Networks. Energy 2024, 293, 130750. [Google Scholar] [CrossRef]
  2. Braas, H.; Jordan, U.; Best, I.; Orozaliev, J.; Vajen, K. District Heating Load Profiles for Domestic Hot Water Preparation with Realistic Simultaneity Using DHWcalc and TRNSYS. Energy 2020, 201, 117552. [Google Scholar] [CrossRef]
  3. Van Oevelen, T.; Vanhoudt, D.; Salenbien, R. Evaluation of the Return Temperature Reduction Potential of Optimized Substation Control. Energy Procedia 2018, 149, 206–215. [Google Scholar] [CrossRef]
  4. Yang, Q.; Salenbien, R.; Motoasca, E.; Smith, K.; Tunzi, M. Development and Test: Future-Proof Substation Designs for the Low-Temperature Operation of Domestic Hot Water Systems with a Circulation Loop. Energy Build 2023, 298, 113490. [Google Scholar] [CrossRef]
  5. Nunna, A.C.; Zong, Y.; Thorsen, J.E. Demand Side Flexibility for a Heat Booster Substation with Ultra Low Temperature District Heating. Sustain. Energy Grids Netw. 2023, 36, 101185. [Google Scholar] [CrossRef]
  6. Nunna, A.C.; Zong, Y.; Thorsen, J.E. Enhancing Demand-Side Flexibility for Heat Booster Substations in Ultra-Low Temperature District Heating Systems. In Proceedings of the SEST 2022—5th International Conference on Smart Energy Systems and Technologies, Eindhoven, The Netherlands, 5–7 September 2022; Institute of Electrical and Electronics Engineers Inc.: Piscataway, NJ, USA, 2022. [Google Scholar]
  7. Sun, J.; Ma, S.; Huo, C.; Ge, Z.; Zhou, S. A Large Temperature Difference Thermal Substation (LTDTS) with Electric Heat Pump and Thermal Storage Tank. IOP Conf. Ser. Earth Environ. Sci. 2021, 661, 012016. [Google Scholar] [CrossRef]
  8. Yang, X.; Li, H.; Svendsen, S. Evaluations of Different Domestic Hot Water Preparing Methods with Ultra-Low-Temperature District Heating. Energy 2016, 109, 248–259. [Google Scholar] [CrossRef]
  9. Tol, H.İ.; Desmedt, J.; Salenbien, R. A Novel Demand-Responsive Control Strategy for District Heating Systems, Featuring Return Temperature Reduction. Energy Built Environ. 2021, 2, 105–125. [Google Scholar] [CrossRef]
  10. Martinazzoli, G.; Pasinelli, D.; Lezzi, A.M.; Pilotelli, M. Design of a 5th Generation District Heating Substation Prototype for a Real Case Study. Sustainability 2023, 15, 2972. [Google Scholar] [CrossRef]
  11. Østergaard, D.S.; Svendsen, S. Experience from a Practical Test of Low-Temperature District Heating for Space Heating in Five Danish Single-Family Houses from the 1930s. Energy 2018, 159, 569–578. [Google Scholar] [CrossRef]
  12. Wang, J.; Zhang, C.; Su, H.; Zong, Y.; You, S.; Strbac, G. Energy Management of Smart Buildings in Low-Temperature District Heating Systems. In Proceedings of the 2023 IEEE International Conference on Energy Technologies for Future Grids, ETFG 2023, Wollongong, Australia, 3–6 December 2023; Institute of Electrical and Electronics Engineers Inc.: Piscataway, NJ, USA, 2023. [Google Scholar]
  13. Poredoš, P.; Kitanovski, A.; Poredoš, A. Exergy Analyses of Low-Temperature District Heating Systemswith Different Sanitary Hot-Water Boosters. Entropy 2019, 21, 388. [Google Scholar] [CrossRef] [PubMed]
  14. Yang, X.; Li, H.; Svendsen, S. Energy, Economy and Exergy Evaluations of the Solutions for Supplying Domestic Hot Water from Low-Temperature District Heating in Denmark. Energy Convers Manag. 2016, 122, 142–152. [Google Scholar] [CrossRef]
  15. Chardon, G.; Patureau, R.; Gavan, V. Decreasing the Return Temperature in District Heating Networks Thanks to a Switch to Alternative Substation Architectures. Int. Sustain. Energy Conf. Proc. 2024, 1. [Google Scholar] [CrossRef]
  16. Vannahme, A.; Busch, J.; Ehrenwirth, M.; Schrag, T. Experimental Study of District Heating Substations in a Hardware-in-the-Loop Test Rig. Resources 2023, 12, 43. [Google Scholar] [CrossRef]
  17. Angelidis, O.; Zinsmeister, D.; Ioannou, A.; Friedrich, D.; Thomson, A.; Falcone, G. 5th Generation District Heating and Cooling Modelica Models for Prosumer Interaction Analysis. In Proceedings of the 15th International Modelica Conference 2023, Aachen, Germany, 9–11 October 2023; Linköping University Electronic Press: Linköping, Sweden, 2023; Volume 204, pp. 607–616. [Google Scholar]
  18. Al Koussa, J.; Baeten, R.; Robeyn, N.; Salenbien, R. A Multipurpose Test Rig for District Heating Substations: Domestic Hot Water Preparation and Keep-Warm Function Comparison. E3S Web Conf. 2019, 111, 06012. Available online: https://www.e3s-conferences.org/articles/e3sconf/abs/2019/37/e3sconf_clima2019_06012/e3sconf_clima2019_06012.html (accessed on 1 April 2025). [CrossRef]
  19. Vandermeulen, A.; Van Oevelen, T.; van der Heijde, B.; Helsen, L. A Simulation-Based Evaluation of Substation Models for Network Flexibility Characterisation in District Heating Networks. Energy 2020, 201, 117650. [Google Scholar] [CrossRef]
  20. Chicherin, S.; Junussova, L.; Junussov, T. Advanced Control of a District Heating System with High Residential Domestic Hot Water Demand. E3S Web Conf. 2020, 160, 01004. [Google Scholar] [CrossRef]
  21. Gao, Y.J.; Wang, S.G.; Jiang, S.; Wu, X.Z.; Wang, J.H.; Zhang, T.F.; Ma, Z.J. Configurations and Exergy Analysis of District Heating Substations Based Mainly on Renewable Energy. E3S Web Conf. 2022, 356, 01005. [Google Scholar] [CrossRef]
  22. Li, Y.; O’Neill, Z.; Zhang, L.; Chen, J.; Im, P.; DeGraw, J. Grey-Box Modeling and Application for Building Energy Simulations—A Critical Review. Renew. Sustain. Energy Rev. 2021, 146, 111174. [Google Scholar] [CrossRef]
  23. Tol, H.İ.; Madessa, H.B. Development of a White-Box Dynamic Building Thermal Model Integrated with a Heating System. J. Build. Eng. 2023, 68, 106038. [Google Scholar] [CrossRef]
  24. Liguori, A.; Quintana, M.; Fu, C.; Miller, C.; Frisch, J.; van Treeck, C. Opening the Black Box: Towards Inherently Interpretable Energy Data Imputation Models Using Building Physics Insight. Energy Build 2024, 310, 114071. [Google Scholar] [CrossRef]
  25. Song, Z.; Wang, N.; You, S.; Wang, Y.; Zhang, H.; Wei, S.; Zheng, X.; Guo, J. Integration of Geothermal Water into Secondary Network by Absorption-Heat-Pump-Assisted District Heating Substations. Energy Build 2019, 202, 109403. [Google Scholar] [CrossRef]
  26. Flow Rate Source (TL). Available online: https://www.mathworks.com/help/releases/R2024b/simscape/ref/flowratesourcetl.html (accessed on 15 March 2025).
  27. Plate Heat Exchanger (TL-TL). Available online: https://www.mathworks.com/help/hydro/ref/plateheatexchangertltl.html (accessed on 15 March 2025).
  28. Saha, S.K.; Khan, A.H. Numerical Study on the Effect of Corrugation Angle on Thermal Performance of Cross Corrugated Plate Heat Exchangers. Therm. Sci. Eng. Prog. 2020, 20, 100711. [Google Scholar] [CrossRef]
  29. Longo, G.A.; Righetti, G.; Zilio, C. A New Computational Procedure for Refrigerant Condensation inside Herringbone-Type Brazed Plate Heat Exchangers. Int. J. Heat Mass Transf. 2015, 82, 530–536. [Google Scholar] [CrossRef]
  30. T-Junction (TL). 2024. Available online: https://www.mathworks.com/help/releases/R2024b/hydro/ref/tjunctiontl.html (accessed on 15 March 2025).
  31. Constant Volume Chamber (TL). Available online: https://www.mathworks.com/help/releases/R2024b/simscape/ref/constantvolumechambertl.html (accessed on 15 March 2025).
  32. Haddouche, M.R.; Velasco, F.J.S.; Illán, F.; García Cascales, J.R.G. Numerical Approach and Experimental Investigation of a Stratified Hot Water Storage Tank for Domestic Hot Water Production. Results Eng. 2024, 24, 103221. [Google Scholar] [CrossRef]
  33. Tan, X.; Zhu, Z.; Sun, G.; Diao, L.; Cao, J. Modeling and Simulation of Layered Water Tank Based on MATLAB/SIMULINK. J. Phys. Conf. Ser. 2022, 2173, 012005. [Google Scholar] [CrossRef]
  34. Ahmed, Y. Numerical Simulation of Stratified Thermal Energy Storage Tanks. Int. J. Adv. Eng. Bus. Sci. 2021, 2, 33–50. [Google Scholar] [CrossRef]
  35. Jodeiri, A.M.; Soppelsa, A.; Turrin, F.; Pipiciello, M.; Cozzini, M.; Fedrizzi, R. Numerical and Experimental Investigation of Stratified Water Storage Tanks: An Enhanced Adaptive-Grid Model. Appl. Therm. Eng. 2024, 248, 123113. [Google Scholar] [CrossRef]
  36. Zoltán, S.; Richárd, K.G.; György, L. Research Report of the Budapest Public Utilities Nonprofit Zrt; FŐTÁV District Heating Division: Budapest, Hungary, 2023. [Google Scholar]
Figure 1. Simplified schematic of the examined system configurations [2].
Figure 1. Simplified schematic of the examined system configurations [2].
Energies 18 02370 g001
Figure 2. The configurations we examined are v1, v2, and v3.
Figure 2. The configurations we examined are v1, v2, and v3.
Energies 18 02370 g002
Figure 3. Temperature distribution at different resolution levels (nodes) compared to measured data [32].
Figure 3. Temperature distribution at different resolution levels (nodes) compared to measured data [32].
Energies 18 02370 g003
Figure 4. MATLAB Simulink model of a district heating substation.
Figure 4. MATLAB Simulink model of a district heating substation.
Energies 18 02370 g004
Figure 6. Primary return temperature as a function of DHW consumption for the v2 configuration in Case II.
Figure 6. Primary return temperature as a function of DHW consumption for the v2 configuration in Case II.
Energies 18 02370 g006
Figure 7. Primary return temperature as a function of DHW consumption for the v3 configuration in Case I.
Figure 7. Primary return temperature as a function of DHW consumption for the v3 configuration in Case I.
Energies 18 02370 g007
Figure 8. Primary return temperatures weighted by primary mass flow for different system design and cases.
Figure 8. Primary return temperatures weighted by primary mass flow for different system design and cases.
Energies 18 02370 g008
Table 1. Summary of investigated district heating substation types.
Table 1. Summary of investigated district heating substation types.
RefHX CountSH Mod.DHW Mod.DHW Circ. Mod.DHW TankLimitations
[1]2–3YesYesYesNoThe effectiveness of the design is contingent upon precise temperature control and consistently low SH return temperatures. It is sensitive to DHW-to-SH demand ratios and exhibits reduced performance under non-heating seasons and highly dynamic operating conditions.
[2]1–2NoYesYesYesThe applied methodology simplifies thermal losses, idealises heat exchange processes, and relies on static load profiles, thereby limiting the accuracy and scalability of simulations when applied to real district heating network (DHN) conditions.
[4]1–2YesYesYesNoThe reliance on simplified modelling and summer-only testing constrains the study’s applicability under dynamic or low-temperature conditions. Observed control-related limitations further underscore the need for the development of more advanced control strategies.
[5]1YesYesYesNoThe genetic algorithm strategy does not guarantee global optimality, relies heavily on high-quality input data, and incorporates modelling simplifications that limit its accuracy and adaptability across diverse operating conditions.
[6]1NoYesYesNoSimplified thermal models and underlying assumptions constrain control accuracy and system scalability, while errors in TST representation and high computational demands present additional challenges for real-world implementation.
[7]1YesNoNoNoThe large temperature difference thermal substation approach is limited by the design constraints of plate-heat exchanger fixed operating conditions, and insufficient adaptability to variable loads or alternative heat recovery options, thereby restricting its broader applicability in industrial contexts.
[8]1YesYesNoYesThe study is based on idealised conditions, neglects potential system errors and measurement uncertainties, and simplifies economic considerations, thereby limiting its real-world applicability and the accuracy of its conclusions.
[9]0–1YesNoNoNoThe control strategy applied in the study is constrained by site-specific calibration, simplified load modelling, and a fixed supply approach that, while effective in reducing return temperatures, leads to increased energy consumption—highlighting the need for further optimisation.
[10]0–1YesNoNoNoModel simplifications may impact the accuracy of COP and EER estimations, while the use of R134a introduces regulatory uncertainties. Additionally, system complexity may hinder the scalability of the approach within 5GDHN.
[11]2YesYesNoNoMeasurement uncertainties, limited sample size, and variability in user behaviour constrain the accuracy and generalizability of the study’s findings.
[12]1YesYesYesNoThe proposed framework relies on linearised system representations and fixed input parameters, lacks uncertainty modelling, and is based on single case study factors that limit its robustness and scalability.
[13]2YesYesNoNoThe use of fixed temperature settings and predefined booster configurations reduces the model’s operational flexibility. Additionally, low-temperature operation increases entropy generation, while the seasonal scope of the analysis limits the generalizability of the findings across varying climatic conditions and system demand profiles.
[14]1YesYesYesYesThe study is based on idealised assumptions, excludes comprehensive cost analysis, and may not fully capture real-world variability. These limitations pose potential risks to DHW performance and Legionella prevention under bypass flow control strategies.
[15]2–3YesYesYesYesAdvanced substation architectures entail higher pressure losses and increased investment costs, necessitating the implementation of novel control strategies and operator training. Widespread adoption requires comprehensive economic and hydraulic feasibility assessments to ensure practical viability.
[16]1–2YesYesNoYesThe study is constrained by short-term laboratory testing of only two DHS configurations, lacking exposure to real-world variability and omitting insights into long-term system performance.
[17]1YesYesNoNoThe models are based on the proprietary library, which functions as a Black Box. The increased computational efficiency comes at the expense of omitting certain minor, yet potentially relevant, physical details.
[18]2YesYesNoNoLaboratory conditions limit the real-world applicability of the results, as measurement accuracy decreases at low flow rates, and fixed DHN/DHW settings constrain the generalizability of the findings.
[19]1–2YesYesNoNoSimplified substation models may compromise accuracy under dynamic conditions, neglect building-specific influences, and exhibit sensitivity to minor input deviations, thereby limiting their robustness and general applicability.
[20]1–2YesYesNoNoThe approach is based on simplifications and fixed assumptions, which constrain its accuracy under dynamic operating conditions and limit its generalizability to real-world district heating networks.
[21]1–2YesYesNoNoThe model incorporates simplifications of key processes, potentially overlooking critical dynamics of real DHN. Moreover, the integration of renewable energy sources-based substations increases system complexity and costs, posing challenges to large-scale scalability.
[*]2–3YesYesYesYesA key limitation of this study is the lack of empirical validation, as no measured data were available to confirm the simulation results. Although the models are internally consistent and align with theoretical principles and literature trends, full system validation is necessary to ensure the reliability of the findings. Nevertheless, the developed framework provides a strong foundation for future validation efforts.
[*] Refers to the present research.
Table 2. Heat exchanger design parameters and the modelled temperature ranges.
Table 2. Heat exchanger design parameters and the modelled temperature ranges.
ParameterUnitCombined DHW
Preheater and After Heater
Heating Heat Exchanger
Nominal primary temperature[°C]-150/80
Primary temperature[°C]65/25125/65
Primary flow rate[m3/h]2.582.58
Secondary temperature[°C]50/1075/60
Secondary flow rate[m3/h]4.3210.31
Thermal power[kW]120180
Circulation return temperature[°C]40-
Investigated outdoor temperature range[°C]0–40–4
Investigated primary supply temperature[°C]80–9080–90
Table 3. Selected Nu parameters.
Table 3. Selected Nu parameters.
ParameterValue
a0.277
b0.766
c0.333
Table 4. Examined cases.
Table 4. Examined cases.
Case/Config.v1v2v3
Case I1 × DHW, 1_Circ.1 × DHW, 1_Circ.1 × DHW, 1_Circ.
Case II2 × DHW, 1_Circ.2 × DHW, 1_Circ.2 × DHW, 1_Circ.
Case III1 × DHW, 2_Circ.1 × DHW, 2_Circ.1 × DHW, 2_Circ.
Case IV2 × DHW, 2_Circ.2 × DHW, 2_Circ.2 × DHW, 2_Circ.
Table 5. Development of primary return temperatures in the studied cases.
Table 5. Development of primary return temperatures in the studied cases.
Title The Average Primary Return
Temperature [°C]
Minimum Primary Return
Temperature [°C]
Type of system configurationMass flow of DHW consumption/Cases tested0.057 [kg/s]0.114 [kg/s]0.6 [kg/s]1.2 [kg/s]
v1I.48.3-32-
II.-46.13226
III.48.2-32-
IV.-46.13226
v2I.50.2-40-
II.-49.04046
III.50.2-40-
IV.-49.14046
v3I.47.9-31/51-
II.-46.931/5131
III.49.5-31/51-
IV.-47.831/5131
Table 6. Return temperature adjustment constants.
Table 6. Return temperature adjustment constants.
Constants/Casesv1v2v3
I.II.III.IV.I.II.III.IV.I.–IV.
x C −0.382−1.010−0.367−0.862−0.1950.715-−0.119-
w 0.3560.5890.3590.5610.3600.534-0.346-
A 35.5097.3033.4072.3913.73−19.50-12.30-
y 0 31.5129.1131.3429.0539.5159.28-39.45-
R 2 0.9470.9790.9460.9790.7280.896-0.883-
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Kiss, G.R.; Horváth, M.; Szánthó, Z. MATLAB Simulink-Based Modelling and Performance Analysis of District Heating Substations for Renewable Energy Integration. Energies 2025, 18, 2370. https://doi.org/10.3390/en18092370

AMA Style

Kiss GR, Horváth M, Szánthó Z. MATLAB Simulink-Based Modelling and Performance Analysis of District Heating Substations for Renewable Energy Integration. Energies. 2025; 18(9):2370. https://doi.org/10.3390/en18092370

Chicago/Turabian Style

Kiss, Gyula Richárd, Miklós Horváth, and Zoltán Szánthó. 2025. "MATLAB Simulink-Based Modelling and Performance Analysis of District Heating Substations for Renewable Energy Integration" Energies 18, no. 9: 2370. https://doi.org/10.3390/en18092370

APA Style

Kiss, G. R., Horváth, M., & Szánthó, Z. (2025). MATLAB Simulink-Based Modelling and Performance Analysis of District Heating Substations for Renewable Energy Integration. Energies, 18(9), 2370. https://doi.org/10.3390/en18092370

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop