Next Article in Journal
MTI-YOLO: A Light-Weight and Real-Time Deep Neural Network for Insulator Detection in Complex Aerial Images
Next Article in Special Issue
Economic Feasibility of Photovoltaic Micro-Installations Connected to the Brazilian Distribution Grid in Light of Proposed Changes to Regulations
Previous Article in Journal
Hybrid Output Voltage Modulation (PWM-FSHE) for a Modular Battery System Based on a Cascaded H-Bridge Inverter for Electric Vehicles Reducing Drivetrain Losses and Current Ripple
Previous Article in Special Issue
Combined Framework with Heuristic Programming and Rule-Based Strategies for Scheduling and Real Time Operation in Electric Vehicle Charging Stations
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Open Source Modelling and Simulation of the Nordic Hydro Power System †

School of Electrical Engineering and Computer Science, KTH-Royal Institute of Technology, 100 44 Stockholm, Sweden
*
Author to whom correspondence should be addressed.
This paper is an extended version of our paper published in Proceedings of the 2020 55th International Universities Power Engineering Conference (UPEC), Turin, Italy, 1–4 September 2020; pp. 1–6.
Energies 2021, 14(5), 1425; https://doi.org/10.3390/en14051425
Submission received: 1 February 2021 / Revised: 18 February 2021 / Accepted: 23 February 2021 / Published: 5 March 2021

Abstract

:
In this paper, we present the results from the development and the simulation of a hydro power model for Sweden and Norway, using SpineOpt software and openly available data. We employ (i) hydrological and market data from the Nordic region and (ii) the abstract representation of the multi-vector modelling and simulation engine SpineOpt, to compile an open-source model of a large portion of the hydro power plants of the Nordic region, for conducting realistic hydro power generation studies. We place the hydro power system operation within the structuring of the Nordic electricity market and study the effect that different objectives have on the operational results. By employing the SpineOpt functionalities for automating the transformation of the temporal resolution of the model, we explore the trade-of between its computational burden and accuracy.

1. Introduction

The ambitious targets set by the EU by 2050, as a way to combat the devastating impacts of climate change comprise amongst others, a substantial rise in the share of renewable energy in the production mix, with electricity being half as much of it [1]. The variable nature of the intermittent Renewable Energy Sources (RES), on the other hand, calls for increased balancing and storage capabilities. Besides the various smart grid-based solutions, hydro power can play a salient role in this problem. Specifically in the Nordic region, the large hydro reservoirs and hydro power production facilities can contribute significantly in balancing the variable renewable production in Continental Europe and UK with very short up and down regulation time frames and low costs [2].
Therefore, the need to realistically model and simulate the coordinated operation of complex hydro power systems is evident. The task, however, of calculating the optimal water discharge of large hydrologically-coupled hydro power systems comes with a labyrinthine complexity. The challenges typically derive from the requirement to realistically model the reservoir capacities, the water delay times for a system of hydro power plants across a river, the stochasticity of water inflows (usually expressed in terms of seasonality and variability), the nonlinearity of the electricity production curves for different types of production units, the environmental restrictions, etc. The impact of climate change and global warming on the water cycle poses another important challenge that needs to be assessed as well [3], especially apropos of the long-term planning of the future electricity system.

1.1. Literature Review

Depending on the scope of the study, i.e., the time horizon for calculating the optimal power generation schedules, different modelling and solution approaches can be used, departing from different sets of assumptions. For the Short-Term Hydro Scheduling (STHS) problem, i.e., the calculation of the optimal power generation schedules during a time horizon from a single day to one (or even two) week(s), many different approaches have been studied, differing in the problem formulation itself (e.g., maximising the total revenue, minimising the total operational cost, minimising the value of energy used or spilled, etc.), as well as the solution methodology [4]. The majority of the optimisation methods used for the STHS problem are exact mathematical programming-based solutions that exploit the analytical form of the problem, albeit nonlinear and dynamic programming, as well as heuristics-based techniques being also particularly practical [5].
Although not being within the main focus of this work, for completeness, we can briefly refer to an important literature class that targets the reduction of the complexity of hydro power models. A first category focuses on simplifying the full model by reducing the problem’s dimensionality, like in [6], where a composite representation of the hydro power system achieves the aggregation of the reservoirs. In [7,8], the authors formulated optimisation programs which aimed at fitting the parameters of an equivalent hydro power system of a reduced size to the initial model, by minimising the error between them, for a given set of inputs. Alternative reduction approaches use heuristics for exploring the solution space like in [9], where a modified Dynamic Programming scheme is adopted, in order to achieve a reduction in the computational complexity of the optimization program, while, in [10], a Genetic Algorithm-based application is employed, but the authors acknowledge that conventional search techniques may reach an efficient solution in a shorter computation time.
Another important part in hydro power modelling literature is the specialised modelling software, or high-level modelling language that has been used for the simulation of hydro power systems. In [11], an object oriented hydro power simulation tool is implemented for the EcosimPro simulation tool, but the authors focus mostly on small run-of-river hydropower plants. A generalised model of the hydro turbine and the synchronous generator is implemented for MATLAB / Simulink software in [12], where the emphasis is given on simulating individual hydro power plants.
The different software implementations encountered are followed by different capabilities together with limitations. A matter of crucial importance especially for academia is not only the model to be openly available for review and adaptation from the end-user (i.e., open-source), but also the environment into which the model is implemented (if that is the case) to be open-source as well. Such an example is the Balmorel generic energy system model that is in fact open-source [13] and has been used for hydro power modelling, but still relies on the General Algebraic Modeling System (GAMS) software that is not. The EFI’s Multi-area Power-market Simulator—(EMPS), on the other hand, is an integrated software package that represents hydro power models as a main functionality [14] but is not open-source as well. Similar solutions for hydro power modelling are detailed and compared in [15].

1.2. Contributions and Organisation

Nevertheless, in order to advance the detailed modelling and simulation of hydro power systems and make the results available for a broader use and audience, there are great benefits of using fully open-source models and software. Starting from the generic SpineOpt software, which does not rely on any other commercial/proprietary software (e.g., GAMS or Cplex), we showcase how to build a highly specific and complicated case study, without the requirement for actual coding. Building on our previous work [16] that studied the market-based hourly operation of coupled hydro power plants of a single river in Sweden (Skellefteälven), we:
  • compile a hydro power model of 620 hydro power plants (making up 96.54% and 92.1% of the installed capacity of Sweden and Norway, respectively) by gathering up heterogeneous data from various sources, into a single openly available integrated model [17]. The model can be used in a large variety of power system studies (e.g., transmission and generation expansion planning studies, etc.);
  • introduce a multi-area implementation by grouping the hydro power plants in their market regions and also modelling aggregated conventional and wind generation units, and demand for each area, taking into account the inter-area exchanges;
  • demonstrate how different objectives for the hydro power generation schedule, such as the minimisation of spilled water, affect the results. We claim that it is not required to reprogram the model, but only change the data in order to implement a different optimization problem;
  • perform a sensitivity analysis for reducing the time resolution of the simulation, investigating how it influences the accuracy and the computational time of the simulations.
The rest of the paper is organised as follows; in Section 2, the SpineOpt software and its modelling conventions and capabilities are introduced, Section 3 presents the mathematical formulation of the developed model, the data gathering process that was followed and the overall implementation of the model in SpineOpt. The results are given in Section 4 and conclusions are provided in the end.

2. Modelling with SpineOpt

2.1. SpineOpt and Spine Toolbox

SpineOpt is an open-source generic energy modelling software developed in Spine Project [18]. Together with Spine Toolbox [19], it functions as a generic model generator and simulator and is designed to accommodate multi-vector energy systems (Figure 1a). The Spine data structure, in combination with the data importing and exporting tools, define and construct, respectively, the abstract flow-based multi-commodity energy models for SpineOpt. Software and user interfaces integrate various functionalities and facilitate the model construction and validation by the end-user (Figure 1b).

2.2. The SpineOpt Building Blocks

The SpineOpt data structure is based on a generic Entity–Attribute–Value scheme, using classes and relationships. The abstract classes and the relationships between them enable the formulation of a multi-commodity, flow-based model of an energy system, in an object-oriented manner. The main abstract classes are described below [20]:
  • Node: a point in space where energy from a certain vector gets balanced.
  • Unit: a device, installed between two nodes, capable of converting energy from one vector to another.
  • Connection: a device, also installed between two nodes, capable of transferring energy within the same vector, or enabling the flow of a commodity.
  • Commodity: a type of energy flow, uniquely associated with an energy vector.
  • Temporal block: a period of time with a specific time resolution.
For compiling a model, the modeller employs the various abstract building blocks and defines the required relationships between them, according to the topology of the system and the coupling constraints between the nodal and flow variables. This is handled by the user interface of Spine toolbox using drag-and-drop functionality. Depending on the specific needs of the system to be modelled, various parameters (predefined or even custom) can be specified for capturing the physics of the flow of each commodity and the transformations between them.
A very important functionality of SpineOpt is the automated manipulation of the temporal resolution of the energy models. In practice, when data of different time resolution are available, these can be integrated into a single model by either reducing, or increasing the time resolution where necessary. This functionality also allows the user to reduce the resolution of the whole model in order to simplify the computational complexity of the optimisation problem, when that is required.

3. Hydro Power Modelling

3.1. The Hydro Power System in Sweden and Norway

Sweden and Norway rely heavily on hydro power for their electricity generation. Approximately a third of all the hydro power produced in Europe is produced in Sweden and Norway. In Sweden, the installed capacity of hydro power reaches 16,200 MW from the about 2000 hydro power plants available, procuring almost half of the electricity consumed in the country. Most of this energy, around 80%, is produced in the northern parts of Sweden. In Sweden, around 68 TWh hydro power is produced every year [21].
In Norway, over 90% of the produced energy is hydro power. There are over 1600 hydro power plants and more than 1000 hydro power storage reservoirs. With a total reservoir capacity of more than 86.5 TWh, the reservoirs can store up to 70% of the annual electricity consumption in Norway. With a yearly production of 135.6 TWh on average, Norway produces almost twice as much hydro power compared to Sweden. The installed capacity of hydro power in Norway is more than twice as large as in Sweden, with 32,671 MW, by January 2020 [21].

3.2. Problem Formulation

In order to use the available water in the most efficient way, the operation of the hydro power plants which are located in the same river system should be coordinated. For achieving that, the power plants should operate at the optimal efficiency, while taking into account the water flow delays from one station to the next across the river, the volume of water that can be stored in the reservoir of each station and avoiding situations where spillage is necessary [22]. For the purpose of this case study, which is to showcase the coordinated operation of the hydro power system of Sweden and Norway, we formulate the optimisation objective as the minimisation of the total power imbalances within each area. This way, we aim at balancing the hydro power that is produced within each market area with its variable wind power and demand. The first term in the objective function (Equation (1a)) expresses this goal, while the second penalises the water that is spilled ( S i , t ):
min t T ρ i m b a A P a , t + + P a , t + ρ s p i l l i I S i , t
subject to : P a , t + P a , t = P a , t + P a , t G + P a , t W + b N a E a , t b E b , t a D a , t
0 P a , t + , P a , t
P a , t = i I a j J i μ i , j Q i , j , t
0 E a , t b E a , t b ¯ a A , b N a , t T
M i , t = M i , t 1 + V i , t Q i , t S i , t + k S i Q Q i , t k + k S i S S i , t k
Q i , t = j J i Q i , j , t
Q i , t k = Q k , t τ k q if t > τ k q Q k a v g otherwise
S i , t k = S k , t τ k s if t > τ k s 0 otherwise
Q i , j ̲ Q i , j , t Q i , j ¯
M i ̲ M i , t M i ¯
S i ̲ S i , t S i ¯ i I , j J i , t T
The constraint in Equation (1b) expresses the power imbalances of each area and for each time-step as a function of the thermal, wind and hydro production, the demand and the power exchanged between the areas (using non-negative auxiliary variables, Equation (1c)). In Equation (1d), the water discharge from each power plant is converted to power, taking into account a variable efficiency. We model these power conversion curves of each power plant following a piecewise-linear approximation methodology, and, depending on the available data, we employ one or several line segments. The conversion ratios (the slopes of the line segments) are decreasing for higher discharges, thus avoiding a mixed-integer formulation [7]. The capacity of each area interconnection is constrained in Equation (1e).
In order to consider the hydrological coupling between the power plants, the reservoir content at time t should be equal to the reservoir content at time t 1 , adding inflows and subtracting outflows. This is imposed in Equation (1f), that is the so-called hydrological balance equation. Equation (1g) expresses the total water discharge of each power plant for the different line efficiency segments, while Equations (1h) and Equation (1i) emulate the water flow delays of the discharge and spilled water, respectively, initialising the said variables at the first time steps of the optimisation window to some fixed, predefined values—when that is required. The constraints in Equations (1j)–(1l) enforce the technical limits for the discharge assuming different efficiency line segments, the reservoir levels and the permissible limits for the spillage.
Assuming a constant time delay for each plant, independent of the discharge, the quantity τ i q can be expressed in hours ( h i q ) and minutes ( m i q ) . Equation (2) provides the delayed upstream flow as the weighted average of the discharge between the hours h j and h j + 1 . A similar expression is used to express the spillage delays. It should be stressed that the formulation of the optimization as it has been presented above is generic with regard to the time dimension, i.e., t does not necessarily denote hours or any other specific time interval; instead, it permits the modelling of the problem in the time intervals that are dictated from the input data time series:
Q i , t τ i q = m i q 60 Q i , t h i q + 60 m i q 60 Q i , t h i q 1

3.3. Data Gathering and Preprocessing

In order to model the hydro power system using the formulation of Section 3.2, the following parameters are required for each power plant:
  • The installed capacity.
  • The production equivalent.
  • The maximum reservoir volume.
  • The reservoir volume at the start and end of the simulated week.
  • The water flow at the start of the simulation.
  • The local inflow of water.
  • The topology, i.e., the downstream power plant, for both discharge and spillage.
  • The flow delay to downstream power plant, for both discharge and spillage.
For the Swedish hydro power system, the data were mostly derived from [23], while, for the Norwegian system, data were mined from [24]. In addition, for both countries, a lot of relevant information was taken from [25]. Due to the large number of hydro power plants in Norway, not all were in fact included in the model, but only those with installed capacity of more than 10 MW. This resulted in the inclusion of 363 hydro power plants with a total installed capacity of 30,093.18 MW, which constitutes the 92.1% of the total installed capacity in Norway, and a total average yearly production of 125.64 TWh, which is the 95.5% of the total average yearly production in Norway. Most of the data used were from the year 2019. In Figure 2a, the hydro power plants of the model are shown on a map using Geographic Information System - (GIS) data, while, for Norway, an additional number of around 250 hydro power plants are also included for illustration purposes, with installed capacities ⩽10 MW.
The reservoir volumes were retrieved from the sources mentioned above and assigned to the power plants that they feed. Where required, the units for the maximum volumes were converted to Hour Equivalents (HE-which represent a water flow of 1 m 3 /s during 1 h). For the hydro power plants that had more than one reservoir, their reservoirs were approximated with a single larger reservoir.
The water flow of each river was approximated by taking the average energy production ( P a v g ) in GWh per year and the production equivalent μ , in kWh/m 3 , or GWh/Mm 3 , converting them afterwards in m 3 /s.
For estimating the flow delays, the following methodology was employed. By measuring distances along the rivers on maps, and assuming that the water flows approximately at a speed of 4–5 m/s, the flow delays were estimated. This was done both for the discharged and the spilled water, in the cases that different routes existed for them. If the spillage route was not able to be determined, the spillage flow delay was set the same as the discharge flow delay.
The historical data for the hourly electricity demand, for each market area, along with the conventional and wind generation, and the capacities in the area interconnectors were taken from Svenska Kraftnät [26] and Nord Pool [27]. The historical hydro production data were also taken from the same sources. The market areas of Sweden and Norway are shown in Figure 2b. The simulation window of the model spanned from 11 February 2019 to 18 February 2019. In Table 1, the parameters of several power plants of a specific river of Sweden (the Skellefte river) are shown.

3.4. Compiling the Hydro Power System in SpineOpt

The model is assembled in SpineOpt by using the node, connection, unit and relationship classes, presented in Section 2.2. For each market area of Sweden and Norway, a single electricity node is defined, while, for the interconnections between neighbouring areas, units are defined modelling the power exchanges between them. It should be noted that, since the units’ flows can only take positive values in SpineOpt, two sets of units are used in the actual model. A graphical representation of the electricity nodes and exchanges is shown in Figure 3, where for reasons of clarity, only one unit per interconnection is presented. Each unit is associated with two nodes, enabling the transfer of electricity from the one to the other. The capacity of each unit is taken from historical data as mentioned above. The demand time series for each electricity area is defined as a parameter of the corresponding node.
Next, each hydro power plant is modelled and assigned to an electricity node. This process is more elaborate and a graphical example is shown in Figure 4 for the Yngeredsfors power plant. The said plant succeeds the Bällforsen and precedes the Ätrafors power plants, respectively, across the river Ätran in southern Sweden. All three power plants belong to the same electricity area, SE4. A node imposes the balance of a certain commodity flowing in and out of it; hence, for each modelled power plant, one node can be used to represent the hydrological balance constraints, Equation (1f), while a unit can represent the actual power plant, with the set conversion rates ( μ i , j ), from water to electricity. In a higher detail, for each power plant, the following SpineOpt building blocks are used:
  • two nodes are introduced for modelling the discharged and spilled water, an “upper” node and a “lower” node. One of them models M i , as its state variable (Yngeredsfors_upper in Figure 4),
  • relationships are used to define the topology and the coupling of the decision variables,
  • one unit is introduced for modelling P i , t . For each unit between a set of nodes, three types of relationships are required, a set of relationships between each node and the unit that defines the topology, and a relationship coupling simultaneously all three entities that acts as a placeholder for the conversion ratio parameter(Yngeredsfors_pwr_plant in Figure 4),
  • another unit is introduced for including the water spillage minimization term in the objective function (Yngeredsfors_to_Ätrafors_node in Figure 4),
  • two connections with the downstream power plant represent Q i , t and S i , t , (Yngeredsfors_to_Ätrafors_disch and Yngeredsfors_to_Ätrafors_spill, shown in Figure 4, model the discharge and spillage, respectively).
Following the above procedure, it is possible to emulate the diffluence of the two water flows—one corresponding to the water that is being spilled and hence not used for the electricity production, and the other one corresponding to the water that is being discharged for producing electricity. The connections are used for modelling the water flows between successive power plants. For each power plant, there are at least two upstream and two downstream connections: one for spillage, connecting the upper node of a hydro power plant with the upper node of the next downstream power plant (i.e., water that is spilled and becomes available to the next plant), and the other one for the discharge, connecting the lower node of a plant with the upper node of the next plant (i.e., water that is used for electricity and can also be used by the next plant).
The decision variables of the model are specified from the defined nodes (e.g., the node state), units related to nodes (e.g., the flow between the unit and the node) and connections related to nodes (e.g., the flow between the connection and the node). It should be stressed that the links (relationships) in Figure 4 do not correspond to the actual water flows but rather define the coupling of the decision variables. By using these objects and relationships, it is possible to specify parameters that form the constraints, (such as the technical limits, the flow delays, etc.). In addition, note that the “upper” and “lower” nodes of each power plant do not correspond to the level difference, but, combined with the respective unit, constitute one way for modelling the hydro balance equation. The electricity production takes place between the “upper” node, the unit, and the electricity node only. The electricity node of each area aggregates the electricity production of all power plants of this area. The temporal block, as well as the commodity block, are associated with each node (but not all the relationships of the developed model are depicted in Figure 4 for simplicity). The former defines the temporal structure of the variables it is associated with, while the latter, the type of the commodity that each associated node balances.

4. Simulations and Results

Short-Term Scheduling of the Hydro Power System of Sweden and Norway

In this section, various results from the simulated system are presented, along with an overview of some input data. In Figure 5a, the historical total wind production time series for each market area of Sweden and in Figure 5b the demand for two areas of Norway, as they are included into the model, are shown.
In Figure 6, selected results are given, from a specific river in Northern Sweden, the Lule river. From the 10 hydro power plants currently in operation, the scheduling results of two stations are presented, (the Vittjarv station in Figure 6a, the Ligga station in Figure 6b, while the total hydro power production of all the power plants of the river is shown in Figure 6c. Figure 7 presents the scheduling of two Norwegian hydro power plants of the model, the Vinje station, located in the market area NO2 (Figure 7a) and the Kobbelv station, located in the market area NO4 (Figure 7b).
In the next figures (Figure 8, Figure 9, Figure 10 and Figure 11), the total hydro production of specific areas is presented, while the total system production is shown in Figure 12. In order to demonstrate the capability of SpineOpt in reducing the temporal resolution of the model and evaluate it in qualitative manner, we superimpose the results from simulating the model with different temporal resolutions on the same figure. The results are obtained by gradually reducing the temporal resolution of the whole model (and therefore its computational complexity) from the hourly up to a daily resolution.

5. Discussion

From the previous figures, it can be easily observed that the results from simulating the model with different temporal resolutions present, as expected, a gradually decreasing similarity. From a visual inspection, the results of the simulated model with a 2-h and a 4-h resolution are outstandingly similar to the results from the hourly resolution model. This observation corroborates the great flexibility that the SpineOpt generated model, together with the generic formulation of the coordinated hydro power scheduling problem (presented in Section 3.2), have to offer to the modeller. The modeller is able to choose the level of detail (and hence the complexity) that is of interest to study, according to the requirements of the specific case.
In Figure 13, the results from the total hydro power production for both Sweden and Norway are obtained and compared with historical hydro power production. The two curves deviate for a number of reasons such as the different objectives of the actual hydro power plants (i.e., usually, they aim at maximising their profits by participating in the electricity market); the exchanges with other neighbouring countries area not considered in this model, there are some hydro power plants missing and possibly modelling errors could be attributed to the various approximations that were performed.
Figure 14 investigates the effect that different objectives have on the results of the simulated model. The three different simulations were conducted by adjusting the objective (Equation (1a)), firstly keeping only the first summation term that penalises the imbalances, then, keeping also the second term which penalises the spillages and, lastly, introducing another penalty term for minimising the power exchanged between the modelled market areas. It is interesting to observe that the first and the third choices present a better similarity with the historical data for the hydro production. Another interesting insight from the results is that the first and third options for the objective increased the total imbalances of the model, which were reduced to zero in the second case. Another desirable outcome of the second modelling choice is the provision of a smoother solution time series. In general, we can argue that the selection of the penalty values for the different objective terms, as well as the form of the objective function, should be set according to the needs of the specific study that uses the developed hydro power model.

Assessing the Computational Complexity and the Validity of the Model for Reduced Temporal Resolutions

While the simulation of the full model for one week takes approximately less than 30 min on a contemporary laptop computer (with a 2.4 GHz 8-Core CPU and 32 GB of RAM), as shown in Figure 15, reducing the temporal resolution of the model decreases both the time and the memory allocations significantly. This is due to the fact that, for example, an optimisation model with a 2-h resolution requires half the amount of variables and constraints than the same model with an hourly time resolution.
For being able to provide some practical validation of how the error of the simulated model is affected by the different temporal resolutions, we perform an exact comparison of the various obtained results, since merely comparing the objective values (shown in Figure 15c) does not provide a great insight. In Table 2, two numerical metrics are calculated for the comparison of the results from simulations with different temporal resolutions (considering the total hydro power production of the model, shown in Figure 12). These are the mean relative error and the Root Mean Squared Error-RMSE, which are evaluated for each pair of the reference results (the hourly resolution curve) and the lower resolution curve.
Since the calculation of the above metrics for time series with varying temporal resolutions is not straightforward, we need to perform upsampling of each curve to an hourly resolution. We do that using linear interpolation for the missing values. Then, we calculate the mean relative error and the RMSE between the comparable time series. Even though the objective value error (shown in Figure 15c) exceeds the value of 40% for the simulations with 12 and 24 h resolutions, the mean error is maintained significantly lower (less than 8%), which is a promising result. Furthermore, the visual observation that the 2 h and 4 h resolution results are very similar is graciously confirmed, since the calculated error metrics are maintained at acceptable levels.

6. Conclusions

We have presented the development and simulation of an open-source hydro power model for Sweden and Norway, using SpineOpt software and openly available data. The model includes 257 hydro power plants of Sweden and 363 of Norway, making up 96.54% and 92.1% of their installed capacity, respectively. The hydro power stations are assigned to the market areas they belong to, but the results can also be filtered by specific rivers. Historical data have been used for the conventional and wind generation as well as for the demand of each area. Different objectives for the hydro power generation schedule were evaluated, showing that these should be chosen depending on the needs of the case under study, while the minimisation of the imbalances (as those are defined in this paper) seemed to mimic the historical data more closely. The trade-off between the computational burden and the accuracy of the developed was assessed, in terms of reducing its temporal resolution and hence the size of the optimisation problem. For future work, the missing hydro power stations can possibly be included in the model and the exchanges with other countries can also be introduced. An alternative formulation for the objective function that maximises the income of the hydro power stations as a way to produce results that match the historical data more closely can be examined, along with penalties for achieving smoother solutions.

Author Contributions

Conceptualization, I.K.-L., M.M., M.A. and L.S.; Data curation, I.K.-L. and A.W.; Formal analysis, I.K.-L., A.W. and M.M.; Funding acquisition, M.A. and L.S.; Investigation, I.K.-L., A.W. and M.M.; Methodology, A.W., M.M., M.A. and L.S.; Project administration, M.A. and L.S.; Resources, M.A. and L.S.; Software, I.K.-L. and M.M.; Supervision, M.M., M.A. and L.S.; Validation, I.K.-L., A.W. and M.M.; Writing—original draft, I.K.-L.; Writing—review & editing, M.M., M.A. and L.S. All authors have read and agreed to the published version of the manuscript.

Funding

This research has received funding from the European Union’s Horizon 2020 research and innovation programme under Grant No. 774629.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Data available in a publicly accessible repository that does not issue DOIs. The data can be found here: https://github.com/Spine-project/nordic-hydro.

Conflicts of Interest

The authors declare no conflict of interest.

Nomenclature

Parameters
E a , t b ¯ Maximum power exchange to the market area a, from the neighbouring area b at time t.
M i ¯ Maximum capacity of reservoir i.
Q i , j ¯ Maximum water discharge for power plant i and line segment j.
S i ¯ Maximum water spillage of power plant i.
ρ i m b Penalty for the imbalances caused by the power plant discharges for each market area.
ρ s p i l l Penalty for the spillage of each power plant.
τ i q Time delay for the discharged water of power plant i to reach the downstream power plant.
τ i s Time delay for the spilled water of power plant i to reach the downstream power plant.
M i ̲ Minimum capacity of reservoir i.
Q i , j ̲ Minimum water discharge for power plant i and line segment j.
S i ̲ Minimum water spillage of power plant i.
D a , t Total demand for area a and time t.
P a , t G Total conventional generation for area a and time t.
P a , t W Total wind power generation for area a and time t.
Q i a v g Yearly average inflow of water to each reservoir per hour.
V i , t Water inflow for reservoir i and time t.
Indices and Sets
A Set of the market areas.
I Set of reservoirs and hydro power plants.
I a Set of reservoirs and hydro power plants grouped in market areas.
J i Set of line segments of the water discharge functions for the hydro power plant i.
N a Set containing the neighbouring market areas of area a.
S i Q Set of upstream stations for station i (discharge).
S i S Set of upstream stations for station i (spillage).
T Set of the time steps.
Variables
μ i , j Marginal production equivalent for power plant i and line segment j.
E a , t b Positive power exchange to the market area a, from the neighbouring area b, at time t.
M i , t Water content of reservoir i at the end of hour t.
P a , t + Total positive power imbalance for area a and time t.
P a , t Total negative power imbalance for area a and time t.
P a , t Total power production for area a and time t.
Q i , j , t Water discharge for power plant i, line segment j and time t.
Q i , t Total water discharge for power plant i and time t.
Q i , t k Water discharge reaching power plant i from power plant k at time t.
S i , t Water spillage of power plant i and time t.
S i , t k Water spillage reaching power plant i from power plant k at time t.

References

  1. EU Energy Roadmap 2050. 2012. Available online: https://ec.europa.eu/energy/sites/ener/files/documents/2012_energy_roadmap_2050_en_0.pdf (accessed on 20 January 2021).
  2. Graabak, I.; Korpås, M. Balancing of variable wind and solar production in Continental Europe with Nordic hydropower—A review of simulation studies. Energy Procedia 2016, 87, 91–99. [Google Scholar] [CrossRef] [Green Version]
  3. Gaudard, L.; Romerio, F.; Dalla Valle, F.; Gorret, R.; Maran, S.; Ravazzani, G.; Stoffel, M.; Volonterio, M. Climate change impacts on hydropower in the Swiss and Italian Alps. Sci. Total. Environ. 2014, 493, 1211–1221. [Google Scholar] [CrossRef] [PubMed]
  4. Kong, J.; Skjelbred, H.I.; Fosso, O.B. An overview on formulations and optimization methods for the unit-based short-term hydro scheduling problem. Electr. Power Syst. Res. 2020, 178, 106027. [Google Scholar] [CrossRef]
  5. Farhat, I.; El-Hawary, M. Optimization methods applied for solving the short-term hydrothermal coordination problem. Electr. Power Syst. Res. 2009, 79, 1308–1320. [Google Scholar] [CrossRef]
  6. Da Cruz, G.; Soares, S. Non-uniform composite representation hydroelectric systems for long-term hydrothermal scheduling. IEEE Trans. Power Syst. 1996, 11, 702–707. [Google Scholar] [CrossRef]
  7. Shayesteh, E.; Amelin, M.; Söder, L. Multi-Station Equivalents for Short-Term Hydropower Scheduling. IEEE Trans. Power Syst. 2016, 31, 4616–4625. [Google Scholar] [CrossRef]
  8. Risberg, D.; Söder, L. Hydro power equivalents of complex river systems. In Proceedings of the 2017 IEEE Manchester PowerTech, Manchester, UK, 18–22 June 2017; pp. 1–6. [Google Scholar]
  9. Feng, Z.; Niu, W.; Cheng, C.; Wu, X. Optimization of hydropower system operation by uniform dynamic programming for dimensionality reduction. Energy 2017, 134, 718–730. [Google Scholar] [CrossRef]
  10. Leite, P.T.; Carneiro, A.A.F.M.; Carvalho, A.C.P.L.F. Energetic operation planning using genetic algorithms. IEEE Trans. Power Syst. 2002, 17, 173–179. [Google Scholar] [CrossRef]
  11. Garrido, J.; Zafra, Á.; Vázquez, F. Object oriented modelling and simulation of hydropower plants with run-of-river scheme: A new simulation tool. Simul. Model. Pract. Theory 2009, 17, 1748–1767. [Google Scholar] [CrossRef]
  12. Sattouf, M. Simulation model of hydro power plant using matlab/simulink. Int. J. Eng. Res. Appl. 2014, 4, 295–301. [Google Scholar]
  13. Wiese, F.; Bramstoft, R.; Koduvere, H.; Pizarro Alonso, A.; Balyk, O.; Kirkerud, J.G.; Tveten, Å.G.; Bolkesjø, T.F.; Münster, M.; Ravn, H. Balmorel open source energy system model. Energy Strategy Rev. 2018, 20, 26–34. [Google Scholar] [CrossRef]
  14. Brenes Brenes, R. Hydropower Modelling of Continental Europe Using EMPS. Master’s Thesis, KTH, Stockholm, Sweden, 2019. Available online: http://www.diva-portal.se/smash/get/diva2:1359928/FULLTEXT01.pdf (accessed on 20 January 2021).
  15. Blom, E. Including Hydropower in Large Scale Power System Models. Technical Report, KTH. 2019. Available online: http://kth.diva-portal.org/smash/record.jsf?pid=diva2%3A1320598&dswid=3855 (accessed on 20 January 2021).
  16. Kouveliotis-Lysikatos, I.; Marin, M.; Amelin, M.; Söder, L. Exploring Multitemporal Hydro Power Models of the Nordic Power System using Spine Toolbox. In Proceedings of the 2020 55th International Universities Power Engineering Conference (UPEC), Turin, Italy, 1–4 September 2020; pp. 1–6. [Google Scholar]
  17. Nordic Hydro Model. A SpineOpt model of the Nordic Hydropower system, including Sweden and Norway. Available online: https://github.com/Spine-project/nordic-hydro (accessed on 3 March 2021).
  18. Spine. The Spine Project Public Repository. Available online: https://github.com/Spine-project (accessed on 3 March 2021).
  19. Marin, M.; Rinne, E.; Vennström, P.; Soininen, A.; Savolainen, P. Spine Toolbox User Guide. 2005. Available online: https://spine-toolbox.readthedocs.io (accessed on 20 January 2021).
  20. Kouveliotis-Lysikatos, I.; Marin, M.; Olason, J.; Amelin, M.; Söder, L. A Network Aggregation Tool for the Energy System Modelling Framework Spine. In Proceedings of the 2020 International Conference on Smart Energy Systems and Technologies (SEST), Istanbul, Turkey, 7–9 September 2020; pp. 1–6. [Google Scholar]
  21. Waernlund, A. Modelling the Nordic Hydro Power System with Spine Toolbox. Master’s Thesis, KTH, Stockholm, Sweden, 2021. [Google Scholar]
  22. Söder, L.; Amelin, M. Efficient Operation and Planning of Power Systems. 2011. QC 20111219. Course Compendium. Available online: http://kth.diva-portal.org/smash/record.jsf?pid=diva2%3A467471&dswid=-9693 (accessed on 20 January 2021).
  23. Obel, F. Balansering av en storskalig vindkraftsutbyggnad i Sverige med hjälp av den svenska vattenkraften. Master’s Thesis, KTH, Stockholm, Sweden, 2012. Available online: https://www.diva-portal.org/smash/get/diva2:538474/fulltext01.pdf (accessed on 20 January 2021).
  24. Vannkraft, The Norwegian Water Resources and Energy Directorate (NVE). Available online: https://www.nve.no/energiforsyning/kraftproduksjon/vannkraft/ (accessed on 20 January 2021).
  25. Vattenkraft.info-Info om Svensk Vattenkraft. Available online: https://vattenkraft.info/ (accessed on 20 January 2021).
  26. Svenska Kraftnät. Kraftsystemdata. Available online: https://www.svk.se/aktorsportalen/elmarknad/kraftsystemdata (accessed on 20 January 2021).
  27. Nordpool. Market Data. Available online: https://www.nordpoolgroup.com/Market-data1 (accessed on 20 January 2021).
Figure 1. SpineOpt and Spine Toolbox, (a) SpineOpt conceptual diagram; (b) screenshot of Spine Toolbox.
Figure 1. SpineOpt and Spine Toolbox, (a) SpineOpt conceptual diagram; (b) screenshot of Spine Toolbox.
Energies 14 01425 g001
Figure 2. Hydro power plants (a) and market areas (b) of Sweden and Norway.
Figure 2. Hydro power plants (a) and market areas (b) of Sweden and Norway.
Energies 14 01425 g002
Figure 3. Electricity nodes and exchanges between them, modelled in SpineOpt.
Figure 3. Electricity nodes and exchanges between them, modelled in SpineOpt.
Energies 14 01425 g003
Figure 4. The Yngeredsfors power plant as it is modelled in SpineOpt and directly associated components.
Figure 4. The Yngeredsfors power plant as it is modelled in SpineOpt and directly associated components.
Energies 14 01425 g004
Figure 5. Historical wind production for each area of Sweden (a) and demand time series for two areas of the model (b).
Figure 5. Historical wind production for each area of Sweden (a) and demand time series for two areas of the model (b).
Energies 14 01425 g005
Figure 6. Scheduling results from the Vittjarv station (a), the Ligga station (b) and the total hydro power production of all power plants of the Lule river (c).
Figure 6. Scheduling results from the Vittjarv station (a), the Ligga station (b) and the total hydro power production of all power plants of the Lule river (c).
Energies 14 01425 g006
Figure 7. Scheduling results from the Vinje station (a) and the Kobbelv station (b).
Figure 7. Scheduling results from the Vinje station (a) and the Kobbelv station (b).
Energies 14 01425 g007
Figure 8. Hydro power production of the market area NO1, for various simulated temporal resolutions of the model.
Figure 8. Hydro power production of the market area NO1, for various simulated temporal resolutions of the model.
Energies 14 01425 g008
Figure 9. Hydro power production of the market area NO4, for various simulated temporal resolutions of the model.
Figure 9. Hydro power production of the market area NO4, for various simulated temporal resolutions of the model.
Energies 14 01425 g009
Figure 10. Hydro power production of the market area SE1, for various simulated temporal resolutions of the model.
Figure 10. Hydro power production of the market area SE1, for various simulated temporal resolutions of the model.
Energies 14 01425 g010
Figure 11. Hydro power production of the market area SE4, for various simulated temporal resolutions of the model.
Figure 11. Hydro power production of the market area SE4, for various simulated temporal resolutions of the model.
Energies 14 01425 g011
Figure 12. Total hydro power production of the model, for various simulated temporal resolutions.
Figure 12. Total hydro power production of the model, for various simulated temporal resolutions.
Energies 14 01425 g012
Figure 13. Total hydro power production of the model, a comparison between simulated results and historical data.
Figure 13. Total hydro power production of the model, a comparison between simulated results and historical data.
Energies 14 01425 g013
Figure 14. Total hydro power production of Sweden and Norway, the effect that different optimisation objectives have on the simulated results.
Figure 14. Total hydro power production of Sweden and Norway, the effect that different optimisation objectives have on the simulated results.
Energies 14 01425 g014
Figure 15. The computational time (a), the total memory allocated (b) and the error in the objective value (c), for different temporal resolutions of the developed model.
Figure 15. The computational time (a), the total memory allocated (b) and the error in the objective value (c), for different temporal resolutions of the developed model.
Energies 14 01425 g015
Table 1. Modelled data of several power plants of the Skellefte river.
Table 1. Modelled data of several power plants of the Skellefte river.
StationPmax (MW)Qmax (HE)Mmax (HE)Qavg (HE)Flow Delay (mins)
Rebnis6480205,56021.52880
Sädva3170168,00034.62880
Bergnäs8160216,12010560
Slagnäs7160768106.6240
Bastusel971708208110.760
Grytfors311651248117.215
Gallejaur2203053600118.230
Vargfors1053104008119.6180
Table 2. Mean relative error and Root Mean Squared Error-RMSE of the total hydro power production results with reduced temporal resolutions, with regard to the hourly resolution model.
Table 2. Mean relative error and Root Mean Squared Error-RMSE of the total hydro power production results with reduced temporal resolutions, with regard to the hourly resolution model.
Time ResolutionMean Relative Error (%)RMSE Error (MWh)
2 h2.86652.80
4 h4.02917.86
8 h6.821542.83
12 h7.371535.06
24 h7.921626.45
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Kouveliotis-Lysikatos, I.; Waernlund, A.; Marin, M.; Amelin, M.; Söder, L. Open Source Modelling and Simulation of the Nordic Hydro Power System. Energies 2021, 14, 1425. https://doi.org/10.3390/en14051425

AMA Style

Kouveliotis-Lysikatos I, Waernlund A, Marin M, Amelin M, Söder L. Open Source Modelling and Simulation of the Nordic Hydro Power System. Energies. 2021; 14(5):1425. https://doi.org/10.3390/en14051425

Chicago/Turabian Style

Kouveliotis-Lysikatos, Iasonas, Angelica Waernlund, Manuel Marin, Mikael Amelin, and Lennart Söder. 2021. "Open Source Modelling and Simulation of the Nordic Hydro Power System" Energies 14, no. 5: 1425. https://doi.org/10.3390/en14051425

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

Article Metrics

Back to TopTop