Abstract
The expansion of fluctuating renewable energy sources leads to an increasing impact of weather-related uncertainties on future decentralized energy systems. Stochastic modeling techniques enable an adequate consideration of the uncertainties and provide support for both investment and operating decisions in such systems. In this paper, we consider a residential quarter using photovoltaic systems in combination with multistage air-water heat pumps and heat storage units for space heating and domestic hot water. We model the investment and operating problem of the quarter’s energy system as two-stage stochastic mixed-integer linear program and optimize the thermal storage units. In order to keep the resulting stochastic, large-scale program computationally feasible, the problem is decomposed in combination with a derivative-free optimization. The subproblems are solved in parallel on high-performance computing systems. Our approach is integrated in that it comprises three subsystems: generation of consistent ensembles of the required input data by a Markov process, transformation into sets of energy demand and supply profiles and the actual stochastic optimization. An analysis of the scalability and comparison with a state-of-the-art dual-decomposition method using Lagrange relaxation and a conic bundle algorithm shows a good performance of our approach for the considered problem type. A comparison of the effective gain of modeling the quarter as stochastic program with the resulting computational expenses justifies the approach. Moreover, our results show that heat storage units in such systems are generally larger when uncertainties are considered, i.e., stochastic optimization can help to avoid insufficient setup decisions. Furthermore, we find that the storage is more profitable for domestic hot water than for space heating.
Similar content being viewed by others
Notes
For instance, see Jochem et al. (2015), who consider the operation of micro-combined heat and power units with a resolution of 15 min to model the physical system properties adequately.
Uncertainties are characterized as epistemic, if they could be reduced by gathering more data or by refining models. They are aleatory, if the modeler does not see the possibility of reducing them Kiureghian and Ditlevsen (2009).
At about the same time, the principle of robust optimization was introduced by Wald (1945) besides SP. It is an alternative approach to counteract uncertainties by minimizing the maximum risk, later termed as optimizing the worst case (Ben-Tal et al. 2009). Furthermore, fuzzy or parametric programming can be used as other opportunities to incorporate such uncertainties (see Zhou 1998; Verderame et al. 2010; Metaxiotis 2010).
The L-Shape is a specific application of the Benders decomposition to the stochastic program and gets the name from the block structure of the extensive form of the program. The main idea is to approximate the recourse function in the objective, i.e., a solution of all second-stage recourse linear programs.
The model also includes the albedo effect, averaged losses such as shadowing, module mismatching or cable and inverter losses for a certain PV system and the dependency of performance on low lighting and temperature for a certain module technology and manufacturer.
In usual practical applications, \(\underline{W}\) and \(p^\mathrm{T}\) do not depend on \(\omega \).
When the stage-variable formulation of Eqs. (6–9) is transformed into the scenario-variable formulation with the decision vectors \({\varvec{x}}_{\mathbf{1}} ,\cdots ,{\varvec{x}}_{\varvec{\omega }}\), then the non-anticipativity constraint \({\varvec{x}}_{\mathbf{1}}=\ldots ={\varvec{x}}_{\varvec{\omega }}\) emerges.
The corresponding project is aimed at developing energy-efficient, environmentally friendly residential quarters. A PV system in the quarter meets a large part of the energy demand that is reduced by modern passive house technology. Heat pumps in combination with storage units and intelligent load shifting within the quarter increase the cost-effective self-consumption of the PV system.
By using the density and heat capacity of water, the volume storage level is converted into an energy storage level required by the optimization model.
The converting factors of 1.16 and \(4.65\hbox {kWh}_{\mathrm{th}} \) correspond to a 100 l water tank. The factor is four times higher in the case of DHW due to the higher temperature difference in the storage.
The chosen period of 2 weeks results in problem sizes for an efficient utilization of the HPC systems with respect to computation requirements and total computing time.
Note that this local optimum is referred to just as optimum or optimal solution.
Note that these values are slightly higher than those of 100 separate (deterministic) optimizations of the storage sizes, in which the first-stage variables are still alterable.
The balanced autarky rate is the relation of the total PV supply to the total electrical demand of the quarter over 1 year. In contrast, the actual autarky rate is the relation of the total PV self-consumption to the total electrical demand of the quarter over 1 year.
See also long-term interest rates, European Central Bank (status June 2016, http://sdw.ecb.europa.eu/browseTable.do?node=bbn4864&SERIES_KEY=229.IRS.M.DE.L.L40.CI.0000.EUR.N.Z).
Because no costs could be derived from the used HPC clusters, they are based on Amazon EC2 instance types (https://aws.amazon.com/ec2/): 0.047 on-demand per full hour of the required node (status June 2016).
The Linux version can be downloaded from https://www.uni-due.de/~hn215go/ddsip.shtml.
For the computation, the default configurations of DDSIP with ConicBundle are used. Compared to common-used subgradient methods, ConicBundle does not require adjusting the size or number of iteration steps when minimizing the sum of convex functions that arise from Lagrangian relaxation. It supports finding optimal dual multipliers by generating primal optimal solutions and by addition and deletion of dual variables without loss of quality in the used cutting models (for details, see Märkert and Gollmer 2016).
An integration of progressive hedging could reduce the DDSIP iterations: a penalty term, usually a weighted quadratic deviation of the Lagrangian multipliers from their preceding average values, is added to f to accelerate the convergence (Rockafellar and Wets 1991). However, the convergence speed depends on the weight factor. The possibility of the process performing worse or unstably cannot be ruled out (Helgason and Wallace 1991).
References
Ahmed S (2010) Two-stage stochastic integer programming: a brief introduction. In: Cochran JJ, Cox LA, Keskinocak P, Kharoufeh JP, Smith JC (eds) Wiley encyclopedia of operations research and management science. Wiley, Hoboken
Alonso-Ayuso A, Escudero LF, Teresa Ortuño M (2003) BFC, a branch-and-fix coordination algorithmic framework for solving some types of stochastic pure and mixed 0–1 programs. Eur J Oper Res 151(3):503–519. https://doi.org/10.1016/S0377-2217(02)00628-8
Alonso-Ayuso A, Escudero LF, Garın A, Ortuño MT, Pérez G (2005) On the product selection and plant dimensioning problem under uncertainty. Omega 33(4):307–318. https://doi.org/10.1016/j.omega.2004.05.001
Altmann M, Brenninkmeijer A, Lanoix J-C, Ellison D, Crisan A, Hugyecz A, Koreneff G, Hänninen S (2010) Decentralized energy systems. Technical report European Parliament’s Committee (ITRE). http://www.europarl.europa.eu/document/activities/cont/201106/20110629ATT22897/20110629ATT22897EN.pdf. Zugegriffen 29 Sept 2016
Amato U, Andretta A, Bartoli B, Coluzzi B, Cuomo V, Fontana F, Serio C (1986) Markov processes and Fourier analysis as a tool to describe and simulate daily solar irradiance. Sol Energy 37(3):179–194. https://doi.org/10.1016/0038-092X(86)90075-7
Beale EML (1955) On minimizing a convex function subject to linear inequalities. J R Stat Soc B 17(2):173–184
Beck T, Kondziella H, Huard G, Bruckner T (2017) Optimal operation, configuration and sizing of generation and storage technologies for residential heat pump systems in the spotlight of self-consumption of photovoltaic electricity. Appl Energy 188:604–619. https://doi.org/10.1016/j.apenergy.2016.12.041
Bedford T, Cooke RM (2001) Probabilistic risk analysis. Foundations and methods. Cambridge University Press, Cambridge
Ben-Tal A, El Ghaoui L, Nemirovskiĭ AS (2009) Robust optimization. Princeton series in applied mathematics. Princeton University Press, Princeton
Bertsch V, Schwarz H, Fichtner W (2014) Layout optimisation of decentralised energy systems under uncertainty. In: Huisman D, Louwerse I, Wagelmans AP (Hrsg) Operations research proceedings 2013: selected papers of the international conference on operations research, OR2013, organized by the German Operations Research Society (GOR), the Dutch Society of Operations Research (NGB) and Erasmus University Rotterdam, Springer, Cham, S 29–35, 3–6 Sept 2013
Birge JR (1982) The value of the stochastic solution in stochastic linear programs with fixed recourse. Math Program 24(1):314–325. https://doi.org/10.1007/BF01585113
Birge JR, Louveaux F (1997) Introduction to stochastic programming. Springer series in operations research and financial engineering. Springer, New York
Carøe CC, Schultz R (1999) Dual decomposition in stochastic integer programming. Oper Res Lett 24(1–2):37–45. https://doi.org/10.1016/S0167-6377(98)00050-9
Carøe CC, Tind J (1998) L-shaped decomposition of two-stage stochastic programs with integer recourse. Math Program 83(1–3):451–464. https://doi.org/10.1007/BF02680570
Conn AR, Scheinberg K, Vicente LN (2009) Introduction to derivative-free optimization. Society for Industrial and Applied Mathematics, Philadelphia
Connolly D, Lund H, Mathiesen BV, Leahy M (2010) A review of computer tools for analysing the integration of renewable energy into various energy systems. Appl Energy 87(4):1059–1082. https://doi.org/10.1016/j.apenergy.2009.09.026
Dantzig GB (1955) Linear programming under uncertainty. Manag Sci 1:197–206
Dantzig GB, Infanger G (2011) A probabilistic lower bound for two-stage stochastic programs. In: Infanger G (Hrsg) Stochastic programming. The state of the art; in honor of George B. Dantzig, Bd 150. Springer, New York, NY, S 13–35
Diagne M, David M, Lauret P, Boland J, Schmutz N (2013) Review of solar irradiance forecasting methods and a proposition for small-scale insular grids. Renew Sustain Energy Rev 27:65–76. https://doi.org/10.1016/j.rser.2013.06.042
Dupačová J, Gröwe-Kuska N, Römisch W (2003) Scenario reduction in stochastic programming. Math Program 95(3):493–511. https://doi.org/10.1007/s10107-002-0331-0
Ehnberg JS, Bollen MH (2005) Simulation of global solar radiation based on cloud observations. ISES Solar World Congr 2003 78(2):157–162. https://doi.org/10.1016/j.solener.2004.08.016
Escudero LF, Garín A, Merino M, Pérez G (2007) A two-stage stochastic integer programming approach as a mixture of branch-and-fix coordination and benders decomposition schemes. Ann Oper Res 152(1):395–420. https://doi.org/10.1007/s10479-006-0138-0
Escudero LF, Garín MA, Merino M, Pérez G (2010) An exact algorithm for solving large-scale two-stage stochastic mixed-integer problems: some theoretical and experimental aspects. Eur J Oper Res 204(1):105–116. https://doi.org/10.1016/j.ejor.2009.09.027
Evins R, Orehounig K, Dorer V, Carmeliet J (2014) New formulations of the ‘energy hub’ model to address operational constraints. Energy 73:387–398. https://doi.org/10.1016/j.energy.2014.06.029
Forrest S, Mitchell M (1993) Relative building-block fitness and the building-block hypothesis, vol 2. Elsevier, Amsterdam, pp 109–126
French S (1995) Uncertainty and imprecision. Modelling and analysis. J Oper Res Soc 46(1):70. https://doi.org/10.2307/2583837
Göbelt M (2001) Entwicklung eines Modells für die Investitions- und Produktionsprogrammplanung von Energieversorgungsunternehmen im liberalisierten Markt [Development of a model for investment and production program planning of energy supply companies in liberalized markets]. Dissertation, Karlsruher Institut für Technologie
Goldstein M (2012) Bayes linear analysis for complex physical systems modeled by computer simulators. In: Dienstfrey AM, Boisvert RF (Hrsg) Uncertainty quantification in scientific computing. 10th IFIP WG 2.5 Working Conference, WoCoUQ 2011, Boulder, CO, USA, 1–4 Aug 2011, Revised selected papers, Bd 377. Springer, Berlin, S 78–94
Growe-Kuska N, Heitsch H, Romisch W (2003) Scenario reduction and scenario tree construction for power management problems. In: 2003 IEEE Bologna powertech conference proceedings, 23–26 June 2003. Faculty of Engineering, University of Bologna, Bologna, Italy. IEEE, Piscataway, NJ, S 152–158
Haneveld WK, van der Vlerk MH (1999) Stochastic integer programming: general models and algorithms. Ann Oper Res 85:39–57. https://doi.org/10.1023/A:1018930113099
Hawkes A, Leach M (2005) Impacts of temporal precision in optimisation modelling of micro-combined heat and power. Energy 30(10):1759–1779. https://doi.org/10.1016/j.energy.2004.11.012
Hayn M, Zander A, Fichtner W, Nickel S, Bertsch V (2018) The impact of electricity tariffs on residential demand side flexibility: Results of bottom-up load profile modeling, Energy Systems (Accepted)
Heitsch H (2007) Stabilität und Approximaton stochastischer Optimierungsprobleme [Stability and approximation of stochastic optimization problems]. Dissertation
Heitsch H, Römisch W (2011) Scenario tree generation for multi-stage stochastic programs. In: Bertocchi M, Consigli G, Dempster MAH (eds) Stochastic optimization methods in finance and energy. New financial products and energy market strategies, vol 163. Springer, New York, pp 313–341
Helgason T, Wallace SW (1991) Approximate scenario solutions in the progressive hedging algorithm. Ann Oper Res 31(1):425–444. https://doi.org/10.1007/BF02204861
Hurink J, Schultz R, Wozabal D (2016) Quantitative solutions for future energy systems and markets. OR Spectr 38(3):541–543. https://doi.org/10.1007/s00291-016-0449-8
Huyer W, Neumaier A (2008) SNOBFIT—stable noisy optimization by branch and fit. ACM Trans Math Softw 35(2):1–25. https://doi.org/10.1145/1377612.1377613
Jochem P, Schönfelder M, Fichtner W (2015) An efficient two-stage algorithm for decentralized scheduling of micro-CHP units. Eur J Oper Res 245(3):862–874. https://doi.org/10.1016/j.ejor.2015.04.016
Jones PA (1992) Cloud-cover distributions and correlations. J Appl Meteorol 31(7):732–741. https://doi.org/10.1175/1520-0450(1992) 031<0732:CCDAC>2.0.CO;2
Jones TW, Smith JD (1982) An historical perspective of net present value and equivalent annual cost. Account Hist J 9(1):103–110
Kalvelagen E (2003) Two-stage stochastic linear programming with GAMS. GAMS Corporation
Kanngießer A (2014) Entwicklung eines generischen Modells zur Einsatzoptimierung von Energiespeichern für die techno-ökonomische Bewertung stationärer Speicheranwendungen [Development of a generic model for operation optimization of energy storages for a techno-economic evaluation of stationary storage applications]. UMSICHT-Schriftenreihe, Bd. Nr. 69. Laufen, K M, Oberhausen, Rheinl
Kaschub T, Jochem P, Fichtner W (2016) Solar energy storage in German households. Profitability, load changes and flexibility. Energy Policy 98:520–532. https://doi.org/10.1016/j.enpol.2016.09.017
Kelman R, Barroso LAN, Pereira MV (2001) Market power assessment and mitigation in hydrothermal systems. IEEE Power Eng Rev 21(8):57. https://doi.org/10.1109/MPER.2001.4311542
Kiureghian AD, Ditlevsen O (2009) Aleatory or epistemic? Does it matter? Risk Accept Risk Commun 31(2):105–112. https://doi.org/10.1016/j.strusafe.2008.06.020
Kobayakawa T, Kandpal TC (2016) Optimal resource integration in a decentralized renewable energy system. Assessment of the existing system and simulation for its expansion. Energy Sustain Dev 34:20–29. https://doi.org/10.1016/j.esd.2016.06.006
Korpaas M, Holen AT, Hildrum R (2003) Operation and sizing of energy storage for wind power plants in a market system. Int J Electr Power Energy Syst 25(8):599–606. https://doi.org/10.1016/S0142-0615(03)00016-4
Kovacevic RM, Paraschiv F (2014) Medium-term planning for thermal electricity production. OR Spectr 36(3):723–759. https://doi.org/10.1007/s00291-013-0340-9
Kovacevic RM, Pichler A (2015) Tree approximation for discrete time stochastic processes. A process distance approach. Ann Oper Res 235(1):395–421. https://doi.org/10.1007/s10479-015-1994-2
Lorenzi G, Silva CAS (2016) Comparing demand response and battery storage to optimize self-consumption in PV systems. Appl Energy 180:524–535. https://doi.org/10.1016/j.apenergy.2016.07.103
Märkert A, Gollmer R (2016) User’s Guide to ddsip—AC package for the dual decomposition of two-stage stochastic programs with mixed-integer recourse. Department of Mathematics, University of Duisburg-Essen, Duisburg. https://github.com/RalfGollmer/ddsip/ddsip-man.pdf. Accessed 1 May 2016
Metaxiotis K (2010) Intelligent information systems and knowledge management for energy. Applications for decision support, usage, and environmental protection. Information Science Reference, Hershey PA
Morf H (1998) The stochastic two-state solar irradiance model (STSIM). Sol Energy 62(2):101–112. https://doi.org/10.1016/S0038-092X(98)00004-8
Morgan MG, Henrion M (1992) Uncertainty. A guide to dealing with uncertainty in quantitative risk and policy analysis. Cambridge University Press, Cambridge
Möst D, Keles D (2010) A survey of stochastic modelling approaches for liberalised electricity markets. Eur J Oper Res 207(2):543–556. https://doi.org/10.1016/j.ejor.2009.11.007
Mustajoki J, Hämäläinen RP, Lindstedt MR (2006) Using intervals for global sensitivity and worst-case analyses in multiattribute value trees. Eur J Oper Res 174(1):278–292. https://doi.org/10.1016/j.ejor.2005.02.070
Nürnberg R, Römisch W (2002) A two-stage planning model for power scheduling in a hydro-thermal system under uncertainty. Optim Eng 3(4):355–378. https://doi.org/10.1023/A:1021531823935
Owens B (2014) The rise of distributed power. General electric (ecomagination). https://www.ge.com/sites/default/files/2014%2002%20Rise%20of%20Distributed%20Power.pdf. Zugegriffen 30 Sept 2016
Pagès-Bernaus A, Pérez-Valdés G, Tomasgard A (2015) A parallelised distributed implementation of a branch and fix coordination algorithm. Eur J Oper Res 244(1):77–85. https://doi.org/10.1016/j.ejor.2015.01.004
Pflug GC, Römisch W (2007) Modeling, measuring and managing risk. World Scientific, Hackensack
Rios LM, Sahinidis NV (2013) Derivative-free optimization—a review of algorithms and comparison of software implementations. J Glob Optim 56(3):1247–1293. https://doi.org/10.1007/s10898-012-9951-y
Ritzenhoff P (2006) Erstellung eines Modells zur Simulation der Solarstrahlung auf beliebig orientierte Flächen und deren Trennung in Diffus-und Direktanteil. Forschungszentrum Jülich, Zentralbibliothek
Rockafellar RT, Wets RJ-B (1991) Scenarios and policy aggregation in optimization under uncertainty. Math OR 16(1):119–147. https://doi.org/10.1287/moor.16.1.119
Ruszczynski A (1999) Some advances in decomposition methods for stochastic linear programming. Ann Oper Res 85:153–172. https://doi.org/10.1023/A:1018965626303
Ruszczyński A, Świȩtanowski A (1997) Accelerating the regularized decomposition method for two stage stochastic linear problems. Eur J Oper Res 101(2):328–342. https://doi.org/10.1016/S0377-2217(96)00401-8
Schermeyer H, Bertsch V, Fichtner W (2015) Review and extension of suitability assessment indicators of weather model output for analyzing decentralized energy systems. Atmosphere 6(12):1871–1888. https://doi.org/10.3390/atmos6121835
Schicktanz MD, Wapler J, Henning H-M (2011) Primary energy and economic analysis of combined heating, cooling and power systems. Energy 36(1):575–585. https://doi.org/10.1016/j.energy.2010.002
Schlesinger M, Hofer P, Kemmler A, Kirchner A, Strassburg S, Lindenberger D, Lutz C (2010) Energieszenarien für ein Energiekonzept der Bundesregierung. Projekt Nr. 12/10 des Bundesministeriums für Wirtschaft und Technologie; Studie. Prognos, Basel, Köln, Osnabrück
Schultz R (1995) On structure and stability in stochastic programs with random technology matrix and complete integer recourse. Math Program 70(1–3):73–89. https://doi.org/10.1007/BF01585929
Schultz R (2003) Stochastic programming with integer variables. Math Program 97(1):285–309. https://doi.org/10.1007/s10107-003-0445-z
Sen S, Sherali HD (2006) Decomposition with branch-and-cut approaches for two-stage stochastic mixed-integer programming. Math Program 106(2):203–223. https://doi.org/10.1007/s10107-005-0592-5
Shang C, Srinivasan D, Reindl T (2017) Generation and storage scheduling of combined heat and power. Energy 124:693–705. https://doi.org/10.1016/j.energy.2017.02.038
Shapiro A, Dentcheva D, Ruszczynski AP (2009) Lectures on stochastic programming: modeling and theory, vol 9. MPS-SIAM Series on Optimization, SIAM, Philadelphia
Sherali HD, Fraticelli BM (2002) A modification of benders decomposition algorithm for discrete subproblems: an approach for stochastic programs with integer recourse. J Glob Optim 22(1/4):319–342. https://doi.org/10.1023/A:1013827731218
Sherali HD, Smith JC (2009) Two-stage stochastic hierarchical multiple risk problems. Models and algorithms. Math Program 120(2):403–427. https://doi.org/10.1007/s10107-008-0220-2
Shirazi E, Jadid S (2017) Cost reduction and peak shaving through domestic load shifting and DERs. Energy 124:146–159. https://doi.org/10.1016/j.energy.2017.01.148
Silveira JL, Tuna CE (2003) Thermoeconomic analysis method for optimization of combined heat and power systems. Part I. Prog Energy Combust Sci 29(6):479–485. https://doi.org/10.1016/S0360-1285(03)00041-8
Syed A (2010) Australian energy projections to 2029-30. ABARE, Canberra, A.C.T
Taborda D, Zdravkovic L (2012) Application of a hill-climbing technique to the formulation of a new cyclic nonlinear elastic constitutive model. Comput Geotech 43:80–91. https://doi.org/10.1016/j.compgeo.2012.02.001
Till J, Sand G, Urselmann M, Engell S (2007) A hybrid evolutionary algorithm for solving two-stage stochastic integer programs in chemical batch scheduling. Comput Chem Eng 31(5–6):630–647. https://doi.org/10.1016/j.compchemeng.2006.09.003
van Slyke RM, Wets R (1969) L-shaped linear programs with applications to optimal control and stochastic programming. SIAM J Appl Math 17(4):638–663. https://doi.org/10.1137/0117061
VDI 4655 guideline (2008) Reference load profiles of single-family and multi-family houses for the use of CHP systems. VDI Guideline 4655. Verein Deutscher Ingenieure (VDI), Düsseldorf
Ventosa M, Baıllo Á, Ramos A, Rivier M (2005) Electricity market modeling trends. Energy Policy 33(7):897–913. https://doi.org/10.1016/j.enpol.2003.10.013
Verderame PM, Elia JA, Li J, Floudas CA (2010) Planning and scheduling under uncertainty: a review across multiple sectors. Ind Eng Chem Res 49(9):3993–4017. https://doi.org/10.1021/ie902009k
Vögele S, Kuckshinrichs W, Markewitz P (2009) A hybrid IO energy model to analyze CO\(_{2}\) reduction policies: a case of Germany. In: Tukker A, Suh S (eds) Handbook of input-output economics in industrial ecology, vol 23. Springer, Dordrecht, pp 337–356
Wald A (1945) Statistical decision functions which minimize the maximum risk. Ann Math 46(2):265. https://doi.org/10.2307/1969022
Wallace SW, Fleten S-E (2003) Stochastic programming models in energy stochastic programming, vol 10. Elsevier, Amsterdam, pp 637–677
Yazdanie M, Densing M, Wokaun A (2016) The role of decentralized generation and storage technologies in future energy systems planning for a rural agglomeration in Switzerland. Energy Policy 96:432–445. https://doi.org/10.1016/j.enpol.2016.06.010
Yuan Y, Sen S (2009) Enhanced cut generation methods for decomposition-based branch and cut for two-stage stochastic mixed-integer programs. INFORMS J Comput 21(3):480–487. https://doi.org/10.1287/ijoc.1080.0300
Zhou M (1998) Fuzzy logic and optimization models for implementing QFD. Comput Ind Eng 35(1–2):237–240. https://doi.org/10.1016/S0360-8352(98)00073-4
Zhu X (2006) Discrete two-stage stochastic mixed-integer programs with applications to airline fleet assignment and workforce planning problems. Dissertation, Virginia Polytechnic Institute and State University
Acknowledgements
The authors acknowledge support by the state of Baden-Württemberg through bwHPC and the Germany Research Foundation (DFG) through Grant No INST 35/1134-1 FUGG. This research has been supported by KIC InnoEnergy. KIC InnoEnergy is a company supported by the European Institute of Innovation and Technology (EIT), and has the mission of delivering commercial products and services, new businesses, innovators and entrepreneurs in the field of sustainable energy through the integration of higher education, research, entrepreneurs and business companies. Valentin Bertsch acknowledges funding from the Energy Policy Research Centre of the Economic and Social Research Institute.
Author information
Authors and Affiliations
Corresponding author
Appendices
Appendix A: Further information on the energy supply and demand profiles
Concerning the supply side profiles, we provide details on the validation of the global solar radiation output of the developed Markov model (see Section 3.1) for illustrative purposes. Moreover, we present information about how the radiation profiles differ between the different scenarios. The other Markov model output parameters (temperature and cloudiness) have been validated accordingly. Note that historical measurement data over a longer horizon are only available in hourly resolution. For the validation, we therefore aggregate the model output from 15 min to hourly resolution. Let \(\rho _a =\left( {\rho _a^1 ,\,\ldots ,\rho _a^{8760} } \right) \) be an hourly series of global solar radiation in year a, where \(a\in \left\{ {1971,\,\ldots ,\,2011} \right\} \) for the historical data and \(a\in \left\{ {1,\,\ldots ,\,100} \right\} \) for the results of the Markov model. We now validate the Markov model on the basis of four indicators: (1) the total annual radiation supply in year a defined by \(\hbox {P}_a =\mathop {\sum }\nolimits _{h=1}^{8760} \rho _a^h \) as a long-term indicator and (2) the hourly volatility in year a defined by \(\mathrm{vola}_a =\sigma \left( {\rho _a } \right) /\mu \left( {\rho _a } \right) \) as a short-term indicator, where \(\sigma \left( {\rho _a } \right) \) and \(\mu \left( {\rho _a } \right) \) are the standard deviation and arithmetic mean of the global solar radiation in year a, respectively. In addition, we consider (3) the maximum amplitude of radiation supply \((\mathrm{MARS}_{a})\) in year a and (4) the maximum gradient of radiation supply \((\mathrm{MGRS}_a )\) in year a as defined by Schermeyer et al. (2015). In order to validate the performance of the Markov model in the long run, we compare the arithmetic means \(\mu \left( \cdot \right) \) of these four indicators over all available years (simulation results vs. historical data) as well as the 5 and \(95\% \) quantiles \(\mathrm{quant}_{5\% } \left( \cdot \right) \) and \(\mathrm{quant}_{95\% } \left( \cdot \right) \) over all available years to analyze the range of variation. Table 3 shows the relative deviation of these means and quantiles of the four indicators between the Markov model results and historical data. For instance, the values in the column \(\mu \left( \cdot \right) \) are calculated as \(\left( {\mu ^\mathrm{Mod}\left( \cdot \right) -\mu ^\mathrm{Hist}\left( \cdot \right) } \right) /\mu ^\mathrm{Hist}\left( \cdot \right) \), where the superscript Mod denotes the model results and the superscript Hist denotes historical data. The values in the other columns are calculated accordingly. Overall, this comparison shows satisfying results. At the same time, however, the table shows that there is room for further improvement of the Markov model in the future.
Figure 8 shows the importance of using 15-min profiles rather than hourly profiles on the supply side. The left diagram shows the variability of PV power output between the 100 considered scenarios in general for a day in June. It also shows that the spikes on the top only occur during short periods of time (15-min intervals rather than hours). This implies that the maximum amplitude of radiation supply is underestimated with hourly profiles. Moreover, when it comes to choosing the optimal sizes of the energy system’s components, the gradients of power output between time steps are very important. This is particularly relevant for storages which are at the core of our case study. The right diagram in Fig. 8 shows that the maximum positive and negative gradients are strongly underestimated when using an hourly resolution as opposed to a 15-min resolution.
Figure 9 shows the optimal storage size for SH and DHW under SMILP-1 and SMILP-2 for different temporal resolutions. When time steps of 60 min are used instead of 15 min, the optimal storage sizes differ by up to \(50\% \). The lower temporal resolution reduces the load-shifting potential and leads to smaller storage units for SMILP-1 (without integers at the second stage). In case of SMILP-2, the stepwise flexibility of the heat pumps is reduced when moving from a 15-min resolution to 60 or even 120 min. This makes the storage units more attractive. This effect outbalances the reduced load shift potential and results in larger storages for SMILP-2 for coarser temporal resolutions.
Concerning the demand-side profiles, as described in Sect. 3.2, we use a standard load profile approach (based on so-called H0 profiles), to generate electricity demand time series for the 70 households of the quarter. Thereby, the total yearly electricity consumption (without the electricity demand of the heat pumps) is calculated according to VDI 4655, which takes the number of residents and the usable floor surface into account. Aiming for an ex post validation of the assumption that 70 households can be approximated by H0 profiles, we compare the H0 profiles to measured electricity demand profiles of households that have already moved into their dwellings in the quarter (see Table 4). The comparison is based on 40 households since we only include households where measurement data are available for an entire year and the remaining households have moved in at a later date. Table 4 shows the (linear) correlation coefficient between the H0 profiles and the measured profiles, the mean absolute percentage error (MAPE), the root-mean-square percentage error (RMSPE) and the relative difference of the demand volatility \(\Delta \left( \mathrm{vola_a } \right) \), where \(\Delta \left( \mathrm{vola_a } \right) =\left( \mathrm{vola_a \left( {H0} \right) -\mathrm{vola}_a \left( \mathrm{measured\,profiles} \right) } \right) /\mathrm{vola}_a \left( \mathrm{measured\,profiles} \right) \). The correlation coefficient between the 40 households and the H0 profiles already amounts to \(78\% \). For larger numbers of households, Hayn et al. (2018) show that the correlation coefficient between 100 households and the H0 profile increases to \(90\% \). We therefore expect the correlation coefficient of the entire quarter to be between 78 and \(90\% \). In terms of the load volatility, we find that there is only a \(-7\% \) difference between our 40 households and the H0 profiles, which we expect to further decrease for 70 households (similar to the effect described for the correlation).
Appendix B: Overview of derivative-free optimization approaches
As described in Sect. 3.3, a derivative-free optimization (DFO) is used for the outer optimization of the fixed mixed-integer variables. Table 5 summarizes DFO methods with regard to the mentioned requirements. DFO refers to problems when information on the derivatives of f is unavailable, unreliable or impractical to obtain. This definition includes any algorithm applied to these problems, even if the algorithm involves the computation of derivatives for functions other than f (Rios and Sahinidis 2013). Not included are commonly known algorithms such as branch-and-bound, cutting plane or Lagrangian relaxation, albeit specific variants could be considered as DFO according to this definition. However, the economic optimization subsystem introduced in Sect. 3.3, particularly the approach to parallelization, would need to be substantially changed to apply such algorithms.
The main task is to determine optimal storage sizes of the residential quarter. Therefore, the problem is decomposed by fixing storage sizes and storage levels. Since the non-optimization of the storage levels leads to a negligible error, only few fixed integer variables need to be optimized, i.e., 8 storage sizes of the quarter. To this purpose, SAHC is sufficient for the outer optimization. The advantages of the implementation are its simplicity, flexibility and reliability. Furthermore, it robustly proceeds to the (local) optimum even with inaccurate solutions of the subproblems. The complete SAHC procedure is presented in the following:
Procedure of the steepest-ascent hill-climbing (SAHC) method: | |
---|---|
Step 0: | (Initialization) compute \(f\left( \varphi \right) \) for an initial \(\varphi \) (e.g., \(\varphi =0\)) by using POP and set step size \(s_k \) for each fixed variable \(\varphi _k \) of vector \(\varphi \). If \(\varphi _k \in \mathbb {Z}\), then \(s_k \in \mathbb {Z}\). Let \(e_k \in \mathbb {R}_+^{I+R-v} \) be the k-th unit vector, where I is the number of fixed first-stage variables and \(R-v\) is the number of fixed second-stage variables. |
Step 1: | Add \(s_k \) to \(\varphi _k \) and compute \(f\left( {\varphi +s_k e_k } \right) \) and subtract \(s_k \) from \(\varphi _k \) and compute \(f\left( {\varphi -s_k e_k } \right) \) by using POP sequentially for each fixation \(1\le k\le I+R-v\). Note if \(f\left( {\varphi +s_k e_k } \right) >f\left( {\varphi -s_k e_k } \right) \), then \(step_k^*=+s_k e_k ,\) else \(step_k^*=-s_k e_k \). |
Step 2: | Select \(\varphi ^{*}\in \left\{ {\varphi \pm s_k e_k |\forall 1\le k\le I+R-v} \right\} \) with \(f\left( \varphi \right) =\mathop {\hbox {min}}\limits _k \left\{ {f\left( {\varphi \pm s_k e_k } \right) } \right\} \). |
Step 3: | Define \(\Delta f\left( \varphi \right) _{rel} =\left( {f\left( \varphi \right) -f\left( {\varphi ^{*}} \right) } \right) /f\left( \varphi \right) \). |
Step 4: | If \(\Delta f\left( \varphi \right) _{rel} \quad \le \quad 0\), then \(s_k =\frac{s_k }{2}\); if \(\varphi _k \in \mathbb {Z}\) and \(\frac{s_k }{2}<1,\) then go to step 6; if \(\varphi _k \in \mathbb {Z}\) and \(\frac{s_k }{2}\notin \mathbb {Z}\), then round \(\frac{s_k }{2}\) to the larger integer; go to step 1. Otherwise continue. |
Step 5: | If \(\Delta f\left( \varphi \right) _{rel}>\) stopping criterion \(a\in \mathbb {R}_+ \), then accept \(f\left( \varphi \right) =f\left( {\varphi ^{*}} \right) \) and \(\varphi =\varphi ^{*}\), compute \(f\left( {\varphi +step_k^*} \right) \) by using POP sequentially for each fixation \(1\le k\le I+R-v\) and go to step 2. Otherwise continue. |
Step 6: | (End) Stop. The local optimal solution value is \(f\left( {\varphi ^{*}} \right) \) with the vector \(\varphi ^{*}\). |
Appendix C: Further information about the mathematical model of the quarter
Table 6 lists the complete nomenclature of the residential quarter modeled as a two-stage stochastic mixed-integer program.
Rights and permissions
About this article
Cite this article
Schwarz, H., Bertsch, V. & Fichtner, W. Two-stage stochastic, large-scale optimization of a decentralized energy system: a case study focusing on solar PV, heat pumps and storage in a residential quarter. OR Spectrum 40, 265–310 (2018). https://doi.org/10.1007/s00291-017-0500-4
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s00291-017-0500-4