Preprint
Review

This version is not peer-reviewed.

Multi Energy Static Modelling Approaches: A Critical Overview

A peer-reviewed article of this preprint also exists.

Submitted:

21 February 2025

Posted:

25 February 2025

You are already at the latest version

Abstract

In Europe and elsewhere in the world, the current ambitious decarbonization targets push in the direction of a gradual decommissioning of all fossil-fuel-based dispatchable electrical generation and, at the same time, a gradual increase of the penetration of the Renewable Energy Sources (RES). Moreover, considerations tied to decarbonization as well as to security of supply, following the recent geo-political events, call for a gradual replacement of gas appliances with electricity-based ones. As RES generation is characterized by a variable generation pattern and as the electric carrier is characterized by scarce intrinsic flexibility (load and generation must coincide instant by instant and storage capabilities through electrochemical batteries as well as demand-side flexibility provision stay rather limited), it is quite natural to think of other energy carriers as possible service providers towards the electricity system. Gas networks are characterized by high compressibility (the so-called linepack phenomenon). Hydrogen stays very promising for providing not only daily but also seasonal storage. Heat networks are also intrinsically flexible because characterized by high thermal inertia and able to ensure comfort while varying water temperatures within a wide range of temperatures. All these carriers could, thus, provide storage services for the electricity system and this could allow, in turn, to increase the amount of RES penetration to be managed safely by the system, without incurring in risks of blackouts and without, on the other side, wasting RES generation peaks (or carrying out expensive reinforcements of electric transmission and distribution networks for hosting flows that would materialize only in a very limited number of hours in one year). All this calls for a new approach, both in electricity network dispatch simulations and in grid planning studies, which extends the simulation domain to other carriers (gas, heat, hydrogen…) so that a global optimal solution is sought for. This simulation approach, called multi-energy or multi-carrier, is gaining momentum in the last years and many approaches have been proposed, both in modelling the single carrier components and in joining them together for creating an overall model. The present paper aims at describing the most important of these approaches and comparing pros and cons of all of them. The style is that of a tutorial aimed at providing some guidance and a few bibliographic references to those who are interested to approach this issue in the next years.

Keywords: 
;  ;  

1. Introduction

In the last years, decarbonization has become one of the most important imperatives in the energy sector. The European Union, as well as many other Countries in the world, have set very ambitious climate-neutrality targets for the mid-long term ([1]). In the electricity sector, this produced an important increase in the deployment pace for the so-called Renewable Energy Sources (RES), most notably wind and solar. At the same time, traditional big generators, based on fossil-fuels, are being more and more decommissioned because out of merit order in the electricity markets and not any longer compliant with the environmental targets. This trend has been reinforced and even more accelerated in the last years, when important geo-political events have put the accent on security of supply and on making the energy system independent from the purchase of fuels from politically unstable or critical nations. However, for the electricity system, characterized by a very limited intrinsic flexibility (as electrochemical batteries can provide only limited storage capabilities and demand-side involvement stays rather limited), substantially increasing the penetration of RES, typically characterized by variable generation patterns, means the need to procure more and more services, for congestion management, frequency control, etc. RES power plants are characterized by evident generation peaks and valleys and if electricity transmission and distribution networks were reinforced for hosting such peaks without causing congestion, this would call for very expensive refurbishment actions, against, maybe, a very limited number of hours during the year in which such expanded grids would be fully utilized. In these cases, grid expansion would prove economically unjustified.
The same decarbonization targets mentioned above push also in the direction of an overall electrification of power consumption, in the industrial sector as well as for energy end-uses. However, not all industrial processes can easily be electrified, and some industrial sectors (cement, paper) are hardly electrifiable with the present technologies, or, in other cases (steel), could be electrified only by completely replacing the present production technologies, thus by carrying out huge investments. These sectors, usually called hard-to-abate, alongside with the heavy transport sector, although not easily electrifiable, could be fed with other energy vectors, most notably hydrogen. As a matter of fact, hydrogen ([2]) is imposing itself as one of the most promising decarbonization “tiles” of future energy policies. However, green hydrogen is produced through electrolysers which are, in turn, using electricity in great quantities, hence again the need to expand the electricity grid.
To cope with the very limited storage capability of the electricity system, other carriers could prove very helpful. Natural gas is characterized by very high compressibility (this phenomenon is called linepack) and there is a wide range of admissible operative pressures. Thus, the entire gas network, tightly coupled to the electricity network, could be exploited to provide flexibility to the electricity vector itself, as it were a huge, distributed storage system.
Hydrogen storage is itself very promising: both for short term storage (able to compensate daily peaks of RES electric generation) and even for long term storage (able to compensate important seasonal generation differences of wind and solar power plants). Hydrogen storage and flow-batteries are deemed as the only presently mature technologies for long term storage.
Finally, heat networks show an important flexibility potential too: thermal systems, be they those of small-scale swimming pools ([3]) or much larger ones for district-heating ([4]), can guarantee acceptable levels of comfort if water temperatures are held within given wide operative ranges and this flexibility can, again, be exploited to the advantage of the electricity carrier to which services can be provided.
Table 1 summarizes the most typical interactions between the energy carriers and the devices (“units”) where the energy conversion processes between carriers take place.
All the above reasons motivate an extension of the traditional scenario simulations and planning studies for the electric system by including other carriers (natural gas, hydrogen, district-heating) with which the electricity system is (and will be more and more in the future) interconnected. Regarding dispatch scenario studies, the addition of the other interconnected carriers can help to achieve a more optimized equilibrium and a better quantification of the interdependences between the different carriers. Concerning planning studies, considering the mutual interdependency of the different sectors can help to exploit synergies and spare refurbishment costs which are economically unjustified. Additionally, electric grids expansion meets more and more opposition from the public opinion, and this impacts on very long approval times which heavily contrast with the rapidity needed to deploy all that is needed to comply with current decarbonization targets and deadlines. Thus, reducing the number of grid refurbishment interventions by exploiting synergies between carriers in a holistic approach is also a way to ease and speed up the realization of the needed electric grid upgrades.
The above considerations on the importance to adopt a Multi Energy (ME) approach in dispatch scenarios and planning studies is also reflected in numerous policy documents, which clearly call for the adoption of a multi-carrier approach. Just to mention a couple of them, at European Union level, the European Commission ([6]) published already in 2020 the Communication “Powering a climate neutral economy: an EU Strategy for energy system integration” ([7]). In this document, we find “Energy system integration – the coordinated planning and operation of the energy system ‘as a whole’, across multiple energy carriers, infrastructures, and consumption sectors – is the pathway towards an effective, affordable and deep decarbonisation of the European economy”. The more recent document “Electricity infrastructure development to support a competitive and sustainable energy system - 2024 Monitoring Report” ([8]) published by the European Union Agency for the Cooperation of Energy Regulators (ACER, [9]) invites grid developers “to extend the use of multi-vector scenarios to grid development planning at the national level and ensure consistency between EU TYNDP and national scenarios”. Finally, the European Network of Transmission System Operators for Electricity (ENTSO-E, [10]) and the European Network of Transmission System Operators for Gas (ENTSOG, [11]) have recently started to publish joint electricity-gas scenarios to support the vision of the Ten-Year-Network-Development-Plan 2024. These scenarios are publicly available on the web ([12]). While introducing such scenarios, ENTSO-E and ENTSOG declare “The scenarios evaluate the interactions between the gas, hydrogen and electricity systems, vital to delivering the best assessment of the infrastructure from an integrated system perspective”.
So, it is no surprise that the last years have seen the birth of a new research line, consisting in the development of ME static models, i.e. those that are suitable for carrying out dispatch studies as well as planning analyses. Both have in common the static description of the different carriers (as opposed to the one oriented to study transient phenomena) and the fact that very often they imply either the solution of a system of equations for the calculation of power flows once the input-output quantities are known (the so-called ”load-flow” problems) or the resolution of very large optimization systems that minimize OPerative system EXpenditures (OPEX, very often in the sense of pure dispatching costs) or the TOTal system EXpenditures (TOTEX, meant as the sum of OPEX and CAPEX for investing in new assets to be deployed). The peculiarity of these models, if applied in a ME context instead of a single energy carrier, is that the dimension of the problem is considerably larger. This means that particular attention should be paid on one side to find out the simplest schematization of the single components of each carrier (e.g. preserving the linearity of the models becomes nearly imperative) and on the other side to utilize opportune solving algorithms fit for managing very large systems and most likely utilizing modern decomposition techniques (like Benders’ decomposition [13]).
This paper concentrates only on modelling issues and does not treat algorithms and techniques fit to solve the very large mathematical models generated in this way. After the present introduction, the second chapter will describe in synthesis the most significant modelling aspects for the main components of the carriers to be typically considered in a ME model: electricity, gas, hydrogen and heat. The third chapter will deal with the most typical techniques for joining the different carriers in one simulation model. Here, the goal is not to be exhaustive by quoting every single paper that has been produced in the last years (it would be nearly impossible!), but, rather, to single out the most typical approaches and to outline the peculiarities for each of them. Finally, the conclusive chapter will provide a comparison of the different approaches and some advice for those interested in ME modelling. The style of the paper is that of a tutorial aimed at providing some guidance and a few bibliographic references to those who are interested to get a first approach to ME modelling.

2. Energy Carriers Static Modelling Approaches

Before discussing the most common ME modelling approaches, it is opportune to carry out an analysis of the mathematic models of the main components of each carrier. In this analysis we are going to start from the general approaches and then indicate which simplifications can be useful to make the model fit for simulating large scale systems (i.e. networks with a few thousand nodes for each carrier). To this aim, the most important factors to be preserved are model convexity and model linearity. Model convexity ([14]) ensures that an optimization problem has one only solution and it is, thus, not subject to local minima, which may typically constitute a serious problem, making numerical convergence more difficult to achieve and potentially making solutions found for subsequent time instants not mutually comparable. Linear optimization models are also convex. Linearity is an essential prerequisite to apply algorithms like the interior point ([15]), which are both very fast and powerful to deal with large scale systems. Bearing in mind that planning problems are typically modelled as mixed integer (investments are typically associated to binary variables, see e.g. the model developed by the FlexPlan European research project [16]), the fact of solving Mixed Integer Linear Problems (MILP, [17]) brings huge advantages with respect to solving Mixed Integer Non-Linear Problems (MINLP).
In general, and for Multi Energy Systems (MES) even more, model complexity is a function of the detail adopted in the representation of each system component. More detail on components behavior implies a more complex mathematical description. So, it is of paramount importance to understand which is the best compromise between completeness of the mathematical representation of the system and complexity of the resulting problem (which implies the kind of solver which can be used and the time of resolution or, in many cases, just whether the problem is numerical tractable with the present hardware and software or not). From this point of view, [18] provides an interesting classification of the mathematical representation (and complexity) associated with the different modelling details treated in ME models. ME models are divided into 7 categories (Figure 1). Table 2 shows the typical modelling criticalities of each category.
As it is evident by examining in Table 2, mathematical complexity increases with the realism of the model and the number of included details (components non-linearity, technical constraints, uncertainty, flexibility and ancillary services) and considerably changes with the aim of the model (only dispatch variables for optimization of short time system operation, also investment variables, which are typically integer ones, for long time grid design and planning).
The following sections will examine the main peculiarities of the static models describing the components of different carriers (electricity networks, compressible fluid networks and heat networks). Among them, compressible fluids networks, which can represent either natural gas or hydrogen networks, and heat networks are the most complicated cases, because the relevant equations are not easily linearized without committing important approximations and because the approaches for static modelling are less established than for the electricity networks. Albeit simplifications are carried out in nearly all approaches to model multi-carrier networks, it is important to have a look at the general case and analyze the meaning of the different approximations to be brought in order to get to a linear model. For this reason, the section dedicated to compressible fluid networks is much longer than the ones dedicated to the other two carriers.
Electricity networks modelling
Electricity networks are included in plenty of simulation tools and applications and the relevant modelling approach necessary for each domain of simulation (planning, operation, contingency analysis, etc) is well known. There also exist some very known open access libraries, which can be used as a basis to build simulation tools: just to mention some of the most known ones, MATPOWER ([21]) for the MATLAB programming language ([22]). and PowerModels ([23]) for the Julia programming language ([24]). Nonetheless, the brief introduction provided by the present section is necessary both for the sake of completeness with respect to what is written for the other energy carriers and to provide an overview of the most common modelling choices with specific reference to static models. For a more complete introduction to the modelling of the electric networks, the reader is sent to dedicated books (a few bibliographic references can be found in [25]).
Starting from electrical lines, active and reactive power can be calculated for each branch of the network by utilizing the following simplified formulation (after neglecting the shunt part of the π model, see Figure 2):
p h k = V h V k [ g h k cos ( θ h θ k ) + b h k sin ( θ h θ k ) ]
q h k = V h V k [ g h k sin ( θ h θ k ) b h k cos ( θ h θ k ) ]
where phk is the active power of the branch between nodes h and k, qhk is the reactive power between the same nodes, Vh and Vk are the voltage modules for the two nodes h and k, and θh and θk the voltage angles for the same nodes, ghk and bhk are, respectively, the real part and the imaginary part of the admittance yhk of the branch between nodes h and k.
The equations system constituted by (1) and (2) is non-linear and this can be an important drawback to execute studies over big networks (even bigger if other carriers are added) and over long-term time intervals (which is typical, e.g. for grid planning analyses). On the other side, the longitudinal reactance of the transmission networks lines is usually much bigger than the relevant resistance (for 150kV networks, this ratio can be around 1.7, whereas for 380kV networks the same can increase up to 10). In this hypothesis, being the transversal (shunt) impedances of reactive type, they don’t influence active power transits, and the expressions for active and reactive power calculation are decoupled. Thus, by considering only equation (1) for active power calculation, it becomes:
p h k = V h V k b h k sin ( θ h θ k ) = V h V k x h k sin ( θ h θ k )
where xhk is the reactance between nodes h and k. Moreover, as reactive flows are not of interest, the voltage modules at the two extremes of the line can be considered equal and approximated with their nominal value Vn. Finally, the difference h - θk) is typically small and thus the sine is approximately equal to its argument. Hence:
p h k = V n 2 x h k ( θ h θ k )
which is a linear expression that can be put in matrix form and solved with the customary numerical algorithms in order to calculate the system load low once active power injections are known. This linearized representation in current denominated direct current approximation of the load flow equations.
For distribution networks, the hypothesis that longitudinal reactance of lines is usually much bigger than the relevant resistances doesn’t hold, and, thus, the direct current approximation cannot be made. However, for distribution networks the DISTFLOW approach can be adopted. Such approach retains an approximate calculation of reactive power alongside active power by applying opportune approximations so that the final solving system stays linear (for details, see [26,27]).
In alternative to applying the direct current approximation, a different kind of linear representation can be adopted. This representation is based on the so-called Power Transfer Distribution Factors (PTDF), defined as the incremental change in the active power that flows in a transmission line l due to an active power injection in a given node n of the network. PTDF factors provide a linearized description of the modalities how flows on the transmission lines change in response to extra injections into the system. The most important information they synthetize is how active power flows split among parallel branches of a meshed transmission network as an effect of the different impedances of the branches themselves. In a meshed transmission network, PTDF factors can take whatsoever value between zero and one, the former meaning that an injection into node n doesn’t affect at all line l, the latter that the entire flow injected into n transits through l. Of course, PTDF factors of distribution networks, having a tree topological structure, can be only either equal to zero or to one. PTDF are usually collected into a bidimensional matrix having so many rows as the number of lines and as many columns as the number of nodes. Theoretically, the PTDF matrix can be calculated starting from the inverse of the impedance matrix ([28]). However, typically, PTDF factors are calculated by running sensitivity simulations on the studied system scenarios. Once the PTDF matrix is calculated, PTDF factors are used in the system constraint that enforces the transit limits for each line:
I m l n N [ σ l n   ( g n p g c n C c ) ] I M l
where Iml and IMl are, respectively, the minimum and maximum limits for active power in line l, pg and Cc are the generic generator and load in node n, σln the PTDF factor between node n and line l.
Regarding the PTDF representation, it must be noted that it works well if the topology of system to be studied is fixed (e.g. to calculate system dispatch, e.g. electric markets outcome). By contrast, this representation can’t be easily applied to grid planning studies, since including more lines modifies the ratios between the impedances of the single lines, thus the relevant PTDF factors.
Electrochemical batteries are important components of present electrical grids. The simplest way to model them is through the following equation:
E t + 1 = E t + ( η a b s P t a b s P t i n j η i n j + ξ t ) Δ t
where Et and Et+1 are the amount of energy stored in the battery at time t and t+1, Δt is the time interval between t and t+1, Ptabs and Ptinject are the amount of power absorbed and injected at time t, ηabs and ηinj are the efficiencies in absorption and injection and ξt is a possible exogenous term (e.g. a self-discharge factor).
This kind of equation is an integral constraint, binding the energy (state variable) at time t+1 with energy at time t. Integral constraints increase the number of non-zeros in the Jacobian matrix ([29]) and make simulations more numerically demanding.
The model written in (6) can be made much more complex: extra constraints can be introduced to represent maximum charge, maximum power ramp-up and down, capacity reduction of the equipment as a result of the number of charge-discharge cycles it has been subjected to ([30]) and other. As usually, a compromise between completeness and realism must be sought for in order to ensure numerical tractability while including the effects that are important for the study to be accomplished. Very large models for planning studies suggest reducing to the minimum the number of treated constraints while ensuring that the resulting model, yet maybe including integer variables, stays linear.
Compressible fluids modelling
Natural gas networks are tightly connected to electrical networks (gas-fired thermoelectrical plants consume natural gas to produce electricity; synthetic gas blended into gas networks is produced using electricity; gas linepack can provide flexibility to the electricity sector) and future hydrogen networks will be closely connected as well (green hydrogen is produced with electrolysers which consume electricity; fuel cells convert hydrogen storage into electricity). This justifies modelling the two carriers together and, what concerns grid planning studies, even to put in competition the planning policies of the two networks. However, as already pointed out, natural gas networks modelling (or, in general, compressible fluids flow modelling) is rather complicated and non-linear. Nonetheless, linearization procedures can be adopted as well.
As the elementary building block of a gas network, we will limit ourselves to describe the modelling of an isothermal pipeline as it can be found in [31], i.e. adopting the hypothesis that the gas temperature is constant throughout the duct and equal to the external one (T(x,t) = TE, where x is an abscissa along the length of the pipeline and t is the temporal coordinate). A much more complicated modelling approach ([32]) removes this simplification and explicitly models the exchange of energy with the external environment though the pipeline metal structure: this model is, however, relevant only for transient studies. Further assumptions to be made to model an isothermal pipeline are:
  • turbulent motion in the pipeline (this is always verified for gas transport pipelines at a distance equal to some multiples of the diameter from the beginning and the end of the duct). This allows to adopt a mono-dimensional description for the fluid motion equations (otherwise, the Navier-Stokes [33] fluid dynamics laws should be used),
  • the pipeline is regular: there are neither changes of section along x nor sharp changes of direction (curves): such cases are usually modelled through concentrated losses (i.e. a pressure reduction), proportional to the square of the fluid speed through a coefficient depending on the type of irregularity),
  • the perfect gas law holds:
p ( x , t ) ρ ( x , t ) = z R G T ( x , t )
where p is the pressure, ρ is the gas density, z is the gas compressibility factor and RG is the gas constant. Starting from (7), the sound speed C can be defined as:
ρ p | T = T E = 1 C 2 = 1 z R G   T E C = z R G   T E
In these hypotheses, the mass and momentum conservation laws become:
Preprints 150155 i004
where A is the pipe section, W is the gas mass flow rate, g is the gravity constant, θ is the line slope with respect to horizontal, Cf is the friction coefficient and D is the pipe diameter. By equaling to zero the time derivatives, one gets:
  • W(x)= constant, i.e. mass flow rate constant throughout the pipeline,
  • the following expression for pressure drop calculation:
P 1 P 2 =   C f C 2 Δ x ( p 1 + p 2 ) D   A 2 e s 1 s W | W | + p 2   2 ( p 1 + p 2 ) ( e s 1 )
where: s = g   Δ x   sin ϑ 2   C 2 . If the pipeline is horizontal (θ = 0), the equation becomes:
W | W | = D   A 2 C f C 2 Δ x ( p 1 2 p 2 2 ) = K ( p 1 2 p 2 2 )
This relationship, usually called Weymouth equation, is the most typically used one in the modelling of pressure drops along gas pipelines in steady state disregarding the gravitational effect (customary hypothesis when simulating large gas networks). Equation (12) is not linear, but linearization procedures can be applied, as described in [34].
The Weymouth equation is useful to calculate pressure drops in the pipelines of a gas network. However, another important aspect, which is the delay due to the limited propagation speed of a perturbation in a gas duct, is not considered by the above steady state equation. This aspect is not negligible, especially when considering very long gas backbones crossing whole Europe. In order to consider it, we must re-elaborate the non-stationary equation set (9) (10). The most common approach is constituted by the so-called method of the characteristics. In order to derive such method, let’s create a linear combination of equation (9), denominated L1 and (10), denominated L2:
L = λ L 1 + L 2 = 1 A [ λ   C 2   W x + W t ] + λ [ 1 λ   p x + p t ] + p   g   s i n ϑ C 2 + C f C 2 2   D   A 2   p W | W | = 0
In order to be able to interpret the two quantities in square bracket as total time derivatives of, respectively, W and P, the following equalities must hold:
d x d t = 1 λ = λ   C 2     hence   λ = ± 1 C
By replacing (14) in (13), we obtain two systems of differential equations, which must be satisfied at the same time:
Preprints 150155 i003
By integrating these two systems, we obtain the following two relationships:
C A ( W P W A ) + ( p P p A ) +   C f C 2 Δ x ( p P + p A ) D   A 2 e s 1 s W P + W A 2 | W P + W A 2 | + p P   2 ( p P + p A ) ( e s 1 ) = 0
C A ( W P W A ) -   ( p P p B ) + C f C 2 Δ x ( p P + p B ) D   A 2 e s 1 s W P + W B 2 | W P + W B 2 | + p B   2 ( p P + p B ) ( e s 1 ) = 0
which must be satisfied at the same time, (16) along the line with slope +C and (17) along a line with slope -C (the two characteristic lines), see Figure 3. Once the W and p values are calculated for time t, for each couple of grid points A and B, the same quantities can be calculated at time t+Δt for point P by solving the system of equations (16) and (17).
The method of the characteristics is convergent (“stable”) provided that the spatial grid points and the discretization of the time axis are chosen so that the Friedrichs-Courant-Lewy ([35], [36]) equation is satisfied:
Preprints 150155 i005
The intuitive interpretation of this relationship is that, after splitting the length of the pipeline in equally spaced grid points at distance Δx, the equally spaced time steps spacing Δt must be chosen so that it is not bigger than the time taken by progressive and regressive waves (along, respectively, C+ and C-) to cover the distance Δx.
The method of characteristics, i.e. solving the set of equations (16) and (17), allows to calculate mass flow rate and pressure drops along a pipeline with a very good level of approximation (the isothermal duct hypothesis, true except for fast transients, being the only important applied precondition). However, these relationships are strongly non-linear, and the Friedrichs-Courant condition (18) imposes a very tight time discretization. On top of that, the values at time t+1 are iteratively calculated only once all values at time t have already been calculated: in case of an optimization process (e.g. for planning models) this means that all equations for all points of the discretized spatial grid and along the entire time horizon of the simulation must be written and solved altogether. All these issues limit the concrete possibility to apply this methodology to large static models, which, usually, just use the Weymouth equation formulation (12) or its linearized version.
Linearized formulations for the solving problem of the gas flow equations (9)(10) do exist. One of the most interesting ones can be found in [37]. It applies a finite differences method to a pre-determined spatial-temporal grid and a Taylor series linear approximation in order to get to a linear discretized model. However, this model doesn’t guarantee to preserve the speed of propagation of pressure waves (since the spatial-temporal grid is selected without caring about the slope of the characteristic curves C+ and C-). Additionally, the values in (x+Δx, t+Δt) are iteratively calculated by taking as known all values at the previous time step as well as those at the present time step for the spatial points which precede the one being calculated. So, as it was the case for the methodology of the characteristics this means that, in case of an optimization process (e.g. for planning models), the full equations set must be written and solved altogether, for all points of the discretized spatial grid and along the entire time horizon of the simulation. This makes this model hardly suitable for large static models.
Apart the non-linear modelling of the gas pipelines, other two important components, centrifugal compressors and regulation valves, show non-linear behaviors, and this must be seriously accounted for, especially when dealing with large static models and within large optimization procedures (e.g. for grid planning).
Compressor stations are installed along gas networks to boost pressure to ensure proper delivery. Compressor stations are pumping stations consisting of multiple compressor units, scrubber, cooling facilities, emergency shutdown systems, and an on-site computerized flow control and dispatch system that maintain the operation of the system. These stations are usually coupled with gas turbines which consume part of the transported gas for operation. It is estimated ([38]) that such stations consume 3-5 % of the gas and constitute 20% of the total operating cost of the company. The equation describing the functioning of a gas centrifugal compressor is (see [39]):
H = z R G T k k 1 [ ( p d p s ) k 1 k 1 ]
where H is the compressor prevalence, z is the gas compressibility factor, RG is the gas constant, k is the isentropic exponent ([39]), pd and ps are, respectively the discharge and suction pressures. Prevalence H and mechanical power P required to compress the gas in the compressor are bound by:
W H = η i s P
where W is the gas mass flow rate and ηis is the thermodynamical efficiency.
Compressors have to operate within established limits, which are plate data of each device. A natural way to characterize the performance of centrifugal compressors is in terms of the inlet volumetric flow rate, speed, adiabatic head, and adiabatic efficiency. The relationships between these quantities are usually represented by performance maps (see Figure 4) which are plots of H and as functions of Q (volumetric flow rate) at different speeds. These performance maps can be approximated by cubic polynomial functions with constant coefficients, fitted by using the least squares method ([40]):
H ω 2 = A H + B H ( Q s ω ) + C H ( Q s ω ) 2 + D H ( Q s ω ) 3
η i s = A E + B E ( Q s ω ) + C E ( Q s ω ) 2 + D E ( Q s ω ) 3  
where Qs is the volume flow rate at surge and ω is the rotational speed (to be limited between minimum and maximum values).
Regulation valves are another important element of gas networks, and they show a strongly non-linear behavior ([32]) too. They are constituted by a convergent section following by a divergent section. In the convergent section, the laws of conservation of momentum (written by ignoring the terms of accumulation, friction, gravity) and mass are valid. Furthermore, the transformation is considered isentropic. Velocity increases in the convergent but can at most reach the sonic speed. The relationship between mass flow rate (W) and the initial and final pressures in the convergent (respectively, p1 and p2) is:
W = A s t   χ   ( p 2 p 1 ) ρ 1 p 1   where   p 2 p 1 r c 0.528 and   r c = ( 2 γ + 1 ) γ γ 1
where rc is the pressure ratio in the sonic case, ρ1 the upstream fluid density and the isentropic coefficient Ast is the smallest section area. The χ function is defined as follows:
χ ( β ) = 2 γ γ 1 β 2 γ β γ + 1 γ 1 + α A 2 β 2 γ
where αA is the ratio between smallest section area and entrance area, and γ is the isentropic coefficient.
In the divergent, dissipative phenomena occur and a part of the kinetic energy is not transformed back into pressure: a recovery coefficient is defined (experimentally obtained):
C F = p 1 p v p 1 p 2 0.9   hence   χ   ( p v p 1 ,   C F ) and   W = A s t   χ   ( p v p 1 ,   C F )   ρ 1 p 1
where pv is the downstream pressure. This is a strongly non-linear relationship. Only in sonic conditions the relationship becomes linear and depends only on upstream pressure:
Preprints 150155 i006
Gas storage units are modelled similarly to electrochemical batteries:
V z R G T E ( p t + 1 p t ) = ( W I W O ) Δ t
where p is the gas pressure in the storage tank, V is its volume, z is the gas compressibility factor, RG is the gas constant, TE is the external temperature, WI and WO are, respectively, the gas input and output mass flow rates at time t, Δ t the time interval between t and t+1. Formally, this is the same equation as (6) already written for electrochemical batteries. As it is the case for (6), equation (27) is an integral constraint binding pressure (state variable) at time t+1 with pressure at time t.
Heat networks modelling
Distribution networks are becoming a complex entity. What used to be a radial set of lines to distribute the generation among a set of medium-low voltage loads, is now becoming active, with presence of distributed generation. In particular, the wide penetration of Photo-Voltaic (PV) installations in distribution grids makes it important to discuss of local flexible means to compensate PV variability. This can be done by resorting to flexible load, small-scale storage or by exploiting the inertia of important thermal systems connected to distribution systems, be it the case of a significant set of swimming pools connected to the electric grid (as in the case of Denmark [3]) or big district heating systems.
District heating systems are connected to distribution grids and, due to the fact that there is a wide range of admissible temperatures to distribute water, they can be considered as a flexible load, able to provide flexibility to the electric system. Hence, the interest to model heat and electric (distribution) systems together to investigate which synergies can arise.
Referring to the schematization in [5], the steady state behavior of a district heating pipeline can be described by means of the following equations:
  • the Weymouth equation (12), describing pressure drops in the pipeline: it has the same formulation as for compressible fluids (additionally, as for gas pipelines, mass flow rate is constant in steady state conditions),
  • an equation describing heat propagation along the pipeline, this equation can be written, by considering an infinitesimal volume along the pipeline (see Figure 5), as:
W c p d T d t = λ ( T T e x t )
where W is the mass flow rate, cp is the specific heat, T the fluid temperature along the pipeline, Text the external temperature, λ = h A = h π D, being h the heat transfer coefficient, A the area of a section of the pipeline and D the diameter of the pipe.
By integrating equation (28) yields:
T 2 T e x t = e x p ( λ L W c p ) ( T 1 T e x t )
where T1 and T2 are the temperatures at the two extremes of the pipeline.
Heat loads are the elements of a heating system where heat is injected into and taken out of the system. Heat loads are generally modeled as heat exchangers. A basic model for a heat exchanger expresses the total injected heat power Δφ of a heat load as the change in the heat power between directly before and directly after the heat exchanger. Since a heat load is a connection between the supply and the return line of the heating system, the equation describing this process is:
Δ φ = c p W ( T s T r )
where Δφ is the thermal power of the heat load, cp is the specific heat, W the mass flow rate of the water circulating through the heat exchanger and Tr and Ts are respectively the temperatures of the supply and return lines of the heat network.
Further information on technical literature concerning the different approaches adopted for modelling heat networks and the relevant tools can be found in two extensive review papers ([41,42]).

3. Typical ME Approaches

The previous section dealt with different approaches to model single energy carriers (electricity, gas or, more in general, compressible fluids, heat). The interest there was to highlight pros and cons of different approaches useful for building up very large static ME models. This chapter introduces the most typical modelling approaches to be used for simulation and optimization of MES, including equations and factors describing the energy transformation between the different carriers.
The optimization system (31), extension of the approach described in [43], provides the most general formulation for a ME optimization system for the co-optimization of the planning of all the considered energy carriers.
Preprints 150155 i007
The target function minimizes total system costs (TOTEX) as a sum of total dispatching costs (OPEX, first two terms) and investment costs for new infrastructure (CAPEX, last term). The nested sums are referred to the following indices:
  • c: energy carrier
  • s: probabilistic scenario of RES production and load; p s is the probability associated to each single scenario
  • y: time horizon considered for the planning problem (typically a few years or decades, e.g. [43] where three decades are considered: 2030, 2040, 2050)
  • i: index enumerating each equipment in the system (e.g. electric lines): C c , s , y , t , j is the generic equipment item; α c , s , y , t , j the integer variable associated to its investment.
If a sheer optimization of the dispatch (OPEX) is considered instead, all the parts of the objective function where the planning candidates are included must be omitted (these parts are easy to spot because multiplied by the investment integer variables α) as well as the summation over the planning time horizon (index y).
Finally, in case a load flow is what is sought for, the objective function is completely omitted and only the equations defining the set of constraint for all the carriers as well as the conversion equations between carriers should be considered.
The following sections will detail how the constraints equations must be written for each of the considered carriers. Three modelling representations will be considered in detail (energy hub, graph and self-consumption-based model). Then a further approach will be hinted at, which includes a joint planning of electricity and hydrogen networks, also contemplating the possibility that hydrogen is transported in lumped quantities by means of cylinder trucks. A synthetic presentation of other recent modelling representations will complete this overview.
Energy hub representation
The Energy Hub (EH) representation was first introduced in [44]. Here, an EH is identified as a unit that provides energy conversion and storage of multiple energy carriers. Thus, the EH represents a generalization or extension of a network node of the electrical system. The whole energy supply infrastructure can be considered as a system of interconnected energy hubs (Figure 6).
Let’s consider a single converter device, which converts energy carrier α into carrier β. Input and output power flows are coupled through the following relationship:
L β = c α β P α L β P α 0 c α β 1
where Pα and Lβ are the steady-state input and output power of the conversion process and cαβ is a factor expressing the efficiency of the conversion.
In case of a converter cluster (Figure 7) where multiple inputs are converted into multiple outputs either by a single device or by a combination of multiple converters., this can be represented analytically as:
[ L α L ω ] = [ c α α c ω α c α ω c ω ω ] [ P α P ω ]   In   matrix   terms :   L = C P
The total input of one energy carrier may be split up between several converters at input junctions (see Figure 8). For this, the so-called dispatch factors ν are introduced, as follows:
P α k = ν α k P α 0 ν α k 1 k ν α k = 1
Storage units interfaces can be modeled as they were converter devices (Figure 9 left):
Q α ˜ = e α Q α e α = e α +   i f   Q α > 0 ; 1 / e α e l s e     Q α ˜ = d E α d t   =   E α ˙
where Q α ˜ and Q α represent, respectively, the amount of energy actually stored, and the amount of energy fed for storage; e α +   and 1 / e α represent the storage efficiency parameters for charge and discharge; E α is the stored energy.
Considering the layout of Figure 9 right, storage units located upstream and downstream with respect to the converter can be represented as one only equivalent storage located downstream the energy conversion:
M β e q = c α β Q α + M β = c α β e α E α ˙ + 1 e β E β ˙
Generalizing:
[ M α e q M ω e q ] = [ s α α s ω α s α ω s ω ω ] [ E α ˙ E ω ˙ ]   In   matrix   terms :   M e q = S E ˙
Putting together (33) and (37):
L = C P S E ˙ = [ C S ] [ P E ˙ ]
EHs are interconnected (Figure 10) through branches. Each branch is characterized by one or more components that are modelled according to the modalities described in chapter 2. The steady state of the overall system is described by a set of nodal balances and line equations (see also graph notation introduced in the subsequent section), which, generally, creates a system of nonlinear equations. EH input and output power contributions are included into such system as nodal injections.
Graph representation
Dissertation [5] presents a graph-based ([45]) framework for load-flow and optimization analysis of MES that consist of gas, electricity and heat. The overall framework is based on interconnecting single carrier networks through heterogeneous coupling nodes and homogeneous dummy links, to form one connected multi-carrier network.
Load flow equations consist of conservation equations written in a consistent way for all carriers according to the following two principles:
  • first law: conservation of mass or energy for each node,
  • second law: sum of potential differences over each loop is zero.
The graph representation for each carrier is schematized in Figure 11:
  • green color for gas networks – variables: pressures (p) and mass flow rates (W),
  • red color for electricity networks – variables: active powers (P), reactive powers (Q), voltages (V), angles (δ), currents (I),
  • blue color for heat networks (the return line is not explicitly represented) – variables: pressures (p), thermal flows (φ), supply temperature (Ts) return temperature (Tr), water flows (W).
Single carriers are coupled by introducing fictitious coupling nodes (Figure 12). In every coupling node (i.e. energy conversion node), one or more coupling equations (i.e. energy conversion equations) hold. No variables are associated with a coupling node, because it does not belong to any of the single carrier networks. Therefore, links representing physical components cannot be connected to a coupling node. For instance, a link representing a gas pipe cannot be connected, since the flow model associated with the link requires both start and end node to have a nodal pressure p. Therefore, a dummy link is introduced to couple a coupling node to any other single carrier node. Dummy links do not represent any physical component: they merely show a connection between nodes. If a dummy link connects a coupling node and a single carrier node, the dummy link is of the same carrier as the single carrier node. As such, it has the same variables associated with it as any other link of that carrier. These variables are shown in figure at the side of the coupling node only. Although dummy links do not represent a physical component, they can be seen as lossless pipes or lines, conserving electrical energy across the line.
Provided energy injections and withdrawals are known for the whole ME system, a load flow analysis determines the flow of energy for each carrier. Typically, single carrier networks have more variables than equations. Therefore, some variables are assumed as known. Usually, border conditions are placed on a (terminal) node, usually called slack node, or on its terminal link. A node type is assigned to every node based on the variables that are locally (un)known (Table 3).
In a multi carrier system, a carrier coupling model introduces more unknowns than equations as well. Additional equations or boundary conditions are needed for the total system to be solvable. A possible choice is that some or all the energy flows to or from the couplings are assumed known as additional border conditions. However, this decouples the integrated system into a set of separate single-carrier parts, so that the flexibility provided by coupling energy systems is not fully used. Therefore, [5] assumes all coupling (energy) flows unknown and the additionally required border conditions are imposed elsewhere in the single-carrier parts. However, this must be done carefully, since not all combinations of load flow equations and border conditions for such integrated energy systems (consisting of gas, electricity, and heat) lead to well-posed problems.
Starting from the full set of conservation equations, written for nodes and loops of the ME graph, the mathematical system that solves the load flow problem can be easily put in matrix form (see [5]). Otherwise in the case of a planning or dispatch problem, an optimization problem should be solved, having the same load flow equations as problem constraints.
Self-consumption-based representation
Report [46] illustrates an interesting model aimed at optimizing the dispatch of MES. Here, we limit ourselves to describe the overall model setting, leaving the details for a detailed reading of the report.
As shown in Figure 13, the multi-vector system described here is composed by several EHs connected:
  • to the electric vector (in red), which can both buy and sell electricity,
  • to the thermal vector (in orange) with which the EHs can exchange heat,
  • to the hydrogen vector (in blue), which can be exchanged between the EHs,
  • to the gas network (in green), where natural gas is purchased; natural gas can be used in its pure form or mixed with hydrogen (mixture, in magenta) potentially up to 20% to serve the EHs.
The main modelling hypothesis is that each EH works following a self-consumption priority philosophy, i.e. first satisfying its own energy demand, and then eventually reselling the surplus produced. Therefore, the developed algorithm is based on two separate mathematical models:
  • the first model focuses on the single EH,
  • the second model describes the multi-vector system, which is represented as a set of EHs, connected to each other through the three energy vectors.
First, the functioning of each EH is optimized separately, in order to incentivize self-consumption as much as possible, and then the residual flows are optimized by incentivizing the exchange between EH, thus simulating a local market.
The first optimization minimizes system costs over the entire considered time period, more precisely the sum of production costs, purchase costs from the network and revenues from sales to the network, adopting the following constraints:
  • limiting the values ​​of the variables relating to generation and storage to a range between a minimum and a maximum value,
  • satisfying the balances of electricity, heat and gas of the network for each time period,
  • calculating the amount of energy stored in the storage systems for each instant (minimum storage at time t=0),
  • determining the amounts of energy produced by each type of technology at any given moment,
  • limiting the operating region for the cogeneration plant,
  • imposing that the gas storage system cannot both supply and store gas at the same time (a few binary variables are introduced),
  • and imposing similarly (binary variables):
    that the battery cannot supply and store electricity at the same time,
    that the heat storage system cannot supply and store heat at the same time,
    that the EH cannot sell and buy heat at the same time,
    that the EH cannot sell and buy gas at the same time.
The second optimization (see conceptual scheme in Figure 14) optimizes the residual flows of the three energy vectors by incentivizing the exchange between EHs. The basic idea is to consider the multi-vector system as a graph. Each EH can be identified by a node i, while each transmission line between nodes i and j can be described by an arc (i,j). Since the system is composed of three different energy vectors, there are actually three distinct graphs, one for each energy vector. For each one of the three graphs, a transmission cost is defined between each couple of EHs.
Furthermore, for each node i at each instant of time t, the residual flows of the three energy vectors are given as input data as a result of the previous optimization step.
The objective function minimizes the transmission costs of the multi-vector system over the entire considered time period T. These costs are calculated on the basis of the flows transmitted in each period between the nodes. The optimization constraints are:
  • flow balances of the electric vector,
  • flow balances of the heat vector,
  • flow balances of the gas vector,
  • limitation between 0 and max of energy flows between EHs of the three vectors,
  • Weymouth equation (12) to describe gas flows, linearized according to [34].
The rigid division between the two optimizations introduces a sub-optimum in the optimization process and the underlying hypothesis of self-consumption prioritization is not rigorously true. Additionally, the flow model applied to the second optimization stage as depicted in Figure 14 doesn’t strictly adhere to the laws of physics (yet being still acceptable for a local market in a small geographical extension). Nonetheless, this approach is interesting because it shows an attempt to define a rationale for setting up a decoupling of the solution mechanism to help retaining numerical tractability of big ME models.
Joint planning of electricity and hydrogen transportation
In the frame of the present decarbonization policies implemented in Europe and elsewhere, hydrogen is possibly the most promising vector to be utilized in the future for heavy transport as well as the so-called hard-to-abate industry sectors [2]. Hydrogen produced by electrolysers (“green hydrogen”) can be sent to the utilizers through a dedicated transport infrastructure. The costs to create such infrastructure can be reduced by reutilizing (“repurposing”) part of the existing gas pipelines. However, until hydrogen demand, which is expected to gradually increase, will not attain a given amount economically justifying the buildup of a dedicated infrastructure, the most convenient way to transport will remain to use gas cylinder trucks. We can also think of an intermediate scenario, in which demand will start to be satisfied with hydrogen coming from a dedicated network, but part will still be supplied with trucks. This is the situation the modelling approach described in [47] refers to.
The paper proposes a joint grid planning approach for both power and hydrogen grids which coordinately optimizes investments and operation on the two networks. Both a deterministic optimization approach and a robust planning under uncertainty [20] are tested. Three hydrogen modelling aspects are specifically addressed and combined: truck routing, pipeline transportation and storage. We will provide a conceptual introduction to the approach, leaving the in-depth analysis to a careful reading of the paper.
Regarding the truck transportation network (see Figure 15), the hydrogen quantity in charged and empty trucks in each zone changes according to leaving and arriving schedules as well as charging and discharging behaviors of trucks. The quantity etruk,z,s,d represents the hydrogen quantity in charged trucks with transportation technology k in zone z at the end of day d in scenario s. Travel time delay is taken into account. If charged trucks with qtruk,m,n,s,d hydrogen quantity leave at the end of day d from zone m to zone n, when accounting a time delay of Tk,m,n days, the same quantity of hydrogen arrives in zone n at the beginning of day d+Tk,m,n. Empty trucks can also be transported between any two zones and the transportation of empty capacity can be modelled too. The total amount of full and empty truck capacity in all zones during day d can be calculated as the total amount staying in each zone at the end of the previous day plus the amount just arrived at the beginning of day d.
To preserve numerical tractability, a simplified linear model is adopted for hydrogen pipeline networks. Linepack storage dynamics of each pipeline is represented too.
Hydrogen and electric storage are fully modelled. Conventional electric storage, such as pumped storage and battery storage, are considered as operated in daily or weekly cycles. In each storage cycle, time periods are considered as sequential.
As both power and hydrogen systems are incorporated in the proposed planning approach, system components with distinctive physical characteristics need to be modeled in different time scales. In hydrogen systems, hydrogen storage usually has seasonal cycles, and truck transportation takes a few days to travel between two zones. In power systems, steady-state models in planning problems usually have an hourly resolution, as electric demand and renewable energy output fluctuate in a relatively short time frame. Thus, different resolutions are applied for resources with different timescales in our optimization, as shown in Figure 16: hydrogen system components are modeled in daily resolution while power system components are modeled in hourly resolution.
The objective function is the sum of the investment and operation cost for truck and pipeline, hydrogen transportation, hydrogen production, hydrogen storage, as well as electric power generation and transmission. Among the optimization constraints:
  • for hydrogen:
    zonal hydrogen quantity balance constraints,
    hydrogen production limits for the electrolyzers
  • for the electric system:
    electric power balance for each bus,
    limits for renewable power output,
    power output and ramp rate for conventional generators,
    branch flow for existing transmission lines (direct current approach),
    flow-angle relations and flow limits for candidate lines.
Other approaches
The PlaMES research project ([48]) aims at developing an integrated planning tool for MES at a European scale. The PlaMES model considers the coupling of different energy sectors (electricity, heat, mobility and gas) and calculates the cost-optimal energy mix for the future European energy system (e. g. up to 2050) compliant with the climate goals. These modeling requirements lead to write a large mixed-integer (non-linear) optimization problem. Besides generation and storage systems, also transmission and distribution grids are considered in the planning and operation stage in an integrated way. The complete modelling approach is described in deliverable D2.2 ([49]). It contemplates the use of six tools (see Figure 17) carrying out a single stage optimization procedure each. These tools can also be used separately, but the procedure foresees their coordinated usage to cope with the complete planning procedure. The focus is on the electricity carrier, the other ones being modeled only for their interactions with the electricity carrier.
The six tools perform the following tasks:
  • DESA (Decentral Energy System Aggregation) derives costs for each decentral network area by performing a distribution grid expansion planning for various supply tasks depending on the integration of technologies to the respective area. The result of this model can then be used in central planning.
  • In a fully linearized approach, CES plans the Central Energy System, taking data from DESA and the transmission grid into account.
  • The result of the CES will then be given to the TEP (Transmission Expansion Planning) module, which focuses on a detailed expansion planning approach analyzing different expansion technologies and congestion management interventions.
  • DESD (Decentral Energy System Disaggregation) undertakes the placing of renewable energy sources and other assets, that have centrally been planned in CES for a Decentral Energy System (DES).
  • The operation of a DES can be performed by the DESOP (Decentral Energy System Operational Planning) module and can be enriched by information from CES.
  • The DNEP (Distribution Network Expansion Planning) module implements an optimization approach to calculate the distribution network expansion planning.
As shown above, the PlaMES approach is strongly fragmented in sub tasks. If this helps, on one side, to tackle high-dimensionality problems reducing them to tractable numerical optimizations, on the other side there is a high risk to calculate a sub-optimal solution. Additionally, detailed planning approaches implemented in the last steps might suffer the consequences of important approximations taken to calculate the former steps, which provide the latter with input data.
An interesting approach on optimizing participation of MES to energy and ancillary services markets is adopted by the MAGNITUDE project ([50]), which aims to develop business and market mechanisms as well as supporting coordination tools to provide flexibility to the European electricity system, by increasing and optimizing synergies between electricity, gas and heat systems. As described in ([51]), the MAGNITUDE project develops a novel modelling framework and an associated optimization methodology for short-term operational planning to deploy MES flexibility, with application to district energy systems and participation in energy and Frequency Control Ancillary Services (FCAS). The approach is based on the concept of ME lattice, which models MES by splitting them into several energy layers (see Figure 18), each one associated with a specific energy carrier. There can be multiple services associated with an energy carrier. Each service can be for “import”, “export”, or “dual-mode”: the import services require an increase in the import (or decrease in the export) of an energy carrier, export services require increase in the export (or decrease in the import) of an energy carrier, while dual-mode may require both directions of energy flows. Figure 19 provides a simple example of application referred to a Combined Heat and Power plant (CHP, [52]).
The MAGNITUDE project defines different kinds of flexibility to be provided by MES and associates each of them to the relevant services it can provide (see Figure 20):
  • Physical: maximum flexibility available on the energy vector and is quantified by its operational range.
  • Operational: modulation capability for an energy carrier that MES can provide with respect to (starting from) a given operating point. The operational flexibility of a device is divided into two components: upward and downward.
  • Carrier-balancing: operational flexibility for an energy carrier, reduced by the constraints imposed by the other energy carriers through conversion nodes. The energy vectors of MES are coupled and cannot be viewed independently: the operational flexibility available to an energy vector is also impacted by the constraints of other energy vectors.
  • Market-product: carrier-balancing flexibility subject to market product constraints, e.g., maximum allowed activation time, minimum service duration, which further limit the flexibility that can be provided by a cluster of resources.
  • Economic: flexibility that the MES operator can offer at a given cost for a specific service and accounting for MES economic objectives (to be optimized). A device will only participate in a given service if the revenues are greater than the cost of delivering that service.
  • Market: economic flexibility cleared and accepted by the market given the market requirements and other offers.
The energy market is modeled as a simplification of the standard market design implemented in many European countries and elsewhere, as schematized as in Figure 21. Stage 1 optimizes the participation of the MES in various energy markets while fulfilling multi-carrier demand(s) requirements. The decision variables obtained from the first stage of the methodology are then provided as input parameters to the second stage, which optimizes FCAS participation. The outcome of the second stage is the optimal scheduling of the resources in the ancillary service market.
Two further European still on-going research projects, iDesignRES ([53]) and MOPO ([54]) are dedicating their efforts to create advanced tools using multi-energy modelling.
Finally, it is worth mentioning that the Los Alamos National Laboratory’s Advanced Network Science Initiative ANSI ([55]) has recently developed a few interesting open access and open source libraries for modeling infrastructure networks ([56]). In particular, the library GasPowerModels.jl (using the Julia programming language [24]) is dedicated to the joint optimization of power and natural gas transmission networks.

4. Conclusions

The above pages of this paper have introduced some of the most typical approaches present in today’s technical literature to describe static models of MES, either resulting in equation systems utilized to solve load flow problems or in optimization systems to calculate optimal dispatch or grid planning or market allocation. ME problems have the characteristic to require a very large number of variables to describe all the implemented carriers with a reasonable level of detail. Often, integer variables are implied as well (e.g. for optimal planning investment problems), making the optimization problem a MILP problem, solved by using branch-and-bound techniques, possibly simplified by adopting some decomposition technique. The most typical one is Benders’ decomposition, which proves particularly convenient for implementations based on parallel computing platforms and programming languages allowing to distribute computation over parallel processors, as it is the case for the most recent high-level languages, like MATLAB and Julia. In this frame, getting a linear or linearized modelling for the represented MES components is of paramount importance to ensure system convexity and allow using fast linear systems solving techniques.
The first part of this paper was devoted to analyzing separately the components of each single carrier: electric, compressible fluids (gas/hydrogen) and heat networks. While the linearization brought by the direct current approximation is often acceptable for static studies of electric networks, most components of gas and heat networks (long elements, compressors, regulation valves) have non-linear mathematical descriptions. Yet, linearization techniques do exist, which should be utilized whenever this is acceptable. The required modeling approach strongly depends on the type of study to be carried out: grid planning, operational optimization, optimization of the services that the MES can provide, etc. It must also be noted that very few literature articles deal with modeling for ME planning. Grid planning has strong peculiarities (it might require fewer modeling details on the individual components, but the number of variables is much higher, having to simulate much longer time horizons and including extra variables related to investments).
The second part of the paper was devoted to describing approaches to the joint representation of the different MES carriers. Energy hubs and graphs, two classic modelling tools for MES, are first introduced. Then, other approaches are presented, including an interesting one allowing to model also cylinder truck-transported hydrogen.
In conclusion, it must be admitted that matching a numerically tractable technique to the solution of very large MES (like the most general one described by (31)) is still a daunting task and a field of research: numerical techniques are gradually adapted to the steadily increasing performances of computer hardware and software. On this regard, recently, the introduction of cloud computing ([57]) has brought new possible horizons.

Funding

This work has been financed by the Research Fund for the Italian Electrical System under the Three-Year Research Plan 2025-2027 (MASE, Decree n.388 of November 6th, 2024), in compliance with the Decree of April 12th, 2024.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. European Commission, 2050 long-term strategy. Striving to become the world's first climate-neutral continent by 2050. Available online: https://climate.ec.europa.eu/eu-action/climate-strategies-targets/2050-long-term-strategy_en (accessed on 29 January 2025).
  2. Migliavacca, G.; Carlini, C.; Domenighini, P.; Zagano, C. Hydrogen: Prospects and Criticalities for Future Development and Analysis of Present EU and National Regulation. Energies 2024, 17(19), 4827; https://doi.org/10.3390/en17194827 (accessed on 29 January 2025).
  3. Results of Pilot B. Report D5.2 of the SmartNet project. 2019. Available online: https://smartnet-project.eu/wp-content/uploads/2019/05/D5.2.pdf (accessed on 29 January 2025).
  4. Project MAGNITUDE web site. https://www.magnitude-project.eu (accessed 29 January 2025).
  5. Markensteijn, A. S. Mathematical models for simulation and optimization of multi-carrier energy systems - Dissertation at Delft University of Technology. 2021 https://research.tudelft.nl/en/publications/mathematical-models-for-simulation-and-optimization-of-multi-carr (accessed 6 February 2025).
  6. European Commission official web site https://commission.europa.eu/index_en (accessed 29 January 2025).
  7. Communication from the Commission to the European Parliament, the Council, the European Economic and Social Committee and the Committee of the Regions: Powering a climate-neutral economy: An EU Strategy for Energy System Integration, 2020 COM(2020) 299 final, https://eur-lex.europa.eu/legal-content/EN/TXT/PDF/?uri=CELEX:52020DC0299 (accessed on 29 January 2025).
  8. ACER, Electricity infrastructure development to support a competitive and sustainable energy system – 2024 Monitoring Report, 2024, https://www.acer.europa.eu/monitoring/MMR/electricity_infrastructure_2024#:~:text=2024%20Monitoring%20Report,and%20competitive%20EU%20energy%20system (accessed 29 January 2025).
  9. ACER official web site https://www.acer.europa.eu/the-agency/about-acer (accessed 29 January 2025).
  10. ENTSO-E official web site https://www.entsoe.eu/ (accessed 29 January 2025).
  11. ENTSO-G official web site https://www.entsog.eu/ (accessed 29 January 2025).
  12. ENTSO-E ENTSOG TYNDP Scenarios. Pathways to carbon neutrality in 2050, 2024, https://www.entsos-tyndp-scenarios.eu/ (accessed 29 January 2025).
  13. Shahidehpour, M.; Fu, Y.; Tutorial: Benders decomposition in restructured power systems, http://motor.ece.iit.edu/ms/benders.pdf (accessed 29 January 2025).
  14. Function convexity item on Wikipedia, https://en.wikipedia.org/wiki/Convex_function (accessed 29 January 2025).
  15. Interior point item on Wikipedia, https://en.wikipedia.org/wiki/Interior-point_method (accessed 29 January 2029).
  16. Probabilistic optimization of T&D systems planning with high grid flexibility and its scalability. D1.2 of the FlexPlan project. Available on: https://flexplan-project.eu/wp-content/uploads/2022/08/D1.2_20220801_V2.0.pdf (accessed 29 January 2025).
  17. Mixed Integer Linear, Problems within the Integer Programming item on Wikipedia, https://en.wikipedia.org/wiki/Integer_programming (accessed 29 January 2025).
  18. Mancò, G.; Tesio, U.; Guelpa, E.; Verda, V. A review on MES modelling and optimization. Applied Thermal Engineering 236 (2024) 121871; https://www.sciencedirect.com/science/article/pii/S1359431123019002 (accessed 30 January 2025).
  19. Stochastic programming item on Wikipedia, https://en.wikipedia.org/wiki/Stochastic_programming (accessed 31 January 2025).
  20. Robust optimization item on Wikipedia, https://en.wikipedia.org/wiki/Robust_optimization (accessed 31 January 2025).
  21. Official site of the MATPOWER library https://matpower.org/ (accessed 3 February 2025).
  22. Official site of the MATLAB programming language https://mathworks.com/products/matlab.html (accessed 3 February 2025).
  23. PowerModels library on the GitHub repository https://lanl-ansi.github.io/PowerModels.jl/stable/ (accessed 3 February 2025).
  24. Official site of the Julia programming language https://julialang.org/ (accessed 3 February 2025).
  25. Power flow study item on Wikipedia https://en.wikipedia.org/wiki/Power-flow_study (accessed 3 February 2025).
  26. Gan, L; Low, S.H. Convex relaxations and linear approximation for optimal power flow in multiphase radial networks,” 2014 Power Systems Computation Conference, Wroclaw, Poland, pp. 1-9, 2014 https://authors.library.caltech.edu/records/1fcqw-beg37 (accessed 3 February 2025).
  27. Deliverable 1.2 of the FlexPlan project. Probabilistic optimization of T&D systems planning with high grid flexibility and its scalability. 2022. https://flexplan-project.eu/wp-content/uploads/2022/08/D1.2_20220801_V2.0.pdf (accessed 3 February 2025).
  28. Glover, J. D.; Sarma, M. S.; & Overbye, T. J. (2012). Power System Analysis and Design (5ª ed.). Cengage Learning.
  29. Jacobian matrix item on Wikipedia https://en.wikipedia.org/wiki/Jacobian_matrix_and_determinant (accessed 3 February 2025).
  30. Johnen, M.; Pitzen, S.; Kamps, U.; Kateri, M.; Dechent, P.; Sauer D. U. Modeling long-term capacity degradation of lithium-ion batteries. Journal of Energy Storage Vol. 34, February 2021, 102011 https://www.sciencedirect.com/science/article/abs/pii/S2352152X20318466 (accessed 3 February 2025).
  31. Wylie, E.B.; Streeter, V. Fluid Transients (chapter 15) Mc. Graw Hill, 1978.
  32. Migliavacca, G. Simulazione di reti per il trasporto di fluido comprimibile. Politecnico di Milano. Tesi di laurea in Ingegneria Elettronica. Anno accademico 1990-1991 (in Italian; available upon request).
  33. Navier Stokes item on Wikipedia. https://en.wikipedia.org/wiki/Navier%E2%80%93Stokes_equations (accessed 4 February 2025).
  34. Asghari, M.; Fathollahi-Fard, A. M.; Mirzapour Al-e-hashem, S. M. J.; Dulebenets, M. A. Transformation and Linearization Techniques in Optimization: A State-of-the-Art Survey. Mathematics, vol. 10, no. 2, p. 283, Jan. 2022, doi: 10.3390/math10020283.
  35. Courant, R.; Fredrichs, K. O.; Lewy, H. Uber die Differenzengleichungen der Mathematischen Physik, Math. Ann, vol.100, p.32, 1928 https://gdz.sub.uni-goettingen.de/id/PPN235181684_0100 (accessed 5 February 2025).
  36. Courant-Friedrichs-Lewy condition item on Wikipedia. https://en.wikipedia.org/wiki/Courant%E2%80%93Friedrichs%E2%80%93Lewy_condition (accessed 5 February 2025).
  37. Hafsi, Z.; Ekhtiari, A.; Ayed, L.; Elaoud, S. The linearization method for transient gas flows in pipeline systems revisited: Capabilities and limitations of the modelling approach. Journal of Natural Gas Science and Engineering 101 (2022) 104494 https://www.sciencedirect.com/science/article/abs/pii/S1875510022000853 (accessed 6 February 2025).
  38. Demissie, A.; Zhu, W.; Taye Belachew, C. A multi-objective optimization model for gas pipeline operations. Computers & Chemical Engineering. Volume 100, 8 May 2017, Pages 94-103. https://www.sciencedirect.com/science/article/abs/pii/S009813541730073X (accessed 6 February 2025).
  39. Heat capacity ratio on Wikipedia. https://en.wikipedia.org/wiki/Heat_capacity_ratio (accessed 6 February 2025).
  40. Least squares method on Wikipedia. https://en.wikipedia.org/wiki/Least_squares (accessed on 6 February 2025).
  41. Brown, A.; Foley, A.; Laverty, D.; McLoone, S.; Keatley, P. Heating and cooling networks: A comprehensive review of modelling.
  42. approaches to map future directions. Energy 261 (2022) 125060. https://www.sciencedirect.com/science/article/pii/S0360544222019557 (accessed 6 February 2025).
  43. Kuntuarova, S.; Licklederer, T.; Huynh, T.; Zinsmeister, D.; Hamacher, T.; Peri´c., V. Design and simulation of district heating networks: A review of modeling approaches and tools. Energy Volume 305, October 2024, 132189. https://www.sciencedirect.com/science/article/pii/S0360544224019637 (accessed 6 February 2025).
  44. Migliavacca, G.; Rossi, M.; Siface, D.; Marzoli, M.; Ergun, H.; Rodriguez-Sanchez, R.; Hanot, M.; Leclercq, G.; Amaro, N.; Egorov, A.; Gabrielski, J.; Matthes, B., Morch, A. The Innovative FlexPlan Grid-Planning Methodology: How Storage and Flexible Resources Could Help in De-Bottlenecking the European System. Energies, 2021, 14(4), 1194. https://www.mdpi.com/1996-1073/14/4/1194 (accessed 7 February 2025).
  45. Geidl, M.; Integrated Modeling and Optimization of Multi-Carrier Energy Systems - Diss. ETH No. 17141. 2007. https://www.research-collection.ethz.ch/handle/20.500.11850/123494 (accessed 7 February 2025).
  46. Graph item on Wikipedia. https://en.wikipedia.org/wiki/Graph_(discrete_mathematics) (accessed 10 February 2025).
  47. Simmini, F.; Cordieri, S. A.; Modello integrato del sistema energetico locale. Report PORH2 D4.1.4.2. 2024 (in Italian, available upon request).
  48. Wang, S.; Bo, R. Joint planning of electricity transmission and hydrogen transportation networks. IEEE Trans. On Industry. Vol. 58 N° 2 March/April 2022 https://ieeexplore.ieee.org/ielaam/28/9733857/9573477-aam.pdf (accessed 11 February 2025).
  49. PlaMES project web site. https://plames.eu/ (accessed 12 February 2025).
  50. PlaMES project Deliverable 2.2. Mathematical formulation of the model. 2020. https://plames.eu/wp-content/uploads/2020/11/20200630_Plames_D2.2_final.pdf (accessed 12 February 2025).
  51. MAGNITUDE project web site. https://www.magnitude-project.eu/ (accessed 12 February 2025).
  52. Corsetti, E.; Riaz, S.; Riello, M.; Mancarella, P. Modelling and deploying ME flexibility: The energy lattice framework. Advances in Applied Energy Volume 2, 26 May 2021, 100030. https://www.sciencedirect.com/science/article/pii/S2666792421000238 (accessed 12 February 2025).
  53. Combined Heat and Power item on Wikipedia. https://en.wikipedia.org/wiki/Cogeneration (accessed 12 February 2025).
  54. iDesignRES project web site. https://idesignres.eu/ (accessed 13 February 2025).
  55. MOPO project web site. https://www.tools-for-energy-system-modelling.org/ (accessed 13 February 2023).
  56. Los Alamos National Laboratory’s Advanced Network Science Initiative. https://lanl-ansi.github.io/ (accessed 13 February 2025).
  57. ANSI open access infrastructure networks simulation libraries https://lanl-ansi.github.io/software/ (accessed 13 February 2025).
  58. Cloud computing item on Wikipedia. https://en.wikipedia.org/wiki/Cloud_computing (accessed 17 February 2025).
Figure 1. Classification of ME models (source: [18]).
Figure 1. Classification of ME models (source: [18]).
Preprints 150155 g001
Figure 2. Typical π model to represent an electrical line.
Figure 2. Typical π model to represent an electrical line.
Preprints 150155 g002
Figure 3. Characteristic lines layout.
Figure 3. Characteristic lines layout.
Preprints 150155 g003
Figure 4. Centrifugal compressors performance maps (source: [38]).
Figure 4. Centrifugal compressors performance maps (source: [38]).
Preprints 150155 g004
Figure 5. Heat networks modeling (source: [5]).
Figure 5. Heat networks modeling (source: [5]).
Preprints 150155 g005
Figure 6. One EH (left), interconnection of EHs (right) (source: [44]).
Figure 6. One EH (left), interconnection of EHs (right) (source: [44]).
Preprints 150155 g006
Figure 7. Converter cluster (source: [44]).
Figure 7. Converter cluster (source: [44]).
Preprints 150155 g007
Figure 8. Dispatch factors (source: [44]).
Figure 8. Dispatch factors (source: [44]).
Preprints 150155 g008
Figure 9. Storage systems and EH (source: [44]).
Figure 9. Storage systems and EH (source: [44]).
Preprints 150155 g009
Figure 10. Interconnection between EH (source: [44]).
Figure 10. Interconnection between EH (source: [44]).
Preprints 150155 g010
Figure 11. Graphs and variables for each carrier (source: [5]).
Figure 11. Graphs and variables for each carrier (source: [5]).
Preprints 150155 g011
Figure 12. Coupling nodes (source: [5]).
Figure 12. Coupling nodes (source: [5]).
Preprints 150155 g012
Figure 13. Coupling nodes (source: [46]).
Figure 13. Coupling nodes (source: [46]).
Preprints 150155 g013
Figure 14. Optimization of residual flows exchanged between EH – ein, eout = residual flows, fij = energy flows between EHs, yij = binary variables associated to the oriented arcs (source: [46]).
Figure 14. Optimization of residual flows exchanged between EH – ein, eout = residual flows, fij = energy flows between EHs, yij = binary variables associated to the oriented arcs (source: [46]).
Preprints 150155 g014
Figure 15. Truck routing modelling framework (source [47]).
Figure 15. Truck routing modelling framework (source [47]).
Preprints 150155 g015
Figure 16. Timescales in the optimization problem (source [47]).
Figure 16. Timescales in the optimization problem (source [47]).
Preprints 150155 g016
Figure 17. Modelling framework of the PlaMES project (source [49]).
Figure 17. Modelling framework of the PlaMES project (source [49]).
Preprints 150155 g017
Figure 18. An energy lattice layer: ω= losses λ = demand-shedding (source [51]).
Figure 18. An energy lattice layer: ω= losses λ = demand-shedding (source [51]).
Preprints 150155 g018
Figure 19. An example of ME lattice for a gas CHP plant (source [51]).
Figure 19. An example of ME lattice for a gas CHP plant (source [51]).
Preprints 150155 g019
Figure 20. Types of flexibility provided by a MES (source [51]).
Figure 20. Types of flexibility provided by a MES (source [51]).
Preprints 150155 g020
Figure 21. FCAS markets schematization by MAGNITUDE (source [51]).
Figure 21. FCAS markets schematization by MAGNITUDE (source [51]).
Preprints 150155 g021
Table 1. Typical interactions between the energy carriers (source [5]).
Table 1. Typical interactions between the energy carriers (source [5]).
Preprints 150155 i001
Table 2. Typical interactions between the energy carriers (source [5]).Table 2. Categorization of ME models (re-elaborated from [18]).
Table 2. Typical interactions between the energy carriers (source [5]).Table 2. Categorization of ME models (re-elaborated from [18]).
Case Description Constraints Mathematical model
Case 0 Optimal scheduling of MES (short term/daily operation horizon)
-
energy storages
-
no minimum or partial load operation
-
no uncertainty
-
absence of flexibility measures
Linear optimization problem (LP) – no integer variables. The optimization can be carried out time step by time step (unless storage is included).
Case 1a Same as case 0 with technical constraints of components
-
minimum power constraints (technical minima)
-
minimum up and down time constraints
-
ramp rate constraints
-
maintenance costs (only in time steps when the technology operates)
Binary decision variables must be included (e.g. to model technical minima or up and down time).Ramp rates couple different time steps. The problem is a MILP optimization over the entire day.
Case 1b Same as case 0 plus components non-linearities
-
component efficiency varying for partial load
-
Investment costs (typically specific costs are decreasing if size increases)
Non-linear optimization. A possible alternative is the (piecewise) linearization of non-linear terms.
Case 1c Case 0 plus both technical constraints and nonlinear terms As case 1a + 1b MILNP optimization. It becomes MILP if linearized.
Case 2 Synthesis, design (e.g. system planning) and operation As the previous ones The correct timeframe is the long-term (typically equal to the lifetime of the system. The model is MILNP or MILP. Decomposition techniques (e.g. Benders) are important. Sometimes, the operation optimization is decoupled from the synthesis problem (master-slave coupled problems).
Case 3 Including uncertainty As the previous ones Two possible approaches: sensitivity analysis or optimization under uncertainty (by using either stochastic programming [19] or robust optimization [20]).
Case 4 Including flexibility measures (i.e. the capability to guarantee the power balance through efficient operation changes: use of energy storage, energy substitution, inertia of thermal networks and buildings, demand response, etc). As the previous ones, plus extra equations modelling flexibility measures Possible required modelling actions:
-
simulating the design of the transmission network (and real time markets)
-
simulating the operation of the thermal network, with temperatures and flow rates (simplifications to preserve linearity). In case of big thermal networks transients can’t be neglected and the concept of time delay must be introduced
-
explicitly modelling demand response programs.
Table 3. Typical interactions between the energy carriers (source [5]).
Table 3. Typical interactions between the energy carriers (source [5]).
Preprints 150155 i002
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.
Copyright: This open access article is published under a Creative Commons CC BY 4.0 license, which permit the free download, distribution, and reuse, provided that the author and preprint are cited in any reuse.
Prerpints.org logo

Preprints.org is a free preprint server supported by MDPI in Basel, Switzerland.

Subscribe

Disclaimer

Terms of Use

Privacy Policy

Privacy Settings

© 2026 MDPI (Basel, Switzerland) unless otherwise stated