1 Introduction

This paper deals with the representation of power distribution constraints and options in a regional multi-energy systems analytic model akin to the MARKAL-TIMES family of models. The motivation for these developments is the modeling of the integration of energy systems in smart cities relying in particular on the co-optimization of the cyber and physical layers of the distribution power system (DPS). Increasing penetration of intermittent and volatile renewable energy sources connected at the transmission (e.g., wind farms) or the distribution networks (e.g., roof top PV panels) will impose new operational constraints. On the option side, the advent of grid-friendly flexible loads (FL) and distributed energy resources (DERs) including variable speed drive powered CHP micro-generators, heat pumps, and electric vehicles, provide opportunities to optimize power systems and improve operational and investment efficiencies. Indeed, DERs may have a profound impact on the resilience of network infrastructures.

We propose a modeling framework called ETEM-SGFootnote 1, which is a “robust optimization”-based capacity expansion model for an ensemble of energy related infrastructures that will be operated in a coordinated way in order to satisfy the demand for services in the urban community, with an optimal use of resources and reduced greenhouse gas (GHG) emissions. The model structure is inspired from MARKAL [9, 10] and TIMES [12]. This long-term expansion model is complemented by a model of electricity distribution, which reveals the future implicit prices on electricity markets under the conditions of massive penetration of renewables, grid storage and demand response. A representation of smart grids has already been introduced in the open-source energy modeling kit OSeMOSYS [11, 16], but our approach is different as one introduces a set of constraints and cost coefficients permitting a modeling of the power distribution in a smart grid environment. A detailed description of the modeling of a power distribution system, with smart grid operations, is given in [3]. In the present paper, this modeling approach is integrated into the ETEM-SG energy model.

The service sectors considered include residential; commercial (HVAC, lighting, computing, electric appliances etc.); industry (process heat, machinery operation); transportation (mass transit, private vehicles, public transportation); water supply and treatment; telecommunications and health. The infrastructure that will be considered encompass primary energy production and transformation of all relevant technologies, and networks such as water, gas, and electricity transmission and distribution (with emphasis on their interaction with renewable energy and other distributed resources). Appliances and energy use technologies will also be considered as part of a broadly construed energy infrastructure and thus include transportation technologies, (e.g., electric, hydrogen fuel cell and other zero-emission vehicles), the various end-use technologies used in household appliances, commercial and industry energy uses, the water supply and treatment technologies and, indeed, the distributed communication and control technologies.

ETEM-SG provides a simulation of the evolution of final energy demand and of environmental impact of energy production and use in smart cities, when one takes full advantage of the potential of load shedding, demand response and integration of renewables provided by smart energy systems. In this modeling approach, one assumes market efficiency at all time scales, with price information reflecting the real marginal cost of the various technologies participating in the supply-demand equilibrium for each energy form. The model is multi-energy, with a particular attention devoted to electricity and power system. The model takes into account the ability of Distributed Energy Resources (DERs: broadly construed, distributed flexible loads, generation and other resources) to provide reserves, reactive power compensation, and shift their operation over time so as to reduce losses, congestion, wholesale energy costs, and distribution asset (particularly transformer) wear and tear.

The paper is organized as follows. In Section 2, we present ETEM-SG, which is a multi-energy, long-term technology-rich capacity expansion model. In Section 3, we detail the modeling options adopted to represent the optimal exploitation of demand response, grid storage, electric car charging, distributed system reserve, and reactive power compensation, under a massive penetration of renewables. In Section 4, we present a case study based on the Swiss region of “Arc Lémanique” and we show the impact of including the modeling of power distribution constraints and options on the simulations of optimal development paths. In Section 5 ,we conclude.

2 The Model ETEM-SG

In this section, we provide a complete description of the linear programming model ETEM-SG. The presentation is organized in three subsections devoted to the structure of the original open-sourceFootnote 2 model ETEM, the introduction of demand-response activities, and the robustification of uncertain constraints, respectively.

2.1 The Structure of ETEM-SG

ETEM is a linear programming model, which represents the optimal capacity expansion in production technology and the flow of resources in the whole energy system. In its standard version, the model is driven by exogenously defined useful energy demands, that is the demand for energy services, and imported energy prices. All technologies are defined as resource transformers and are characterized by technical coefficients describing input and output, efficiency, capacity bounds, date of availability (for new technologies), life duration, etc. Economic parameters define investment, operation, and maintenance costs for each technology. The planning horizon is generally long enough to offer a possibility for the energy system to have a complete investment technology mix turnover. Typically, ETEM simulates the development of an efficient regional energy system with a planning horizon of 30 to 50 years usually divided in periods of 1 to 5 years. In each period, one considers a few typical days (e.g., 6 days corresponding to the three seasons—winter, summer, spring-fall—and two week day types—working weekday, weekend-holiday—). Each of these days is subdivided into groups of hours to obtain finally a set of timeslices that will be used to represent load curves and distribution of demand and resource availability in different seasons and at different time of the day.

The model is written in the modeling language AMPL [8]; we give in Appendix A, in pseudocode notations, a complete description of the model sets, parameters, variables, objectives, and constraints that describe the ETEM shell formulation which is very similar to TIMES/MARKAL. These elements are needed when we describe the ETEM-SG modules later on.

2.2 Representing Demand-Response in ETEM

To model demand response, one must allow the energy demands to adapt to implicit pricing signals. To do that, we first define a subset C f of the set of commodities, which correspond to demand sector with flexible demands. For these flexible demands, the frac_dem parameters, which determine the proportions of demand that fall in each time slice, are replaced by decision variables, VAR_frac_dem. Since the frac_dem parameter enters linearly the equations of ETEM, it can be changed into a decision variable while staying in the realm of linear programming. Of course, new constraints have to be introduced to limit the possibility of demand displacement.

Additional constraint 1::

t∈Θ, S i , cC f

$$ \sum\limits_{s \in S_{i}} \mathbf{VAR\_frac\_dem}[t,s,c] = \sum\limits_{s \in S_{i}}frac\_dem[t,s,c] $$
(1)

where the S i ’s are the seasons: S 1 is winter, S 2 summer and S 3 intermediate. These constraints ensure the entirety of the demand is met and forbid cross-seasonal load shifting.

Additional constraint 2::

t∈Θ, sS, cC f

$$\begin{array}{@{}rcl@{}} \Big(1-frac\_dem\_dev[t,s,c]\Big)\\ frac\_dem[t,s,c] \leq \mathbf{VAR\_frac\_dem}[t,s,c] \\ \leq \Big(1+frac\_dem\_dev[t,s,c]\Big)frac\_dem[t,s,c] \end{array} $$
(2)

where the frac_dem_dev[t, s, c] parameter is the maximum allowed deviation from the nominal value of the fraction of demand, denoted by frac_dem[t, s, c]. This parameter can depend on t since the share of the demand that can be shifted may evolve due to the progressive penetration of smart technologies.

2.3 Robustification to Deal with Uncertain Parameters

ETEM-SG implements robust optimization methods to deal with uncertainty. We describe here the robustification technique used for two possible sources of uncertainty on (i) availability factors and (ii) new technology investment costs, respectively. We refer the reader to [1] for more details on robust optimization applied to ETEM constraints.

Robust optimization [6, 15] is an approach that essentially ensures that uncertain constraints in an optimization problem remain feasible for a whole set of possible realizations of random parameters. But, contrary to classical stochastic methods, robust optimization defines the set of possible realizations in an explicit way, e.g., as a polyhedron, rather than implicitly by means of a condition on a probability. This set of relevant realizations is called the uncertainty set. The salient feature of robust optimization is that it reformulates the uncertain constraint into plain inequalities, named the equivalent robust counterpart, that can be efficiently handled through convex optimization methods, and, in particular, linear programming. Application of robust optimization to energy and environment models is described in [4] and [5].

Let us first consider robust constraints for uncertain availability factors. A new parameter avail_factor_var[t, s, p] represents the variability for availability factor of technology p at period t and timeslice s. The set P_rob contains technologies with uncertain availabilities. The approach consists in (i) adding a new constraint on total capacity utilization for a set of uncertain technologies and (ii) applying robust optimization techniques on this uncertain constraints. To robustify the model, one thus introduces the two following sets of constraints:

  1. 1.

    Total capacity utilization equation for uncertain technologies: ∀t∈Θ, sS, lL

    $$\begin{array}{@{}rcl@{}} && {\sum}_{p \in \text{P\_MAP}[l] \cap \text{P\_rob}, \;c \in \text{C\_ITEMS}[\text{flow\_act}[p]]} \mathbf{COM}[t,s,l,p,c]\\ && <= {\sum}_{p \in \text{P\_MAP}[l]:p \in \text{P\_rob}} (\text{avail\_factor}[t,s,p] \times \text{cap\_act}[p] \times \text{fraction}[s] \\ &&\quad \times\left( {\sum}_{k \in 0..t : \;\text{life}[p] \ge k+1, \& t-k \ge \text{avail}[p]} \mathbf{ICAP}[t-k,l,p]+\text{fixed\_cap}[t,l,p])\right)\\ &&\quad -\; (k_{1}[t,s,l] \times \mathbf{V}[t,s,l] + {\sum}_{p \in \text{P\_MAP}[l] \cap \text{P\_rob}} \mathbf{U}[t,s,l,p]), \end{array} $$

    where U and V are the dual variables associated to the linear equations that define the uncertainty set. These variables have to satisfy the constraints below (see [4] for details).

  2. 2.

    Additional robust constraints: ∀t∈Θ, sS, lL, p∈P_MAP[l]∩P_rob

    $$\begin{array}{@{}rcl@{}} \mathbf{V}[t,s,l] + \mathbf{U}[t,s,l,p] \ge \text{avail\_factor\_var}[t,s,p] \times \text{avail\_factor}[t,s,p] \times \text{cap\_act}[p] \\ \times \text{fraction}[s] \times \left( {\sum}_{k \in 0..t :\; \text{life}[p] \ge k+1, \& t-k \ge \text{avail}[p]} \mathbf{ICAP}[t-k,l,p]+\text{fixed\_cap}[t,l,p]\right). \end{array} $$

Let cost_icap_var[t, p] denote the variability factor of uncertain investment costs for technologies p∈P_rob2. The robustification of the model leads to slightly modification of the objective cost function as

$$\begin{array}{@{}rcl@{}} \mathbf{COST} & \ge & ... \text{ same as above (see objective (\ref{eq1}))} ...\\ && + (1+\text{disc\_rate})^{\text{nb\_years}[t]}\\ &&\times {\sum}_{t \in T}(k_{2}[t] CC\times \mathbf{V_{2}}[t] \\&&+ {\sum}_{p \in \text{P\_rob2}} \mathbf{U_{2}}[t,p]) \end{array} $$

where U 2 and V 2 are additional variables similar to U and V. As for uncertain availability factors, additional robustification constraints are added to the ETEM model,

t∈Θ, p∈P_rob2

$$\begin{array}{@{}rcl@{}} \mathbf{V_{2}}[t] + \mathbf{U_{2}}[t,p] \ge {\sum}_{l \in L: \;p \in \text{P\_MAP}[l]} \text{cost\_icap}[t,p] \times \text{cost\_icap\_var}[t,p] \\ \times \mathbf{ICAP}[t,l,p]/(1+\text{disc\_rate})^{\text{nb\_years}[t]}. \end{array} $$

3 Modeling Distribution Options and Constraints

In this section, we focus on representation of the power distribution systems and the exploitation of flexible loads and DERs.

3.1 Network Description and Assumptions

Distribution activities and contraints in ETEM represent the management of centralized and distributed loads, storage and generation units for a local/regional power system at all periods and timeslices. Figure 1 summarizes the simplified topology of a distribution system.

Table 1 Useful demands classification (PJ means PetaJoule and tkmv/d means thousand km vehicle per day)
Fig. 1
figure 1

Representation of the power network. Circles denote buses. Squares represent power electronics, flexible loads, and distributed generators

Fig. 2
figure 2

Evolution of useful demands in PJ (left) and in tkmv/d (right)

The -bus (b ) corresponds to the substation and each downstream bus (b 1 and b 2) corresponds to loads and DERs connected to a distribution feeder. The model’s logic is as follows: Conventional generators and wind generators proposed by ETEM are located to bus and each distribution feeders corresponds to an ETEM region that is connected to bus . Each feeder bus hosts (i) demand corresponding to conventional loads (typically lighting), which consumes as a by-product “reactive power” whose magnitude depends on a constant power factor, (ii) flexible loads (typically EV battery charging, variable speed drive heat pumps for space conditioning), and (iii) PV generation. EV battery chargers and PV inverters can provide reactive power compensation as needed when they have excess capacity, i.e., when the sun does not shine or when the EV battery is not charging. During a given time slice, flexible loads produce value (or utility to their owners) by providing a service, such as space conditioning that maintains inside temperature within a comfort temperature zone, increasing the state of Charge of thee EV battery and the like.

Although other types of reserves are already modeled, e.g., in the peak reserve equations of ETEM, we focus now on secondary reserves made necessary by renewable generation and uncertainty in conventional loads and generation. The secondary reserve required by the system operator can be provided by conventional centralized generators but also by the flexible loads, in particular by the PHEV/EVs.

The model computes real power, reactive power, and reserves associated with each region so as to satisfy load flow, voltage, energy balance, and reserve requirement constraints.

Assumption 1

The transmission network is made up of a single bus, i.e., transmission lines connecting centralized generators G k , k∈{1,…, K} , to the bus that supplies all distribution substations have negligible resistance.

Assumption 2

Each distribution feeder is represented by a single aggregated line and a single transformer with all of the demand and distributed resources and generation at the end of the line. The aggregated line has resistance and reactance parameters.

Assumption 3

Demand for energy services and ability for distributed generation or resource provision is specified as follows:

  1. (i)

    For conventional demand at feeders, such as lights or non-storage/thermal demand, reactive power to be compensated is a given fraction γ react of produced real power.

  2. (ii)

    For flexible/storage like loads, such as thermal storage buildings, space heating/conditioning, electric vehicles and the like, it is specified for the whole day. Contraints represents then the dynamics of state and and consumption.

  3. (iii)

    For distributed resources that accompany electric vehicles or PV generation, inverters, and converters that are embodied can produce reactive power using excess capacity that they may have.

Assumption 4

Generator ramp constraints are negligible.

3.2 Equations to Describe Power Distribution

We give below, in pseudocode notations, a complete description of the model sets, parameters, variables, and constraints.

Sets

Θ d ⊂Θ ::

set of periods for which distribution constraints are activated

P con P ::

set of conventional load technologies

P flex P ::

set of flexible load technologies

P genC P ::

set of centralized generation technologies

P genW P genC ::

set of wind generation technologies

P genD P ::

set of decentralized generation technologies

P genPV P genD ::

set of PV generation technologies.

Parameters

resistance[l]::

resistance (normalized to unity nominal voltage) of distribution feeder line lL.

reactance[l]::

reactance (normalized to unity nominal voltage) of distribution feeder line lL.

res::

secondary system reserve factor.

res w::

system reserve factor for wind generation.

γ react::

Factor representing reactive power as a proportion of active power consumed by conventional inflexible loads.

v[l]::

Tension in feeder lL. The units are chosen so that the tension is normalized with value equal to 1.

\(\bar \theta [t,s,l], \underline \theta [t,s,l]\)::

Lower and upper bounds on inside temperature of space conditioned facilities

𝜃 Ambient[t, s, l]::

Ambient temperature

η loss[t, s], η gain[t, s]::

coefficients of heat gain or loss

\(\bar X({\Theta },S,L)\)::

Maximum discharge of EV batteries.

Variables

D con(Θ, S, L, P con )::

Conventional demand load

D flex(Θ, S, L, P flex )::

Flexible demand load

D ev(Θ, S, L)::

EV’s demand load

G dec(Θ, S, L)::

Decentralized power generation

G (Θ, S)::

Centralized power generation

I(Θ, S)::

Power imports

P (Θ, S)::

Total real power provided by centralized technologies

P (Θ, S, L)::

Real power provided by centralized technologies at feeders

P (Θ, S, P genC )::

Real power provided by centralized technologies

P(Θ, S, L)::

Real power load at feeders

Q (Θ, S)::

Total reactive power provided by centralized technologies

Q (Θ, S, L)::

Reactive power provided by centralized technologies at feeders

Q (Θ, S, P genC )::

Reactive power provided by centralized technologies

Q(Θ, S, L)::

Reactive power load at feeders

Q ev(Θ, S, L)::

Reactive power provided by EVs

Q flex(Θ, S, L, P flex )::

Reactive power provided by flexible tecnhologies

Q pv(Θ, S, L, P genPV )::

Reactive power provided by PVs

R (Θ, S, L, P genC )::

Reserve provided by centralized technologies

R flex(Θ, S, L, P flex )::

Reserve provided by flexible load

C (Θ, S, P genC )::

Installed capacity of centralized technologies

C flex(Θ, S, P flex )::

Installed capacity of flexible technologies

𝜃(Θ, S, L)::

inside temperature of space conditioned facilities

X(Θ, S, L)::

State of discharge of EVs.

3.3 Constraints (from ETEM-SG to Distribution)

This first set of constraints link the ETEM activity and capacity variables with the new variables introduced to describe distribution activities like, conventional and flexible demand loads, centralized and decentralized power generation, electricity imports to grids and installed DER capacities.

Demand load for conventional technology pP con at period t∈Θ d , sS and feeder lL.

$$\begin{array}{@{}rcl@{}} &&\mathbf{D^{con}}[t,s,l,p] \\ &&{\kern6pt}= \mathbf{COM}[t,s,l,p,``ELC"] / \text{cap\_act}[p] / \text{fraction}[s]. \end{array} $$
(3)

Demand load for flexible technology pP flex at period t∈Θ d , sS and feeder lL.

$$\begin{array}{@{}rcl@{}} &&\mathbf{D^{flex}}[t,s,l,p] \\ &&{\kern6pt}= \mathbf{COM}[t,s,l,p,``ELC"] / \text{cap\_act}[p] / \text{fraction}[s]. \end{array} $$
(4)

Demand load for EVs at period t∈Θ d , timeslice sS and feeder lL.

$$\begin{array}{@{}rcl@{}} &&\mathbf{D^{ev}}[t,s,l]\\&&{\kern6pt} \,=\, \mathbf{COM}[t,s,l,``EV",``ELC"] / \text{cap\_act}[p] / \text{fraction}[s].\\ \end{array} $$
(5)

Power generation from decentralized technology pP genD at period t∈Θ d , sS and feeder lL.

$$\begin{array}{@{}rcl@{}} &&\mathbf{G^{dec}}[t,s,l,p]\\&&{\kern6pt} = \mathbf{COM}[t,s,l,p,``ELC"] / \text{cap\_act}[p] / \text{fraction}[s] \end{array} $$
(6)

Power generation from centralized technology pP genC at period t∈Θ d and sS.

$$\begin{array}{@{}rcl@{}} &&\mathbf{G^{\infty}}[t,s,p]\\ &&{\kern6pt}= \sum\limits_{l \in L} \mathbf{COM}[t,s,l,p,``ELC"] / \text{cap\_act}[p] / \text{fraction}[s]\\ \end{array} $$
(7)

Electricity imports at period t∈Θ d and timeslice sS.

$$\begin{array}{@{}rcl@{}} \mathbf{I}[t,s] &= & \mathbf{IMP}[t,s,``ELC"] / \text{cap\_act}[p] / \text{fraction}[s] \end{array} $$
(8)

Installed capacity of centralized technology pP genC at t∈Θ d and sS.

$$\begin{array}{@{}rcl@{}} \mathbf{C^{\infty}}[t,s,p] &=& \text{avail\_factor[}t,s,p]\\ &&{}\times \text{cap\_act}[p]\times fraction[s] \\ &&{}\times \left( \sum\limits_{k \in 0{\dots} t : \text{life}[p]\ge k+1, \; t-k \ge \text{avail}[p]} \mathbf{ICAP}[t-k,l,p]\right.\\ &&{}\left.+ \text{ fixed\_cap}[t,l,p]\vphantom{\sum\limits_{k \in 0{\dots} t : \text{life}[p]\ge k+1, \; t-k \ge \text{avail}[p]}}\right) \end{array} $$
(9)

Installed capacity of flexible technology pP flex at t∈Θ d and sS.

$$\begin{array}{@{}rcl@{}} &&{}\mathbf{C^{\infty}}[t,s,p] \,=\, \text{avail\_factor[}t,\!s,\!p]\!\times\! \text{cap\_act}[p]\!\times\! f\!racti\!on\![s] \\ &&{\kern14pt}\times \left( \sum\limits_{k \in 0{\dots} t : \text{life}[p]\ge k+1, \; t-k \ge \text{avail}[p]}\mathbf{ICAP}[t-k,l,p]\right.\\ &&{\kern36pt}\left.+\text{ fixed\_cap}[t,l,p]\vphantom{\sum\limits_{k \in 0{\dots} t : \text{life}[p]\ge k+1, \; t-k \ge \text{avail}[p]}}\right) \end{array} $$
(10)

3.4 Distribution Constraints

These constraints serve to compute real power, reactive power, and reserves associated with each region and timeslice so as to satisfy load flow, voltage, energy balance, and secondary reserve requirement.

Real power load at period t∈Θ d , sS and feeder lL

$$\begin{array}{@{}rcl@{}} \mathbf{P}[t,s,l] &=&\sum\limits_{p \in P_{con}} \mathbf{D^{con}}[t,s,l,p] \\ &+& \sum\limits_{p \in P_{flex}} \mathbf{D^{flex}}[t,s,l,p] + \mathbf{D^{ev}}[t,s,l,p] \\ &-&\sum\limits_{p \in P_{genD}} \mathbf{G^{dec}}[t,s,l,p] \end{array} $$
(11)

Reactive power to be compensated at period t∈Θ d , sS and feeder lL

$$\begin{array}{@{}rcl@{}} \mathbf{Q}[t,s,l] &=& \gamma^{react} \sum\limits_{p \in P_{con}}\mathbf{D^{con}}[t,s,l,p] - \sum\limits_{p \in P_{flex}} \mathbf{Q^{flex}}[t,s,l,p] \\ &&- \mathbf{Q^{ev}}[t,s,l] - \sum\limits_{p \in GenPV} \mathbf{Q^{pv}}[t,s,l,p] \end{array} $$
(12)

Total real power provided by centralized technologies at period t∈Θ d and sS

$$\begin{array}{@{}rcl@{}} \mathbf{P^{\infty}}[t,s] &=& \sum\limits_{p \in GenC}\mathbf{G^{\infty}}[t,s,p] + \mathbf{I}[t,s] \\ &=& \sum\limits_{l \in L} \mathbf{P^{\infty}}[t,s,l] \end{array} $$
(13)

Total reactive power provided by centralized technologies at period t∈Θ d and sS

$$\begin{array}{@{}rcl@{}} \mathbf{Q^{\infty}}[t,s] &=& \sum\limits_{p \in GenC}\mathbf{Q^{\infty}}[t,s,p] = \sum\limits_{l \in L} \mathbf{Q^{\infty}}[t,s,l] \end{array} $$
(14)

Real power provided by centralized technologies at period t∈Θ d , sS and feeder lL

$$\begin{array}{@{}rcl@{}} \mathbf{P^{\infty}}[t,s,l] &\,=\,& \mathbf{P}[t,s,l] + \frac{resistance[l]}{v[l]^{2}}\left\{ \mathbf{P}[t,s,l]^{2}\!+\mathbf{Q}[t,s,l]^{2} \right\}\\ \end{array} $$
(15)

Reactive power provided by centralized technologies at period t∈Θ d , sS and feeder lL

$$\begin{array}{@{}rcl@{}} \mathbf{Q^{\infty}}[t,s,l] &\,=\,& \mathbf{Q}[t,s,l] + \frac{reactance[l]}{v[l]^{2}}\left\{ \mathbf{P}[t,s,l]^{2}\!+\mathbf{Q}[t,s,l]^{2} \right\}\\ \end{array} $$
(16)

Remark 1

Linearized versions of Eqs. (1516) are obtained through a Taylor development in the neighborhood of the optimal solution.

$$\begin{array}{@{}rcl@{}} \mathbf{P^{\infty}}[t,s,l] &=&\mathbf{P}[t,s,l]+\frac{resistance[l]}{v[l]^{2}}\{ (P^{0}[t,s,l])^{2}+(Q^{0}[t,s,l] )^{2} +2 P^{0}[t,s,l] (\mathbf{P}[t,s,l] \\ &&- P^{0}[t,s,l])+ 2Q^{0}[t,s,l] (\mathbf{Q}[t,s,l]-Q^{0}[t,s,l]) \}\end{array} $$
(17)
$$\begin{array}{@{}rcl@{}} \mathbf{Q}^{\infty}[t,s,l] &=& \mathbf{Q}[t,s,l]+\frac{reactance[l]}{v[l]^{2}} \{ (P^{0}[t,s,l])^{2}+(Q^{0}[t,s,l] )^{2} +2 P^{0}[t,s,l] (\mathbf{P}[t,s,l]\\ &&- P^{0}[t,s,l])+2Q^{0}[t,s,l] (\mathbf{Q}[t,s,l]-Q^{0}[t,s,l]) \} \end{array} $$
(18)

An updating scheme has to be implemented when using the linearized version. At each iteration P 0 and Q 0 are replaced by the last computed real and reactive power solutions. In practice, one converges very rapidly to a fixed-point (say 5-10 iterations).

Reserve provided by centralized and flexible loads at t∈Θ d , sS and feeder lL

$$\begin{array}{@{}rcl@{}} {\sum}_{p \in P_{genC}} (1 + \alpha)\mathbf{R^{\infty}}[t,s,l,p] &+& {\sum}_{p \in P_{flex}} \mathbf{R^{flex}}[t,s,l,p]\\ &\ge& res {\sum}_{p \in P_{con}} \mathbf{D^{con}}[t,s,l,p] \\ &+\!& res^{w}\! \!{\sum}_{p \in P_{genW}} \mathbf{G^{\infty}}[t,s,l,p]\\ \end{array} $$
(19)

Capacity constraints on centralized generation pP g enC at t∈Θ d and sS

$$\begin{array}{@{}rcl@{}} \mathbf{R^{\infty}}[t,s,l,p] \le \mathbf{P^{\infty}}[t,s,l,p] \le \mathbf{C^{\infty}}[t,s,l,p] - \mathbf{R^{\infty}}[t,s,l,p]\\ \end{array} $$
(20)

Capacity constraints on flexible loads pP f lex at t∈Θ d and timeslice sS

$$\begin{array}{@{}rcl@{}} \mathbf{R^{flex}}[t,s,l,p] \le \mathbf{P^{flex}}[t,s,l,p] \le \mathbf{C^{flex}}[t,s,l,p]\\ - \mathbf{R^{flex}}[t,s,l,p] \end{array} $$
(21)

Bounds on reactive power compensation provided by flexible loads pP flex at t∈Θ d , sS and lL

$$\begin{array}{@{}rcl@{}} 0 \le \mathbf{Q^{flex}}[t,s,l,p] \le \mathbf{C^{flex}}[t,s,l,p]\! -\! \mathbf{P^{flex}}[t,s,l,p] \end{array} $$
(22)

State equations-1: Describe the dynamics of indoor temperature and the interval in which the temperature must remain when using to flexible heating technologies at t∈Θ d , sS and lL

$$\begin{array}{@{}rcl@{}} \mathbf{\theta}[t, SUCC[s],l] &= &\mathbf{\theta}[t, s,l] + \eta^{loss}[t,s](\theta^{Ambient}[t,s,l] \end{array} $$
$$\begin{array}{@{}rcl@{}}&&-\mathbf{\theta}[t,s,l]) \,-\,\eta^{gain}[t,s]\mathbf{P^{flex}}[t,s,l,p] \end{array} $$
(23)
$$\begin{array}{@{}rcl@{}} \underline \theta[t, s,l]&\le& \mathbf{\theta}[t, s,l] \, \le \, \bar\theta[t, s,l]\\ \end{array} $$
(24)

State equations-2: Describe the dynamics and the minimum value of the state of discharge of EV’s at t∈Θ d , sS and lL

$$\begin{array}{@{}rcl@{}} \mathbf{X}[t, SUCC[s],l] &=& \mathbf{X}[t, s,l]\,+\, \text{cap\_act}[p] \times \text{fraction}[s] \times (\mathbf{D^{ev}}[t,s,l] \end{array} $$
$$\begin{array}{@{}rcl@{}} &&- \mathbf{P^{flex}}[t,s,l,``EV"]) \end{array} $$
(25)
$$\begin{array}{@{}rcl@{}} \mathbf{X}[t, s,l] & \le & \bar{X}[t, s,l] . \end{array} $$
(26)

4 Case Study

We apply the model to a case study inspired from the regionl power system of the Arc-Lémanique region in Switzerland (Cantons of Vaud and of Geneva). We consider three distribution feeders corresponding, globally, to the three power distribution companies operating in the region. The energy model for three regions associated with the feeders is adapted from a previous ETEM model that had been developed for the whole region, without consideration of distribution constraints in previous projects.Footnote 3

Remark 2

The objective of the numerical simulations is to illustrate the impact of introducing a representation of distribution constraints and options in a regional energy model, and not to provide a very precise representation of the energy policy choices in this region. Therefore, the technical parameters used in the distribution module are not giving a very accurate description of the three distribution networks. This is the case, in particular, for the choice of a power factor of 0.93, similar to the one observed in US regions, associated with reactive power consumption by conventional loads of 0.35 KVar for each 0.93KW that they consume.

4.1 Linking with the Swiss Energy Strategy Scenario Horizon - 2050

The Swiss Federal Office of Energy (SFOE) has proposed a scenario for energy transition, called Neue Energiepolitik (NEP). It describes the Swiss Energy Strategy at horizon 2050 [7]. We use similar boundary assumptions to those in NEP for the three scenarios developed with ETEM-SG for the Arc Lémanique region. These scenarios will illustrate the importance of taking into consideration constraints and options at distribution level in the assessment of energy/climate policies at a regional scale. In particular, in the NEP scenario, the emissions of greenhouse gases are caped at a level of 1.5 tons of CO 2-eq per person in 2050. Since the population is expected to attain 1.37 M people in the Arc Lémanique region by 2050 (’mittleres’ Szenario A-00-2010), we impose as a constraint that the total 2050 emissions should not exceed 2.1 Mt CO 2-eq in the region.

In the three scenarios, the penetration of variable renewable energies (VRE), that is PV and wind generation, is not limited. This allows us to evaluate the impact of power distribution constraints and options on the deployment of wind and solar technologies. The three scenarios are:

  1. 1.

    CMIT - a Climate MITigation scenario compatible with NEP assumptions on demands and emissions but obtained without distribution considerations in the ETEM model.

  2. 2.

    CMIT PDC - a CMIT scenario with consideration of Power Distribution Constraints (on reserve, reactive power compensation, etc.) but without the options offered by DERs for system services (although PVs can contribute to reactive power compensation).

  3. 3.

    CMIT PDC&O - a CMIT scenario with consideration of Power Distribution Constraints and Options.

4.2 Energy Consumption in 2010

in 2010, the total annual energy consumption of the Arc Lémanique region was 114.3 PJFootnote 4 and, overall, CO 2 emissions amounted to 5.48 Mt. The region is a net importer of electricity, around 5.5 TWh out of a total electricity consumption of 7.1 TWh in Year 2010.

4.3 Useful Demands and Timeslices

Table 1 gives the useful demands considered in the case study and Fig. 2 displays their assumed evolution up to 2050. These demands are then distributed on a yearly basis, among the 12 timeslices defined, for three seasons (winter, summer, intermediate, and four parts of day, night, morning peak P1, mid-day and evening peak P2, as illustrated in Fig. 3.

Fig. 3
figure 3

Definition of timeslices

Table 2 Portfolio of electricity-based technologies by category

4.4 Portfolio of Technologies

Table 2 gives the list of all electricity production or consumption technologies that appear in the model.

4.5 Analysis and Comparison of the Scenarios

To compare the simulations results for the three scenarios (CMIT, CMIT PDC and CMIT PDC&O ) , we concentrate on the time interval 2025-2050, since it is when the VRE technologies will have the possibility to penetrate strongly the energy system.

Figure 4 shows the evolution of the power supply mix for the three scenarios. The scenario CMIT is the one that would be proposed by a TIMES or ETEM model, when there is no limit for the penetration of VREs and no consideration of secondary reserve requirement associated to VREs nor reactive power compensation. Simulation results show that the stringent emission constraint is satisfied mainly by a strong deployment of wind farms (see E08 in Fig. 4), i.e., 72 % of total electricity generation, and of electric heat pump in the heating sector (see RAT and RCT in Fig. 5). Penetration of EVs is not needed in that situation (see TES in Fig. 6). This scenario is of course not realistic as a power distribution system with 72 % VRE generation would face serious resilience and stability issues. So, in practice, in the use of these existing models one should introduce some arbitrary constraints limiting the proportion of VRE generation to a range of 30 to 40 %.

Fig. 4
figure 4

Evolution of electricity production and use (in PJ/Y)

Fig. 5
figure 5

Evolution of heating activities in buildings (in PJ)

Fig. 6
figure 6

Evolution of transport activities (in tkmv/d)

The scenario CMIT PDC confirms that power distribution constraints have a significant impact on VRE penetration. The share of VREs, i.e. wind farms (E08) and PVs (E07) decreases to 40 % of total electricity generation as shown in Fig. 4. This is consistent with the current practice, alluded to above, which recommends a maximum 30-40 % share for VRE generation (e.g., Since 2008, French government set a legal limit of 30 % on the level of instantaneous production of intermittent sources [13]). Compared to scenario CMIT we observe a larger penetration of solar panels due to their property of reactive power compensation. The other production technologies are gas combined-cycle power plants (E0F), gas turbines (E0E), and hydro power plants (E01 and E02). We notice that imports, assumed to be carbon free in this exercise, contribute in the scenario CMIT PDC in satisfying the emissions reduction constraint. An upper bound on electricity import was imposed but was not active. These imports come from France (using mostly nuclear) and other regions of Switzerland (using mostly hydro and nuclear) and are not distinguished in the model. We observe in Figure 6 that, in both scenarios with power distribution constraints (CMIT PDC and CMIT PDC&O ), EV technology (TES) is much needed to reach the GHG emissions reduction objectives. The other types of car used are hybrid (THY) and diesel (TE1) vehicles. In the residential sector, the situation for heating is very similar in these scenarios with investment in heat pumps technologies (i.e., around 20 % of the heating sector).

Finally, when smart systems are fully exploited, in scenario CMIT PDC&O , flexible loads from heat pumps and electric vehicles reach around 21 % of total electricity consumption in 2050. The deployment of these smart grid options acts as positive vector for VREs penetration. The share of VRE generation is now around 61 %, to be compared to the 40 % when smart options are not considered (see Fig. 4). In that context imports are not needed anymore. This increase is due to the possible contribution of DREs to providing secondary reserve to cope with intermittency of Wind and solar generation.

4.6 Power Distribution Options for CMIT PDC&O Scenario

We now focus our analysis on the CMIT PDC&O scenario only and we present the main impacts of flexible loads, PVs, electric vehicles, etc, on real power generation (Fig. 7), reactive power compensation (Fig. 9) and secondary reserve requirement (Fig. 11). For real and reactive power generation, we display associated load curves in Figs. 8 and 10, respectively.

Fig. 7
figure 7

Real power generation converted energy equivalent (in PJ)

Fig. 8
figure 8

Real power generation (in GW). Legend: Green for decentralized, red for centralized, and blue for imports

Fig. 9
figure 9

Reactive power compensation (in PJ/Y)

Fig. 10
figure 10

Load curve for Reactive power Generation (in GW). Legend: Green for Pvs, red for flexible, and blue for centralized

Fig. 11
figure 11

System reserve converted energy equivalent (in PJ)

In Fig. 7, decentralized production corresponds uniquely to solar generation as indicated in Fig. 4. Detailed loads displayed on Fig. 8 show this solar contribution on day timeslices.

One notices on Figs. 8 and 11 that reactive power is first compensated by flexible loads and then by PVs and centralized power plants.

Figure 9 confirms the key role played by EVs and flexible heating technologies for providing system secondary reserve. This shows that EVs and flexible loads will be facilitators for the transition of the energy system toward a low carbon economy.

4.7 Implementing Robust Optimization

4.7.1 Uncertain energy prices

We illustrate here the introduction of robustness in ETEM-SG when energy prices are uncertain. We assume that prices of oil-based energies (gazoline/diesel for transportation and fuel oil for heating) have a 50 % variability while prices of coal, gas and electricity have a lower variability of 20 %. We apply robust optimization as described in Section 2.3 on the smart scenario, i.e., CMIT PDC&O . We first observe that the changes compared to the deterministic results presented in the previous section are not negligible but somehow limited. The reason is that the CMIT scenarios are already very constrained by the emissions limit, so the model has no much latitude to adapt the energy system and the technology portfolio to uncertain energy prices. Despite this, we observe an interesting behavior:

  • First, as expected, the highest uncertainty being associated with oil-based energies, the main impact of robustness is to be observed on the transportation sector, in particular with a strongest penetration of EVs. In 2050 the share of EVs increases by 20 % compared to the deterministic scenario.

  • The second effect concerns the electricity sector whose production is directly impacted by uncertain prices. We notice an increase of electricity consumption of 1 PJ in 2050 combined with a significant growth of wind and solar generation. In 2050, 2 PJ (i.e., 7 % of total production) are additionally produced augmenting the share of VRE generation to around 63 %. The increase of renewable generation is mainly used by EVs.

  • A third non-expected consequence is the substitution of 50 % of gas furnaces by oil ones in the appartement heating sector. First, the highest VRE generation gives more room to fossil energies in the satisfaction of the emissions constraint. In that context, the model favours technology diversification to reduce the risk related to uncertainty.

  • Finally, and more generally, in this analysis, as well as in the previous studies, one may observe a diversification effect, which reduces the risk related to uncertainty.

4.7.2 Uncertain availability factors

Robust optimization approach can be used to deal with uncertainty concerning the availability of existing and new technologies. This has already been demonstrated in a TIMES model for Europe dealing with energy supply security [4] and in the ETEM-AR modelFootnote 5 in which the uncertainty concerns the availability of electric cars [1]. We reproduce below the simulation results of [1] on the transportation sector, which show the diversification effect of applying robust optimization (Fig. 12).

Fig. 12
figure 12

Example of diversification effect of robust optimization on the transportation sector (Source [1])

Note that a similar effect would be observed for the Arc Lémanique region but it is not discussed in this paper for the sake of brevity.

5 Conclusion

In this paper, we have described a complete regional energy model, ETEM-SG, which contains a new module devoted to the description of power distribution options and constraints. The model has been tested on a case study corresponding, in big strokes, to the “Léman region” in Switzerland. Computationally, it demonstrates that the approximation of a non-linear power distribution model by a linear one is efficient. The proposed iterative approach converges very rapidly to a fixed-point.

The experiment also shows that ETEM-SG captures the substantial help provided by DERs for a strong penetration of renewables. The interpretation of the three scenarios that have been simulated shows that:

  • We first demonstrate that it is essential to handle power distribution constraints in such long-term analysis to produce realistic energy systems that are compatible with network stability requirements. We propose here a global approach that includes reactive power compensation, system secondary requirements, power distribution losses, etc, while classical approaches introduce some arbitrary constraints limiting artificially the proportion of VRE generation.

  • The consideration of power distribution options and constraints does bring significative changes in technology choices, in the space heating and transport sectors. In general the electricity consumption and local production are reduced, when power distribution losses and costs are better represented.

  • In the context of stringent emissions reduction policies, EVs with their batteries as well as flexible loads play a key role in the penetration of electricity-based technologies and intermittent productions. They facilitate the supply/demand balance for electricity by smoothing production and consumption. They also help significantly to the stability of the power distribution systems with their contribution to reactive power compensation and reserve requirements.

  • Including robustification on energy prices in the design of scenarios amplifies the VRE penetration and leads to higher diversification in the technology portfolio. The proposed approach can handle in a same modelling exercise a large set of uncertainty sources (e.g., import prices, technology costs, technology efficiency and availability, etc) without increasing dramatically CPU time.

ETEM-SG can still be extended to include more constraints related to the distribution grid, in particular those related to primary (fast) reserve, that can be provided by battery packs, supercapacitors, or flywheels, etc. ETEM-SG is also currently extended to include power transmission constraints for interconnected regional power systems.