Stochastic Model Based Optimisation Path Study of Off-grid Optical Storage Microgrid Configuration and Economy
Online veröffentlicht: 17. März 2025
Eingereicht: 13. Okt. 2024
Akzeptiert: 26. Jan. 2025
DOI: https://doi.org/10.2478/amns-2025-0184
Schlüsselwörter
© 2025 Kan Feng et al., published by Sciendo
This work is licensed under the Creative Commons Attribution 4.0 International License.
With the continuous growth of energy demand and the rapid development of renewable energy, power system microgrids have gradually become an important means to solve the problem of energy supply and energy consumption [1-2]. Microgrid refers to a small energy system composed of multiple energy resources, storage devices and loads, which can operate independently or interconnected with traditional power systems [3-5]. In a microgrid system, the supply and demand of electricity can be self-sufficient in a local area, which improves the reliability of power supply, increases the utilization efficiency of renewable energy sources, and lower environmental pollution and operating costs [6-9].
Since power grids do not cover remote areas or have weak power grids, which cannot support large-scale industrial production or mining power consumption, it is necessary to use off-grid microgrids to supply power to large-scale industrial and mining users [10-12]. In recent years, the development of new energy power generation has been rapid, the proportion of which has increased year by year, among which photovoltaic power generation has ushered in the peak of development due to the continuous decline in the price of photovoltaic modules, and the use of photovoltaic power generation to form an off-grid microgrid has become the object of research [13-15]. Photovoltaic power generation is greatly affected by light; power generation fluctuates with light and basically cannot generate power at night, so the off-grid microgrid using photovoltaic power generation can not follow the demand of users’ power consumption and time of use at all [16-18]. The combination of photovoltaic power generation and electrochemical energy storage can solve the pain points and difficulties of pure photovoltaic power generation and construct a stable off-grid photovoltaic storage microgrid to ensure that the user’s electricity demand [19-20].
In this paper, a two-stage stochastic optimization model is used to optimize and analyze the configurations in off-grid optical storage microgrids, with the minimum operating cost of a single day as the day-ahead optimal scheduling objective of optical storage microgrids and with the objective of minimising the adjustment error to achieve the day-ahead optimal scheduling of optical storage microgrids. Then, combining the constraints of power balance and storage system operation, the stochastic model is used to simulate each configuration scheme to obtain the optimal configuration scheme. Subsequently, the lead-acid battery optimisation system is proposed to be used as the energy storage system of the off-grid photovoltaic storage microgrid, and the energy storage performance of the photovoltaic storage microgrid is improved by using the energy storage DC/DC and DC/AC conversion technologies. In this study, a simulation scenario is constructed, and a stochastic model is used to analyze the economic cost and system performance under different scenarios to determine the optimal configuration.The economics and reliability of the optical storage microgrids with the optimal configuration and advanced battery system are then investigated by means of an example.
In order to solve the stochastic problem in the configuration of off-grid optical storage microgrids, a two-stage stochastic optimisation approach is used in this paper. The stochastic optimization model [21] is a branch of the planning problem that provides a modeling approach for models with uncertain parameters.Deterministic optimization problems are those in which all parameters are known, while uncertain optimization problems are those in which some parameters in the model are unknown.
Stochastic optimization problems, in general, are two-stage problems. The basic idea of the two-stage stochastic optimisation algorithm is that the decision maker takes some action in the first stage, after which a random event occurs that can affect the outcome of the decision in the first stage. At this point, a solution decision is made in the second stage to compensate for any adverse effects that may have been suffered as a result of the first stage decision. Eq can solve the two-stage stochastic linear optimization problem.
Where
The second-stage problem depends mainly on the stochastic parameters
The stochastic model-based optimal scheduling model for off-grid photovoltaic storage microgrid configuration and economics proposed in this paper will be built from two-time scales, i.e., day-ahead and intra-day.
The day-ahead optimal scheduling model of off-grid photovoltaic storage microgrid aims at minimising the cost of its single-day operation [22], and day-ahead planning of the output of each device is carried out, and a stochastic model is used to describe its stochasticity, which comprehensively takes into account the technical characteristics of each distributed power source, constraints of the energy storage system, the peak-valley difference of the grid tariffs, and the characteristics of batch loads of off-grid photovoltaic storage microgrids to make the total operating cost of the off-grid photovoltaic storage microgrid minimum by arranging the charging/discharging of the storage system, the output of the controllable power supply output, etc. to minimise the total operating cost of the off-grid type photovoltaic storage microgrid.
The expression of the objective function is as follows:
Where
In the intra-day optimal scheduling phase, let the controllable conventional units within the off-grid optical storage microgrid system include micro gas turbines and fuel cells, and the renewable energy units include wind power and photovoltaic [23]. At the sampling moment
The vector consisting of the variations of the controlled conventional unit output and the storage output is selected as the control variable
The vector consisting of the output of wind power and PV renewable units and the load variation of off-grid photovoltaic storage microgrid is selected as the perturbation input
The vector consisting of the purchased power from the grid and the storage charge state is selected as the output variable
The resulting multi-input multi-output state space model is built as shown in Eqs. (11) and (12):
The above state-space model is solved iteratively and iteratively, predicting
In order to deal with the fluctuations caused by the prediction errors of the renewable energy output and the off-grid optical storage microgrid load on the system operation, and to achieve the tracking of the output variables to the day-ahead scheduled values, the vector
The goal of intraday optimal scheduling is to minimise the error between the predicted output values of the output variables and the planned values for the previous day, and to ensure that the amount of adjustment variation of each controllable device in the system is as small as possible, so the intraday rolling optimal scheduling problem can be transformed into the following form:
Where
Power balance constraint
The off-grid optical storage microgrid system must always ensure the balance of power supply and power consumption during operation, as shown in equation (17):
Where
Distributed power operation constraints
The operation constraints of distributed Shenyuan unit power supply involving off-grid optical storage microgrids are usually simplified as the upper and lower output power limit constraints and the operation creep rate constraints. Where Eq. (18) indicates that the output power of the distributed power source unit must be constrained within its maximum and minimum values. Equation (19) indicates that the climb rate of the output power of the distributed power unit between two adjacent time periods must be constrained within a certain range. Eq:
Where
Energy storage system operation constraints
The constraints of the energy storage system in operation considered in this paper mainly include the upper and lower limits of its charging/discharging power constraints and SOC constraints. In order to prevent excessive current from causing damage to the relevant equipment of the energy storage system, it is necessary to limit its charging/discharging power within the set range, as shown in Eq:
Where
The SOC value of the energy storage system at time
Where
The SOC of the energy storage system should be within its specified upper and lower limits, viz:
Where
In addition, the scheduling of the microgrid has a certain periodicity, in order to ensure that the energy storage system can meet the operational requirements of the next day, and at the same time to avoid excessive consumption of the battery’s service life, the SOC values of the energy storage system at the initial and ending moments of the scheduling cycle should be consistent, i.e:
In order to further optimise the configuration of off-grid optical storage microgrids and their economics, this study builds an optimisation system for battery storage of optical storage microgrids at the same time on the basis of the proposed stochastic model-based configuration optimisation method, which is used to improve the economics of optical storage microgrids. Energy storage has become an indispensable and important step in smart grids and microgrids, and it also plays a decisive and auxiliary role in the field of distributed generation, which is very crucial for the power balance stability and energy conversion of off-grid photovoltaic storage microgrids. There are many types of energy storage, such as battery storage and pumped storage. Lead-acid batteries are widely used because of their low price, pure technology, and ability to be produced in large quantities. Therefore, this paper selects lead-acid batteries as the energy storage system. With the development of power electronics and computer technology, energy storage system has become a vital part of the power system. At present, lead-acid batteries are widely used because of their advantages, such as low price, pure technology and mass production.
The electrolyte temperature
Where
The expression for the capacity
The battery output
where
The state of charge SOC, depth of charge DOC is:
Where,
The current
Where,
The battery terminal voltage is:
Bidirectional DC chopper converter with boost, buck two kinds of operation, bidirectional DC chopper converter circuit of the basic composition of the two fully-controlled devices VT, inductance L, two capacitors
The high voltage side power supply
Setting
Since 0 <
The bidirectional DC chopper converter operates in the boost mode (
As can be seen from Eq. the bidirectional DC chopper converter has boost and buck functions.
In this paper, the monthly average wind speed, light intensity, and ambient temperature (latitude and longitude are 41.2° and 95.7°, respectively; altitude is 1542 m, wind speed measurement height is 12 m, and ambient temperature is land temperature) of a region in northwest China are obtained based on the RETScreen Expert software, and the specific data are shown in Table 1. Modeling and building the simulation structure in HOMER Pro software set the relevant parameters, in which the AC load power and DC load power are 1245.26kWh/d and 998.65kWh/d, respectively, and the peak power of the two are 89.64kW and 69.72kW, respectively, and the transferrable load power and peak power are 51.42kWh/d and 35.00 kW, the thermal load power and its peak power are 124.68kWh/d and 7.94kW, the load daily disturbance factor is 5% and hourly disturbance factor is 10%. The initial state of the hydrogen storage tank is 80%, the initial state of the battery is 90%, and the minimum charge state is 20%. The proportion of off-grid renewable energy is not less than 60%, and the system’s operating reserve capacity is 20%. According to the data in the table, it can be seen that the region has good wind and light resources, which is suitable for establishing an off-grid microgrid system with renewable energy generation, including wind turbines and photovoltaic. The renewable energy generation in the distributed power supply of the microgrid system only considers two kinds of renewable energy generation systems: wind power generation system and photovoltaic power generation system; therefore, the microgrid system needs to be configured with diesel generators or fuel cells as a backup power source, which is used to ensure the power supply reliability requirements of important loads.
Wind speed, light intensity, temperature and latency load in a region
Time | Wind speed (m/s) | Illumination intensity (°/ |
Ambient temperature (°C) | Latency load (kW) |
January | 3.23 | 2.4 | -7.5 | 51.7 |
February | 4.38 | 2.85 | -4.6 | 45.5 |
March | 3.6 | 3.15 | 2.5 | 48.7 |
April | 2.94 | 4.02 | 9.4 | 50.7 |
May | 2.88 | 4.17 | 13.6 | 45.8 |
June | 2.72 | 6.91 | 22.7 | 49.8 |
July | 2.84 | 6.16 | 25.9 | 48.2 |
August | 4.1 | 6.01 | 22.8 | 51.6 |
September | 3.81 | 5.32 | 19.2 | 48 |
October | 4.02 | 4.87 | 8.9 | 48.5 |
November | 4.28 | 4.73 | -0.4 | 45.8 |
December | 4.21 | 4.51 | -5.8 | 50.9 |
The cost parameters of the off-grid optical storage microgrid equipment obtained by combining the design of the battery storage system proposed in this paper are shown in Table 2. The installation cost of the diesel generator and fuel cell is 850 Yuan/kW and 16,800 Yuan/kW, respectively, and the replacement cost is 590 Yuan/kW and 14,200 Yuan/kW. The cost of the diesel generator and gas boiler is 5.08 Yuan/L and 3.52 Yuan/
Cost parameters of the net type optical storage micronet equipment
Device name (yuan/kW) | Installation cost | Replacement cost | Operating maintenance cost | Service life (Year) | Fuel cost |
Wind generator (WT) | 15000 | —— | 0.09% | 25 | —— |
Photovoltaic cell (PV) | 14500 | —— | 0.05% | 25 | —— |
Photovoltaic MPPT | 700 | —— | 0.06% | 25 | —— |
Diesel generator (Gen) | 850 | 590 | 0.74 yuan/h | 17500h | 5.08 yuan/L |
Fuel cell (FC) | 16800 | 14200 | 0.19 yuan/h | 55000h | —— |
Electrolytic cell (ELE) | 7840 | —— | 0.03% | 25 | —— |
Hydrotank (HT) | 2600 | —— | 0.78% | 25 | —— |
Flow converter | 4800 | —— | 0.98% | 25 | —— |
Accumulator | 1500 | 950 | 1.15% | 3 | —— |
Gas boiler | 600 | —— | 1.5% | 25 | 3.52 yuan/ |
Microgrid controller | 18000 | —— | 0.95% | 25 | —— |
There are many optimisation schemes under different operation strategies for different types of combinations, and in this paper, the optimal allocation of the capacity of off-grid microgrid energy storage system under typical different types of combinations is selected. The results obtained from the analysis using the stochastic model proposed above are shown in Table 3. The results of the economic indicators for the capacity optimisation of the off-grid microgrid energy storage system are shown in Table 4, where NPC and LCOE represent the total NPV cost and the averaged cost of energy, respectively, and LLR and REU represent the load default rate and the renewable energy utilisation rate, respectively. In scenarios A1 and B1, i.e., wind storage microgrid system, the only distributed power source in the system is the wind power system, and the energy storage device is a single lead-acid battery. Scenarios A2 and B2, i.e., the photovoltaic storage microgrid system, in which the distributed power source is only the photovoltaic power generation system, and the energy storage device is a single lead-acid battery. Scheme A3 and Scheme B3, i.e., wind energy storage microgrid system, the distributed power sources in the system include wind power generation system and photovoltaic power generation system, and the energy storage device is a single lead-acid battery. Scheme A4 and Scheme B4, i.e., wind-diesel storage microgrid system, the distributed power sources in the system include wind power generation system, photovoltaic power generation system and diesel generator, and the energy storage device is a single lead-acid battery. Scheme A5 and Scheme B5, i.e., wind-scenic fuel cell hybrid energy storage microgrid system, where the distributed power sources in the system include wind power generation system, photovoltaic power generation system, and fuel cell, and the energy storage system is a hybrid energy storage system composed of hydrogen energy storage system and lead-acid battery. Under the current natural resource conditions, the off-grid microgrid system has the lowest total net present value cost of the system (A5=121,692,284.2yuan and B5=130,535,773.8yuan) under the combination of scenario 5 type (i.e., hybrid energy storage microgrid system with wind and fuel cells). Combining the results obtained from the stochastic model analysis, the wind-scenic fuel cell hybrid energy storage system (Scenario A5) is the optimal configuration combination with a renewable energy utilisation rate (99.86%) close to 100%, a low averaged chemical energy cost (1.51yuan), an improved load default rate (5.49%), and meets the system power supply reliability requirements. It indicates that the energy storage system with this optimal combination of resource allocation has the smallest total NPV cost and the optimal evaluation indexes for the off-grid photovoltaic storage microgrid system under the cyclic charging operation strategy.
Optimize the configuration results of the energy storage system
Scheme type | WT | PV (kW) | MPPT (kW) | Gen (kW) | Battery | Converter (kW) | FC (kW) | ELE (kW) | HT (kg) |
A1 | 55 | —— | —— | —— | 2500 | 356.1 | —— | —— | —— |
B1 | 55 | —— | —— | —— | 2900 | 334.8 | —— | —— | —— |
A2 | —— | 450 | 450 | —— | 2900 | 85.9 | —— | —— | —— |
B2 | —— | 450 | 450 | —— | 3200 | 83.1 | —— | —— | —— |
A3 | 18 | 320 | 320 | —— | 2400 | 95.4 | —— | —— | —— |
B3 | 18 | 320 | 320 | —— | 2500 | 91.8 | —— | —— | —— |
A4 | 15 | 290 | 290 | 40 | 600 | 102.3 | —— | —— | —— |
B4 | 15 | 290 | 290 | 40 | 1200 | 98.7 | —— | —— | —— |
A5 | 15 | 290 | 290 | —— | 650 | 36.5 | 45 | 18 | 18 |
B5 | 15 | 290 | 290 | —— | 1200 | 58.4 | 45 | 18 | 18 |
Optimize economic indicators
Scheme type | NPC (yuan) | LCOE (yuan) | REU (%) | LLR (%) |
A1 | 24655595.11 | 2.83 | 94.78 | 10.23 |
B1 | 26666925.18 | 2.86 | 94.78 | 10.23 |
A2 | 24184924.71 | 2.44 | 94.78 | 9.26 |
B2 | 24652862.85 | 2.71 | 94.78 | 9.16 |
A3 | 23957793.8 | 2.23 | 94.82 | 6.81 |
B3 | 24080801.53 | 2.3 | 94.82 | 6.34 |
A4 | 17754849.7 | 1.71 | 80.87 | 6.08 |
B4 | 19972982.57 | 1.73 | 81.35 | 5.92 |
A5 | 12169284.2 | 1.51 | 99.86 | 5.49 |
B5 | 13053573.8 | 1.68 | 98.64 | 4.89 |
In this paper, the distributed wind-solar complementary off-grid type optical storage grid system constructed on an island in the Zhoushan area is taken as the object of empirical analysis, and the optimal configuration scheme obtained by applying the stochastic model analysis to the optical storage grid is used with the battery storage optimisation system. Each of the selected colloidal batteries has a rated capacity of 100Ah, a permissible maximum depth of discharge of 85%, a lifetime of 12.5 years, and an investment cost and a replacement cost of 2,600 yuan and 1,750 yuan, respectively. The service life of a single turbine is 26 years, with an acquisition cost and replacement cost of 85,264 yuan and 39,452 yuan, respectively.The lifespan of a PV array is 26 years, and it costs 950 yuan to acquire.The service life of the entire off-grid photovoltaic storage microgrid system is 26 years, and the average annual interest rate is assumed to be constant at 8.5 per cent.
Based on the wind speed and solar radiation measurements in the region between 2019-2021, which were obtained from the sensor samples every 20 minutes, these data were statistically analysed, and the Weibull probability distribution function and the distribution function were used to fit the wind speed and solar radiation intensity, respectively, to obtain the stochastic characteristics for each time point of 24 hours. The statistical characteristics of the stochastic characteristic parameters of wind speed and solar radiation intensity for the region at 11 a.m. for the annual average and spring, summer, autumn and winter seasons are shown in Table 5. The annual mean wind speed Weibull distribution parameters
Wind speed and solar radiation statistics
Season | Wind velocity distribution parameter | Wind velocity wibull distribution parameters | ||
Spring | 2.65 | 5.94 | 2.16 | 0.45 |
Summer | 1.74 | 6.34 | 2.99 | 0.72 |
Autumn | 2.59 | 6.85 | 2.34 | 0.59 |
Winter | 2.74 | 6.92 | 2.07 | 0.45 |
Average annual | 2.43 | 6.51 | 2.39 | 0.55 |
The battery is put into operation initially at 50% so that the optimal configuration obtained by the stochastic model of the photovoltaic storage microgrid system operates continuously to supply power for four typical days, during which the battery changes are shown in Fig. 1. It can be seen that on the first day of operation, there is an excess of energy, and some of the power cannot be stored because the battery is already fully charged. In the next three days of operation, the batteries were cyclical. The wind turbine, photovoltaic array, and battery bank in the photovoltaic storage microgrid system achieved the optimal ratio by replenishing the power discharged from the battery on the same day.

Don’t consider seasonal battery SOC changes
The fluctuation patterns of wind and light resources in the offline optical storage microgrid system show a certain seasonality, with different typical daily average wind power curves and photovoltaic power curves representing the spring, summer, autumn and winter seasons. Due to the use of air conditioning in summer and winter, then the average daily load curves in summer and winter seasons need to be added with the corresponding power consumed by air conditioning operations.Considering these seasonal factors, the off-grid photovoltaic storage microgrid system configured based on the methodology of this paper was operated continuously for 7 days, during which the battery changes are shown in Fig. 2. It can be seen that in springtime, due to the abundant wind and light resources, the battery has less chance to participate in the power supply, and most of the time it is in the full charge state. In winter, due to the large load demand, the battery needs to assist the system power supply, and the total amount of discharged power is slightly larger than the total amount of charged power. The overall balanced use of energy is achieved, which shows that the configuration scheme of the optical storage microgrid system obtained from the stochastic model in this paper is also robust in the face of resource changes caused by seasons.

Consider seasonal battery soc changes
The high cost of energy storage systems has become one of the bottlenecks in their development. In this paper, in order to study the impact of applying a stochastic model and battery optimisation system on the cost optimisation of off-grid optical storage microgrids, the cost of the optimised system is now compared and analysed with the cost of the original scenario. The original scenario is to retain the original investment cost of the optimized energy storage capacity configuration scheme, while only recalculating the system indicators.The new scenario is to re-optimise the optimal allocation of energy storage capacity in the system, and to calculate various indicators of the system. The results of the analysis of the metrics of the optimised energy storage scenarios under the original and new scenarios are shown in Table 6. Compared to the original configuration scheme, the new optical storage microgrid and energy storage capacity configuration scheme causes an increase in the scheme’s economy, and all operational indicators of the system are improved. The optical storage yield of the optical storage microgrid increases from 13.24% to 16.47%, and the total cost spent by the system decreases from 25481635.52 yuan to 22635487.92 yuan. In the original scheme, when the initial investment cost of energy storage is high, it seems very uneconomical to configure a larger capacity of energy storage to improve system operation and PV utilization. The optimal configuration and battery optimisation system obtained by using the stochastic model in this paper can obtain better system operation levels and higher photovoltaic storage utilisation rate under the condition of guaranteeing a lower level of the initial investment cost of energy storage.
Comparison of cost changes under different scenarios
Project | Original scene | New scene |
Photovoltaic installation (yuan) | 25481635.52 | 22635487.92 |
Replacement cost (yuan) | 42563.25 | 39425.62 |
Operating maintenance cost (yuan) | 11524.63 | 10524.63 |
Photovoltaic subsidy cost (yuan) | 27846.24 | 25146.62 |
Net loss cost (yuan) | 1852.64 | 1524.28 |
Light storage rate | 13.24% | 16.47% |
Voltage deviation indicator | 0.8215 | 0.7942 |
Net loss index | 0.3265 | 0.3148 |
In remote areas where traditional grid power is inconvenient, people’s production and living electricity need to be provided by microgrids, and the optimisation of the microgrid configuration can ensure that the system can operate stably, persistently and efficiently. In this study, the stochastic model simulation analysis is used to obtain the optimal configuration of the off-grid optical storage microgrid, and the battery storage optimisation system is proposed to further improve the performance and economy of the optical storage microgrid. The analysis finds that the optimal configuration scheme of the optical storage microgrid has a renewable energy utilisation rate (99.86%) close to 100%, a low average chemical energy cost (1.51yuan), an improved load default rate (5.49%), and meets the system power supply reliability requirements. The empirical analysis of the construction of an island in the Zhoushan region shows that the configuration scheme of the optical storage microgrid system obtained from the stochastic model in this paper is robust in the face of seasonal-induced resource changes. In addition, the optical storage yield of the optimised optical storage microgrid is increased from 13.24% to 16.47%, and the total cost of the system cost is reduced from 25481635.52yuan to 22635487.92yuan.
In conclusion, using the optimal configuration and battery optimisation system obtained from the stochastic model in this paper, a better level of system operation and higher optical storage utilisation can be obtained while guaranteeing a lower level of the initial investment cost of energy storage.
This project is supported by the 2024 Cost Research Project of State Grid Baiyin Power Supply Company: Research on Typical Configuration Methods and Construction Operation Models of Off grid Optical Storage Microgrids (No. B72703241103).