원시데이터 수집 시스템
선정목록으로

Towards decarbonizing large-scale industries: A decision support framework for optimizing grid-connected PV-battery energy systems planning – Case study of an OCP mining site, Morocco, North Africa

관련 수소연료전지 · (5) 연료전지용 수분제어장치(가습기)

기본 정보

저자
  1. Oumaima Mahir — Green Energy Park, Benguerir, 43150, Morocco|||Laboratory of Signals, Systems, and Components, FST Fez, University Sidi Mohamed Ben Abdellah, Fez, 30000, Morocco
  2. Abdelilah Rochd — Engineering and Intelligent Systems Laboratory, ENSET Mohammedia, Hassan II University of Casablanca, Casablanca, 28820, Morocco|||Green Energy Park, Benguerir, 43150, Morocco
  3. Aboubakr Benazzouz — Green Energy Park, Benguerir, 43150, Morocco
  4. Hicham Ghennioui — Laboratory of Signals, Systems, and Components, FST Fez, University Sidi Mohamed Ben Abdellah, Fez, 30000, Morocco
DOI
10.1016/j.heliyon.2024.e39075
저널
Heliyon
발행년도
2024
발행기관
Elsevier BV
피인용수
5
라이선스
cc-by-nc
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1016/j.heliyon.2024.e39075
토픽
Hybrid Renewable Energy Systems
OpenAlex ID
W4403264088

평가 내용

관련도
관련
사업분야
수소연료전지 · (5) 연료전지용 수분제어장치(가습기)
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '수소연료전지 > 연료전지용 수분제어장치(가습기)' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

초록이 없습니다.

본문 83,101자

본문 펼치기
y ( ) Contents lists available at ScienceDirect # Heliyon [journal homepage: www.cell.com/heliyon](https://www.cell.com/heliyon) Research article ## Towards decarbonizing large-scale industries: A decision support framework for optimizing grid-connected PV-battery energy systems planning – Case study of an OCP mining site, Morocco, North Africa Oumaima Mahir <sup>a,b,*</sup>, Abdelilah Rochd <sup>b,c</sup>, Aboubakr Benazzouz <sup>b</sup>, Hicham Ghennioui <sup>a</sup> a _Laboratory of Signals, Systems, and Components, FST Fez, University Sidi Mohamed Ben Abdellah, Fez, 30000, Morocco_ b _Green Energy Park, Benguerir, 43150, Morocco_ c _Engineering and Intelligent Systems Laboratory, ENSET Mohammedia, Hassan II University of Casablanca, Casablanca, 28820, Morocco_ A R T I C L E I N F O _Keywords:_ Renewable energy system SDGs Energy storage Sizing optimization Oemof LCOE Modeling, Optimizing tools A B S T R A C T Incorporating renewable energy into forthcoming grid-connected or decentralized energy systems assumes an escalating significance and can potentially enhance endeavors toward accomplishing Sustainable Development Goal 7 (SDG7). Nevertheless, deploying sustainable renewable energyintensive systems may present challenges related to their intermittency and cost instability. This paper proposes the development of a decision support model aimed at planning an optimal ongrid PV battery system. The model builds upon the Open Energy Modeling Framework (OEMOF) and defines asset capacities, energy dispatch, operational strategies, and optimal costs for the designated system. Key factors considered include energy demand profile, photovoltaic potential, electricity tariffs, and the availability of the National Grid. Furthermore, the model evaluation incorporates the computation of pertinent performance, feasibility, and viability in­ dicators, notably the Levelized Cost of Energy (LCOE). To validate the framework, the article conducts a case study to determine the optimal sizing and planning of a grid-connected PV battery energy system. The objective is to cater to the electricity needs of an OCP (Office Ch´erifien des Phosphates) mining site in Morocco. The study considers the characteristics of the national power grid, incorporating time-varying electricity tariffs based on a Demand-Response program taking into account various rates according to the time of use (ToU). The case study includes a sensitivity analysis that examines different factors, namely the proportion of renewable energy, the in­ vestment costs of photovoltaic systems and batteries, and the financial parameter known as the weighted average cost of capital (WACC). Through this analysis, the study assesses the impact of these variables on the calculated cost of energy. Experimental results revealed a range of LCOE <u>values from $0.07111/kWh to $0.11847/kWh for high renewable energies integration.</u> - Corresponding author. _E-mail address:_ [oumaima.mahir@usmba.ac.ma](mailto:oumaima.mahir@usmba.ac.ma) (O. Mahir). [https://doi.org/10.1016/j.heliyon.2024.e39075](https://doi.org/10.1016/j.heliyon.2024.e39075) Received 31 December 2023; Received in revised form 4 October 2024; Accepted 7 October 2024 Available online 9 October 2024 2405-8440/© 2024 The Authors. Published by Elsevier Ltd. This is an open access article under the CC BY-NC license [( http://creativecommons.org/licenses/by-nc/4.0/ ).](http://creativecommons.org/licenses/by-nc/4.0/) _y_ _(_ _)_ <u>Nomenclatures</u> <u>NG</u> <u>national grid</u> AC alternative current NPC net present cost BESS battery energy storage system NPV net present value BG biomass generator OCP office ch´erifien des phosphates BIPV building integrated photovoltaic OEMOF open energy modeling framework BSA backtracking search algorithm ONEE office national de l’´electricit´e et de l’eau potable CAPEX capital expenditure OPEX operational expenditure COE cost of energy PESA pareto envelope-based selection algorithm CO2 carbon dioxide PSO particle swarm optimization CPV concentrated photovoltaic PV photovoltaic CRF capital recovery factor RE renewable energy CSP concentrated solar power REF renewable energy factor DC direct current RES renewable energy sources DG diesel generator RS renewable share DHI diffuse horizontal irradiance SAM system advisor model DLP deterministic linear programming SDGS sustainable development goals DNI direct normal irradiance SOC state of charge DR demand response SST solar steam turbine EO equilibrium optimizer TAC total annualized cost EVCS electric vehicle charging system TMY typical meteorological GA genetic algorithm SOO Single objective optimization GHG greenhouse gas SP stochastic programming GHI global horizontal irradiance ToU time of use HMG hybrid microgrid UN united nations IWO invasive weed optimization WACC weighted average cost of capital LARO leader artificial rabbits optimization WT wind turbine LCC life cycle cost x system’s component LCOE levelized cost of energy t 1 h time step LP linear programming ax asset annuity LPSP loss of power supply probability CAPx asset capacity MCDM multiple criteria decision making Cvar,x dispatch cost MGs microgrids Ex asset dispatch MOO multi-objective optimization T project duration MOPSO multiple objective particle swarm optimization Cres residual value MINLP mixed integer nonlinear programming tx asset lifetime MILP mixed integer linear programming d discount factor MIP mixed integer programming Ex asset generation value MIQCP mixed integer quadratically constrained programming Ebatt,Dis battery discharge Ebatt, Char battery charge η conversion efficiency Eshort energy flow to balance out supply shortage Eex energy flow to balance out excess generation EDem energy demand 1. Introduction As we reach the halfway point to the agenda 2030 deadline, a review of advances on the Sustainable Development Goals (SDGs) reveals significant challenges. According to the latest SDG progress report [1], more than half of the SDG targets show insufficient headway, while almost 30 % of improvements have stagnated or regressed. These worrying figures particularly concern the targets of reducing poverty, hunger, and global warming. This analysis highlights the urgency of stepping up efforts to ensure that each of the SDGs stays on course and moves towards a sustainable future for all. Addressing today’s key environmental challenges, SDG 7 aims to guarantee that modern society functions in harmony and develops equitably. We need affordable and reliable energy services without depending on inexpensive but energy-intensive fossil fuels, the main producers of GHG emissions that cause climate change [2]. It is therefore essential to redouble our efforts so as not to lose sight of the 2030 target and move towards a just energy transition. As part of the energy transition, the mining industry contributes to the UN SDGs. This is by facilitating large-scale economic development and providing minerals for technology, infrastructure, energy, and agriculture. In this context, it is imperative to minimize waste production, conduct responsible mining operations, implement safer procedures, integrate sustainable technologies, reduce emissions, and perform effective environmental management [3]. As a result, the mining industry can help address many of the issues raised by the SDGs, notably environmental degradation. Companies can actively support SDGs by integrating them into their long-term operations and fundamental plans. According to Ref. [4], only a small minority of mining enterprises report on their progress against the indicators or goals they have set. SDG7 stands as a target where the global mining industry still has a long way to go to put in place strategic measures to help achieve it. Several research studies, including Tiainen et al. [5], Shen et al. [6], Tiainen et al. [7], and Govindan et al. [8], have investigated the impact of the mining factories toward greener production, social responsibility standards, and environmental performance. Norgate and Haque [9] state that over the last 20 years, the mining industry has recognized the significance of promoting sustainability Table 1 <u>Literature review of some case studies for energy system models relating to Morocco.</u> Case <u>study</u> Year Location sector Algorithm/Software System <u>configuration</u> [30] 2019 Morocco, Tahla [31] 2019 Morocco, Tetouan [32] 2019 Morocco, Laayoune region [33] 2020 Morocco, Essaouira Residential Homer PV/WT/DG/NG/ BESS Residential Multimodal Delayed PSO Algorithm _y_ _(_ _)_ Objective function ToU minimizing the total NPC No Residential Homer PV/NG/BESS minimizing the microgrid configuration cost No - hybrid Genetic Algorithm-PSO algorithm sizing optimization No minimizing the LCOE, minimizing the LPSP, maximizing the REF WT/PV/CPV/ SST/NG/BESS PV/WT/DG/ BESS No [34] 2020 Morocco, Rabat Iraq, Baghdad Residential PSO PV/WT/DG/ BESS Minimizing the NPC No [35] 2021 Morocco, Fez Residential Homer PV/BESS/BG -minimizing the life cycle costs - maximizing the annual reduction of CO2 emissions No No [36] 2021 Morocco, Rabat - MOPSO, PESA II, and SPEA2 algorithm PV/WT/DG/ BESS minimizing the Net Present Cost (NPC), the penalty cost of emission and the quantity of the CO2 [37] 2021 Morocco, Dakhla - EO PV/WT/DG/ BESS [38] 2021 Morocco, Dakhla Residential IWO/BSA Algorithm minimizing the NPC No Minimizing the NPC No minimum cost of energy (COE) No minimizing the total NPC Yes minimizing the net energy cost Yes [39] 2022 Morocco, Oujda PV/WT/BG/DG/ NG/BESS PV/WT/CSP/NG PV/WT/CSP/ BESS minimizing the LPSP, the LCC and the LCOE. No [40] 2022 Morocco, Ouarzazate, Oujda Spain, Granada Algeria, Bechar - Electric System Cascade Extended Analysis/SAM Residential PSO PV/WT/DG/ BESS [41] 2023 Morocco, Dakhla, Casablanca, Fez Residential Homer PV/WT/NG/ BESS Residential MILP PV/NG/ESS/ EVCS [42] 2023 Morocco, Benguerir, Rabat France, Brest [43] 2024 Morocco, Ouaneskra [44] 2024 Morocco, Rabat, Tangier, Fez, Ifrane, Benguerir, Ouarzazate Rural site Homer PV/WT/BESS minimizing the NPC No Residential PSO PV/BIPV/BESS minimizing the TAC No Residential LARO PV/WT/DG/ BESS [45] 2024 Morocco, Guelmim [46] 2024 Morocco, Berkane Commercial platform minimizing the NPC No Homer PV/biogas/BESS minimizing the NPC Yes - 2024 (This <u>study)</u> Morocco Mining Oemof (MILP) PV/BESS/NG Minimizing the COE Yes and managing the environment effectively. To this end, Muduli et al. [10] assert that we can put many factors in place, such compliance with legal requirements, appealing to financial institutions, and enhancing eco-efficiency. Therefore, effective integration of SDG 7 requires support for the early implementation of renewable energy to achieve the goal of a low-carbon economy. In addition, boosting the direct production of renewable electricity by these companies will reduce their dependence on grid power supply, eliminating the need for increased generating capacity and improving system flexibility. Furthermore, the resilience of renewable energy sources (RES) to global crises, such as the COVID-19 pandemic, further underlines their importance. Studies have shown that the renewable energy generation sector is less affected by these disruptions than con­ ventional energy sources [11]. Besides, many articles take sustainability considerations into account when developing mining sites. However, Tsisilile Igogo et al. [12] review the literature to analyze the challenges, possibilities, and enabling strategies for renewable technology integration in mining operations. Anshul Paneri et al. [13] examine the techno-economic viability of RES for switch-on, switch-off mining, a new idea _y_ _(_ _)_ for mobile small-scale mining, in 2021. Eduardo Vyhmeister et al. [14] evaluate the use of photovoltaic and revolutionary wind technologies to supply as much as 10 % current and projected electrical energy needs of the mining industry in Chile. A. Strazzabosco et al. [15] assess the current adoption of clean energy among the mining houses in Australia. Also, literature highlights the integration of renewable energy in the African region. Fabien Muhirwa et al. [16] reviewed research published during the period 2000 to 2022 on substantial extractive industry investment, the associated issues and sustainable development potential of rural communities residing in African mine sites. In Morocco, renewable energies play a pivotal role in the energy strategy. The country possesses significant renewable potential, letting it meet a substantial proportion of its growing energy needs by replacing fossil fuels. Therefore, Morocco aims to increase the share of renewable energies in installed electricity capacity to over 52 % by 2030 [17]. Morocco will decrease its dependency on fossil fuel sources. The share of coal in installed capacity will drop from 38.8 % in 2020 to 22 % in 2030, while the share of oil-based thermal capacity is reduced to 9.2 % in 2030 from 16.2 % in 2020 [18]. In line with a sustainable growth strategy in the mining sector, the OCP group has implemented a responsible and innovative energy program to reduce its carbon footprint. Thanks to wind, solar, and cogeneration production, OCP has been able to cover 86 % of its needs with green energy, with a vision to reach 100 % coverage by 2030. OCP group guarantees 25 % of Morocco’s clean electricity and will make a major contribution to Morocco’s goal of producing 52 % of its electricity from renewable and clean sources by 2030 [19]. OCP is preparing for the next stage of energy transformation by creating industry strategies, including supporting the stable integration of the highest possible shares of electricity generation from variable renewable sources. However, moving to RE technologies at mine sites pose a number of challenges, despite the mining industry’s desire to convert and its huge impact on decarbonization efforts. These include the fluctuation and variability of the electricity supply, and the difficult conditions due to the remoteness of the mining sites. At this stage, a growing trend towards electrification systems based on microgrids (MGs) is observed. MGs promote the diffusion of renewable energy sources, and solutions to overcome their intermittency, such as electrical storage. They can operate in grid-connected or off-grid mode. Optimal microgrid technology selection is a complex subject, mainly concerned with performance in terms of environmental, social, technological, and economic considerations [20]. The optimal combination of renewable energy and energy storage technol­ ogies with local energy demand is a major challenge. Hence, it is important to consider many factors, including the high initial in­ vestment cost [21], potential capacity limitations based on the inconsistency of the energy sources used [22], infrastructure management, and social impact [23]. In the literature, researchers have developed and discussed various approaches for optimal energy planning. Büyükozkan and Güleryüz [24] select the optimal renewable energy technology from different alternatives as a multi-criteria decision-making problem. Lucas Schmeling et al. [25] presents an overview of relevant publications on the optimal design of various energy systems. Meanwhile, Mohammad Fattahi et al. [26] focuses on sustainable planning of a mining supply chain network using a novel cost-efficient multistage stochastic program in which strategic and tactical planning decisions are integrated. In the other hand, different studies investigate energy systems control, Alejandro Rubio et al. [27] employed an energy system dispatch optimization model including an iterative approach for generating grid constraints, which is decoupled from the linear unit commitment problem. This is where models and software tools must be developed and implemented to provide a proper frame for the planning of the most efficient energy systems. They allow us to chain the interactions between energy resources, determine their shares, and analyze the risks associated with price evolution. As a result, we can achieve optimal capacity, dispatch, cost, and identify the most useful per­ formance and feasibility indicators, such as LCOE, for valuing projected energy systems. The progress made in the development of these tools and the rigorous examination of their validation forms the subject of an extensive literature. Fernando Martins et al. [28] provide an updated overview of the various modeling tools available to evaluate energy systems in smart European cities. Soner Candas et al. [29] review and compare five open-source frameworks for renewable energy system modeling. The issue of energy systems planning has attracted worldwide interest. In Morocco, several articles have been published on the subject, and numerous case studies have been conducted. Table 1 presents a systematic comparative analysis of the case studies selected from the literature relating to Morocco. Each publication is classified according to the algorithm employed, the energy system configuration, ToU and the overall objective function of the optimization. In addition, the analysis incorporates the geographical location and industrial sector associated to each case study. The literature review reveals a significant gap in energy systems planning for the Moroccan mining sector, which has received little attention compared to the residential sector. Current literature focuses primarily on the development of household energy systems, neglecting the substantial energy demands and unique challenges of mining operations. This neglect represents a critical omission in current research. Moreover, evaluations of electricity costs from the national grid often rely on simplified billing assumptions, incompatible with Morocco’s complex billing model, which includes three tariff levels (peak hours, off-peak hours, and super off-peak hours). This simplification leads to potential inaccuracies in cost estimates, highlighting the need for a more precise approach tailored to Moroccan specifics. Furthermore, although the use of open-source planning tools is common globally, their application in Moroccan case studies re­ mains limited. This limitation could constrain the depth and scope of research in this area. To advance our understanding of energy systems in Morocco and develop sustainable and effective energy policies, it is crucial to create tailored solutions that consider the particularities of the Moroccan mining sector and its specific billing model. Our main contributions focus on the development and evaluation of an innovative framework for optimizing energy systems in the Moroccan context. Firstly, we have designed a decision support framework for the optimal sizing of a grid-connected PV-battery energy system, taking into account the unique electricity tariffs in the Moroccan billing model. Based on the Open Energy Modeling Framework, this model accurately assesses system capacities, energy allocation, and optimal costs for different electrification options. _y_ _(_ _)_ To validate our model, we conducted an in-depth techno-economic study of energy technologies, including photovoltaic (PV) systems, battery energy storage systems (BESS), and converters. This study offers a comprehensive analysis of solar demand and resource profiles within the study area, providing an in-depth assessment of the technological and economic viability of these energy solutions. We applied our framework in a real-life case study to assess its feasibility for supplying energy to a mining site in Morocco, demonstrating the practical applicability and potential benefits of our model. Finally, we carried out a comprehensive sensitivity analysis and assessment of the potential for integrating PV and BESS systems into the Moroccan energy system. This analysis includes key financial and technical parameters such as LCOE, NPV, autonomy factor, and system reliability, providing essential information for decision-making and energy planning. These contributions aim to fill the current gaps in energy system optimization research in Morocco by proposing a rigorous approach tailored to the local context, with significant potential to inform the development of a sustainable and efficient energy policy. It’s then the objective of our contributions to theory and practice. The article is organized as follows: Section 2 presents a literature review. Section 3 introduces the optimization model where the developed software and the applied framework OEMOF are imple­ mented. Section 4 describes the case study and the simulation result. Then, Section 5 presents and discusses simulation results, and Section 6 draws conclusions and gives an outlook on future work. 2. Literature review Planning renewable energy systems is a complex undertaking that requires multiple factors to be considered. In addition to the technical challenges of securing a stable and reliable energy supply from intermittent renewable sources due to varying environmental conditions, there are also crucial economic considerations to be taken into account. This is particularly relevant in light of the global economic downturns, which have highlighted the importance of cost effectiveness and financial viability in sustainable energy planning. Consequently, the drive to design sustainable and cost-effective renewable energy systems is stimulating the development of existing planning frameworks and the emergence of new ones. It is then conceivable to delve deeper into the literature to undertake a head-to-head of some existing models. The review study in Ref. [47] examine the capabilities and applications of commercial tools that have significantly advanced the planning, modeling, optimization, and performance measurement of photovoltaic systems. The open source Dispatch and Investment Evaluation Tool with Endogenous Renewables (DIETER) is used in Ref. [48]. The authors examine the role of electricity storage in systems with a high variable RES proportion in Germany. Their findings highlight that electricity storage requirements are closely linked to costs and other supply alternatives. According to Ref. [49], the micrOrgridS model was tested to size the components and energy flows of a PV-diesel-battery HMG on the Pacific Island of Lifuka. A detailed analysis of the model was carried out and compared with the results obtained using Homer R Pro 3.11 software. Moreover, the authors in Ref. [50] employed the Calliope framework to build an energy model of the Sardinia region. They validated the model by verifying energy flows between nodes to minimize system costs as the main objective function. Furthermore, the study by Ref. [51], highlights the impact of the increasing integration of renewable energies and storage units in the national electricity grids in Jordan. PLEXOS software is used to analyze this integration and minimize system operating costs. Consequently, the results strongly recommend the use of energy storage to efficiently meet the growing demand resulting from this integration. The literature on [52] utilizes EUCAD (European Unit Commitment And Dispatch) software for developing a long-term energy model incorporating energy storage. This model aims to optimize the distribution of different tech­ nologies in a fixed European electricity system. The research conducted by Ref. [53] used STeMES to develop an optimal design and operation model for a hydrogen network. However, this model considers short-term drivers and long-term planning horizons. Like­ wise, the literature on [54] examines the economic benefits of the main flexibility options in the energy systems of western, northern, and central Europe through BALMOREL. The research project carried out in Ref. [55] explores different scenarios for integrating renewable energies into the energy mix of the Dominican Republic using the OSeMOSYS model. According to the results, a total in­ vestment of USD 1405.00 million would be required to reduce greenhouse gas emissions by 25 % by 2030. In the context of [56], they study the potential of electricity storage in European energy systems characterized by a high presence of renewables (over 80 %). Therefore, using the REMix optimization model, they endogenously determine electricity generation capacity and distribution, including storage technologies. Researchers at [57] have used the REMod framework to model the German electricity and heat sector in a scenario dominated by renewable energies. The result demonstrates that it is technically possible to meet the entire electricity and heat demand for the building sector with 100 % renewable energy if the heat demand is reduced by at least 60 %. Additionally, the authors in Ref. [58] carried out an analysis of possible energy futures in Egypt using two different approaches, TIMES as an optimi­ zation model and the dynamic ELTAP-EGY approach. Similarly, in Ref. [59], the researchers developed and used the oemof-moea model to analyze the Italian energy system for the year 2050 to demonstrate its main characteristics. The results show that invest­ ing in flexibility options is required to minimize carbon dioxide emissions. In the literature [60], they present the COMANDO model, illustrated by a case study of a German industrial estate. The EHDO tool is used in Ref. [61], to design and optimize multi-energy systems. Two case studies are carried out, the first on an energy center in Cologne, Germany, and the second on the supply of renewable energy to an island system on Easter Island, Chile. In addition, the authors in Ref. [62], used HOGA software to analyze three proposed renewable energy systems. The results demonstrated that the optimal configurations in terms of cost-effectiveness are PV-wind hybrid systems and stand-alone PV systems. However, it is clear from these various case studies that optimization models can address complex questions concerning the integration of renewable energies, storage systems and demand-side management. This underlines the growing significance of opti­ mization models within the transition to more sustainable energy systems, while also identifying the challenges for effective Table 2 <u>Literature review on planning techniques applied on integrated energy system.</u> Model/ <u>Approach</u> Original publication Year Type of program Model <u>features</u> _y_ _(_ _)_ Case study Description Note DIETER Zerrahn & Schill [63] DIETER Zerrahn & Schill 2017 LP SOO Germany [48] Dispatch and Investment Open [63] Evaluation Tool source micrOgridS Sarah Brendes [49] 2018 LP/MILP SOO Pacific Island Sizing and optimization tool Open Lifuka, source Tonga [49] 2017 LP SOO Germany [48] Dispatch and Investment Evaluation Tool Calliope Stefan Pfenninger and Bryn Pickering [64] 2018 MILP SOO Sardinia region [50] Sizing and optimization tool Open source Energy system Model Open source PLEXOS Drayton et al. [65] 2004 MILP/MINLP SOO Jordan [51] Integrated Energy Model Commercial EUCAD Jacques Despr´es 2014 MIQCP SOO Europe [52] Optimization model et al. [52] 2014 MIQCP SOO Europe [52] Optimization model STeMES Sheila Samsatli et al. [53] 2015 MILP MOO Great Britain [53] Spatio-temporal model of energy systems Balmorel Hans Ravn et al. [66] Balmorel Hans Ravn et al. 2001 LP (MIP) SOO Europe [54] Energy system model Open [66] source OSeMOSYS Mark Howells [67] 2011 LP SOO Dominican Energy modelling system. open source Republic [55] System optimization model Energy modelling system. System optimization model open source REMix [Scholz, Yvonne](https://elib.uni-stuttgart.de/browse?type=author&amp;value=Scholz%2C+Yvonne) [68] 2012 DLP SOO Europe [56] Renewable Energy Mix energy system model ReMod Hans-Martin Henning, Andreas Palzer [69] 2014 Mathematical–numerical optimizer SOO Germany [57] Renewable Energy Model TIMES Richard Loulou & Maryse Labriet [70] open source open source oemof-moea Matteo Giacomo Prina et al. [59] COMANDO Marco Langiu et al. [71] 2007 SP SOO Egypt [58] Energy system optimization model generator 2020 LP/MILP MOO Italy [59] Multi-objective investment optimization for energy system model 2021 MILP MOO Germany [60] Energy Systems Optimization model 2020 MILP MOO Germany, Chile [61] EHDO Marco Wirtz et al. [61] webtool for the optimal design of complex MESs HOGA Dufo-Lopez [´ 72] 2004 GA SOO Egypt [62] Hybrid Optimization <u>Program</u> implementation of these approaches in practice. Table 2 details the range of different optimal planning techniques mentioned above. 3. Optimization model _3.1._ _Background_ The optimal design and dispatching of a microgrid can be achieved using a variety of methods and at different levels, depending on the tool selected. This underlines the crucial importance of choosing the appropriate software according to the specific situation under study, the results expected, and the availability of input parameters. Researchers have developed numerous decision-aid tools for energy system modeling and optimization. Hans-Kristian Ringkjøb et al. [73] presented a review of different energy system planning and analysis software tools. Kamal Anoune et al. [74] and Sinha.S and Chandel.SS [75] specifically evaluated planning tools as they apply to hybrid energy systems. Connolly et al. [76] investigate in detail more than 37 software tools used to examine renewable energy integration. various tools discussed in the literature, HOMER is widely regarded as the industry standard, and extensively utilized by project designers and researchers worldwide. It’s a user-friendly tool with many features such as system settings, illustrations, and output tables. Nevertheless, its primary limitation lies in its commercial and proprietary nature [77]; Programmers can’t modify the tool’s code. OEMOF, on the other hand, is an open-source framework for developing models of energy systems and different applications for performing energy system analysis. _3.2._ _Model Description_ _3.2.1._ _Open energy modelling framework_ OEMOF [78] used extensively in a wide range of research questions such as [79]. This open-source tool written in the Python programming language allows for the definition of high-resolution input data and detailed analysis of the results. In particular, OEMOF enables comprehensive modeling of energy supply systems by representing them in the form of directed graphs. In these graphs, vertices correspond to system components, such as sources, sinks, and technologies, or to buses that regulate the flow of resources between these components. The edges connecting some components and buses are directed and represent the resource flows. Using _y_ _(_ _)_ Fig. 1. The flowchart of the Framework. *KPIS: Autonomy Factor, Supply reliability, NPV, CO2 Emission, First Investment, Total Demand Annual, Total Demand Supplied Annual, Total PV Generation, Total Charged Energy, Total Discharged Energy. Pyomo [80], this graph is then converted into a mixed integer linear mathematical optimization problem (MILP) that can be solved numerically by a variety of solvers [81]. The goal is to satisfy all energy demands while minimizing the system costs resulting from the energy flows. _3.2.2._ _Proposed model_ Employing the OEMOF library, we have developed an optimization framework designed to optimize capacities and flows within the energy system. This framework enables the system to meet energy demand at marginal cost-efficiently. The model’s development considers the Moroccan national grid billing system for electricity tariffs, which is mainly based on consumption per time slot (peak, off-peak and on-peak) [82]. The proposed model offers a set of inputs considering. - The technical and economic parameters relating to each system component, and the financial parameters, are maintained as fixed values. - demand profile, generation potential, grid availability as a time series, - And two options for electricity prices: fixed as a constant input or dynamic as a time series, allowing greater flexibility in the tool’s financial model to adapt to new pricing methods. _y_ _(_ _)_ The process of the tool is shown in Fig. 1, presenting the flowchart for the model. The main input and output elements are highlighted. The framework determines the cost-optimal system configuration by minimizing the annual cost to supply electricity. The objective function describes this total annualized which is presented in equation (1). In the context, _x_ represents all the system’s components, while t stands for a 1-h time step over a simulation period of one year. Besides, _ax_ signifies the asset annuity per installed unit, including both investment and fixed operation and management costs. _CAPx_ refers to the asset capacity, _Cvar_ _,_ _x_ to the variable oper­ ational or dispatch cost, and _Ex_ ( _t_ ) to the asset dispatch. _Min TAC_ = ∑ _x_ ∑ _x_ ∑ _ax.CAPx_ + _t_ _Cvar,x.Ex_ ( _t_ ) _._ (1) The annual costs specific to each system asset include replacement costs plus operating & management costs over the life of the project _T_ and the asset’s residual value at the project’s end as defined in equation (2). ∑ _nmax_ _n_ =1 _<u>capexx</u>_ (1 + _<u>d</u>_ ) <sup>_~~n~~_</sup> <sup>_._</sup> <sup>_~~t~~_</sup> <sup>_x_</sup> <sup>−</sup> <sup>_cres,x_</sup> ) _.CRF_ ( _T_ ) + _opexx_ (2) _ax_ = ( _capexx_ + Equation (2) represents several parameters. Specifically, _capex_ stands for investment cost, _opex_ denotes the annual operation and management cost, n refers to the asset replacements number during the project life. Additionally, _CRF_ represents the capital recovery factor, _cres_ denotes the residual value of an asset at the end of the project life, _tx_ stands for asset lifetime, d refers to the discount factor and _T_ to the project duration. The capital recovery factor (equation (3)), the number of replacements (equation (4)), and the residual value of the asset after the project ends (equation (5)) which is calculated and then deducted from the investment cost during the project, are all within the objective function. _CRF_ ( _T_ ) = <sup>_<u>d.</u>_</sup> <sup>(1 +</sup> <sup>_<u>d</u>_</sup> <sup>)</sup> <sup>_t_</sup> (3) (1 + _<u>d</u>_ ) <sup>_~~t~~_</sup> - <u>1</u> ( _<u>T</u>_ _n_ = _round_ _~~t~~_ _x_ ) + 0 _._ 5 - 1 (4) _<u>capex</u>_ _cres_ = (5) (1 + _<u>d</u>_ ) <sup>_~~n~~_</sup> <sup>_max._</sup> <sup>_~~t~~_</sup> <sup>_x_</sup> <sup>_~~.~~_</sup> <sup>_<u>nmax.</u>_</sup> _~~T~~_ <sup>_<u>ta</u>_</sup> <sup>−</sup> <sup>_<u>T</u>_</sup> _3.2.3._ _Microgrid constraints_ Equation (6) describes the power balance constraints. The assets must be distributed in such a way as to balance the electrical buses at each time step and dispatch functions for the energy system. _Ex_ ( _t_ ) + _EBatt,Dis_ ( _t_ ) _._ η _Dis_ - _EBatt,Char_ ( _t_ ) + _Eshort_ ( _t_ ) − _Eex_ ( _t_ ) = _EDem_ ( _t_ ) (6) Equation (6) introduces a set of parameters within the context of the analysis. The variables are defining as follows: _Ex_ ( _t_ ): asset generation value, _EBatt_ _,_ _Dis_ ( _t_ ): battery discharge after discharge losses, _EBatt_ _,_ _Char_ ( _t_ ): energy flow from battery charge before charge losses, η : conversion efficiency, _Eshort_ ( _t_ ): reduction of energy flow in order to compensate shortage supply (Energy flow from symbolic source to balance out supply shortage), _Eex_ ( _t_ ): energy flow mitigated to balance out excess generation (Energy flow into symbolic sink to balance out excess generation), _EDem_ ( _t_ ): energy demand. _3.2.4._ _Battery constraints_ The battery can store energy under two conditions: The minimum and maximum storage level (equation (7)), and this energy varies as the battery is charged and discharged and as self-discharge losses occur (equation (8)). _CAPBatt,KWh.SOCmin_ ≤ _EBatt,stored_ ( _t_ ) ≤ _CAPBatt,KWh.SOCmax_ ∀ _t,_ (7) _EBatt,stored_ = _EBatt,stored_ ( _t_ - 1) _._ (1 − _ϵsd_ ) + _EBatt,Char_ ( _t_ ) _._ η _Char_ - <sup>_<u>EBatt,Dis</u>_</sup> <sup><u>(</u></sup> <sup>_<u>t</u>_</sup> <sup><u>)</u></sup> η _Dis_ _,_ (8) with _ϵsd_ self discharge losses of the battery per time step. Equations (9) and (10) illustrate that battery charging and discharging is limited by a C-rate and the optimized charge and discharge power of the battery, _EBatt,Char_ ( _t_ ) ≤ _CAPBatt,KWh.CrateChar_ ∧ _EBatt,Char_ ≤ _CAPBatt,KW,Char,_ (9) _y_ _(_ _)_ Fig. 2. The Energy system model adapted to the simulation tool. Fig. 3. Monthly global horizontal irradiance (KWh/m <sup>2</sup> ). _EBatt,Dis_ ( _t_ ) ≤ _CAPBatt,KWh.CrateDis_ ∧ _EBatt,Dis_ ≤ _CAPBatt,KW,Dis._ (10) The electricity stored in the battery in first- and last-time step is determined to be equal (equation (11)): _EBatt,stored_ (0) = _EBatt,stored_ ( _T_ ) _._ (11) 4. Case study _4.1._ _Overview_ As part of the OCP strategy, we apply the modeling and optimization framework to the energy system supplying an OCP’s mining site to better understand its techno-economic potential. We define our supply option as a complete set of components (PV, battery storage system, converters, connection to the national grid). Fig. 2 illustrates the architecture of this supply system, which is evaluated based on the reliability and supply cost. Therefore, our work tackles the broader question of efficiently and optimally reducing dependence on the national grid through the implementation of a battery storage system to accommodate the intermittency of PV sources. To analyze this alternative, it is necessary to define optimal overall system capacities and dispatch strategies that can meet the electricity demand currently supplied only by the National Grid. _y_ _(_ _)_ Fig. 4. Monthly average GHI values in kWh/m <sup>2</sup> /Day, min/max monthly value (lines), and variability. Fig. 5. Monthly average GTI values in kWh/m <sup>2</sup> /Day, min/max monthly value (lines), and variability. _4.2._ _Input parameters_ _4.2.1._ _Solar resources_ A detailed assessment of the feasibility of the effective use of solar energy in an energy system is of primary importance. The uncertainties associated with the solar resource can make a very important distinction between a benefit and a loss, which underlines the relevance of the solar resource analysis of the chosen site. To optimally size future photovoltaic power plants, it is necessary to evaluate the solar resource using site meteorological data to simulate the yield of the solar station that will be set up at the mine site. One of the ultimate goals of the assessment is to characterize the solar irradiance available for energy conversion for the region or location of interest over a historical period of interest. Based on the Helioclim, HelioClim3 (HC3V5) [83] database data provided in a TMY (Typical Meteorological Year) format including all geographical and meteorological parameters, a set of evaluation calculations and simulations are made. We have used three fundamental components of solar radiation at the Earth’s surface: global horizontal irradiance (GHI), direct normal irradiance (DNI), and global tilted irradiance (GTI). Fig. 3 illustrates the calculated monthly global horizontal irradiance (GHI) (KWh/m <sup>2</sup> ), we can observe that it reaches a maximum of 239. 68 KWh/m <sup>2</sup> /month in July and a minimum value of 96.59 KWh/m <sup>2</sup> /month in December, the annual global irradiance of this site reaches 2.01 MWh/m <sup>2</sup> . Fig. 4 represents the variation of GHI (KWh/m <sup>2</sup> /Day) for each month. The variability around the monthly average value±standard deviation for each month. The minimum and maximum values for each month are also shown. The site is characterized by high _y_ _(_ _)_ Table 3 <u>Input parameters for site Case study.</u> <u>Component</u> <u>Parameter</u> <u>Unit</u> <u>Value</u> PV Cost_investment $/KWp 691 Cost_opex $/KWp/yr 20 Lifetime yr 25 Storage Cost_investment (Capacity) $/KWh 203 Cost_investment (Power) $/KW 812 Cost_opex $/KWh/yr 3.8 Lifetime yr 10 Charge_effeciency Fraction 0.98 Discharge_effeciency Fraction 0.98 Inverter Cost_investment $/KW 174 Cost_opex $/KW/yr 6 efficiency % 0.98 <u>Lifetime</u> <u>yr</u> <u>15</u> horizontal irradiance estimated at an average of 5.52 KWh/m <sup>2</sup> /Day, while it reaches a peak value of 8.95 KWh/m <sup>2</sup> /Day in June and a minimum value of 1.07 KWh/m <sup>2</sup> /Day in December. It is also observed that the most fluctuation in irradiance occurs in April and September. Fig. 5 illustrates the variability of the global tilted irradiance (for a chosen optimal tilt angle of 30 <sup>◦</sup> ) for each month. The average daily GTI is 6.36 KWh/m2/Day, which equals 6 full sun hours, or the operating hours of a PV system at 1KW/m2 per day. The global tilted irradiance reaches a peak maximum of 8.33 KWh/m <sup>2</sup> /Day in June and min. value of 1.74 KWh/m <sup>2</sup> /Day in December. _4.2.2._ _Load profile_ In this stage, the site energy consumption and demand profiles for the period 2019–2021 are studied quantitatively and qualita­ tively, with intensive analysis of annual, seasonal, monthly, weekly, and daily consumption variability. The data used in this study was collected using electricity meters provided by ONEE, the grid provider in Morocco. The annual consumption value for 2019 appears to be lower than the relatively similar years 2020 through 2021 due to some data losses. The year 2020 was chosen as the typical year for our study. _4.2.3._ _System component techno-economic specifications_ In the techno-economic specifications section of this study, photovoltaic (PV) and storage systems will be used as primary alter­ natives to grid consumption, rather than simply serving as additional backup devices. To achieve optimal energy dispatch, we will fully integrate the OEMOF framework’s dispatch optimization method, which is based on perfect forecasts, into the simulation process. This integration is designed to improve the efficiency and accuracy of energy system modeling, ensuring a robust analysis of supply and demand dynamics. The input data set includes a demand profile, grid electricity prices divided into 3-time segments (full, off-peak, and peak), a specific time series of solar production, a grid availability profile, system costs, and technical parameters (see Table 3). We apply the projected costs and technical assumptions studied to describe the cost investment, OPEX, lifetimes, and other specified technical parameters of specific Microgrid components. For instance, we employ an initial capital cost of 691 $/kWp, an operating cost of 3 % of the capital cost, and a 25-year lifetime for the PV plants [84]. For the storage system, we chose the lithium-ion battery technology for our study case promising lower costs, higher efficiency, and longer life cycles compared to other technologies with a CAPEX of $203/kWh of installed capacity, OPEX of $5/kWh/year, assigning a lifetime of 10 years [85]. _4.3._ _Scenario development: sensitivity analyses_ To conduct an economic study, we apply the analysis of multiple scenarios in the described case study. This involved performing a sensitivity analysis on some economic parameters. First, we examine the PV and storage system costs sensitivity, along with the sensitivity of renewable energy share within the system under study. Specifically, the analysis takes into account renewable energy shares of 61.18 % and 31.18 %, which have been defined by the OCP group according to its green energy requirements. These shares reflect the OCP’s strategic objectives to meet its energy needs while reinforcing its commitment to sustainable development. Second, we evaluate the sensitivity of the weighted average cost of capital (WACC), a widely used financial parameter that determines the required project rate of return. By addressing these factors, we seek to gain a comprehensive understanding of the economic impli­ cations and potential outcomes associated with the studied system. _4.3.1._ _- Scenario 1: PV capex, renewable share (RS)_ In this first scenario, we subject the PV investment cost and the share of renewables in the energy system to a sensitivity analysis. Four experiments result from the four combinations introduced by the suggested values of the PV investment cost (present value, present value-25 %) and the share of renewables (61.18 % RS, 31.18 % RS). Table 4 <u>Techno-economic assessment for scenario 1.</u> <u>PV Capex</u> <u>Present Value (691 $/kWp)</u> RS Autonomy Factor (%) LCOE ($/kWh) NPV (M$) PV Capacity (kWp) Storage Capacity (kWh) Supply Reliability (%Demand) _y_ _(_ _)_ First investment (M$) 61.18 % 61.18 0.11847 428.730 199.153 659.146 1 283.282 31.18 % 31.18 0.07111 257.342 100.246 68.353 1 92.838 PV Capex Present Value – 25 % (Present Value) (518.25 $/kWp) 61.18 % 61.18 0.11096 401.519 212.381 635.331 1 250.895 <u>31.18 %</u> <u>31.18</u> <u>0.06769</u> <u>244.966</u> <u>105.407</u> <u>59.317</u> <u>1</u> <u>76.309</u> Fig. 6. Annual consumption coverage (PV capex present value). Fig. 7. Energy flows (PV Capex Present value, RS 61.18 %). _4.3.2._ _- Scenario 2: Battery Capex, RS_ The second scenario concerns the investment cost of the batteries and the share of renewable energies in the studied energy system. The investment cost of the batteries takes two values (present value, present value - 25 %), and the share of renewable energies is fixed _y_ _(_ _)_ Fig. 8. Energy flows (PV Capex Present value, RS 31.18 %). Fig. 9. Energy flows (PV Capex Present value-25 %, RS 61.18 %). at two values (61.18 %, 31.18 %). _4.3.3._ _- Scenario 3: WACC, RS_ The third scenario deals with the weighted average cost of capital (WACC) and the share of renewables in the studied energy system. The Wacc takes three values (5 %,7 %), and the share of renewable energy is set to two values (61.18 %, 31.18 %). These combinations generate four sensitivity analysis experiments and thus four simulation results. Fig. 10. Energy flows (PV Capex Present value-25 %, RS 31.18 %). Table 5 <u>Techno-economic assessment for scenario 2.</u> <u>Battery Capex</u> <u>Present Value (203 $/kWh)</u> RS Autonomy Factor (%) LCOE ($/kWh) NPV (M$) PV Capacity (kWp) Storage Capacity (kWh) Supply Reliability (% Demand) _y_ _(_ _)_ First investment (M$) 61.18 % 61.18 0.11847 428.730 199.153 659.146 1 283.282 31.18 % 31.18 0.07111 257.342 100.246 68.353 1 92.838 Battery Present Value – 25 % (Present Value) (152.25 $/kWh) Capex 61.18 % 61.18 0.10536 381.281 190.570 678.748 1 246.750 <u>31.18 %</u> <u>31.18</u> <u>0.06961</u> <u>251.907</u> <u>94.788</u> <u>80.747</u> <u>1</u> <u>87.472</u> Capex Present Value – 25 % (Present Value) (152.25 $/kWh) 5. Simulation results and discussion _5.1._ _Scenario 1_ The optimal capacities of the energy system for each sensitivity experiment are determined under scenario 1. The techno-economic optimization determines the optimal capacities and their distribution for each of the combinations (PV Capex, RS). To visualize the optimizations made for the project site, Table 4 containing all costs and optimal capacities is presented. The cost results are discussed and, where possible, compared to the results of other sensitivity experiments. Energy demand is met directly by solar power generation and battery discharge, by a minimum of 61.18 % renewable energy (Fig. 6). The main grid is used exclusively to cover the remaining demand, which represents around 38.8 % of the total energy used on site. Figs. 7–10 show the distribution of generation and storage components at the site under investigation. The site-specific load profile exhibits a peak demand for 83.138 MW. Based on this profile, the optimal PV system capacity varies between 100.246 and 212.381 MWp for a renewable supply of 61.18 %, while for a renewable share of 31.18 %, it ranges from 100.246 to 105.407 MWp. The PV system capacity depends on the capital cost associated with PV installation. _5.2._ _Scenario 2_ In scenario 2, the evaluation of lithium-ion batteries cost investment is combined with the assessment of the renewable energy share within the energy system. Four sensitivity experiments were simulated. Table 5 presents the results, showcasing the cost and capacity optimizations achieved by the framework for the project site. This allows a clear view of the cost and capacity optimizations _y_ _(_ _)_ Fig. 11. Energy flows (Battery Capex Present value, RS 61.18 %). Fig. 12. Energy flows (Battery Capex Present value, RS 31.18 %). made by oemof for the project site. Figs. 11–14 illustrate the distribution of the generation and storage components at the site. The optimal capacity for the PV system, depending on the PV capital cost and the renewable share of supply, varies between 190.570 and 199.153 MWp for a renewable supply of 61.18 %. In the case of 31.18 % renewable supply, the optimal capacity ranges from 94.788 to 100.246 MWp. These variations are linked to the site-specific load profile, characterized by a peak demand of 83.138 MW. _y_ _(_ _)_ Fig. 13. Energy flows (Battery Capex Present value-25 %, RS 61.18 %). Fig. 14. Energy flows (Battery Capex Present value-25 %, RS 31.18 %). _5.3._ _Scenario 3_ Scenario 3 involves the evaluation of four sensitivity experiments to track the influence of the financial element, the WACC. Also, the system’s renewable share is also varied between 61.18 % and 31.18 %. By conducting these experiments, we aim to assess the impact of changing the WACC and renewable share on the system performance and financial outcomes. This analysis helps to un­ derstand how these parameters affect the system viability and cost effectiveness. Table 6 <u>Techno-economic assessment for scenario 3.</u> <u>Wacc</u> <u>7 %</u> RS Autonomy Factor (%) LCOE ($/kWh) NPV (M$) PV Capacity (kWp) Storage Capacity (kWh) Supply Reliability (%Demand) _y_ _(_ _)_ First investment (M$) 61.18 % 61.18 0.11847 428.730 199.153 659.146 1 283.282 31.18 % 31.18 0.07111 257.342 100.246 68.353 1 92.838 Wacc 5 % 61.18 % 61.18 0.10844 431.424 201.752 654.096 1 284.057 <u>31.18 %</u> <u>31.18</u> <u>0.06797</u> <u>270.409</u> <u>101.337</u> <u>66.265</u> <u>1</u> <u>93.164</u> Fig. 15. Energy flows (Wacc 5 %, RS 61.18 %). The simulation options undergo a thorough evaluation, and Table 6 presents in detail the results. These results provide insights into the optimal energy system capacities and costs that meet the total demand while adhering to the specified constraints. By examining these options, we can identify the most efficient and cost-effective configuration for the energy system. Figs. 15–18 provide a comprehensive illustration of the energy flows within the energy system, showcasing the interactions be­ tween production, storage, and consumption components at the site. For this scenario, the optimal capacity of the PV system is 201.752 MWp for a renewable supply of 61.18 % and 101.337 MWp for 31.18 % renewable supply. These optimal capacities depend both on the value of the WACC and the site-specific load profile, characterized by a peak demand of 83.138 MW. By considering these parameters, we can effectively assess the optimal PV system capacity required to meet the specified renewable supply targets and adapt to the unique load profile of the site. _5.4._ _Discussion_ LCOE is one of the indicators that allow the comparison of different generation technologies that differ in capital costs, operation and maintenance costs, useful life, and many other elements. It is an indicator of the price of electricity required for a project with revenues equal to costs, including the achievement of a return on investment equal to the discount rate. In this study section, we have plotted the variation of this indicator to track the PV cost, Battery cost, and Wacc influence on this parameter and thus on the project profitability. Fig. 19 shows a decreasing value with decreasing PV investment cost itself, for example, and at a 61.18 % renewable supply, for the currently adopted PV investment cost which is about 691 $/kWp according to the latest cost updates, the LCOE is about 0.11847 $/kWh and it can reach 0.11096 $/kWh if the PV investment cost decreases by 25 %. This downward trend holds for all combinations studied in the scenario 1. The sensitivity study of the combination (battery investment cost, share of renewables) gives a variation of the financial indicator LCOE as presented in Fig. 20, it follows the behavior of the sensitivity parameters, e.g., the LCOE decreases by reducing the battery investment cost by 25 % of its current value, for a 61 % renewable supply, the LCOE goes from about 0.11847 $/kWh to 0.10536 _y_ _(_ _)_ Fig. 16. Energy flows (Wacc 5 %, RS 31.18 %). Fig. 17. Energy flows (Wacc 7 %, RS 61.18 %). $/kWh. This downward trend is also true for all combinations studied in the second scenario. The combination (WACC, share of renewables) sensitivity study gives a variation of the financial indicator LCOE as presented in Fig. 21, it follows the behavior of the sensitivity parameters and the LCOE increases by increasing project wacc. Currently, the average value adopted by energy projects in Morocco is around 7 %, which is the case giving an LCOE of about 0.11847 $/kWh for a 61.18 % renewable supply, this value decreases to 0.10844 $/kWh if we adopt a WACC of 5 %. So, if we decrease the WACC by 28.57 % the LCOE decreases by 8.47 % which shows that this parameter is also important, this behavior is verified for all _y_ _(_ _)_ Fig. 18. Energy flows (Wacc 7 %, RS 31.18 %). Fig. 19. LCOE variation by PV Capex and RS sensitivity. Fig. 20. LCOE variation by Battery Capex and RS sensitivity. combinations studied in scenario 3. Based on these financial metrics and in terms of LCOE, installation, operation, and maintenance expenses, the reference model with a PV capital cost of about $691/kWp and a battery capital cost of about $203/kWh and a WACC of 7 % yielded an LCOE of 0. 11847 $/kWh, the energy cost can be improved shortly due to the decreasing cost trend according to the analyses made above and that will be an increasingly cheaper solution to provide electricity, ensuring a constant supply to meet the total expected demand. A summary of the battery and PV capital cost sensitivity study showing the co-behavior of LCOE for different scenarios is illustrated in Figs. 22 and _y_ _(_ _)_ Fig. 21. LCOE variation by WACC and RS sensitivity. Fig. 22. LCOE variation by PV Capex, Battery Capex (RS 61.18 %). Fig. 23. LCOE variation by PV Capex, Battery Capex (RS 31.18 %). _y_ _(_ _)_ 23. The LCOE tends to decrease to competitive costs ($0.07835/kWh) for 61.18 % renewables share and ($0.06206/kWh) for 31.13 % renewable share when both PV and battery capital costs decrease by 50 % of their current values. 6. Conclusion This work enabled an economic analysis of the energy system allowing the supply of electrical energy to the studied sites. A sensitivity analysis of a set of economic and financial parameters was also implemented (PV Cost investment, Battery Cost investment, WACC). The sensitivity inputs were presented under a matrix form, which allowed the sensitivity study of two parameters simulta­ neously generating a multitude of combinations to be simulated, discussed and evaluated in the case study. Two supply options with 61.18 % and 31.18 % renewable energy coverage are presented. The simulation results are compared economically through the LCOE indicator, for 61.18 % renewable energy coverage, scenario 1 showed that the investment cost of PV improves the economic profitability by reducing the LCOE by 6.34 %, if decreased by 25 %. While scenario 2 showed that the investment cost of the batteries can more strongly improve this profitability if it also decreases by 25 % through a 11.06 % reduction in LCOE. From a financial point of view, the wacc parameter variation also increases its influence on the economic profitability by decreasing LCOE by 8.46 % if we have a wacc of about 5 % instead of the 7 % currently adopted. Although for a 31.18 % renewable energy system, for a 25 % reduction in PV CAPEX, the LCOE decreases by 4.8 % while it decreases by 2.11 % by reducing the battery CAPEX by 25 %. For the same share of renewable energy, if it reaches 5 %, the WACC lowers the LCOE by 4.41 %. Therefore, when tracking the evolution of LCOE for each scenario studied, we infer that the variation in battery CAPEX and WACC affects power generation costs more strongly than the variation in solar CAPEX. Finally, we can state that the answer to the research question outlined in the case study chapter has been addressed. Based on these financial metrics and in terms of LCOE, installation, operation and maintenance expenses, the reference model with a PV capital cost of about 691 $/kWp and a battery capital cost of about 203 $/kWh and a WACC of 7 % yielded a LCOE of 0.11847 $/kWh, the energy cost can be improved in the near future due to the decreasing cost trend according to the analyses made above and that will be an increasingly cheaper solution to provide electricity, ensuring a constant supply to meet the total expected demand. Future work will investigate how degradation of battery energy storage systems affects both the cost and efficiency of their use in microgrid applications. This analysis will take into account the constraints associated with the technical specifications of BESS and the particular conditions of the grid. By better understanding how BESS degradation affects these elements, we will be able to develop more resilient strategies for their optimal use in real-world environments. CRediT authorship contribution statement Oumaima Mahir: Writing – original draft, Software, Methodology, Conceptualization. Abdelilah Rochd: Writing – review & editing, Methodology, Conceptualization. Aboubakr Benazzouz: Validation, Supervision, Conceptualization. Hicham Ghennioui: Supervision. Data availability The data that has been used is confidential. Declaration of competing interest The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper. Acknowledgments This work was supported by Green Energy Park Research Platform, Morocco; Mohammed VI Polytechnic University, Morocco; Sidi Mohamed Ben Abdellah University, Morocco; OCP Group, Morocco. References [1] United Nations Department of Economic and Social Affairs, The sustainable development goals report 2023: special edition, in: The Sustainable Development [Goals Report, United Nations, 2023, https://doi.org/10.18356/9789210024914.](https://doi.org/10.18356/9789210024914) [2] C. U.- Columbia Center on Sustainable Investment and (Rmf) The Responsible Mining Foundation, Mining and the SDGs: a 2020 status update, SSRN Electron. J. [(2020), https://doi.org/10.2139/ssrn.3726386.](https://doi.org/10.2139/ssrn.3726386) [3] M. Deveci, et al., Evaluation of risks impeding sustainable mining using Fermatean fuzzy score function based SWARA method, Appl. Soft Comput. 139 (May [2023) 110220, https://doi.org/10.1016/j.asoc.2023.110220.](https://doi.org/10.1016/j.asoc.2023.110220) [4] [“sdg-7.”. https://sdgcompass.org/sdgs/sdg-7/. (Accessed 6 March 2023).](https://sdgcompass.org/sdgs/sdg-7/) [5] [H. Tiainen, R. Sairinen, V. Novikov, Mining in the chatkal valley in Kyrgyzstan—challenge of social sustainability, Resour. Policy 39 (Mar. 2014) 80–87, https://](https://doi.org/10.1016/j.resourpol.2013.11.005) [doi.org/10.1016/j.resourpol.2013.11.005.](https://doi.org/10.1016/j.resourpol.2013.11.005) [6] L. Shen, K. Muduli, A. Barve, Developing a sustainable development framework in the context of mining industries: AHP approach, Resour. Policy 46 (Dec. [2015) 15–26, https://doi.org/10.1016/j.resourpol.2013.10.006.](https://doi.org/10.1016/j.resourpol.2013.10.006) [7] [H. Tiainen, Contemplating governance for social sustainability in mining in Greenland, Resour. Policy 49 (Sep. 2016) 282–289, https://doi.org/10.1016/j.](https://doi.org/10.1016/j.resourpol.2016.06.009) [resourpol.2016.06.009.](https://doi.org/10.1016/j.resourpol.2016.06.009) _y_ _(_ _)_ [8] K. Govindan, K. Muduli, K. Devika, A. Barve, Investigation of the influential strength of factors on adoption of green supply chain management practices: an [Indian mining scenario, Resour. Conserv. Recycl. 107 (Feb. 2016) 185–194, https://doi.org/10.1016/j.resconrec.2015.05.022.](https://doi.org/10.1016/j.resconrec.2015.05.022) [9] [T. Norgate, N. Haque, Energy and greenhouse gas impacts of mining and mineral processing operations, J. Clean. Prod. 18 (3) (Feb. 2010) 266–274, https://doi.](https://doi.org/10.1016/j.jclepro.2009.09.020) [org/10.1016/j.jclepro.2009.09.020.](https://doi.org/10.1016/j.jclepro.2009.09.020) [10] K. Muduli, K. Govindan, A. Barve, D. Kannan, Y. Geng, Role of behavioural factors in green supply chain management implementation in Indian mining [industries, Resour. Conserv. Recycl. 76 (Jul. 2013) 50–60, https://doi.org/10.1016/j.resconrec.2013.03.006.](https://doi.org/10.1016/j.resconrec.2013.03.006) [11] D. Çelik, M.E. Meral, M. Waseem, Investigation and analysis of effective approaches, opportunities, bottlenecks and future potential capabilities for [digitalization of energy systems and sustainable development goals, Electr. Power Syst. Res. 211 (Oct. 2022) 108251, https://doi.org/10.1016/j.](https://doi.org/10.1016/j.epsr.2022.108251) [epsr.2022.108251.](https://doi.org/10.1016/j.epsr.2022.108251) [12] T. Igogo, K. Awuah-Offei, A. Newman, T. Lowder, J. Engel-Cox, Integrating renewable energy into mining operations: opportunities, challenges, and enabling [approaches, Appl. Energy 300 (Oct. 2021) 117375, https://doi.org/10.1016/j.apenergy.2021.117375.](https://doi.org/10.1016/j.apenergy.2021.117375) [13] A. Paneri, K. Moore, A. Beylot, S. Muller, M. Braun, X. Yan, Renewable energy can make small-scale mining in Europe more feasible, Resour. Conserv. Recycl. [172 (Sep. 2021) 105674, https://doi.org/10.1016/j.resconrec.2021.105674.](https://doi.org/10.1016/j.resconrec.2021.105674) [14] E. Vyhmeister, et al., A combined photovoltaic and novel renewable energy system: an optimized techno-economic analysis for mining industry applications, [J. Clean. Prod. 149 (Apr. 2017) 999–1010, https://doi.org/10.1016/j.jclepro.2017.02.136.](https://doi.org/10.1016/j.jclepro.2017.02.136) [15] A. Strazzabosco, J.H. Gruenhagen, S. Cox, A review of renewable energy practices in the Australian mining industry, Renew. Energy 187 (Mar. 2022) 135–143, [https://doi.org/10.1016/j.renene.2022.01.021.](https://doi.org/10.1016/j.renene.2022.01.021) [16] F. Muhirwa, L. Shen, A. Elshkaki, H. Hirwa, G. Umuziranenge, K. Velempini, Linking large extractive industries to sustainable development of rural communities [at mining sites in Africa: challenges and pathways, Resour. Policy 81 (Mar. 2023) 103322, https://doi.org/10.1016/j.resourpol.2023.103322.](https://doi.org/10.1016/j.resourpol.2023.103322) [17] Energies RENOUVELABLES. <sup>´</sup> [https://www.mem.gov.ma/Pages/secteur.aspx?e=2. (Accessed 6 March 2023).](https://www.mem.gov.ma/Pages/secteur.aspx?e=2) [18] Morocco targets 80% renewable energy by 2050 with technological evolution in energy storage, green hydrogen, and decreasing energy costs, says GlobalData [GlobalData. https://www.globaldata.com/media/power/morocco-targets-80-renewable-energy-2050-technological-evolution-energy-storage-green-hydrogen-](https://www.globaldata.com/media/power/morocco-targets-80-renewable-energy-2050-technological-evolution-energy-storage-green-hydrogen-decreasing-energy-costs-says-globaldata/) [decreasing-energy-costs-says-globaldata/. (Accessed 6 March 2023).](https://www.globaldata.com/media/power/morocco-targets-80-renewable-energy-2050-technological-evolution-energy-storage-green-hydrogen-decreasing-energy-costs-says-globaldata/) [19] [Our strategy | OCP group. https://www.ocpgroup.ma/strategy. (Accessed 6 March 2023).](https://www.ocpgroup.ma/strategy) [20] Y. Wu, C. Xu, T. Zhang, Evaluation of renewable power sources using a fuzzy MCDM based on cumulative prospect theory: a case in China, Energy 147 (Mar. [2018) 1227–1239, https://doi.org/10.1016/j.energy.2018.01.115.](https://doi.org/10.1016/j.energy.2018.01.115) [21] Y.A. Solangi, Q. Tan, N.H. Mirjat, S. Ali, Evaluating the strategies for sustainable energy planning in Pakistan: an integrated SWOT-AHP and Fuzzy-TOPSIS [approach, J. Clean. Prod. 236 (Nov. 2019) 117655, https://doi.org/10.1016/j.jclepro.2019.117655.](https://doi.org/10.1016/j.jclepro.2019.117655) [22] F. Sitorus, P.R. Brito-Parada, A multiple criteria decision making method to weight the sustainability criteria of renewable energy technologies under [uncertainty, Renew. Sustain. Energy Rev. 127 (Jul. 2020) 109891, https://doi.org/10.1016/j.rser.2020.109891.](https://doi.org/10.1016/j.rser.2020.109891) [23] J. Yuan, C. Li, W. Li, D. Liu, X. Li, Linguistic hesitant fuzzy multi-criterion decision-making for renewable energy: a case study in Jilin, J. Clean. Prod. 172 (Jan. [2018) 3201–3214, https://doi.org/10.1016/j.jclepro.2017.11.038.](https://doi.org/10.1016/j.jclepro.2017.11.038) [24] G. Büyükozkan, S. Güleryüz, Evaluation of Renewable Energy Resources in Turkey using an integrated MCDM approach with linguistic interval fuzzy preference ¨ [relations, Energy 123 (Mar. 2017) 149–163, https://doi.org/10.1016/j.energy.2017.01.137.](https://doi.org/10.1016/j.energy.2017.01.137) [25] [L. Schmeling, et al., A generalised optimal design methodology for distributed energy systems, Renew. Energy 200 (Nov. 2022) 1223–1239, https://doi.org/](https://doi.org/10.1016/j.renene.2022.10.029) [10.1016/j.renene.2022.10.029.](https://doi.org/10.1016/j.renene.2022.10.029) [26] M. Fattahi, H. Mosadegh, A. Hasani, Sustainable planning in mining supply chains with renewable energy integration: a real-life case study, Resour. Policy 74 [(Dec. 2021) 101296, https://doi.org/10.1016/j.resourpol.2018.11.010.](https://doi.org/10.1016/j.resourpol.2018.11.010) [27] A. Rubio, F. Schuldt, P. Klement, K. von Maydell, Optimal power dispatch in energy systems considering grid constraints, Energies 15 (1) (Dec. 2021) 192, [https://doi.org/10.3390/en15010192.](https://doi.org/10.3390/en15010192) [28] F. Martins, C. Patrao, P. Moura, A.T. de Almeida, A review of energy modeling tools for energy efficiency in smart cities, Smart Cities 4 (4) (Nov. 2021) ˜ [1420–1436, https://doi.org/10.3390/smartcities4040075.](https://doi.org/10.3390/smartcities4040075) [29] S. Candas, et al., Code exposed: review of five open-source frameworks for modeling renewable energy systems, Renew. Sustain. Energy Rev. 161 (Jun. 2022) [112272, https://doi.org/10.1016/j.rser.2022.112272.](https://doi.org/10.1016/j.rser.2022.112272) [30] O. Boqtob, H. El Moussaoui, H. El Markhi, T. Lamhamdi, Optimal sizing of grid connected microgrid in Morocco using Homer Pro, in: _2019 International_ _Conference On Wireless Technologies, Embedded And Intelligent Systems (WITS)_ [, Fez, Morocco: IEEE, Apr. 2019, pp. 1–6, https://doi.org/10.1109/](https://doi.org/10.1109/WITS.2019.8723790) [WITS.2019.8723790.](https://doi.org/10.1109/WITS.2019.8723790) [31] B. Belmahdi, A.E. Bouardi, Simulation and optimization of microgrid distributed generation: a case study of university abdelmalek essaˆadi in Morocco, Procedia [Manuf. 46 (2020) 746–753, https://doi.org/10.1016/j.promfg.2020.03.105.](https://doi.org/10.1016/j.promfg.2020.03.105) [32] L. Mellouk, M. Ghazi, A. Aaroud, M. Boulmalf, D. Benhaddou, K. Zine-Dine, Design and energy management optimization for hybrid renewable energy system [case study: laayoune region, Renew. Energy 139 (Aug. 2019) 621–634, https://doi.org/10.1016/j.renene.2019.02.066.](https://doi.org/10.1016/j.renene.2019.02.066) [33] R. Mouachi, M.A. Jallal, F. Gharnati, M. Raoufi, Multiobjective sizing of an autonomous hybrid microgrid using a multimodal delayed PSO algorithm: a case [study of a fishing village, Comput. Intell. Neurosci. 2020 (Aug. 2020) 1–18, https://doi.org/10.1155/2020/8894094.](https://doi.org/10.1155/2020/8894094) [34] M. Kharrich, O. Mohammed, M. Akherraz, Design of hybrid microgrid PV/Wind/Diesel/Battery system: case study for rabat and baghdad, EAI Endorsed Trans. [Energy Web (Jul. 2018), https://doi.org/10.4108/eai.13-7-2018.162692, 0, no. 0, p. 162692.](https://doi.org/10.4108/eai.13-7-2018.162692) [35] A. Allouhi, S. Rehman, M. Krarti, Role of energy efficiency measures and hybrid PV/biomass power generation in designing 100% electric rural houses: a case [study in Morocco, Energy Build. 236 (Apr. 2021) 110770, https://doi.org/10.1016/j.enbuild.2021.110770.](https://doi.org/10.1016/j.enbuild.2021.110770) [36] M. Kharrich, O.H. Mohammed, N. Alshammari, M. Akherraz, Multi-objective optimization and the effect of the economic factors on the design of the microgrid [hybrid system, Sustain. Cities Soc. 65 (Feb. 2021) 102646, https://doi.org/10.1016/j.scs.2020.102646.](https://doi.org/10.1016/j.scs.2020.102646) [37] M. Kharrich, et al., Developed approach based on equilibrium optimizer for optimal design of hybrid PV/Wind/Diesel/Battery microgrid in dakhla, Morocco, [IEEE Access 9 (2021) 13655–13670, https://doi.org/10.1109/ACCESS.2021.3051573.](https://doi.org/10.1109/ACCESS.2021.3051573) [38] M. Kharrich, et al., Economic and ecological design of hybrid renewable energy systems based on a developed IWO/BSA algorithm, Electronics 10 (6) (Mar. [2021) 687, https://doi.org/10.3390/electronics10060687.](https://doi.org/10.3390/electronics10060687) [39] M. Chennaif, M. Maaouane, H. Zahboune, M. Elhafyani, S. Zouggar, Tri-objective techno-economic sizing optimization of Off-grid and On-grid renewable energy [systems using Electric system Cascade Extended analysis and system Advisor Model, Appl. Energy 305 (Jan. 2022) 117844, https://doi.org/10.1016/j.](https://doi.org/10.1016/j.apenergy.2021.117844) [apenergy.2021.117844.](https://doi.org/10.1016/j.apenergy.2021.117844) [40] L. El Boujdaini, A. Mezrhab, M.A. Moussaoui, F. Jurado, D. Vera, Sizing of a stand-alone PV–wind–battery–diesel hybrid energy system and optimal combination [using a particle swarm optimization algorithm, Electr. Eng. 104 (5) (Oct. 2022) 3339–3359, https://doi.org/10.1007/s00202-022-01529-0.](https://doi.org/10.1007/s00202-022-01529-0) [41] A. Allouhi, S. Rehman, Grid-connected hybrid renewable energy systems for supermarkets with electric vehicle charging platforms: optimization and sensitivity [analyses, Energy Rep. 9 (Dec. 2023) 3305–3318, https://doi.org/10.1016/j.egyr.2023.02.005.](https://doi.org/10.1016/j.egyr.2023.02.005) [42] Y. Amry, E. Elbouchikhi, F. Le Gall, M. Ghogho, S. El Hani, Optimal sizing and energy management strategy for EV workplace charging station considering PV [and flywheel energy storage system, J. Energy Storage 62 (Jun. 2023) 106937, https://doi.org/10.1016/j.est.2023.106937.](https://doi.org/10.1016/j.est.2023.106937) [43] A. Allouhi, A hybrid PV/wind/battery energy system to assist a run-of-river micro-hydropower for clean electrification and fuelling hydrogen mobility for young [population in a rural Moroccan site, J. Clean. Prod. 442 (Feb. 2024) 140852, https://doi.org/10.1016/j.jclepro.2024.140852.](https://doi.org/10.1016/j.jclepro.2024.140852) [44] S. Forrousso, et al., Optimal sizing of off-grid microgrid building-integrated-photovoltaic system with battery for a net zero energy residential building in [different climates of Morocco, Results Eng 22 (Jun. 2024) 102288, https://doi.org/10.1016/j.rineng.2024.102288.](https://doi.org/10.1016/j.rineng.2024.102288) [45] M. Kharrich, M.H. Hassan, S. Kamel, J. Kim, Designing an optimal hybrid microgrid system using a leader artificial rabbits optimization algorithm for domestic [load in Guelmim city, Morocco, Renew. Energy 223 (Mar. 2024) 120011, https://doi.org/10.1016/j.renene.2024.120011.](https://doi.org/10.1016/j.renene.2024.120011) _y_ _(_ _)_ [46] N. Ennemiri, A. Berrada, A. Emrani, J. Abdelmajid, R. El Mrabet, Optimization of an off-grid PV/biogas/battery hybrid energy system for electrification: a case [study in a commercial platform in Morocco, Energy Convers. Manag. X 21 (Jan. 2024) 100508, https://doi.org/10.1016/j.ecmx.2023.100508.](https://doi.org/10.1016/j.ecmx.2023.100508) [47] A.A. Khan, A.F. Minai, A strategic review: the role of commercially available tools for planning, modelling, optimization, and performance measurement of [photovoltaic systems, Energy Harvest. Syst. 11 (1) (Jan. 2024) 20220157, https://doi.org/10.1515/ehs-2022-0157.](https://doi.org/10.1515/ehs-2022-0157) [48] W.-P. Schill, A. Zerrahn, Long-run power storage requirements for high shares of renewables: results and sensitivities, Renew. Sustain. Energy Rev. 83 (Mar. [2018) 156–171, https://doi.org/10.1016/j.rser.2017.05.205.](https://doi.org/10.1016/j.rser.2017.05.205) [49] [S. Berendes, P. Bertheau, P. Blechinger, R.L. Institut, Sizing and Optimization of Hybrid Mini-Grids with micrOgridS - an Open-Source Modelling Tool, 2018.](http://refhub.elsevier.com/S2405-8440%0x2824%0x2915106-7/sref49) [50] A. Lanzini, D. S. Schiera, R. Novo, F. D. Minuto, and M. Verrascina,“Energy Transition of the Sardinia Region through Energy System Modelling with the Calliope Framework”. [51] Z. Dalala, M. Al-Omari, M. Al-Addous, M. Bdour, Y. Al-Khasawneh, M. Alkasrawi, Increased renewable energy penetration in national electrical grids constraints [and solutions, Energy 246 (May 2022) 123361, https://doi.org/10.1016/j.energy.2022.123361.](https://doi.org/10.1016/j.energy.2022.123361) [52] J. Despr´es, P. Criqui, S. Mima, N. Hadjsaid, and I. Noirot,“Variable Renewable Energies and Storage Development in Long Term Energy Modelling Tools”. [53] S. Samsatli, N.J. Samsatli, A general spatio-temporal model of energy systems with a detailed account of transport and storage, Comput. Chem. Eng. 80 (Sep. [2015) 155–176, https://doi.org/10.1016/j.compchemeng.2015.05.019.](https://doi.org/10.1016/j.compchemeng.2015.05.019) [54] N.O. Nagel, J.G. Kirkerud, T.F. Bolkesjø, The economic competitiveness of flexibility options: a model study of the European energy transition, J. Clean. Prod. [350 (May 2022) 131534, https://doi.org/10.1016/j.jclepro.2022.131534.](https://doi.org/10.1016/j.jclepro.2022.131534) [55] J. Quevedo, I.H. Moya, Modeling of the Dominican Republic energy systems with OSeMOSYS to assess alternative scenarios for the expansion of renewable [energy sources, Energy Nexus 6 (Jun. 2022) 100075, https://doi.org/10.1016/j.nexus.2022.100075.](https://doi.org/10.1016/j.nexus.2022.100075) [56] F. Cebulla, T. Naegler, M. Pohl, Electrical energy storage in highly renewable European energy systems: capacity requirements, spatial distribution, and storage [dispatch, J. Energy Storage 14 (Dec. 2017) 211–223, https://doi.org/10.1016/j.est.2017.10.004.](https://doi.org/10.1016/j.est.2017.10.004) [57] A. Palzer, H.-M. Henning, A comprehensive model for the German electricity and heat sector in a future energy system with a dominant contribution from [renewable energy technologies – Part II: results, Renew. Sustain. Energy Rev. 30 (Feb. 2014) 1019–1034, https://doi.org/10.1016/j.rser.2013.11.032.](https://doi.org/10.1016/j.rser.2013.11.032) [58] M. Shaaban, J. Scheffran, M.S. Elsobki, H. Azadi, A comprehensive evaluation of electricity planning models in Egypt: optimization versus agent-based [approaches, Sustainability 14 (3) (Jan. 2022) 1563, https://doi.org/10.3390/su14031563.](https://doi.org/10.3390/su14031563) [59] M.G. Prina, et al., Multi-objective investment optimization for energy system models in high temporal and spatial resolution, Appl. Energy 264 (Apr. 2020) [114728, https://doi.org/10.1016/j.apenergy.2020.114728.](https://doi.org/10.1016/j.apenergy.2020.114728) [60] J. Joel, J. Rogawski, R. Madlener, Cost optimization model and management strategies for distributed energy resources in industrial microgrids, in: Closing [Carbon Cycles – A Transformation Process Involving Technology, Economy, and Society: Part II, vol. 27, preprint, Nov. 2022, https://doi.org/10.46855/energy-](https://doi.org/10.46855/energy-proceedings-10200) [proceedings-10200.](https://doi.org/10.46855/energy-proceedings-10200) [61] “Comp Applic in Engineering - 2020 - Wirtz - EHDO A Free and Open-source Webtool for Designing and Optimizing multi-energy.pdf.”. [62] N.M. Ahmed, H.M. Farghally, F.H. Fahmy, Optimal sizing and economical analysis of PV-wind hybrid power system for water irrigation using genetic algorithm, [Int. J. Electr. Comput. Eng. IJECE 7 (4) (Aug. 2017) 1797, https://doi.org/10.11591/ijece.v7i4.pp1797-1814.](https://doi.org/10.11591/ijece.v7i4.pp1797-1814) [63] A. Zerrahn, W.-P. Schill, Long-run power storage requirements for high shares of renewables: review and a new model, Renew. Sustain. Energy Rev. 79 (Nov. [2017) 1518–1534, https://doi.org/10.1016/j.rser.2016.11.098.](https://doi.org/10.1016/j.rser.2016.11.098) [64] [S. Pfenninger, B. Pickering, Calliope: a multi-scale energy systems modelling framework, J. Open Source Softw. 3 (29) (Sep. 2018) 825, https://doi.org/](https://doi.org/10.21105/joss.00825) [10.21105/joss.00825.](https://doi.org/10.21105/joss.00825) [65] G. Drayton, M. McCoy, M. Pereira, E. Cazalet, M. Johannis, D. Phillips, Transmission expansion planning in the western interconnection - the planning process and the analytical tools that will be needed to do the job, in: IEEE PES Power Systems Conference and Exposition, IEEE, New York City, NY, USA, 2004, [pp. 1000–1005, https://doi.org/10.1109/PSCE.2004.1397595, 2004.](https://doi.org/10.1109/PSCE.2004.1397595) [66] [F. Wiese, et al., Balmorel open source energy system model, Energy Strategy Rev. 20 (Apr. 2018) 26–34, https://doi.org/10.1016/j.esr.2018.01.003.](https://doi.org/10.1016/j.esr.2018.01.003) [67] [M. Howells, et al., OSeMOSYS: the open source energy modeling system, Energy Pol. 39 (10) (Oct. 2011) 5850–5870, https://doi.org/10.1016/j.](https://doi.org/10.1016/j.enpol.2011.06.033) [enpol.2011.06.033.](https://doi.org/10.1016/j.enpol.2011.06.033) [68] report “thesis_ysdruck.pdf.”. [69] H.-M. Henning, A. Palzer, A comprehensive model for the German electricity and heat sector in a future energy system with a dominant contribution from [renewable energy technologies—Part I: methodology, Renew. Sustain. Energy Rev. 30 (Feb. 2014) 1003–1018, https://doi.org/10.1016/j.rser.2013.09.012.](https://doi.org/10.1016/j.rser.2013.09.012) [70] [R. Loulou, M. Labriet, ETSAP-TIAM: the TIMES integrated assessment model Part I: model structure, Comput. Manag. Sci. 5 (1–2) (Feb. 2008) 7–40, https://doi.](https://doi.org/10.1007/s10287-007-0046-z) [org/10.1007/s10287-007-0046-z.](https://doi.org/10.1007/s10287-007-0046-z) [71] [M. Langiu, et al., COMANDO: a next-generation open-source framework for energy systems optimization, Comput. Chem. Eng. 152 (Sep. 2021) 107366, https://](https://doi.org/10.1016/j.compchemeng.2021.107366) [doi.org/10.1016/j.compchemeng.2021.107366.](https://doi.org/10.1016/j.compchemeng.2021.107366) [72] R. Dufo-Lopez, J.L. Bernal-Agustín, Design and control strategies of PV-Diesel systems using genetic algorithms, Sol. Energy 79 (1) (Jul. 2005) 33´ [–46, https://](https://doi.org/10.1016/j.solener.2004.10.004) [doi.org/10.1016/j.solener.2004.10.004.](https://doi.org/10.1016/j.solener.2004.10.004) [73] H.-K. Ringkjøb, P.M. Haugan, I.M. Solbrekke, A review of modelling tools for energy and electricity systems with large shares of variable renewables, Renew. [Sustain. Energy Rev. 96 (Nov. 2018) 440–459, https://doi.org/10.1016/j.rser.2018.08.002.](https://doi.org/10.1016/j.rser.2018.08.002) [74] K. Anoune, M. Bouya, A. Astito, A.B. Abdellah, Sizing methods and optimization techniques for PV-wind based hybrid renewable energy system: a review, [Renew. Sustain. Energy Rev. 93 (Oct. 2018) 652–673, https://doi.org/10.1016/j.rser.2018.05.032.](https://doi.org/10.1016/j.rser.2018.05.032) [75] [S. Sinha, S.S. Chandel, Review of software tools for hybrid renewable energy systems, Renew. Sustain. Energy Rev. 32 (Apr. 2014) 192–205, https://doi.org/](https://doi.org/10.1016/j.rser.2014.01.035) [10.1016/j.rser.2014.01.035.](https://doi.org/10.1016/j.rser.2014.01.035) [76] D. Connolly, H. Lund, B.V. Mathiesen, M. Leahy, A review of computer tools for analysing the integration of renewable energy into various energy systems, Appl. [Energy 87 (4) (Apr. 2010) 1059–1082, https://doi.org/10.1016/j.apenergy.2009.09.026.](https://doi.org/10.1016/j.apenergy.2009.09.026) [77] [Homer - hybrid renewable and distributed generation system design software. https://www.homerenergy.com/. (Accessed 6 March 2023).](https://www.homerenergy.com/) [78] [oemof.solph — oemof.solph 0.5.1.dev0 documentation. https://oemof-solph.readthedocs.io/en/latest/readme.html. (Accessed 6 March 2023).](https://oemof-solph.readthedocs.io/en/latest/readme.html) [79] [S. Hilpert, Effects of decentral heat pump operation on electricity storage requirements in Germany, Energies 13 (11) (Jun. 2020) 2878, https://doi.org/](https://doi.org/10.3390/en13112878) [10.3390/en13112878.](https://doi.org/10.3390/en13112878) [80] W.E. Hart, C. Laird, J.-P. Watson, D.L. Woodruff, Pyomo – optimization modeling in Python, in: Springer Optimization and its Applications, vol. 67, Springer US, [Boston, MA, 2012, https://doi.org/10.1007/978-1-4614-3226-5, 67.](https://doi.org/10.1007/978-1-4614-3226-5) [81] S. Hilpert, C. Kaldemeyer, U. Krien, S. Günther, C. Wingenbach, G. Plessmann, The Open Energy Modelling Framework (oemof) - a new approach to facilitate [open science in energy system modelling, Energy Strategy Rev. 22 (Nov. 2018) 16–25, https://doi.org/10.1016/j.esr.2018.07.001.](https://doi.org/10.1016/j.esr.2018.07.001) [82] [Site web officiel de l’ONEE - Branche Electricit´e. http://www.one.org.ma/. (Accessed 6 March 2023).](http://www.one.org.ma/) [83] [HelioClim-3 overview - SoDa. https://www.soda-pro.com/help/helioclim/helioclim-3-overview. (Accessed 6 March 2023).](https://www.soda-pro.com/help/helioclim/helioclim-3-overview) [84] [Renewable Power Generation Costs 2020, 2020.](http://refhub.elsevier.com/S2405-8440%0x2824%0x2915106-7/sref84) [85] [K. Mongird, V. Viswanathan, J. Alam, C. Vartanian, V. Sprenkle, R. Baxter, “2020 Grid Energy Storage Technology Cost and Performance Assessment,”, 2020.](http://refhub.elsevier.com/S2405-8440%0x2824%0x2915106-7/sref85)

섹션 본문 101문단 · 44,598자

(제목 없음)

1Incorporating renewable energy into forthcoming grid-connected or decentralized energy systems assumes an escalating significance and can potentially enhance endeavors toward accomplishing Sustainable Development Goal 7 (SDG7).Nevertheless, deploying sustainable renewable energyintensive systems may present challenges related to their intermittency and cost instability.This paper proposes the development of a decision support model aimed at planning an optimal ongrid PV battery system.The model builds upon the Open Energy Modeling Framework (OEMOF) and defines asset capacities, energy dispatch, operational strategies, and optimal costs for the designated system.Key factors considered include energy demand profile, photovoltaic potential, electricity tariffs, and the availability of the National Grid.Furthermore, the model evaluation incorporates the computation of pertinent performance, feasibility, and viability indicators, notably the Levelized Cost of Energy (LCOE).To validate the framework, the article conducts a case study to determine the optimal sizing and planning of a grid-connected PV battery energy system.The objective is to cater to the electricity needs of an OCP (Office Chérifien des Phosphates) mining site in Morocco.The study considers the characteristics of the national power grid, incorporating time-varying electricity tariffs based on a Demand-Response program taking into account various rates according to the time of use (ToU).The case study includes a sensitivity analysis that examines different factors, namely the proportion of renewable energy, the investment costs of photovoltaic systems and batteries, and the financial parameter known as the weighted average cost of capital (WACC).Through this analysis, the study assesses the impact of these variables on the calculated cost of energy.Experimental results revealed a range of LCOE values from $0.07111/kWh to $0.11847/kWh for high renewable energies integration.

Introduction

2As we reach the halfway point to the agenda 2030 deadline, a review of advances on the Sustainable Development Goals (SDGs) reveals significant challenges.According to the latest SDG progress report [1], more than half of the SDG targets show insufficient headway, while almost 30 % of improvements have stagnated or regressed.These worrying figures particularly concern the targets of reducing poverty, hunger, and global warming.This analysis highlights the urgency of stepping up efforts to ensure that each of the SDGs stays on course and moves towards a sustainable future for all.

3Addressing today's key environmental challenges, SDG 7 aims to guarantee that modern society functions in harmony and develops equitably.We need affordable and reliable energy services without depending on inexpensive but energy-intensive fossil fuels, the main producers of GHG emissions that cause climate change [2].It is therefore essential to redouble our efforts so as not to lose sight of the 2030 target and move towards a just energy transition.

4As part of the energy transition, the mining industry contributes to the UN SDGs.This is by facilitating large-scale economic development and providing minerals for technology, infrastructure, energy, and agriculture.In this context, it is imperative to minimize waste production, conduct responsible mining operations, implement safer procedures, integrate sustainable technologies, reduce emissions, and perform effective environmental management [3].As a result, the mining industry can help address many of the issues raised by the SDGs, notably environmental degradation.

5Companies can actively support SDGs by integrating them into their long-term operations and fundamental plans.According to Ref. [4], only a small minority of mining enterprises report on their progress against the indicators or goals they have set.SDG7 stands as a target where the global mining industry still has a long way to go to put in place strategic measures to help achieve it.

6Several research studies, including Tiainen et al. [5], Shen et al. [6], Tiainen et al. [7], and Govindan et al. [8], have investigated the impact of the mining factories toward greener production, social responsibility standards, and environmental performance.Norgate and Haque [9] state that over the last 20 years, the mining industry has recognized the significance of promoting sustainability and managing the environment effectively.To this end, Muduli et al. [10] assert that we can put many factors in place, such compliance with legal requirements, appealing to financial institutions, and enhancing eco-efficiency.

7Therefore, effective integration of SDG 7 requires support for the early implementation of renewable energy to achieve the goal of a low-carbon economy.In addition, boosting the direct production of renewable electricity by these companies will reduce their dependence on grid power supply, eliminating the need for increased generating capacity and improving system flexibility.Furthermore, the resilience of renewable energy sources (RES) to global crises, such as the COVID-19 pandemic, further underlines their importance.Studies have shown that the renewable energy generation sector is less affected by these disruptions than conventional energy sources [11].

8Besides, many articles take sustainability considerations into account when developing mining sites.However, Tsisilile Igogo et al. [12] review the literature to analyze the challenges, possibilities, and enabling strategies for renewable technology integration in mining operations.Anshul Paneri et al. [13] examine the techno-economic viability of RES for switch-on, switch-off mining, a new idea for mobile small-scale mining, in 2021.Eduardo Vyhmeister et al. [14] evaluate the use of photovoltaic and revolutionary wind technologies to supply as much as 10 % current and projected electrical energy needs of the mining industry in Chile. A. Strazzabosco et al. [15] assess the current adoption of clean energy among the mining houses in Australia.Also, literature highlights the integration of renewable energy in the African region.Fabien Muhirwa et al. [16] reviewed research published during the period 2000 to 2022 on substantial extractive industry investment, the associated issues and sustainable development potential of rural communities residing in African mine sites.In Morocco, renewable energies play a pivotal role in the energy strategy.The country possesses significant renewable potential, letting it meet a substantial proportion of its growing energy needs by replacing fossil fuels.Therefore, Morocco aims to increase the share of renewable energies in installed electricity capacity to over 52 % by 2030 [17].Morocco will decrease its dependency on fossil fuel sources.The share of coal in installed capacity will drop from 38.8 % in 2020 to 22 % in 2030, while the share of oil-based thermal capacity is reduced to 9.2 % in 2030 from 16.2 % in 2020 [18].

9In line with a sustainable growth strategy in the mining sector, the OCP group has implemented a responsible and innovative energy program to reduce its carbon footprint.Thanks to wind, solar, and cogeneration production, OCP has been able to cover 86 % of its needs with green energy, with a vision to reach 100 % coverage by 2030.OCP group guarantees 25 % of Morocco's clean electricity and will make a major contribution to Morocco's goal of producing 52 % of its electricity from renewable and clean sources by 2030 [19].OCP is preparing for the next stage of energy transformation by creating industry strategies, including supporting the stable integration of the highest possible shares of electricity generation from variable renewable sources.

10However, moving to RE technologies at mine sites pose a number of challenges, despite the mining industry's desire to convert and its huge impact on decarbonization efforts.These include the fluctuation and variability of the electricity supply, and the difficult conditions due to the remoteness of the mining sites.At this stage, a growing trend towards electrification systems based on microgrids (MGs) is observed.MGs promote the diffusion of renewable energy sources, and solutions to overcome their intermittency, such as electrical storage.They can operate in grid-connected or off-grid mode.

11Optimal microgrid technology selection is a complex subject, mainly concerned with performance in terms of environmental, social, technological, and economic considerations [20].The optimal combination of renewable energy and energy storage technologies with local energy demand is a major challenge.Hence, it is important to consider many factors, including the high initial investment cost [21], potential capacity limitations based on the inconsistency of the energy sources used [22], infrastructure management, and social impact [23].

12In the literature, researchers have developed and discussed various approaches for optimal energy planning.Büyükozkan and Güleryüz [24] select the optimal renewable energy technology from different alternatives as a multi-criteria decision-making problem.Lucas Schmeling et al. [25] presents an overview of relevant publications on the optimal design of various energy systems.Meanwhile, Mohammad Fattahi et al. [26] focuses on sustainable planning of a mining supply chain network using a novel cost-efficient multistage stochastic program in which strategic and tactical planning decisions are integrated.In the other hand, different studies investigate energy systems control, Alejandro Rubio et al. [27] employed an energy system dispatch optimization model including an iterative approach for generating grid constraints, which is decoupled from the linear unit commitment problem.This is where models and software tools must be developed and implemented to provide a proper frame for the planning of the most efficient energy systems.They allow us to chain the interactions between energy resources, determine their shares, and analyze the risks associated with price evolution.As a result, we can achieve optimal capacity, dispatch, cost, and identify the most useful performance and feasibility indicators, such as LCOE, for valuing projected energy systems.The progress made in the development of these tools and the rigorous examination of their validation forms the subject of an extensive literature.Fernando Martins et al. [28] provide an updated overview of the various modeling tools available to evaluate energy systems in smart European cities. Soner Candas et al. [29] review and compare five open-source frameworks for renewable energy system modeling.

13The issue of energy systems planning has attracted worldwide interest.In Morocco, several articles have been published on the subject, and numerous case studies have been conducted.Table 1 presents a systematic comparative analysis of the case studies selected from the literature relating to Morocco.Each publication is classified according to the algorithm employed, the energy system configuration, ToU and the overall objective function of the optimization.In addition, the analysis incorporates the geographical location and industrial sector associated to each case study.

14The literature review reveals a significant gap in energy systems planning for the Moroccan mining sector, which has received little attention compared to the residential sector.Current literature focuses primarily on the development of household energy systems, neglecting the substantial energy demands and unique challenges of mining operations.This neglect represents a critical omission in current research.Moreover, evaluations of electricity costs from the national grid often rely on simplified billing assumptions, incompatible with Morocco's complex billing model, which includes three tariff levels (peak hours, off-peak hours, and super off-peak hours).This simplification leads to potential inaccuracies in cost estimates, highlighting the need for a more precise approach tailored to Moroccan specifics.

15Furthermore, although the use of open-source planning tools is common globally, their application in Moroccan case studies remains limited.This limitation could constrain the depth and scope of research in this area.To advance our understanding of energy systems in Morocco and develop sustainable and effective energy policies, it is crucial to create tailored solutions that consider the particularities of the Moroccan mining sector and its specific billing model.

16Our main contributions focus on the development and evaluation of an innovative framework for optimizing energy systems in the Moroccan context.Firstly, we have designed a decision support framework for the optimal sizing of a grid-connected PV-battery energy system, taking into account the unique electricity tariffs in the Moroccan billing model.Based on the Open Energy Modeling Framework, this model accurately assesses system capacities, energy allocation, and optimal costs for different electrification options.

17To validate our model, we conducted an in-depth techno-economic study of energy technologies, including photovoltaic (PV) systems, battery energy storage systems (BESS), and converters.This study offers a comprehensive analysis of solar demand and resource profiles within the study area, providing an in-depth assessment of the technological and economic viability of these energy solutions.

18We applied our framework in a real-life case study to assess its feasibility for supplying energy to a mining site in Morocco, demonstrating the practical applicability and potential benefits of our model.Finally, we carried out a comprehensive sensitivity analysis and assessment of the potential for integrating PV and BESS systems into the Moroccan energy system.This analysis includes key financial and technical parameters such as LCOE, NPV, autonomy factor, and system reliability, providing essential information for decision-making and energy planning.These contributions aim to fill the current gaps in energy system optimization research in Morocco by proposing a rigorous approach tailored to the local context, with significant potential to inform the development of a sustainable and efficient energy policy.

19It's then the objective of our contributions to theory and practice.The article is organized as follows: Section 2 presents a literature review.Section 3 introduces the optimization model where the developed software and the applied framework OEMOF are implemented.Section 4 describes the case study and the simulation result.Then, Section 5 presents and discusses simulation results, and Section 6 draws conclusions and gives an outlook on future work.

Literature review

20Planning renewable energy systems is a complex undertaking that requires multiple factors to be considered.In addition to the technical challenges of securing a stable and reliable energy supply from intermittent renewable sources due to varying environmental conditions, there are also crucial economic considerations to be taken into account.This is particularly relevant in light of the global economic downturns, which have highlighted the importance of cost effectiveness and financial viability in sustainable energy planning.

21Consequently, the drive to design sustainable and cost-effective renewable energy systems is stimulating the development of existing planning frameworks and the emergence of new ones.

22It is then conceivable to delve deeper into the literature to undertake a head-to-head of some existing models.The review study in Ref. [47] examine the capabilities and applications of commercial tools that have significantly advanced the planning, modeling, optimization, and performance measurement of photovoltaic systems.The open source Dispatch and Investment Evaluation Tool with Endogenous Renewables (DIETER) is used in Ref. [48].The authors examine the role of electricity storage in systems with a high variable RES proportion in Germany.Their findings highlight that electricity storage requirements are closely linked to costs and other supply alternatives.According to Ref. [49], the micrOrgridS model was tested to size the components and energy flows of a PV-diesel-battery HMG on the Pacific Island of Lifuka.A detailed analysis of the model was carried out and compared with the results obtained using Homer R Pro 3.11 software.Moreover, the authors in Ref. [50] employed the Calliope framework to build an energy model of the Sardinia region.They validated the model by verifying energy flows between nodes to minimize system costs as the main objective function.Furthermore, the study by Ref. [51], highlights the impact of the increasing integration of renewable energies and storage units in the national electricity grids in Jordan.PLEXOS software is used to analyze this integration and minimize system operating costs.Consequently, the results strongly recommend the use of energy storage to efficiently meet the growing demand resulting from this integration.The literature on [52] utilizes EUCAD (European Unit Commitment And Dispatch) software for developing a long-term energy model incorporating energy storage.This model aims to optimize the distribution of different technologies in a fixed European electricity system.The research conducted by Ref. [53] used STeMES to develop an optimal design and operation model for a hydrogen network.However, this model considers short-term drivers and long-term planning horizons.Likewise, the literature on [54] examines the economic benefits of the main flexibility options in the energy systems of western, northern, and central Europe through BALMOREL.The research project carried out in Ref. [55] explores different scenarios for integrating renewable energies into the energy mix of the Dominican Republic using the OSeMOSYS model.According to the results, a total investment of USD 1405.00 million would be required to reduce greenhouse gas emissions by 25 % by 2030.In the context of [56], they study the potential of electricity storage in European energy systems characterized by a high presence of renewables (over 80 %).Therefore, using the REMix optimization model, they endogenously determine electricity generation capacity and distribution, including storage technologies.Researchers at [57] have used the REMod framework to model the German electricity and heat sector in a scenario dominated by renewable energies.The result demonstrates that it is technically possible to meet the entire electricity and heat demand for the building sector with 100 % renewable energy if the heat demand is reduced by at least 60 %.Additionally, the authors in Ref. [58] carried out an analysis of possible energy futures in Egypt using two different approaches, TIMES as an optimization model and the dynamic ELTAP-EGY approach.Similarly, in Ref. [59], the researchers developed and used the oemof-moea model to analyze the Italian energy system for the year 2050 to demonstrate its main characteristics.The results show that investing in flexibility options is required to minimize carbon dioxide emissions.In the literature [60], they present the COMANDO model, illustrated by a case study of a German industrial estate.The EHDO tool is used in Ref. [61], to design and optimize multi-energy systems.Two case studies are carried out, the first on an energy center in Cologne, Germany, and the second on the supply of renewable energy to an island system on Easter Island, Chile.In addition, the authors in Ref. [62], used HOGA software to analyze three proposed renewable energy systems.The results demonstrated that the optimal configurations in terms of cost-effectiveness are PV-wind hybrid systems and stand-alone PV systems.

23However, it is clear from these various case studies that optimization models can address complex questions concerning the integration of renewable energies, storage systems and demand-side management.This underlines the growing significance of optimization models within the transition to more sustainable energy systems, while also identifying the challenges for effective implementation of these approaches in practice.Table 2 details the range of different optimal planning techniques mentioned above.

Background

24The optimal design and dispatching of a microgrid can be achieved using a variety of methods and at different levels, depending on the tool selected.This underlines the crucial importance of choosing the appropriate software according to the specific situation under study, the results expected, and the availability of input parameters.

25Researchers have developed numerous decision-aid tools for energy system modeling and optimization.Hans-Kristian Ringkjøb et al. [73] presented a review of different energy system planning and analysis software tools.Kamal Anoune et al. [74] and Sinha.S and Chandel.SS [75] specifically evaluated planning tools as they apply to hybrid energy systems.Connolly et al. [76] investigate in detail more than 37 software tools used to examine renewable energy integration.various tools discussed in the literature, HOMER is widely regarded as the industry standard, and extensively utilized by project designers and researchers worldwide.It's a user-friendly tool with many features such as system settings, illustrations, and output tables.Nevertheless, its primary limitation lies in its commercial and proprietary nature [77]; Programmers can't modify the tool's code.OEMOF, on the other hand, is an open-source framework for developing models of energy systems and different applications for performing energy system analysis.

Open energy modelling framework

26OEMOF [78] used extensively in a wide range of research questions such as [79].This open-source tool written in the Python programming language allows for the definition of high-resolution input data and detailed analysis of the results.In particular, OEMOF enables comprehensive modeling of energy supply systems by representing them in the form of directed graphs.In these graphs, vertices correspond to system components, such as sources, sinks, and technologies, or to buses that regulate the flow of resources between these components.The edges connecting some components and buses are directed and represent the resource flows.Using Pyomo [80], this graph is then converted into a mixed integer linear mathematical optimization problem (MILP) that can be solved numerically by a variety of solvers [81].The goal is to satisfy all energy demands while minimizing the system costs resulting from the energy flows.

Proposed model

27Employing the OEMOF library, we have developed an optimization framework designed to optimize capacities and flows within the energy system.This framework enables the system to meet energy demand at marginal cost-efficiently.The model's development considers the Moroccan national grid billing system for electricity tariffs, which is mainly based on consumption per time slot (peak, off-peak and on-peak) [82].

28The proposed model offers a set of inputs considering.

29• The technical and economic parameters relating to each system component, and the financial parameters, are maintained as fixed values.

30• demand profile, generation potential, grid availability as a time series, • And two options for electricity prices: fixed as a constant input or dynamic as a time series, allowing greater flexibility in the tool's financial model to adapt to new pricing methods.The process of the tool is shown in Fig. 1, presenting the flowchart for the model.The main input and output elements are highlighted.

31The framework determines the cost-optimal system configuration by minimizing the annual cost to supply electricity.The objective function describes this total annualized which is presented in equation ( 1).In the context, x represents all the system's components, while t stands for a 1-h time step over a simulation period of one year.Besides, a x signifies the asset annuity per installed unit, including both investment and fixed operation and management costs.CAP x refers to the asset capacity, C var,x to the variable operational or dispatch cost, and E x (t) to the asset dispatch.

32The annual costs specific to each system asset include replacement costs plus operating & management costs over the life of the project T and the asset's residual value at the project's end as defined in equation (2).

33Equation ( 2) represents several parameters.Specifically, capex stands for investment cost, opex denotes the annual operation and management cost, n refers to the asset replacements number during the project life.Additionally, CRF represents the capital recovery factor, c res denotes the residual value of an asset at the end of the project life, t x stands for asset lifetime, d refers to the discount factor and T to the project duration.The capital recovery factor (equation ( 3)), the number of replacements (equation ( 4)), and the residual value of the asset after the project ends (equation ( 5)) which is calculated and then deducted from the investment cost during the project, are all within the objective function.

Microgrid constraints

34Equation (6) describes the power balance constraints.The assets must be distributed in such a way as to balance the electrical buses at each time step and dispatch functions for the energy system.

35Equation ( 6) introduces a set of parameters within the context of the analysis.

Battery constraints

36The battery can store energy under two conditions: The minimum and maximum storage level (equation ( 7)), and this energy varies as the battery is charged and discharged and as self-discharge losses occur (equation ( 8)).

37CAP Batt,KWh .SOC min ≤ E Batt,stored (t) ≤ CAP Batt,KWh .SOC max ∀t, (7)

38with ϵ sd self discharge losses of the battery per time step.Equations ( 9) and (10) (

39The electricity stored in the battery in first-and last-time step is determined to be equal (equation ( 11)):

Overview

40As part of the OCP strategy, we apply the modeling and optimization framework to the energy system supplying an OCP's mining site to better understand its techno-economic potential.

41We define our supply option as a complete set of components (PV, battery storage system, converters, connection to the national grid).Fig. 2 illustrates the architecture of this supply system, which is evaluated based on the reliability and supply cost.Therefore, our work tackles the broader question of efficiently and optimally reducing dependence on the national grid through the implementation of a battery storage system to accommodate the intermittency of PV sources.To analyze this alternative, it is necessary to define optimal overall system capacities and dispatch strategies that can meet the electricity demand currently supplied only by the National Grid.

Input parameters 4.2.1. Solar resources

42A detailed assessment of the feasibility of the effective use of solar energy in an energy system is of primary importance.The uncertainties associated with the solar resource can make a very important distinction between a benefit and a loss, which underlines the relevance of the solar resource analysis of the chosen site.To optimally size future photovoltaic power plants, it is necessary to evaluate the solar resource using site meteorological data to simulate the yield of the solar station that will be set up at the mine site.

43One of the ultimate goals of the assessment is to characterize the solar irradiance available for energy conversion for the region or location of interest over a historical period of interest.Based on the Helioclim, HelioClim3 (HC3V5) [83] database data provided in a TMY (Typical Meteorological Year) format including all geographical and meteorological parameters, a set of evaluation calculations and simulations are made.

44We have used three fundamental components of solar radiation at the Earth's surface: global horizontal irradiance (GHI), direct normal irradiance (DNI), and global tilted irradiance (GTI).horizontal irradiance estimated at an average of 5.52 KWh/m 2 /Day, while it reaches a peak value of 8.95 KWh/m 2 /Day in June and a minimum value of 1.07 KWh/m 2 /Day in December.It is also observed that the most fluctuation in irradiance occurs in April and September.

45Fig. 5 illustrates the variability of the global tilted irradiance (for a chosen optimal tilt angle of 30 • ) for each month.The average daily GTI is 6.36 KWh/m2/Day, which equals 6 full sun hours, or the operating hours of a PV system at 1KW/m2 per day.The global tilted irradiance reaches a peak maximum of 8.33 KWh/m 2 /Day in June and min.value of 1.74 KWh/m 2 /Day in December.

Load profile

46In this stage, the site energy consumption and demand profiles for the period 2019-2021 are studied quantitatively and qualitatively, with intensive analysis of annual, seasonal, monthly, weekly, and daily consumption variability.The data used in this study was collected using electricity meters provided by ONEE, the grid provider in Morocco.

47The annual consumption value for 2019 appears to be lower than the relatively similar years 2020 through 2021 due to some data losses.The year 2020 was chosen as the typical year for our study.

System component techno-economic specifications

48In the techno-economic specifications section of this study, photovoltaic (PV) and storage systems will be used as primary alternatives to grid consumption, rather than simply serving as additional backup devices.To achieve optimal energy dispatch, we will fully integrate the OEMOF framework's dispatch optimization method, which is based on perfect forecasts, into the simulation process.This integration is designed to improve the efficiency and accuracy of energy system modeling, ensuring a robust analysis of supply and demand dynamics.

49The input data set includes a demand profile, grid electricity prices divided into 3-time segments (full, off-peak, and peak), a specific time series of solar production, a grid availability profile, system costs, and technical parameters (see Table 3).

50We apply the projected costs and technical assumptions studied to describe the cost investment, OPEX, lifetimes, and other specified technical parameters of specific Microgrid components.For instance, we employ an initial capital cost of 691 $/kWp, an operating cost of 3 % of the capital cost, and a 25-year lifetime for the PV plants [84].For the storage system, we chose the lithium-ion battery technology for our study case promising lower costs, higher efficiency, and longer life cycles compared to other technologies with a CAPEX of $203/kWh of installed capacity, OPEX of $5/kWh/year, assigning a lifetime of 10 years [85].

Scenario development: sensitivity analyses

51To conduct an economic study, we apply the analysis of multiple scenarios in the described case study.This involved performing a sensitivity analysis on some economic parameters.First, we examine the PV and storage system costs sensitivity, along with the sensitivity of renewable energy share within the system under study.Specifically, the analysis takes into account renewable energy shares of 61.18 % and 31.18%, which have been defined by the OCP group according to its green energy requirements.These shares reflect the OCP's strategic objectives to meet its energy needs while reinforcing its commitment to sustainable development.Second, we evaluate the sensitivity of the weighted average cost of capital (WACC), a widely used financial parameter that determines the required project rate of return.By addressing these factors, we seek to gain a comprehensive understanding of the economic implications and potential outcomes associated with the studied system.

-Scenario 1: PV capex, renewable share (RS)

52In this first scenario, we subject the PV investment cost and the share of renewables in the energy system to a sensitivity analysis.Four experiments result from the four combinations introduced by the suggested values of the PV investment cost (present value, present value-25 %) and the share of renewables (61.18 % RS, 31.18 % RS).

-Scenario 2: Battery Capex, RS

53The second scenario concerns the investment cost of the batteries and the share of renewable energies in the studied energy system.The investment cost of the batteries takes two values (present value, present value -25 %), and the share of renewable energies is fixed at two values (61.18 %, 31.18%).

-Scenario 3: WACC, RS

54The third scenario deals with the weighted average cost of capital (WACC) and the share of renewables in the studied energy system.The Wacc takes three values (5 %,7 %), and the share of renewable energy is set to two values (61.18 %, 31.18%).These combinations generate four sensitivity analysis experiments and thus four simulation results.

Scenario 1

55The optimal capacities of the energy system for each sensitivity experiment are determined under scenario 1.The techno-economic optimization determines the optimal capacities and their distribution for each of the combinations (PV Capex, RS).To visualize the optimizations made for the project site, Table 4 containing all costs and optimal capacities is presented.The cost results are discussed and, where possible, compared to the results of other sensitivity experiments.

56Energy demand is met directly by solar power generation and battery discharge, by a minimum of 61.18 % renewable energy (Fig. 6).The main grid is used exclusively to cover the remaining demand, which represents around 38.8 % of the total energy used on site.

57Figs. 7-10 show the distribution of generation and storage components at the site under investigation.The site-specific load profile exhibits a peak demand for 83.138MW.Based on this profile, the optimal PV system capacity varies between 100.246 and 212.381MWp for a renewable supply of 61.18 %, while for a renewable share of 31.18 %, it ranges from 100.246 to 105.407 MWp.The PV system capacity depends on the capital cost associated with PV installation.

Scenario 2

58In scenario 2, the evaluation of lithium-ion batteries cost investment is combined with the assessment of the renewable energy share within the energy system.Four sensitivity experiments were simulated.Table 5 presents the results, showcasing the cost and capacity optimizations achieved by the framework for the project site.This allows a clear view of the cost and capacity optimizations made by oemof for the project site.Figs.11-14 illustrate the distribution of the generation and storage components at the site.The optimal capacity for the PV system, depending on the PV capital cost and the renewable share of supply, varies between 190.570 and 199.153MWp for a renewable supply of 61.18 %.In the case of 31.18 % renewable supply, the optimal capacity ranges from 94.788 to 100.246 MWp.These variations are linked to the site-specific load profile, characterized by a peak demand of 83.138 MW.

Scenario 3

59Scenario 3 involves the evaluation of four sensitivity experiments to track the influence of the financial element, the WACC.Also, the system's renewable share is also varied between 61.18 % and 31.18%.By conducting these experiments, we aim to assess the impact of changing the WACC and renewable share on the system performance and financial outcomes.This analysis helps to understand how these parameters affect the system viability and cost effectiveness.The simulation options undergo a thorough evaluation, and Table 6 presents in detail the results.These results provide insights into the optimal energy system capacities and costs that meet the total demand while adhering to the specified constraints.By examining these options, we can identify the most efficient and cost-effective configuration for the energy system.

60Figs. 15-18 provide a comprehensive illustration of the energy flows within the energy system, showcasing the interactions between production, storage, and consumption components at the site.For this scenario, the optimal capacity of the PV system is 201.752MWp for a renewable supply of 61.18 % and 101.337MWp for 31.18% renewable supply.These optimal capacities depend both on the value of the WACC and the site-specific load profile, characterized by a peak demand of 83.138 MW.By considering these parameters, we can effectively assess the optimal PV system capacity required to meet the specified renewable supply targets and adapt to the unique load profile of the site.

Discussion

61LCOE is one of the indicators that allow the comparison of different generation technologies that differ in capital costs, operation and maintenance costs, useful life, and many other elements.It is an indicator of the price of electricity required for a project with revenues equal to costs, including the achievement of a return on investment equal to the discount rate.

62In this study section, we have plotted the variation of this indicator to track the PV cost, Battery cost, and Wacc influence on this parameter and thus on the project profitability.Fig. 19 shows a decreasing value with decreasing PV investment cost itself, for example, and at a 61.18 % renewable supply, for the currently adopted PV investment cost which is about 691 $/kWp according to the latest cost updates, the LCOE is about 0.11847 $/kWh and it can reach 0.11096 $/kWh if the PV investment cost decreases by 25 %.This downward trend holds for all combinations studied in the scenario 1.

63The sensitivity study of the combination (battery investment cost, share of renewables) gives a variation of the financial indicator LCOE as presented in Fig. 20, it follows the behavior of the sensitivity parameters, e.g., the LCOE decreases by reducing the battery investment cost by 25 % of its current value, for a 61 % renewable supply, the LCOE goes from about 0.11847 $/kWh to 0.10536 $/kWh.This downward trend is also true for all combinations studied in the second scenario.The combination (WACC, share of renewables) sensitivity study gives a variation of the financial indicator LCOE as presented in Fig. 21, it follows the behavior of the sensitivity parameters and the LCOE increases by increasing project wacc.

64Currently, the average value adopted by energy projects in Morocco is around 7 %, which is the case giving an LCOE of about 0.11847 $/kWh for a 61.18 % renewable supply, this value decreases to 0.10844 $/kWh if we adopt a WACC of 5 %.So, if we decrease the WACC by 28.57% the LCOE decreases by 8.47 % which shows that this parameter is also important, this behavior is verified for all Based on these financial metrics and in terms of LCOE, installation, operation, and maintenance expenses, the reference model with a PV capital cost of about $691/kWp and a battery capital cost of about $203/kWh and a WACC of 7 % yielded an LCOE of 0. 11847 $/kWh, the energy cost can be improved shortly due to the decreasing cost trend according to the analyses made above and that will be an increasingly cheaper solution to provide electricity, ensuring a constant supply to meet the total expected demand.A summary of the battery and PV capital cost sensitivity study showing the co-behavior of LCOE for different scenarios is illustrated in Figs.22 23.The LCOE tends to decrease to competitive costs ($0.07835/kWh) for 61.18 % renewables share and ($0.06206/kWh) for 31.13 % renewable share when both PV and battery capital costs decrease by 50 % of their current values.

Conclusion

65This work enabled an economic analysis of the energy system allowing the supply of electrical energy to the studied sites.A sensitivity analysis of a set of economic and financial parameters was also implemented (PV Cost investment, Battery Cost investment, WACC).The sensitivity inputs were presented under a matrix form, which allowed the sensitivity study of two parameters simultaneously generating a multitude of combinations to be simulated, discussed and evaluated in the case study.Two supply options with 61.18 % and 31.18% renewable energy coverage are presented.

66The simulation results are compared economically through the LCOE indicator, for 61.18 % renewable energy coverage, scenario 1 showed that the investment cost of PV improves the economic profitability by reducing the LCOE by 6.34 %, if decreased by 25 %.While scenario 2 showed that the investment cost of the batteries can more strongly improve this profitability if it also decreases by 25 % through a 11.06 % reduction in LCOE.From a financial point of view, the wacc parameter variation also increases its influence on the economic profitability by decreasing LCOE by 8.46 % if we have a wacc of about 5 % instead of the 7 % currently adopted.Although for a 31.18% renewable energy system, for a 25 % reduction in PV CAPEX, the LCOE decreases by 4.8 % while it decreases by 2.11 % by reducing the battery CAPEX by 25 %.For the same share of renewable energy, if it reaches 5 %, the WACC lowers the LCOE by 4.41 %.Therefore, when tracking the evolution of LCOE for each scenario studied, we infer that the variation in battery CAPEX and WACC affects power generation costs more strongly than the variation in solar CAPEX.

67Finally, we can state that the answer to the research question outlined in the case study chapter has been addressed.Based on these financial metrics and in terms of LCOE, installation, operation and maintenance expenses, the reference model with a PV capital cost of about 691 $/kWp and a battery capital cost of about 203 $/kWh and a WACC of 7 % yielded a LCOE of 0.11847 $/kWh, the energy cost can be improved in the near future due to the decreasing cost trend according to the analyses made above and that will be an increasingly cheaper solution to provide electricity, ensuring a constant supply to meet the total expected demand.

68Future work will investigate how degradation of battery energy storage systems affects both the cost and efficiency of their use in microgrid applications.This analysis will take into account the constraints associated with the technical specifications of BESS and the particular conditions of the grid.By better understanding how BESS degradation affects these elements, we will be able to develop more resilient strategies for their optimal use in real-world environments.

CRediT authorship contribution statement

69Oumaima Mahir: Writingoriginal draft, Software, Methodology, Conceptualization.Abdelilah Rochd: Writingreview & editing, Methodology, Conceptualization.Aboubakr Benazzouz: Validation, Supervision, Conceptualization.Hicham Ghennioui: Supervision.

Fig. 1 .

70Fig. 1.The flowchart of the Framework.*KPIS: Autonomy Factor, Supply reliability, NPV, CO2 Emission, First Investment, Total Demand Annual, Total Demand Supplied Annual, Total PV Generation, Total Charged Energy, Total Discharged Energy.

Fig. 2 .

71Fig. 2. The Energy system model adapted to the simulation tool.

Fig. 3 .

72Fig. 3. Monthly global horizontal irradiance (KWh/m 2 ).

Fig. 3

73illustrates the calculated monthly global horizontal irradiance (GHI) (KWh/m 2 ), we can observe that it reaches a maximum of 239.68 KWh/m 2 /month in July and a minimum value of 96.59 KWh/m 2 /month in December, the annual global irradiance of this site reaches 2.01 MWh/m 2 .Fig. 4 represents the variation of GHI (KWh/m 2 /Day) for each month.The variability around the monthly average value±standard deviation for each month.The minimum and maximum values for each month are also shown.The site is characterized by high

Fig. 4 .

74Fig. 4. Monthly average GHI values in kWh/m 2 /Day, min/max monthly value (lines), and variability.

Fig. 5 .

75Fig. 5. Monthly average GTI values in kWh/m 2 /Day, min/max monthly value (lines), and variability.

Fig. 6 .

76Fig. 6.Annual consumption coverage (PV capex present value).

Fig. 7 .

77Fig. 7. Energy flows (PV Capex Present value, RS 61.18 %).

Fig.

78Fig. Energy flows (PV Capex Present value, RS 31.18 %).

Fig. 9 .

79Fig. 9. Energy flows (PV Capex Present value-25 %, RS 61.18 %).

Fig. 10 .

80Fig. 10.Energy flows (PV Capex Present value-25 %, RS 31.18 %).

Fig. 11 .

81Fig. 11.Energy flows (Battery Capex Present value, RS 61.18 %).

Fig. 12 .

82Fig. 12. Energy flows (Battery Capex Present value, RS 31.18 %).

Fig. 13 .

83Fig. 13.Energy flows (Battery Capex Present value-25 %, RS 61.18 %).

Fig. 14 .

84Fig. 14.Energy flows (Battery Capex Present value-25 %, RS 31.18 %).

Fig. 16 .

85Fig. 16.Energy flows (Wacc 5 %, RS 31.18 %).

Fig. 17 .

86Fig. 17.Energy flows (Wacc 7 %, RS 61.18 %).

Fig. 18 .

87Fig. 18.Energy flows (Wacc 7 %, RS 31.18 %).

Fig. 19 .

88Fig. 19.LCOE variation by PV Capex and RS sensitivity.

Fig. 20 .

89Fig. 20.LCOE variation by Battery Capex and RS sensitivity.

Fig. 21 .

90Fig. 21.LCOE variation by WACC and RS sensitivity.

Fig. 22 .

91Fig. 22. LCOE variation by PV Capex, Battery Capex (RS 61.18 %).

Fig. 23 .

92Fig. 23.LCOE variation by PV Capex, Battery Capex (RS 31.18%).

O

93. Mahir et al.

Table 1

94Literature review of some case studies for energy system models relating to Morocco.

Table 2

95Literature review on planning techniques applied on integrated energy system.

96illustrate that battery charging and discharging is limited by a C-rate and the optimized charge and discharge power of the battery, E Batt,Char (t) ≤ CAP Batt,KWh .Crate Char ∧ E Batt,Char ≤ CAP Batt,KW,Char ,

97E Batt,Dis (t) ≤ CAP Batt,KWh .Crate Dis ∧ E Batt,Dis ≤ CAP Batt,KW,Dis .

Table 3

98Input parameters for site Case study.

Table 4

99Techno-economic assessment for scenario 1.

Table 5

100Techno-economic assessment for scenario 2.

Table 6

101Techno-economic assessment for scenario 3.

참고문헌 70건

  1. A general spatio-temporal model of energy systems with a detailed account of transport and storage Computers & Chemical Engineering · Elsevier BV · 2015 10.1016/j.compchemeng.2015.05.019
  2. OSeMOSYS: The Open Source Energy Modeling System Energy Policy · Elsevier BV · 2011 10.1016/j.enpol.2011.06.033
  3. A review of computer tools for analysing the integration of renewable energy into various energy systems Applied Energy · Elsevier BV · 2009 10.1016/j.apenergy.2009.09.026
  4. Developing a sustainable development framework in the context of mining industries: AHP approach Resources Policy · Elsevier BV · 2013 10.1016/j.resourpol.2013.10.006
  5. Review of software tools for hybrid renewable energy systems Renewable and Sustainable Energy Reviews · Elsevier BV · 2014 10.1016/j.rser.2014.01.035
  6. A comprehensive model for the German electricity and heat sector in a future energy system with a dominant contribution from renewable energy technologies – Part II: Results Renewable and Sustainable Energy Reviews · Elsevier BV · 2013 10.1016/j.rser.2013.11.032
  7. Design and control strategies of PV-Diesel systems using genetic algorithms Solar Energy · Elsevier BV · 2004 10.1016/j.solener.2004.10.004
  8. Mining in the Chatkal Valley in Kyrgyzstan—Challenge of social sustainability Resources Policy · Elsevier BV · 2013 10.1016/j.resourpol.2013.11.005
  9. Role of behavioural factors in green supply chain management implementation in Indian mining industries Resources Conservation and Recycling · Elsevier BV · 2013 10.1016/j.resconrec.2013.03.006
  10. Energy and greenhouse gas impacts of mining and mineral processing operations Journal of Cleaner Production · Elsevier BV · 2009 10.1016/j.jclepro.2009.09.020
  11. ETSAP-TIAM: the TIMES integrated assessment model Part I: Model structure Computational Management Science · Springer Science+Business Media · 2007 10.1007/s10287-007-0046-z
  12. Investigation of the influential strength of factors on adoption of green supply chain management practices: An Indian mining scenario Resources Conservation and Recycling · Elsevier BV · 2016 10.1016/j.resconrec.2015.05.022
  13. Variable renewable energies and storage development in long term energy modelling tools HAL (Le Centre pour la Communication Scientifique Directe) · Centre National de la Recherche Scientifique · 2014
  14. Contemplating governance for social sustainability in mining in Greenland Resources Policy · Elsevier BV · 2016 10.1016/j.resourpol.2016.06.009
  15. Evaluation of Renewable Energy Resources in Turkey using an integrated MCDM approach with linguistic interval fuzzy preference relations Energy · Elsevier BV · 2017 10.1016/j.energy.2017.01.137
  16. A combined photovoltaic and novel renewable energy system: An optimized techno-economic analysis for mining industry applications Journal of Cleaner Production · Elsevier BV · 2017 10.1016/j.jclepro.2017.02.136
  17. Optimal Sizing and Economical Analysis of PV-Wind Hybrid Power System for Water Irrigation using Genetic Algorithm International Journal of Electrical and Computer Engineering (IJECE) · Institute of Advanced Engineering and Science (IAES) · 2017 10.11591/ijece.v7i4.pp1797-1814
  18. Long-run power storage requirements for high shares of renewables: review and a new model Renewable and Sustainable Energy Reviews · Elsevier BV · 2017 10.1016/j.rser.2016.11.098
  19. Long-run power storage requirements for high shares of renewables: Results and sensitivities Renewable and Sustainable Energy Reviews · Elsevier BV · 2017 10.1016/j.rser.2017.05.205
  20. Electrical energy storage in highly renewable European energy systems: Capacity requirements, spatial distribution, and storage dispatch Journal of Energy Storage · Elsevier BV · 2017 10.1016/j.est.2017.10.004
  21. Linguistic hesitant fuzzy multi-criterion decision-making for renewable energy: A case study in Jilin Journal of Cleaner Production · Elsevier BV · 2017 10.1016/j.jclepro.2017.11.038
  22. Balmorel open source energy system model Energy Strategy Reviews · Elsevier BV · 2018 10.1016/j.esr.2018.01.003
  23. Evaluation of renewable power sources using a fuzzy MCDM based on cumulative prospect theory: A case in China Energy · Elsevier BV · 2018 10.1016/j.energy.2018.01.115
  24. The Open Energy Modelling Framework (oemof) - A new approach to facilitate open science in energy system modelling Energy Strategy Reviews · Elsevier BV · 2018 10.1016/j.esr.2018.07.001
  25. Sizing methods and optimization techniques for PV-wind based hybrid renewable energy system: A review Renewable and Sustainable Energy Reviews · Elsevier BV · 2018 10.1016/j.rser.2018.05.032
  26. A review of modelling tools for energy and electricity systems with large shares of variable renewables Renewable and Sustainable Energy Reviews · Elsevier BV · 2018 10.1016/j.rser.2018.08.002
  27. Calliope: a multi-scale energy systems modelling framework The Journal of Open Source Software · Open Journals · 2018 10.21105/joss.00825
  28. Sustainable planning in mining supply chains with renewable energy integration: A real-life case study Resources Policy · Elsevier BV · 2018 10.1016/j.resourpol.2018.11.010
  29. Design and energy management optimization for hybrid renewable energy system- case study: Laayoune region Renewable Energy · Elsevier BV · 2019 10.1016/j.renene.2019.02.066
  30. Evaluating the strategies for sustainable energy planning in Pakistan: An integrated SWOT-AHP and Fuzzy-TOPSIS approach Journal of Cleaner Production · Elsevier BV · 2019 10.1016/j.jclepro.2019.117655
  31. Design of Hybrid Microgrid PV/Wind/Diesel/Battery System: Case Study for Rabat and Baghdad EAI Endorsed Transactions on Energy Web · European Alliance for Innovation · 2018 10.4108/eai.13-7-2018.162692
  32. Multi-objective investment optimization for energy system models in high temporal and spatial resolution Applied Energy · Elsevier BV · 2020 10.1016/j.apenergy.2020.114728
  33. Simulation and Optimization of Microgrid Distributed Generation: a Case Study of University Abdelmalek Essaâdi in Morocco Procedia Manufacturing · Elsevier BV · 2020 10.1016/j.promfg.2020.03.105
  34. A multiple criteria decision making method to weight the sustainability criteria of renewable energy technologies under uncertainty Renewable and Sustainable Energy Reviews · Elsevier BV · 2020 10.1016/j.rser.2020.109891
  35. Effects of Decentral Heat Pump Operation on Electricity Storage Requirements in Germany Energies · Multidisciplinary Digital Publishing Institute · 2020 10.3390/en13112878
  36. The Open Energy Modelling Framework (oemof) - A new approach to facilitate open science in energy system modelling Energy Strategy Reviews · Elsevier BV · 2018 10.1016/j.esr.2018.07.001
  37. Multiobjective Sizing of an Autonomous Hybrid Microgrid Using a Multimodal Delayed PSO Algorithm: A Case Study of a Fishing Village Computational Intelligence and Neuroscience · Hindawi Publishing Corporation · 2020 10.1155/2020/8894094
  38. Multi-objective optimization and the effect of the economic factors on the design of the microgrid hybrid system Sustainable Cities and Society · Elsevier BV · 2020 10.1016/j.scs.2020.102646
  39. Developed Approach Based on Equilibrium Optimizer for Optimal Design of Hybrid PV/Wind/Diesel/Battery Microgrid in Dakhla, Morocco IEEE Access · Institute of Electrical and Electronics Engineers · 2021 10.1109/access.2021.3051573
  40. Role of energy efficiency measures and hybrid PV/biomass power generation in designing 100% electric rural houses: A case study in Morocco Energy and Buildings · Elsevier BV · 2021 10.1016/j.enbuild.2021.110770
  41. Economic and Ecological Design of Hybrid Renewable Energy Systems Based on a Developed IWO/BSA Algorithm Electronics · Multidisciplinary Digital Publishing Institute · 2021 10.3390/electronics10060687
  42. COMANDO: A Next-Generation Open-Source Framework for Energy Systems Optimization arXiv (Cornell University) · Cornell University · 2021 10.1016/j.compchemeng.2021.107366
  43. Renewable energy can make small-scale mining in Europe more feasible Resources Conservation and Recycling · Elsevier BV · 2021 10.1016/j.resconrec.2021.105674
  44. Integrating renewable energy into mining operations: Opportunities, challenges, and enabling approaches Applied Energy · Elsevier BV · 2021 10.1016/j.apenergy.2021.117375
  45. Tri-objective techno-economic sizing optimization of Off-grid and On-grid renewable energy systems using Electric system Cascade Extended analysis and system Advisor Model Applied Energy · Elsevier BV · 2021 10.1016/j.apenergy.2021.117844
  46. A Review of Energy Modeling Tools for Energy Efficiency in Smart Cities Smart Cities · Multidisciplinary Digital Publishing Institute · 2021 10.3390/smartcities4040075
  47. A review of renewable energy practices in the Australian mining industry Renewable Energy · Elsevier BV · 2022 10.1016/j.renene.2022.01.021
  48. Increased renewable energy penetration in national electrical grids constraints and solutions Energy · Elsevier BV · 2022 10.1016/j.energy.2022.123361
  49. A Comprehensive Evaluation of Electricity Planning Models in Egypt: Optimization versus Agent-Based Approaches Sustainability · Multidisciplinary Digital Publishing Institute · 2022 10.3390/su14031563
  50. The economic competitiveness of flexibility options: A model study of the European energy transition Journal of Cleaner Production · Elsevier BV · 2022 10.1016/j.jclepro.2022.131534
  51. Code exposed: Review of five open-source frameworks for modeling renewable energy systems Renewable and Sustainable Energy Reviews · Elsevier BV · 2022 10.1016/j.rser.2022.112272
  52. Sizing of a stand-alone PV–wind–battery–diesel hybrid energy system and optimal combination using a particle swarm optimization algorithm Electrical Engineering · Springer Science+Business Media · 2022 10.1007/s00202-022-01529-0
  53. Modeling of the dominican republic energy systems with OSeMOSYS to assess alternative scenarios for the expansion of renewable energy sources Energy Nexus · Elsevier BV · 2022 10.1016/j.nexus.2022.100075
  54. Optimal Power Dispatch in Energy Systems Considering Grid Constraints Energies · Multidisciplinary Digital Publishing Institute · 2021 10.3390/en15010192
  55. 2009 IEEE/PES Power Systems Conference and Exposition 2009 10.1109/psce13586.2009
  56. A comprehensive model for the German electricity and heat sector in a future energy system with a dominant contribution from renewable energy technologies—Part I: Methodology Renewable and Sustainable Energy Reviews · Elsevier BV · 2013 10.1016/j.rser.2013.09.012
  57. Investigation and analysis of effective approaches, opportunities, bottlenecks and future potential capabilities for digitalization of energy systems and sustainable development goals Electric Power Systems Research · Elsevier BV · 2022 10.1016/j.epsr.2022.108251
  58. Pyomo – Optimization Modeling in Python Springer optimization and its applications · Springer International Publishing · 2012 10.1007/978-1-4614-3226-5
  59. A generalised optimal design methodology for distributed energy systems Renewable Energy · Elsevier BV · 2022 10.1016/j.renene.2022.10.029
  60. Cost Optimization Model and Management Strategies for Distributed Energy Resources in Industrial Microgrids 2022 10.46855/energy-proceedings-10200
  61. Linking large extractive industries to sustainable development of rural communities at mining sites in Africa: Challenges and pathways Resources Policy · Elsevier BV · 2023 10.1016/j.resourpol.2023.103322
  62. Grid-connected hybrid renewable energy systems for supermarkets with electric vehicle charging platforms: Optimization and sensitivity analyses Energy Reports · Elsevier BV · 2023 10.1016/j.egyr.2023.02.005
  63. Optimal sizing and energy management strategy for EV workplace charging station considering PV and flywheel energy storage system Journal of Energy Storage · Elsevier BV · 2023 10.1016/j.est.2023.106937
  64. A strategic review: the role of commercially available tools for planning, modelling, optimization, and performance measurement of photovoltaic systems Energy Harvesting and Systems · De Gruyter · 2023 10.1515/ehs-2022-0157
  65. Evaluation of risks impeding sustainable mining using Fermatean fuzzy score function based SWARA method Applied Soft Computing · Elsevier BV · 2023 10.1016/j.asoc.2023.110220
  66. The Sustainable Development Goals Report 2023: Special Edition ˜The œSustainable development goals report · United Nations · 2023 10.18356/9789210024914
  67. Optimization of an off-grid PV/biogas/battery hybrid energy system for electrification: A case study in a commercial platform in Morocco Energy Conversion and Management X · Elsevier BV · 2023 10.1016/j.ecmx.2023.100508
  68. Designing an optimal hybrid microgrid system using a leader artificial rabbits optimization algorithm for domestic load in Guelmim city, Morocco Renewable Energy · Elsevier BV · 2024 10.1016/j.renene.2024.120011
  69. A hybrid PV/wind/battery energy system to assist a run-of-river micro-hydropower for clean electrification and fuelling hydrogen mobility for young population in a rural Moroccan site Journal of Cleaner Production · Elsevier BV · 2024 10.1016/j.jclepro.2024.140852
  70. Optimal sizing of off-grid microgrid building-integrated-photovoltaic system with battery for a net zero energy residential building in different climates of Morocco Results in Engineering · Elsevier BV · 2024 10.1016/j.rineng.2024.102288