Next Article in Journal
Solar Thermochemical Fuel Production: A Novel, Validated Multiphysics Reactor Model for the Reduction–Oxidation of Nonstoichiometric Redox Cycles
Previous Article in Journal
Development Trends of Air Flow Velocity Measurement Methods and Devices in Renewable Energy
Previous Article in Special Issue
Resilient Operation Strategies for Integrated Power-Gas Systems
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Economic–Energy–Environmental Optimization of a Multi-Energy System in a University District

Department of Industrial Engineering, University of Padova, Via Venezia 1, 35131 Padova, Italy
*
Author to whom correspondence should be addressed.
Energies 2025, 18(2), 413; https://doi.org/10.3390/en18020413
Submission received: 31 October 2024 / Revised: 20 December 2024 / Accepted: 16 January 2025 / Published: 18 January 2025
(This article belongs to the Special Issue Application and Management of Smart Energy for Smart Cities)

Abstract

:
The integration of energy generation and consumption is one of the most effective ways to reduce energy-system-related waste, costs, and emissions in cities. This paper considers a university district consisting of 32 buildings where electrical demand is currently met by the national grid, and 31% of thermal demand is supplied by a centralized heating station through a district heating network; the remainder is covered by small, dedicated boilers. Starting from the present system, the goal is to identify “retrofit” design solutions to reduce cost, environmental impact, and the primary energy consumption of the district. To this end, three new configurations of the multi-energy system (MES) of the district are proposed considering (i) the installation of new energy conversion and storage units, (ii) the enlargement of the existing district heating network, and (iii) the inclusion of new branches of the electrical and heating network. The configurations differ in increasing levels of integration through the energy networks. The results show that the installation of cogeneration engines leads to significant benefits in both economic (up to −12.3% of total annual costs) and energy (up to −10.2% of the primary energy consumption) terms; these benefits increase as the level of integration increases. On the other hand, the limited availability of space for photovoltaics results in increased CO2 emissions when only total cost minimization is considered. However, by accepting a cost increase of 8.4% over the least expensive solution, a significant reduction in CO2 (−23.9%) can be achieved while still keeping total costs lower than the existing MES.

1. Introduction

The urgent need to reduce carbon emissions is driving the energy sector toward harnessing distributed resources, integrating generation and consumption at the local level, and exploiting synergies between end-use sectors [1]. In fact, more interconnected energy infrastructures allow increasing efficiency, reducing primary energy consumption and increasing the penetration of renewable sources [2]. Accordingly, multi-energy systems are emerging as promising configurations due to their holistic approach in decarbonizing power, thermal, and other sectors while minimizing economic impacts [3]. These benefits can be promoted by the increased flexibility deriving from the active role of end users in energy management, including active participation in demand-side management programs [4].
In general terms, a multi-energy system (MES) is an energy system of any geographical extension, from a single building to a national system, that combines multiple energy vectors (as, for instance, electricity, heat, and fuels) and fulfils the end users’ demand for different forms of energy [5]. The design and operation of an MES is a challenging task that requires proper optimization methods, due to the necessity of contextually considering energy conversion, storage, delivery, and utilization [6]. The goal is to properly evaluate the number, type, size, and management over time of the energy conversion and storage units meeting the demand of the end users, as well as the type, layout, and capacity of the energy networks needed for interconnection. This can be formulated, in general, as a mixed-integer non-linear programming (MINLP) problem due to the coexistence of both binary and continuous decision variables (as the existence of a component and its size, respectively) and the presence of non-linearities (e.g., off-design maps) [7]. The large number of decision variables involved can easily make the problem unsolvable with currently available computational technologies [8]. However, linearization approaches that transform the problem into a mixed-integer linear programming (MILP) one allow simplifying the optimization process, thereby drastically reducing computational requirements [9]. Rech [10] proposed a rigorous methodology for modeling the components of an energy system within an MILP problem. This methodology is used in this work as well.
The aforementioned design and operation optimization of an MES is an inherently integrated problem that requires being solved in “one shot”. However, the common approach in the literature is to consider the optimization of energy conversion and storage systems separately from the optimization of energy networks. This may lead to solutions that are not optimal for the system as a whole. For instance, in a cost minimization problem, the optimal solution for energy conversion may not be the global optimum because of the failure to consider the interconnection costs with end users.
Few examples are provided of works dealing with the optimization of energy conversion and storage units while neglecting the design of the networks. Dal Cin et al. [11] solved the multi-objective design and operation optimization of an MES serving the electricity and heating demand of a renewable energy community, with the goal of minimizing life-cycle costs and CO2 emissions. They considered photovoltaic (PV) panels, cogeneration units, and storage systems (both electrical and thermal) but did not model the energy networks. Rech et al. [12] minimized the total cost of an MES providing electricity and heat to a small mountain town by means of renewable plants. Heat is distributed to the users through a district heating network (DHN) that is assumed ideal and modeled as a “black box” connecting generators, storage systems, and consumers. Wirtz [13] proposed a web tool for the optimal conceptual design of the generation mix in a district MES, to define the optimal size of the energy conversion and storage plants available in an energy hub that fulfils electricity, heating, and cooling demands. Heating and cooling networks can also be considered and optimized in terms of operation but not in terms of design (i.e., the capacity of a line is assumed to be sufficient to transport all the energy required). Mashayekh et al. [14] developed an optimization method for the design of the energy conversion and storage plants supplying a multi-energy microgrid that involves both electricity and heating networks. The optimization addresses the generation mix selection and sizing, the resource siting and allocation, and the operation scheduling. However, the design of the networks is provided as input and cannot be improved.
On the other hand, works that optimize the topology and size (i.e., rated power that can flow in each branch) of energy networks usually consider energy conversion systems as input data, thereby neglecting their design. For instance, Pizzolato et al. [15] optimized the topology and capacity of a DHN in Turin, Italy, and analyzed the inclusion of network loops to increase the reliability of the system. They considered an existing heat generation facility to provide the required thermal energy. Röder et al. [16] optimized the design of a DHN serving a mixed residential–commercial district in Germany by searching for the cost-optimal solution with the inclusion of distributed thermal storage fixing in advance of the position, type, and size of the energy conversion plants and storage systems.
Works in the literature that considered the design and operation optimization of both the energy conversion and storage systems and energy networks of an MES as a single problem applied many simplifications to ensure the achievement of a solution in a reasonable time. For instance, Keirstead et al. [17] optimized the design and operation of the electricity, heating, and gas networks, as well as conversion systems (mainly cogeneration units), of an urban MES. The one-day operation of the MES is aggregated into two representative time intervals that allow solving the problem in an acceptable time (the yearly operation, composed of few representative days, is still described by a small number of time intervals). The drawback is that the coarse representation of the simulated time frame is not sufficient to properly model the short-term variability of time-dependent quantities (e.g., availability of renewable sources, changes in energy demand). Sidnell et al. [18] optimized the design and operation of a neighborhood MES integrating electricity and heating networks with renewable plants (PV) and cogeneration units. They considered a simplified network representation in which network lines are modeled as linear segments that connect adjacent buildings, regardless of the real geographical layout of the MES. Lerbinger et al. [19] provided a more detailed model of the DHN in an MES by constraining heating network lines to follow only predetermined paths (such as the streets of a neighborhood), thus avoiding unfeasible connections between nodes. Morvaj et al. [20] highlighted that a “street-following approach” for the optimal design of energy networks guarantees more realistic solutions than a “green-field approach”. Dal Cin et al. [21] adopted the street-following approach to optimize the design and operation of a district MES including both electricity and heating networks, as well as PV plants, cogeneration engines, heat pumps, and both thermal and electrical storage systems. Moreover, they made use of typical days obtained by K-medoids clustering to reduce computational complexity while ensuring a sufficient accuracy of the simulated time frame. It should be emphasized that in the mentioned paper, the authors also introduced the concept of “retrofit design”, which aims at adding new components or additional installed capacities to an existing system in order to improve its initial layout. Finally, the same authors presented in [22] a general method for the integrated optimization of an MES considered as a whole, i.e., by considering energy conversion units, storage units, and the energy network in the same synthesis, design, and operation (SDO) optimization problem. However, the latter works [21,22] focus on the optimization methodology, the validity of which is demonstrated through hypothetical case studies. They lack, instead, implementations in real-case studies that further strengthen the potential of the proposed method in real applications.
Among the several studies on MESs available in the literature, this paper focuses on those related to university districts, where proposed MES systems have proven to be by far superior solutions in terms of reducing cost and environmental impact compared to the conventional systems based on boiler and electricity withdrawal from the grid. Moreover, the analysis of this type of MES is interesting because the associated studies are often based on measured demand data rather than simulated or standard consumption profiles, thus providing realistic solutions to practical problems. Gabrielli et al. [23] optimized the MES operation of a university facility in Zurich, Switzerland, by focusing on geothermal storage. It turned out that CO2 emissions can be reduced by 87% compared to a conventional system based on centralized heating and cooling. Martelli et al. [24] studied the subsidies and taxes required to achieve specified decarbonization targets in MESs. Considering a university campus in Parma, Italy, and optimizing both the design and operation of the associated MES, they found that a carbon tax of about 160 EUR/ton favors the installation of PV systems, thereby reducing CO2 emissions by 25%. Venturini et al. [25] also included a life-cycle assessment in the design and operation optimization problem. The analysis of a university facility in Parma, Italy, showed that the optimal sizing and operation of cogeneration systems results in primary energy savings of about 15% and total cost reductions of about 12% over the life cycle of the MES. Testi et al. [26] developed a multi-objective stochastic optimization methodology to evaluate the integrated optimal sizing and operation of an MES under uncertainties in climate, space occupancy, energy loads, and fuel costs. They considered a university campus in Trieste, Italy, as a test case by focusing on the integration of heat pumps, which can increase the share of renewable energy, reduce the operating cost of the system, and moderate the investment risk. Dos Santos et al. [27] focused on the optimal design of the electrical microgrid serving a university campus in São Paulo, Brazil. The authors of the study optimized the size and location of distributed energy conversion and storage units (mainly photovoltaic plants and battery storage systems) and also the capacity of the cables constituting the microgrid. Finally, Comodi et al. [28] modeled the MES of a university facility in Singapore, with the goal of defining the optimal mix of energy conversion and storage systems and energy network infrastructure needed to meet electricity and cooling demands. They found that a district cooling network can reduce the total installed capacity of electric chillers, which results in capital cost savings. It is worth noting that the aforementioned design optimization studies modeled the MES of the university districts “from scratch” regardless of the pre-existing system configurations, thus achieving optimal layouts that are substantially alternative to the available ones. How to apply “retrofit design” optimization to this type of MES in order to improve existing system configurations (i.e., by starting with the components already available and replacing or resizing them) requires further research.
This paper considers a university district in Padova, northern Italy, and explores new and “smart” solutions to reduce the cost, primary energy consumption, and environmental impact of meeting its electricity and heating demand. This study takes the existing system configuration as a starting point and applies the retrofit design approach proposed in [21] for the optimization of the associated MES. In the existing system layout, the heating and summer-cooling demands of buildings are mostly covered by autonomous small boilers fired by natural gas and compression refrigeration systems, respectively. The buildings belonging to a part of the district are already interconnected through a district heating network (DHN) and a local electrical distribution network (EDN). A centralized thermal power generation system covers via the DHN the heat demand of this part, corresponding to 31% of the total heating demand of the district. The goal of this study is to identify the capacity and operation of the new plants to be installed, including photovoltaic (PV) panels, air–water heat pumps (HPs), and gas-fired cogeneration internal combustion engines (CHP ICEs), as well as the additional capacity and possible expansion of the available DHN and EDN. More specifically, three new energy system layouts are proposed and compared to determine the best solution for the district in terms of cost, primary energy consumption, and environmental impact. The first layout maintains the same structure and capacity of the existing DHN and EDN. The second and third layouts consider instead the expansion of the DHN and EDN. The optimization approach proposed in [21] is then applied to the three layouts to find the most cost-effective design and operation of the district MES (Cost Minimization scenario, CM). It is worth emphasizing that the optimization problem is based on electricity and natural gas consumption data measured over multiple years, from which annual electricity and heating demands are derived with an hourly resolution. This allows the optimization method proposed in [21] to be tested on a real-case study (conversely, the original study made use of standardized demand curves). Two additional scenarios are finally identified by imposing target reduction values on carbon emissions (Low Carbon Emissions scenario, LCE) and primary energy consumption (Primary Energy Saving scenario, PES) as secondary objectives (“epsilon-constraints”) in the optimization procedure. The goal is to identify the suitable trade-off between cost, energy efficiency, and environmental impact.
What is new compared to the literature on MESs in university districts is the implementation of the retrofit design problem to improve the economic and environmental performance of the existing system and its components. This makes it possible to take into account the energy infrastructure already available and to decide on new interventions in the current system. This approach contrasts with that commonly used in the literature, which is based on the design “from scratch” of new system configurations regardless of the components already available, thus providing MES configurations that are completely alternative to the existing ones. In addition, through the consideration of a real-case study based on measured data, this paper provides a practical validation to the optimization methodology proposed in [22], which has been used for “retrofit design” in other contexts but has been applied so far only to hypothetical test cases.
The rest of this paper is organized as follows. Section 2 describes in detail the considered university district with the existing energy infrastructure and outlines the three new MES configurations proposed to improve the existing configuration. Section 3 concerns the methodology and focuses on the input data to be provided to the optimization problem, as well as on the mathematical formulation of the optimization problem. Section 4 shows the results in terms of installed capacities, investment and operational costs, primary energy consumption, and CO2 emissions for the three new MES configurations in the considered scenarios (CM, LCE, and PES). Section 5 discusses the results in order to determine the best solution for the university district among those proposed. Finally, Section 6 draws conclusions.

2. System Description

This section describes the university district and the proposed configurations considered in the optimization problem in order to explore new solutions to reduce the costs, primary energy consumption, and environmental impact of the district.

2.1. Reference Case

The multi-energy system (MES) considered as a case study is a university district located in the northeast of Padova, Italy. The size of the district area is 422,000 m2, consisting of 32 university buildings placed in a residential neighborhood. The entire district, shown in Figure 1a, is crossed by a river that separates the north and south areas.
Currently, the yearly electrical demand of 22.5 GWh is covered by withdrawing electricity from 14 PODs connected to the national grid, all referring to the same primary substation. The yearly heat demand of 12.6 GWh is covered only by natural-gas-fired boilers. The north area accounts for 50% of the electrical demand and 40% of the heating demand, fulfilled mostly by a single POD and a centralized boiler, exploiting the existing local EDN and DHN (see blue/red line connecting node 6 to 9/8 in Figure 1b). The energy system of the south area presents a more fragmented situation; the electrical energy is withdrawn by 11 PODs, and each building is equipped with small boilers.
Hourly data of the electrical consumption are available for each POD, starting from 2019 to 2022. For the heat demand, the only data available are the cumulative monthly gas consumptions measured at each of the 21 gas delivery points (GDPs) during 2019 and 2020.
The MES outlined in Figure 1b is modeled as a multi-nodal system composed of N = 20 nodes subdivided into two types, i.e., “aggregation” and “connection” nodes. The former represent energy withdrawal points associated with aggregated buildings, whereas the latter shape both existing and new energy networks by identifying key points where network branches divide or join. Table 1 provides a comprehensive description of each node in the MES, including the existing installed capacity of gas boilers (GBs). The current total capacity of GBs, most of which are condensing boilers, is 20.5 MW (including backup units). “Aggregation” nodes are nodes 0 to 5, node 7, and nodes 9 to 12. The criteria adopted for the aggregation of buildings are as follows:
  • Sharing: buildings connected to the same POD, conversion unit, or pre-existing distribution network;
  • Proximity: nearby buildings, not separated by public streets;
  • Space availability: availability of existing indoor rooms or usable outdoor spaces to be used for technical rooms.
“Connection“ nodes are all the remaining nodes (6, 8, and 13 to 20). Their location is chosen to follow the paths of the existing network branches (nodes 6 and 8 identify the existing EDN and DHN together with aggregation nodes 7 and 9, see Figure 1b) and to draw possible new network branches, considering all constraints associated with their installation in accordance with a street-following approach.
Despite its central location (1 km from the city center), the district presents a high spatial density of energy consumption compared with residential neighborhoods; thus, it represents a good test case for the study of energy intervention strategies, combining the advantage of working on a relatively small area with the opportunity to affect a substantial amount of consumptions and related emissions. However, the historical-interest restriction on many of the buildings, the limited roof availability for PV systems, and the absence of other renewable sources strongly limit the renewable share and possible range of interventions.

2.2. Proposed Configurations

Three different MES configurations are considered in the optimization problem. Given the limitations of the case study in terms of renewable energy share, the proposed configurations consider the extension of energy networks that may favor centralized systems over autonomous plants and lead to reduced costs while achieving a higher average conversion efficiency. An increasing number of potential new network branches characterizes the three MES configurations. This may lead to an increasing integration of the MES, intended as the degree of interconnection between nodes through the energy networks and the consequent flexibility in energy distribution:
  • Existing networks: only the pre-existing DHN and EDN are considered (Figure 1b);
  • Medium integration: the north, south-east, and south-west areas constitute three independent DHNs and EDNs, each with a sufficient availability of technical space to accommodate all types of energy conversion and storage units (Figure 2a);
  • High integration: a single DHN and EDN extend throughout the district (Figure 2b).
The design of each configuration starts with the current MES assets (i.e., existing boilers, PODs, DHN, and EDN) and evaluates the installation of new energy conversion and storage units and additional network infrastructure. In particular, the proposed solutions combine the installation of PV systems, where possible, and HPs with an effective use of the available fossil resources (natural gas). To this end, integration is promoted with the installation of centralized combined heat and power internal combustion engines (CHP ICEs). The possible installation of electric and thermal energy storage (EES and TES) units is also considered.
The configurations are all characterized by the same dataset, reported in Table 2, which defines the type and maximum size of the energy conversion and storage units that can be installed at the aggregation nodes. The possible locations and maximum sizes of new installations have been identified by considering the available roof area and technical rooms for PV systems (based on a feasibility study initiated by the University of Padova) and CHP ICEs, respectively; the size of existing GBs for HPs (which can be installed at any node associated with a heating demand); the installation of PV systems for small EESs; and the installation of ICEs for large EESs and TESs. In this regard, the maximum sizes of the EESs and TESs at nodes 1, 7, and 10 are intended as sufficiently large thresholds for exploring the optimization results.
Finally, it is worth noting that the proposed optimization of the design considers not only the installation of new units and network branches but also the retrofit of the existing ones, i.e., the addition of new capacity to units and networks initially available in the reference case.

3. Methods

Figure 3 provides an overview of the procedure used to optimize the design and operation of the MES configurations in Section 2.2.
The “design choices” are already discussed for each configuration in Section 2.2; the “case study” and “techno-economic data” steps are described in Section 3.1. Finally, Section 3.2 describes the mathematical formulation of the “MILP design and operation optimization problem” and the “criteria” adopted for each scenario.

3.1. Input Data

The optimization problem requires as input data the following time series with an hourly resolution:
  • electricity demand of each node associated with an electrical load;
  • heating demand of each node associated with a thermal load;
  • global solar irradiance, required to calculate the PV generation (source PVGIS [29]);
  • ambient temperature, required to assess the coefficient of performance (COP) of HPs (source PVGIS [29]).
The yearly time series of electricity demand has been obtained by averaging the hourly data available for the years 2019 and 2022, neglecting 2020 and 2021 due to the bias introduced by the COVID-19 pandemic. For the heating demand, only the cumulated monthly gas consumptions of each GDP were available, requiring some assumptions in order to build up the hourly time series needed to solve the optimization problem. A simple approach has been adopted, assuming a flat demand curve during the scheduled operating hours of the gas boilers on weekdays, Saturdays, and holidays, for each month of the year. The resulting curves are then normalized with respect to the measured monthly consumption, ensuring that the integral of the monthly demand equals the measured data. Finally, data from PODs and GDPs are stacked into node demands, according to the criteria adopted for the aggregation presented in Section 2 (energy demands of the aggregated buildings are summed hour by hour).
To reduce the computational effort required to solve the optimization problem, the yearly demand time series data are aggregated into K = 36 typical days, considering three days for each month of the year, representative of the average weekday, Saturday, and Sunday/holiday, respectively. Each typical day is defined as H = 24 hourly time steps and is associated with a weight that is equal to the number of represented days in the year (the sum of all weights is 365). Figure 4 shows the energy demand curves of two typical days at one of the aggregation nodes. The shape of the demand profile is homogeneous throughout the district and characterized by the simultaneity of the electrical and thermal demands during the heating period. The choice of 36 typical days allows accounting for both weekly and annual energy demand seasonality. The weekly seasonality is related to the different occupancy of buildings during weekdays, Saturdays, and Sunday/holidays, while seasonal seasonality is mainly related to different environmental conditions (e.g., ambient temperature and daylight hours). For instance, during the heating period (October 15–April 15), the existing heating system (gas boilers) operates from 7 to 19 on weekdays and from 7 to 17 on Saturdays from November to March; from 7 to 17 on weekdays and from 8 to 14 on Saturdays in October and April; and is always off during holidays. Seasonality can be observed in the electric and thermal energy balances (Figure 5), for each day of the year, in the reference case. The heat balance shows clearly the periods when the heating system is in operation (winter, weekdays, and Saturday, daytime); the electric balance shows that the electrical demand during summer is the highest due to the use of compression refrigeration systems. It is worth recalling that in the reference case, the entire heating demand is covered by gas boilers, while the entire electricity demand is met by the national electric grid.
In addition, the data related to the system topology must be provided. These data include the Cartesian position of each node with respect to two reference axes, the position and capacity of the available network branches (identified by the extreme nodes), and the position and capacity of each available conversion unit along with those new units that can be installed. To this end, the considered technologies are as follows:
  • Photovoltaic (PV);
  • Combined heat and power gas-fired internal combustion engine (CHP ICE);
  • Gas-fired boiler (GB);
  • Air–water heat pump (HP);
  • Thermal energy storage (TES) based on hot water tanks;
  • Electrical energy storage (EES) based on lithium batteries.
The other information required to solve the model is the techno-economic data of the energy conversion and storage technologies (e.g., lifetime of the units, investment costs), which are summarized in Table 3.
Finally, Table 4 summarizes the specific costs of each energy carrier (i.e., electricity and natural gas), which are evaluated by averaging the university bills collected from October 2022 to September 2023, and their CO2 emission factors are also provided, which consider the Italian average generation mix of the electricity withdrawn from the national grid.

3.2. Optimization Problem

The design and operation optimization of the MES configurations in Section 2.2 is formulated as a mixed-integer linear programming (MILP) problem:
F i n d   x D *   and   x O * t R n   or   I m   t h a t   m a x i m i z e   f x D , x O t Y = a T x D + b T x O t s u b j e c t   t o   g x D , x O t = C x D + D x O t e
where f is the linear objective function; x D and x O t are the decision variables associated with the design (constant in the whole period Y ) and operation (time-varying) of the MES, respectively; and g represents the linear equality/inequality constraints that make up the model of the MES. The variables and equations involved in the problem in Equation (1) are discussed in detail in the following.
The relationships g include (i) the electric and thermal balances of the MES, (ii) the characteristic equations describing the performance of the energy conversion and storage units, and (iii) the constraints related to the capacity of the energy networks lines.
The electric and thermal balances (relationships (i)) are defined for each node of the MES (see Figure 1a) and written in accordance with [22]. Each balance, as shown in Equation (2), imposes that the sum of all electric/thermal power flows that enter, are produced, or discharged in the node must be equal to the sum of the electric/thermal power flows that exit, are consumed, or charged in the node.
F i m p t + i P i t + j P j t + z T z t · 1 λ z t · l z = P e x p t + F d e m t + i F i t + j F j t + z T z t
where F i m p t and P e x p t are included in the electric balances only and represent the electric power flows that are imported and exported through the node POD, respectively; P i t is the power output of each energy conversion unit i in the node; P j t is the power flow discharged from each energy storage unit j in the node; T z t and T z t are the power flows entering and exiting the node through the local EDN/DHN, respectively; F d e m t is the power flow associated with the electrical/thermal demand; F i t is the power input of each energy conversion unit i in the node; and F j t is the power flow charged in each energy storage unit j in the node. In Equation (2), the subscripts i and j refer exclusively to units that produce or store the considered energy carrier (electricity or heat) in the node, while the subscripts i and j refer to units that consume or store the considered energy carrier in the node. Note that the power flow entering a node through the local EDN/DHN equals the power flow leaving the node at the other end of the branch, minus the losses ( λ z t is the network-specific loss per unit of network length l z ).
Relationships (ii) are written in accordance with [10,22], subdividing the energy conversion units into dispatchable and non-dispatchable ones.
The input power (fuel of the unit, F i ( t ) ) of a dispatchable conversion unit i (i.e., CHP ICE, GB, HP) varies linearly with the power output (product of the unit, P i ( t ) ), as given in Equation (3), where k i t is a correction factor depending on the input data (e.g., ambient temperature in the case of HP), C i and D i are constant coefficients linearizing the off-design performance map of the unit, and δ i ( t ) is a binary variable describing the on/off status of the unit.
F i t = k i t · C i · P i t + D i · δ i t
The power output is upper and lower bounded according to the unit rated capacity P i m a x , as shown in Equation (4), which includes the auxiliary variable M i ( t ) to avoid non-linearities [30].
P i t P i m a x · β i M i t P i m a x · δ i t P i t M i t 1 δ i t · P i m a x m i · P i m a x P i t P i m a x
In Equation (4), β i is a binary variable (constant in the total period) describing the existence of the unit i , and m i is the minimum load of the unit i referred to its capacity P i m a x . Note that if β i = 0 , the power output P i t is zero for all the time steps in the total period (i.e., the unit i is excluded from the MES), whereas when β i = 1 , the power output P i t can vary between the minimum ( k i · P i m a x ) and maximum ( P i m a x ) load when δ i t = 1 (the unit i is on) or is equal to zero when δ i t = 0 (the unit i is off).
For CHP ICEs, only the additional linear relationship in Equation (5) is added to calculate the available thermal power that can be recovered (second product of the unit, Q i ) as a function of the unit load ( P i )
Q i t C 2 , i · P i t + D 2 , i · δ i t
The power output of PV is calculated using Equation (6), where the correction factor k P V ( t ) is a function of the solar irradiance in the time step t .
P P V t = k P V t · P P V m a x
The state of charge of a storage unit j (TES or EES) is modeled as the sum of the contribution from an intra-day state of charge (periodic within each typical day) and an inter-day state of charge (periodic within the total period of one year) [31].
The intra-day state of charge ( E j ( t ) ) accounts for the daily storage and is calculated using the dynamic energy balance in Equation (7), where k j t is a correction factor depending on the input data and the relative coefficient of self-discharge losses of the unit, and η c h a r , j and η d i s c , j are the charging and discharging efficiencies, respectively.
E j t = k j t · E j t 1 + η c h a r , j · F j t 1 η d i s c , j · P j t
E j ( t ) is upper and lower bounded according to the maximum capacity of the storage unit E j m a x , as shown in Equation (8). Moreover, it is assumed that each storage unit is completely empty at the beginning of each typical day (second relationship in Equation (8)).
m j · E j m a x E j t E j m a x E j t = 0 = 0
The inter-day state of charge accounts for seasonal storage and is calculated as proposed in [31].
The constraints at point (iii) above related to the capacity of the energy networks (EDN and DHN) are taken from [22]. The capacity T z m a x of each energy network branch z to carry electricity (heat) between two connected nodes (see Figure 1 and Figure 2) is upper bounded by a “big-M constraint”, where T z t is the power flow in the branch z , and M z is a “large enough” value, as given in Equation (9).
T z m a x M z
Finally, Equation (10) constrains the power flow T z t in each network branch to be lower than the branch capacity.
T z t T z m a x
For each dispatchable conversion unit i , the design decision variables ( x D ) include the unit rated capacity P i m a x and the binary variable β i in Equation (4), the latter describing the existence of the unit i . For PV and TES/EES, the only design decision variable is the maximum unit capacity ( P P V m a x and E j m a x ), as well as for the energy network branches ( T z m a x ). A value of P P V m a x , E j m a x , or T z m a x equal to zero corresponds to the exclusion of the specific unit/network branch from the optimal MES design.
For all dispatchable energy conversion units, storage units, and energy network branches, the operation decision variables ( x O ( t ) ) include a power flow associated with unit/branch load ( P i t , F j t and P j t , T z t ) for each of the 864 hourly time steps (24 h × 36 typical days). In addition to these, all binary variables δ i t describing the on/off status of the dispatchable energy conversion units (Equation (3)), and the thermal power output Q i t for CHP ICEs only (Equation (5)) are included among the operation decision variables.
The objective function to be minimized ( f in Equation (1)) is the annual cost of the MES, i.e., the annual levelized cost of investments C i n v plus the annual operating costs C o p e r :
f x D , x O t Y = C i n v + C o p e r = i , j , z c i n v i , j , z + C o p e r
C i n v in Equation (11) is obtained as the sum of the annual levelized cost of investments of each unit ( c i n v i , j , z ), which are calculated according to the following linear equations:
c i n v i = c i n v , v a r i · P i m a x + c i n v , f i x i · F D for   energy   conversion   units   c i n v j = c i n v , v a r j · E j m a x + c i n v , f i x j · F D for   storage   units   c i n v z = c i n v , v a r z · T z m a x + c i n v , f i x z · F D for   energy   network   branches  
where c i n v , v a r i , j , z and c i n v , f i x i , j , z are the variable and fixed linearization coefficients, respectively; P i m a x ,   E j m a x , and T z m a x are the unit capacities; and F D is the discount factor based on a 5% interest rate and the expected lifetime of the specific technology.
Finally, C o p e r is calculated as the sum of expenditures for the imported energy (gas and electricity, subscript i m p ) and revenues for the exported electricity (subscript e x p ):
C o p e r = Y F i m p t · c e l , i m p t + G i m p t · c g a s t P e x p ( t ) · c e l , e x p ( t ) · h
where F i m p t , G i m p t , and P e x p ( t ) are the power flows associated with the imported electricity, imported natural gas, and exported electricity in each hourly time step, respectively; c e l , i m p , c g a s , and c e l , e x p are their specific costs/prices; and h is the considered time step size (1 h).
Optimization results also include the assessment of the annual carbon emissions ( f x D , x O t Y in Equation (14)) and the annual primary energy consumption of the MES ( f x D , x O t Y in Equation (15)) due to the system operation.
f x D , x O t Y = Y F i m p t P e x p ( t ) · e e l + G i m p t · e g a s · h
where e e l and e g a s are the average emission factors related to the electricity produced by the Italian electric system and the combustion of the natural gas, respectively.
f x D , x O t Y = Y F i m p t P e x p t η e l + G i m p t + P P V ( t ) · h
where η e l is the average primary energy-to-electricity conversion efficiency of the Italian electricity system, and P P V ( t ) is the electric power produced by the PV. Note that in Equation (15), the contribution of photovoltaics to primary energy consumption is equal to the electricity produced by this technology, as it is proposed in [32].
The solution of the optimization problem in Equation (1) with the only objective of minimizing the cost of the MES (Equation (11)) falls under what is called the Cost Minimization (CM) scenario.
The fixed objective values of the reduction in carbon emissions (Equation (14)) and primary energy consumption (Equation (15)) compared to the CM scenario are imposed in specific additional runs of the optimization problem (Low Carbon Emissions—LCE scenario and Primary Energy Saving—PES scenario, respectively) to identify the optimal trade-off between cost, energy efficiency, and environmental impact.

4. Results

The optimization problem of the design and operation of the MES has been solved for each proposed configuration in the CM scenario. The following sections present the results considering the reference case as a term of comparison. The results are then compared with the other scenarios (LCE and PES) in which additional constraints are included to reduce both the primary energy consumption and CO2 emissions.
All optimization runs were performed using the Gurobi (version 11.0.2) Python API [33] optimization software library on a standard laptop equipped with a 9th Gen i7 processor and 16 GB RAM. Execution times varied widely, ranging from 30 min to 4 days depending on the complexity of the configuration (the optimization runs involving configuration C are the most time-consuming), with tolerances in the solution on the order of 1%.

4.1. Reference Case

The reference case represents the current operation of the district. It considers all the electricity demand met by withdrawing electricity from the national grid and all the heating demand covered by gas-fired boilers.
The investment costs of the existing units and networks are not included because the capital cost of all the existing facilities is assumed to be already depreciated (all considered existing facilities are dated), thus the yearly cost of 7029.8 kEUR is only composed of the operation contribution. The electrical energy withdrawn by the national grid is 22,478 MWh/year, while the annual gas consumption is 11,960.5 MWh, resulting in a total primary energy consumption of 59,183.2 MWh/year and 8447.8 t/year of CO2 emissions.
In the following, the electricity and heating demands of the reference case are named “reference electricity demand” and “reference heating demand”, respectively, to provide homogeneous terms of comparison for the proposed new configurations. In fact, in each of the proposed configurations, the total electricity demand also includes the electricity used by HPs and the EDN losses associated with the specific configuration, while the total heating demand also includes the DHN losses associated with the specific configuration.

4.2. Configuration A: Existing Networks

The first configuration considers the design and operation optimization of the university district MES without modifications to the topology of the pre-existing DHN and EDN.
Figure 6 shows the resulting position and size of the energy conversion and storage units. The results (Table 5, column A) suggest that even if gas-fired boilers can completely cover the heating demand, it is convenient to install CHP ICEs and HPs to minimize the costs. ICEs and HPs contribute to meet the heating demand with 3027.7 MWh/year (24% of the reference heating demand) and 4465.3 MWh/year (35.5% of the reference heating demand), respectively. The installed PV capacity of 485 kWp fully exploits the limited availability of roof area and contributes to the overall electrical generation with 704 MWh/year (3.1% of the reference electricity demand). The electricity generation from CHP ICEs instead is 9835.3 MWh/year and covers 43.8% of the reference electricity demand. No EES units are included in the solution due to the very limited PV capacity. In addition, the shape of the heating demand is well met by the installed CHP ICE and HP units, with no need for TES, while its simultaneity with the electrical demand favors cogeneration. Finally, the design optimization shows that an increase in the capacity of the existing DHN and EDN is not convenient (i.e., the existing energy networks’ capacity is sufficient to distribute the flows produced by existing and new units in the optimal operation).
The resulting overall cost, composed of the operation and investment costs, is 6609.2 kEUR/year, 6% less than the reference case also considering the amortization of investment costs for the new units, which is equal to 395.9 kEUR/year. This is because the operation costs in the optimized configuration A are 6213.3 kEUR/year, 11.6% less than the reference case. The primary energy consumption is 55,647.4 MWh/year, 6% less than the reference case, while the annual CO2 emissions value of 9282.5 t is 6% higher than the reference case.
Higher emissions are due to the relatively low CHP factor, i.e., the ratio between the recovered waste heat and the electricity produced by the ICEs, which is equal to 30.8%. Table 5 summarizes the results.

4.3. Configuration B: Medium Integration

The second configuration allows a partial integration of the university district according to the possible network paths shown in Figure 2a. Figure 7 shows the resulting position and size of the energy conversion and storage units, and the topology of the DHNs and EDNs of the three distinct areas in which the system is divided.
The CHP ICEs’ capacity of 2643 kWel (Table 5, column B) contributes 18,337.6 MWh/year (81.6% of the reference electricity demand) and 4597.5 MWh/year (36.5% of the reference heating demand) to the electricity and heating production, respectively, with a CHP factor of 25.1%. The optimal HPs’ capacity is concentrated into six nodes with an overall heat production of 3487.4 MWh/year (27.7% of the reference heating demand). The remaining 36.3% of the overall heat production, which includes also the DHN losses, is covered by the existing boilers, the capacity of which is not increased. The installed PV capacity is the maximum available. PV and CHP ICEs together cover 84.7% of the reference electricity demand. No energy storage capacities are included in the optimal solution.
All nodes are connected to the EDN, while the results exclude nodes 3 and 9 from the DHN. As expected, the highest capacities of the DHN and EDN branches are concentrated in the nodes where the CHP ICEs are installed and in adjacent nodes.
Finally, the results of the optimization problem show an overall cost of 6367.9 kEUR/year (9.4% less than the reference case), with operation costs of 5862.3 kEUR/year (16.6% less than the reference case) and investment costs of 505.7 kEUR/year. The resulting primary energy consumption is 55,738.8 MWh/year, 5.8% lower than the reference case, and the annual CO2 emissions are 10,217.3 t, 20.9% higher than the reference. Both results are mainly influenced by the large amount of electrical energy generated by the CHP ICEs without taking advantage of the total available waste heat.

4.4. Configuration C: High Integration

The third configuration represents the highest integrated solution, with the whole university district served by the DHN and EDN. Figure 8 shows the topology of the networks and the resulting position and size of the energy conversion and storage units.
CHP ICEs are installed at nodes 1 and 7, with an overall capacity of 3723 kWel (Table 5, column C), while the total capacity of HPs is 3670 kWth. Both capacities are the highest among the three considered configurations. CHP ICEs and HPs contribute 5582.2 MWh/year and 4602.5 MWh/year, respectively, to cover 80.9% of the reference heating demand. At 21,936.7 MWh/year, the electricity generation of ICEs covers 97.6% of the reference electricity demand; thus, in this configuration, the autonomous electricity generation of CHP ICEs and PV completely fulfills the reference electricity demand. Once again, the optimal solution excludes electrical and thermal energy storage units.
Figure 9 shows the progressive expansion of both the DHN and EDN across the three layouts resulting from the optimization in the CM scenario. In configuration C, the resulting capacities of branches 6–16, 15–16, and 16–17, laid out for both the DHN and EDN, allow the three main areas of the MES to be effectively interconnected. Only node 3 and branch 18–19 are excluded by the resulting DHN, while all the available links are installed in the EDN.
The resulting overall cost of 6163.3 kEUR/year is the lowest among the three configurations, 12.3% less than the reference case, with operation costs of 5467.8 kEUR/year, 22.2% less than the reference. In contrast, the investment costs of 695.5 kEUR/year are the highest among the proposed configurations, due to the higher capacity of CHP ICEs and HPs and the greater extent of the distribution networks. Finally, this configuration also achieves the best result in terms of primary energy savings, with a consumption of 53,131.4 MWh/year, 10.2% less than the reference case, while the annual CO2 emissions are 10,176.9 t, about the same as configuration B.

4.5. Low Carbon Emissions and Primary Energy Saving Scenarios

In the CM scenario, an increased network integration (i.e., greater interconnection between nodes) promotes the energy generation from CHP ICEs, leading the proposed configurations to perform better than the reference case, both in terms of overall costs (up to −12.3%) and primary energy consumption (up to −10.2%). On the other hand, the installation of CHP ICEs, particularly with low CHP factors, increases the CO2 emissions of the system, due to the lower share of the renewables of this “local” system compared to that of the national grid.
Starting from these considerations, the Cost Minimization (CM) scenario is compared with two different scenarios: Low Carbon Emissions (LCE) and Primary Energy Saving (PES). Cost minimization remains the objective in both the LCE and PES scenarios, but the former also considers a cap of −17% (referred to the reference case) on the maximum CO2 emissions, while the latter imposes a cap of −11% (referred to the reference case) on the maximum primary energy consumption and constrains the minimum hourly utilization of CHP ICE waste heat to be equal to 10% to foster the CHP operation of ICEs. The caps are obtained by minimizing the CO2 emissions and primary energy consumption of configuration A in two separate optimization problems. Table 6 shows the results of the three scenarios.
In the LCE scenario, the installed capacity of CHP ICEs is reduced to zero (a marginal CHP ICE capacity is maintained only in configuration A) in favor of the HPs, whose capacity in configuration A is more than tripled compared to the CM scenario. Again, in this scenario, as well as in the PES scenario, PV capacity saturates roof availability (485 kWp) while the installation of EESs and TESs is not beneficial. It is worth noting that given the limitations of PV availability and the absence of other renewable sources, a large reduction in CO2 emissions can only be achieved by using the renewable share of the national electric generation mix for heat generation as well, thus employing HPs. Installing HPs reduces investment costs but increases operation costs, so that the overall yearly costs are the highest among the three scenarios, although lower than the reference case (up to −1.8%). HPs cover 84% of the reference heating demand in all three configurations of the LCE scenario, which results in a lower primary energy consumption compared to the reference case (between −9.3% and −8.7%). Regarding CO2 emissions, all the configurations reach the −17% cap imposed by the scenario.
The constraints imposed on the PES scenario result in high CHP factors: 94%, 91.8%, and 87.1% in configurations A, B, and C, respectively. The installed capacity of HPs is higher in configuration A (6682 kWth), where a reduced network integration limits the amount of cogenerated heat. In fact, CHP ICE heat generation is higher in configurations B and C (up to 46.5% more in configuration C than in configuration A). CHP ICEs’ operation results in lower overall yearly costs compared to the LCE scenario: 3%, 4.2%, and 4.9% less than the reference case in configurations A, B, and C, respectively. Primary energy consumption is 52,673 MWh/year in the three configurations, reaching the −11% cap imposed by the scenario. Finally, regarding CO2 emissions, the best result within the PES scenario is obtained in configuration A (12.8% less than the reference case), due to the higher heat generation of HPs. In any case, compared with the CM scenario, the high CHP factors in the PES scenario entail a strong reduction in CO2 emissions in all three configurations.
Finally, Figure 10 shows a comparison of the energy balances for configuration C of the district MES for the three considered scenarios. In the CM scenario (Figure 10a), the economic convenience of electricity generation from the CHP ICEs leads these conversion units in operation throughout the entire year to cover 97.6% of the electricity demand (green area in Figure 10a). In contrast, the operating conditions required to achieve the CO2 emissions target of the LCE scenario (Figure 10b) result in a completely different solution, in which all the electricity is withdrawn from the national grid (except for the 3.1% produced by PV), and HPs cover 84.7% of the reference heating demand. The additional constraint on the minimum hourly utilization of CHP ICE waste heat (10%, PES scenario) leads to a CHP factor of 87.1%, and therefore, ICEs’ operation is limited to the heating period.

5. Discussion

In terms of overall annual costs and primary energy consumption, all the proposed configurations in the three different scenarios perform better than the reference case. A higher integration (i.e., greater interconnection between nodes through energy networks) is beneficial from the economic point of view, with configuration C achieving the best result in both the PES scenario and, in particular, the CM scenario, with an overall yearly cost 12.3% lower than the reference case. In the CM scenario, network integration is also associated with lower primary energy consumptions (10.2% less than the reference case in configuration C). Both trends are related to the increased use of CHP ICEs promoted by a greater extension of the DHN and EDN (note that CHP ICEs can only be installed at nodes 1, 7, and 10), which allows for a better match with the district’s energy demands. In particular, the reduction in primary energy consumption is associated with the increase in heat cogeneration: 84% more in configuration C than in configuration A (CM scenario), with only a 3% increase in HPs’ heat generation.
Network integration and CHP are also associated with a cost-effective reduction in primary energy consumption. This is evident in the PES scenario, where for the same primary energy consumption, configuration C achieves an additional 1.9% reduction in overall yearly cost compared to configuration A, reducing both operation and investment costs.
On the other hand, when the goal is a strong reduction in CO2 emissions, the results of the LCE scenario show that the installed capacity of CHP ICEs is reduced to zero in favor of HPs. In this scenario, DHN integration in configuration B allows the reduction of the total HPs’ installed capacity (16.3% less than configuration A), resulting in an overall yearly cost reduction of 1.1% in configuration A and 1.8% in configuration B (referred to the reference case). Configuration C, however, does not benefit further from the extended network topology.
Nevertheless, a moderate reduction in CO2 emissions is still feasible in a hybrid context of CHP ICEs and HPs, as shown by the three configurations in the PES scenario, which achieve 12.8%, 8.3%, and 7.5% reductions in CO2 emissions compared with the reference case, respectively.
Summarizing, in the context of this case study and considering the limited roof availability for PV systems and the absence of other renewable sources, the extension of the DHN and EDN combined with the introduction of CHP ICE units is effective in terms of both overall yearly cost reduction and primary energy saving. The use of CHP ICEs, however, limits the reduction in CO2 emissions otherwise achievable by installing only HP units. It is also true that the penalization of CHP in this sense is strongly related to the comparison with the electricity supply from the national grid coupled with heating electrification, which can rely on a much larger renewable share: 42% in 2020 (source IEA [34]) on a national basis versus 3.1% locally.
The use of gas boilers in the three different configurations deserves further consideration. Although design optimization never affects their size, in all the proposed solutions, a part of the heating demand is met by GBs (from 11.8% to 40.7% of the reference heating demand). The cost-effectiveness of heat generation from GBs is partly biased by the high installed capacity, which favors this solution over HPs; moreover, the absence of a minimum load threshold in the GB model (unlike CHP ICEs and HPs) makes the use of boilers necessary to fulfill the heating demand at very low load conditions. This is evidenced by the results of configuration A in the LCE scenario, where despite the constraint of minimizing CO2 emissions, HPs’ heat generation cannot completely replace GBs’ heat generation (11.7% of total heat generation). In this sense, the optimization process would benefit from the implementation of a database of commercial energy conversion units, in order to consider the installation of units of discrete sizes (instead of considering size as a continuous variable), thus improving the prediction of the part-load performance of the MES.
It is worth noting that the obtained results can be easily extended also to other districts of different sizes and similar characteristics in terms of the limited availability of renewable sources (urban context) and use of the buildings (which results in an almost simultaneous demand for electricity and heating). In fact, in these cases, the inclusion of district CHP units and networks typically leads to reduced costs and primary energy consumption, as demonstrated in [25,28], and a trade-off between cost reduction and the massive installation of heat pumps must be found to limit emissions of CO2.
Finally, cost assumptions on technologies and energy carriers play a crucial role in the optimization problem, driving the design choices and thus influencing the economic and environmental outcomes. In this regard, the data available from the bills used to calculate the average energy costs are affected by the increase in energy costs that occurred in Europe in winter 2022–2023 due to the Russo–Ukrainian war. To this end, the subsequent reduction in energy costs registered globally could lead to favorable economic conditions.
In conclusion, it is important to emphasize that the retrofit design and operation optimization approach applied in this paper is a completely general tool with broad applicability. While this study focuses on a specific case in terms of renewable energy availability, energy demands, and economic context, the approach can be applied to other districts or systems characterized by very different technical (e.g., high availability of different renewable sources) and economic constraints, yielding variable results tailored to each specific case.

6. Conclusions

Identifying effective retrofit solutions to improve existing energy systems is a key challenge to reduce energy-related costs and environmental impacts in cities. To this end, design and operation optimization tools that consider both energy conversion and storage units and energy distribution networks play a crucial role in choosing the best investment strategy.
This paper investigates the case study of a university district in Padova, proposing three new configurations of the multi-energy system (MES) with increasing possibilities for DHN and EDN interconnection and optimizes the design and operation of additional energy conversion units and energy distribution networks applying a new MILP optimization approach suggested by the same group of authors. Three retrofit design and operation optimizations are solved for each MES configuration, considering Cost Minimization (CM), Low Carbon Emissions (LCE), and Primary Energy Saving (PES) scenarios. Results are compared to search for a suitable trade-off between the economic, environmental, and energy efficiency objectives.
All the optimized configurations in the three different scenarios (CM, LCE, and PES) perform better than the reference case in terms of overall cost reduction and primary energy saving. To this end, the results show that DHN and EDN expansion combined with CHP installation are effective intervention strategies. In fact, the most integrated configuration (C), in both the CM and PES scenarios, has the highest CHP penetration (43.8% and 39.7% of cogenerated heat, respectively) and achieves the best economic results, with overall cost reductions of 12.3% and 4.9%, respectively, compared to the reference case. In addition, configuration C also achieves the best result in terms of primary energy consumption within the CM scenario, 10.2% less than the reference case. On the other hand, the operation of ICEs at low CHP factors results in high CO2 emissions (up to 20.9% more than the reference case) in the CM scenario, and the LCE scenario shows that ICE installation is reduced to zero if a strong reduction in CO2 emissions is required (17% less than the reference case), albeit with a negative impact on total costs that still remain lower than in the reference case (up to −1.8%). Nevertheless, a moderate reduction in CO2 emissions is still feasible in hybrid solutions combining ICEs (operating at high CHP factors) and HPs, as evidenced by the 8.3% reduction in CO2 emissions and the 39.5% of cogenerated heat achieved by configuration B in the PES scenario.
In conclusion, current needs for drastic emission reduction and consumption containment make the environmental objective of any intervention imperative. To this end, MES integration through expanded energy networks and cogenerating solutions that emerge from the PES scenario represent cost-effective intervention strategies capable of mitigating the environmental impact of the district while preserving the economic sustainability of the investment. Further reduction in CO2 emissions is also possible at the expense of overall annual cost and primary energy consumption.
Future developments of this work will consider the addition of the “synthesis” problem to the current design and operation optimization problem, i.e., the addition of the variable associated with MES topology among the decision variables of the optimization problem. Moreover, the performance prediction of the energy conversion and storage units will be improved by implementing a database of commercial units of known sizes. Finally, a cost sensitivity analysis will be conducted to determine the influence of cost assumptions.

Author Contributions

Conceptualization, L.B., S.R. and A.L.; methodology, L.B., E.D.C. and S.R.; software, L.B., E.D.C. and G.C.; formal analysis, L.B. and S.R.; data curation, L.B.; writing—original draft preparation, L.B., E.D.C. and S.R.; writing—review and editing, G.C., S.R. and A.L.; visualization, L.B.; supervision, S.R. and A.L. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Data Availability Statement

The original contributions presented in this study are included in the article. Further inquiries can be directed to the corresponding author.

Acknowledgments

The authors would like to thank Alessandro Mazzari, head of the energy sustainability sector office at the University of Padova, for providing access to the data related to the existing energy system and to the electricity and gas bills used in this research.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Papadis, E.; Tsatsaronis, G. Challenges in the decarbonization of the energy sector. Energy 2020, 205, 118025. [Google Scholar] [CrossRef]
  2. Guelpa, E.; Bischi, A.; Verda, V.; Chertkov, M.; Lund, H. Towards future infrastructures for sustainable multi-energy systems: A review. Energy 2019, 184, 2–21. [Google Scholar] [CrossRef]
  3. Alabi, T.M.; Agbajor, F.D.; Yang, Z.; Lu, L.; Ogungbile, A.J. Strategic potential of multi-energy system towards carbon neutrality: A forward-looking overview. Energy Built Environ. 2023, 4, 689–708. [Google Scholar] [CrossRef]
  4. Vahid-Ghavidel, M.; Javadi, M.S.; Gough, M.; Santos, S.F.; Shafie-khah, M.; Catalão, J.P.S. Demand Response Programs in Multi-Energy Systems: A Review. Energies 2020, 13, 4332. [Google Scholar] [CrossRef]
  5. Mancarella, P. MES (multi-energy systems): An overview of concepts and evaluation models. Energy 2014, 65, 1–17. [Google Scholar] [CrossRef]
  6. Xu, Y.; Yan, C.; Liu, H.; Wang, J.; Yang, Z.; Jiang, Y. Smart energy systems: A critical review on design and operation optimization. Sustain. Cities Soc. 2020, 62, 102369. [Google Scholar] [CrossRef]
  7. Mancò, G.; Tesio, U.; Guelpa, E.; Verda, V. A review on multi energy systems modelling and optimization. Appl. Therm. Eng. 2024, 236, 121871. [Google Scholar] [CrossRef]
  8. Frangopoulos, C.A. Recent developments and trends in optimization of energy systems. Energy 2018, 164, 1011–1020. [Google Scholar] [CrossRef]
  9. Urbanucci, L. Limits and potentials of Mixed Integer Linear Programming methods for optimization of polygeneration energy systems. Energy Procedia 2018, 148, 1199–1205. [Google Scholar] [CrossRef]
  10. Rech, S. Smart Energy Systems: Guidelines for Modelling and Optimizing a Fleet of Units of Different Configurations. Energies 2019, 12, 1320. [Google Scholar] [CrossRef]
  11. Dal Cin, E.; Carraro, G.; Volpato, G.; Lazzaretto, A.; Danieli, P. A multi-criteria approach to optimize the design-operation of Energy Communities considering economic-environmental objectives and demand side management. Energy Convers. Manag. 2022, 263, 115677. [Google Scholar] [CrossRef]
  12. Rech, S.; Lazzaretto, A. Smart rules and thermal, electric and hydro storages for the optimum operation of a renewable energy system. Energy 2018, 147, 742–756. [Google Scholar] [CrossRef]
  13. Wirtz, M. nPro: A web-based planning tool for designing district energy systems and thermal networks. Energy 2023, 268, 126575. [Google Scholar] [CrossRef]
  14. Mashayekh, S.; Stadler, M.; Cardoso, G.; Heleno, M. A mixed integer linear programming approach for optimal DER portfolio, sizing, and placement in multi-energy microgrids. Appl. Energy 2017, 187, 154–168. [Google Scholar] [CrossRef]
  15. Pizzolato, A.; Sciacovelli, A.; Verda, V. Topology Optimization of Robust District Heating Networks. J. Energy Resour. Technol. 2017, 140, 020905. [Google Scholar] [CrossRef]
  16. Röder, J.; Meyer, B.; Krien, U.; Zimmermann, J.; Stührmann, T.; Zondervan, E. Optimal Design of District Heating Networks with Distributed Thermal Energy Storages—Method and Case Study. Int. J. Sustain. Energy Plan. Manag. 2021, 31, 5–22. [Google Scholar] [CrossRef]
  17. Keirstead, J.; Samsatli, N.; Shah, N.; Weber, C. The impact of CHP (combined heat and power) planning restrictions on the efficiency of urban energy systems. Energy 2012, 41, 93–103. [Google Scholar] [CrossRef]
  18. Sidnell, T.; Clarke, F.; Dorneanu, B.; Mechleri, E.; Arellano-Garcia, H. Optimal design and operation of distributed energy resources systems for residential neighbourhoods. Smart Energy 2021, 4, 100049. [Google Scholar] [CrossRef]
  19. Lerbinger, A.; Petkov, I.; Mavromatidis, G.; Knoeri, C. Optimal decarbonization strategies for existing districts considering energy systems and retrofits. Appl. Energy 2023, 352, 121863. [Google Scholar] [CrossRef]
  20. Morvaj, B.; Evins, R.; Carmeliet, J. Optimising urban energy systems: Simultaneous system sizing, operation and district heating network layout. Energy 2016, 116, 619–636. [Google Scholar] [CrossRef]
  21. Cin, E.D.; Carraro, G.; Lazzaretto, A.; Tsatsaronis, G. Optimizing the Retrofit Design and Operation of Multi-Energy Systems Integrated With Energy Networks. J. Energy Resour. Technol. 2024, 146, 042102. [Google Scholar] [CrossRef]
  22. Dal Cin, E.; Carraro, G.; Volpato, G.; Lazzaretto, A.; Tsatsaronis, G. DOMES: A general optimization method for the integrated design of energy conversion, storage and networks in multi-energy systems. Appl. Energy 2025, 377, 124702. [Google Scholar] [CrossRef]
  23. Gabrielli, P.; Acquilino, A.; Siri, S.; Bracco, S.; Sansavini, G.; Mazzotti, M. Optimization of low-carbon multi-energy systems with seasonal geothermal energy storage: The Anergy Grid of ETH Zurich. Energy Convers. Manag. X 2020, 8, 100052. [Google Scholar] [CrossRef]
  24. Martelli, E.; Freschini, M.; Zatti, M. Optimization of renewable energy subsidy and carbon tax for multi energy systems using bilevel programming. Appl. Energy 2020, 267, 115089. [Google Scholar] [CrossRef]
  25. Bahlawan, H.; Morini, M.; Spina, P.R.; Venturini, M. Inventory scaling, life cycle impact assessment and design optimization of distributed energy plants. Appl. Energy 2021, 304, 117701. [Google Scholar] [CrossRef]
  26. Testi, D.; Urbanucci, L.; Giola, C.; Schito, E.; Conti, P. Stochastic optimal integration of decentralized heat pumps in a smart thermal and electric micro-grid. Energy Convers. Manag. 2020, 210, 112734. [Google Scholar] [CrossRef]
  27. Dos Santos, K.V.; Higino Silva Santos, L.; Bañol Arias, N.; López, J.C.; Rider, M.J.; Da Silva, L.C.P. Optimal Sizing and Allocation of Distributed Energy Resources in Microgrids Considering Internal Network Reinforcements. J. Control Autom. Electr. Syst. 2023, 34, 106–119. [Google Scholar] [CrossRef]
  28. Comodi, G.; Bartolini, A.; Carducci, F.; Nagaranjan, B.; Romagnoli, A. Achieving low carbon local energy communities in hot climates by exploiting networks synergies in multi energy systems. Appl. Energy 2019, 256, 113901. [Google Scholar] [CrossRef]
  29. European Commission. Photovoltaic Geographical Information System (PVGIS). Available online: https://re.jrc.ec.europa.eu/pvg_tools/it/#MR (accessed on 1 June 2024).
  30. Glover, F. Improved Linear Integer Programming Formulations of Nonlinear Integer Problems. Manag. Sci. 1975, 22, 455–460. [Google Scholar] [CrossRef]
  31. Kotzur, L.; Markewitz, P.; Robinius, M.; Stolten, D. Time series aggregation for energy system design: Modeling seasonal storage. Appl. Energy 2018, 213, 123–135. [Google Scholar] [CrossRef]
  32. International Energy Agency, World Energy Outlook. 2023. Available online: https://www.iea.org/reports/world-energy-outlook-2023 (accessed on 1 June 2024).
  33. Gurobi Optimizer. Available online: https://www.gurobi.com (accessed on 1 June 2024).
  34. IEA. Energy System of Italy. Available online: https://www.iea.org/countries/italy (accessed on 1 June 2024).
Figure 1. University district: (a) satellite image identifying university buildings and the locations of PODs and GDPs; (b) multi-nodal representation of the MES (nodes are identified by black or gray dots and numbered).
Figure 1. University district: (a) satellite image identifying university buildings and the locations of PODs and GDPs; (b) multi-nodal representation of the MES (nodes are identified by black or gray dots and numbered).
Energies 18 00413 g001
Figure 2. Proposed new configurations: (a) medium integration; (b) high integration.
Figure 2. Proposed new configurations: (a) medium integration; (b) high integration.
Energies 18 00413 g002
Figure 3. Flow chart of the procedure used to optimize the design and operation of the MES configurations. Different colored boxes are used to identify different types of steps in the procedure.
Figure 3. Flow chart of the procedure used to optimize the design and operation of the MES configurations. Different colored boxes are used to identify different types of steps in the procedure.
Energies 18 00413 g003
Figure 4. Daily energy demand curves of node 0, corresponding to the following typical days: (a) 0 (weekday of January); (b) 18 (weekday of July).
Figure 4. Daily energy demand curves of node 0, corresponding to the following typical days: (a) 0 (weekday of January); (b) 18 (weekday of July).
Energies 18 00413 g004
Figure 5. Electric and thermal energy balances in the reference case (each day of the year is replaced by the typical day representing it).
Figure 5. Electric and thermal energy balances in the reference case (each day of the year is replaced by the typical day representing it).
Energies 18 00413 g005
Figure 6. Configuration A, CM scenario: resulting network topology and size and position of the energy conversion units.
Figure 6. Configuration A, CM scenario: resulting network topology and size and position of the energy conversion units.
Energies 18 00413 g006
Figure 7. Configuration B, CM scenario: resulting network topology and size and position of the energy conversion units.
Figure 7. Configuration B, CM scenario: resulting network topology and size and position of the energy conversion units.
Energies 18 00413 g007
Figure 8. Configuration C, CM scenario: resulting network topology and size and position of the energy conversion units.
Figure 8. Configuration C, CM scenario: resulting network topology and size and position of the energy conversion units.
Energies 18 00413 g008
Figure 9. Resulting branch capacities in configurations A, B, and C of the CM scenario: (a) district heating network; (b) electrical distribution network. Network branches are identified by the pairs of connected nodes.
Figure 9. Resulting branch capacities in configurations A, B, and C of the CM scenario: (a) district heating network; (b) electrical distribution network. Network branches are identified by the pairs of connected nodes.
Energies 18 00413 g009
Figure 10. Electric and thermal energy balances of configuration C in the (a) Cost Minimization (CM) scenario; (b) Low Carbon Emissions (LCE) scenario; (c) Primary Energy Saving (PES) scenario.
Figure 10. Electric and thermal energy balances of configuration C in the (a) Cost Minimization (CM) scenario; (b) Low Carbon Emissions (LCE) scenario; (c) Primary Energy Saving (PES) scenario.
Energies 18 00413 g010aEnergies 18 00413 g010b
Table 1. Characterization of the nodes of the starting MES layout.
Table 1. Characterization of the nodes of the starting MES layout.
NodeTypePODInstalled GB Capacity [kWth]
0Aggregation node2427
1Aggregation node2274
2Aggregation node540
3Aggregation node750
4Aggregation node1291
5Aggregation node1368
6Connection node--
7Aggregation node9000
8Connection node--
9Aggregation node-220
10Aggregation node1980
11Aggregation node-380
12Aggregation node313
13Connection node--
14Connection node--
15Connection node--
16Connection node--
17Connection node--
18Connection node--
19Connection node--
Table 2. Candidate energy conversion and storage units to be included in the optimal MES configuration and their maximum capacities.
Table 2. Candidate energy conversion and storage units to be included in the optimal MES configuration and their maximum capacities.
NodePODMax GB
Capacity [kWth]
Max PV
Capacity [kWel]
Max CHP ICE
Capacity [kWel]
Max HP
Capacity [kWth]
Max EES
Capacity [kWh]
Max TES
Capacity [kWh]
0300039-2500250-
13000-4000250010,00020,000
21000--600--
3100058-800250-
42000--1500--
52000--1500--
790002724000400010,00020,000
9-500--300--
102500-4000200010,00020,000
11-500116-600600-
12500--600--
Table 3. Linearized investment cost and lifetime of the energy conversion and storage units and distribution networks.
Table 3. Linearized investment cost and lifetime of the energy conversion and storage units and distribution networks.
TechnologyInvestment Cost (cinv)Lifetime
[Year]
cinv,varcinv,fix
PV1250 EUR/kW-20
CHP ICE1398 EUR/kWel25.8 kEUR20
GB65 EUR/kW1.6 kEUR20
HP343 EUR/kWth6.3 kEUR20
EES880 EUR/kWh3.5 kEUR20
TES244 EUR/kWh1.0 kEUR20
DHN0.2 EUR/kWth/m103 EUR/m40
EDN0.006 EUR/kWel/m34 EUR/m40
Table 4. Specific cost and emissions of the considered energy carriers.
Table 4. Specific cost and emissions of the considered energy carriers.
CarrierCost [EUR/MWh]Emission Factor [kgCO2/MWh]
Electricity from the grid259271
Natural gas101197
Table 5. Results of the design and operation optimization of the three configurations in the CM scenario.
Table 5. Results of the design and operation optimization of the three configurations in the CM scenario.
ConfigurationsReference
ABC
Total PV capacity [kWp]4854854850
Total CHP ICE capacity [kWel]1705264337230
Total GB capacity [kWth]20,54320,54320,54320,543
Total HP capacity [kWth]2992244836700
Overall yearly cost [kEUR/year]6609.26367.96163.37029.8
Overall yearly cost [%ref]−6.0−9.4−12.3-
Operation costs [kEUR/year]6213.35862.35467.87029.8
Investment costs [kEUR/year]395.9505.7695.50.0
Imported electricity [MWh/year]13,079.94371.61059.022,478.0
Exported electricity [MWh/year]30.053.223.50.0
Ren 1 electricity generation [MWh/year]704.0704.0704.00.0
NRen 2 electricity generation [MWh/year]9835.518,337.621,936.70.0
HP heat generation [MWh/year]4465.33487.44602.50.0
GB heat generation [MWh/year]5125.34608.32557.312,594.5
CHP heat generation [MWh/year]3027.74597.55582.20.0
CHP factor [%]30.825.125.4-
Usage of natural gas [MWh/year]27,464.745,850.850,202.711,960.5
HP usage of electricity [MWh/year]1117.0879.21172.80.0
PE 3 consumption [MWh/year]55,647.455,738.853,131.459,183.2
PE 3 consumption [%ref]−6.0−5.8−10.2-
CO2 emissions [t/year]8955.210,217.310,176.98447.8
CO2 emissions [%ref]6.020.920.5-
1 Ren: renewable; 2 NRen: non-renewable; 3 PE: primary energy.
Table 6. Results of the optimization of the proposed configurations A, B, and C in the three scenarios: Cost Minimization (CM), Low Carbon Emissions (LCE), and Primary Energy Saving (PES).
Table 6. Results of the optimization of the proposed configurations A, B, and C in the three scenarios: Cost Minimization (CM), Low Carbon Emissions (LCE), and Primary Energy Saving (PES).
CM ScenarioLCE ScenarioPES ScenarioReference
ABCABCABC
Total PV capacity [kWp]4854854854854854854854854850
Total CHP ICE capacity [kWel]170526433723387002334331832680
Total GB capacity [kWth]20,54320,54320,54320,54320,54320,54320,54320,54320,54320,543
Total HP capacity [kWth]2992244836709716813678746682343028640
Overall yearly cost [kEUR/year]6609.26367.96163.36952.46904.96908.26819.86733.26683.97029.8
Overall yearly cost [%ref]−6.0−9.4−12.3−1.1−1.8−1.7−3.0−4.2−4.9-
Operation costs [kEUR/year]6213.35862.35467.86478.06531.46533.76207.66099.36077.87029.8
Investment costs [kEUR/year]395.9505.7695.5474.4373.6374.5612.2633.9606.10.0
Imported electricity [MWh/year]13,079.94371.61059.023,993.024,436.224,443.920,070.217,447.816,938.922,478.0
Exported electricity [MWh/year]30.053.223.50.00.00.014.626.41.70.0
Ren. electricity generation [MWh/year]704.0704.0704.0704.0704.0704.0704.0704.0704.00.0
NRen. electricity generation [MWh/year]9835.518,337.621,936.7480.50.00.03672.65462.05805.40.0
HP heat generation [MWh/year]4465.33487.44602.510,550.910,611.810,670.57685.04390.83826.30.0
GB heat generation [MWh/year]5125.34608.32557.314802081.52070.41480.93287.73858.912,594.5
CHP heat generation [MWh/year]3027.74597.55582.2587.40.00.03452.45016.05056.20.0
CHP factor [%]30.825.125.4122.2--94.091.887.1 -
Usage of natural gas [MWh/year]27,464.745,850.850202.72586.51976.71966.29804.715,313.916,383.211,960.5
HP usage of electricity [MWh/year]1117.0879.21172.82705.02667.82675.41959.81112.4969.10.0
PE consumption [MWh/year]55,647.455,738.853,131.453,695.954,017.354,022.952,673.052,673.052,673.059,183.2
PE consumption [%ref]−6.0−5.8−10.2−9.3−8.7−8.7−11.0 *−11.0 *−11.0 *-
CO2 emissions [t/year]8955.210,217.310,176.97011.67011.67011.67370.67745.27817.98447.8
CO2 emissions [%ref]6.020.920.5−17.0 *−17.0 *−17.0 *−12.8−8.3−7.5-
* Fixed objective values in the optimization procedure.
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

Bacci, L.; Dal Cin, E.; Carraro, G.; Rech, S.; Lazzaretto, A. Economic–Energy–Environmental Optimization of a Multi-Energy System in a University District. Energies 2025, 18, 413. https://doi.org/10.3390/en18020413

AMA Style

Bacci L, Dal Cin E, Carraro G, Rech S, Lazzaretto A. Economic–Energy–Environmental Optimization of a Multi-Energy System in a University District. Energies. 2025; 18(2):413. https://doi.org/10.3390/en18020413

Chicago/Turabian Style

Bacci, Luca, Enrico Dal Cin, Gianluca Carraro, Sergio Rech, and Andrea Lazzaretto. 2025. "Economic–Energy–Environmental Optimization of a Multi-Energy System in a University District" Energies 18, no. 2: 413. https://doi.org/10.3390/en18020413

APA Style

Bacci, L., Dal Cin, E., Carraro, G., Rech, S., & Lazzaretto, A. (2025). Economic–Energy–Environmental Optimization of a Multi-Energy System in a University District. Energies, 18(2), 413. https://doi.org/10.3390/en18020413

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