1. Introduction
In recent years, with the strong development of renewable energy sources (RES) as well as information and communication technology (ICT), the traditional power system has begun to shift from a centralized power system to a decentralized power system. The increasing number of renewable energy sources that are connected to the utility grid as well as an increasing demand for electricity create a significant challenge for the utility grid system. Therefore, a new concept called “microgrid” has been proposed as a solution to these challenges. With microgrids operating similarly to the utility grid, the microgrid is located near energy-consuming areas. The microgrid helps to reduce the burden on the utility grid. Instead of connecting all the power generation sources directly to the utility grid, microgrid operators will operate within a grid of generators and renewable energy sources. This helps to reduce the instability of the RES to the utility grid. In addition, the microgrid is available in two grid-connected or isolated modes, which gives microgrid operators more flexibility. However, the fact that microgrids operate independently without utility grid support is a matter of concern for power balance. Accordingly, battery energy storage systems (BESS) and demand response (DR) programs could become critical to ensuring a reliable power supply to the microgrid beyond the traditional power generation equipment [
1].
Previously, for the traditional power system, the load was considered a passive component, unable to interact with the system. However, with the integration of advanced metering infrastructure (AMI) and ICT into the power system, the load can now completely interact with the system through DR programs. The concept of the DR program was defined as the actions by end-use customers that change their regular demand for electric power in response to electricity price, incentives, or controls from grid operators [
2]. Over the years, the effectiveness of the DR program has been proven through theoretical studies as well as practical applications in many countries. On this basis, the classification of DR schemes based on incentive and price signals is the most popular [
3,
4,
5]. In price-based programs, customers’ demand changes in accordance with the electricity prices. The price of electricity differs at preset times or varies dynamically according to the time (day, week, or year). Examples of this scheme are time of use (ToU), critical-peak price (CPP), and real-time price (RTP) [
3]. In incentive-based programs, consumers are offered monetary incentives and agree to change their power consumption. There are a variety of incentive-based DR programs, such as emergency DR (EDR), interruptible load program (ILP), curtailable load program (CLP), and direct load control (DLC) [
5]. The DR programs based on these two categories have various benefits and drawbacks, but obtaining monetary incentives or other kinds of discounts will encourage active involvement in the DR program and coordination with the power system operator from the customer’s perspective [
6].
In addition to DR, energy storage systems, especially BESS, are gradually becoming an indispensable component in modern power grids. With the ability to flexibly regulate as well as the cost per unit of installed capacity decreasing, microgrid models with the appearance of BESS increasingly attract a large number of studies. Studies on BESS integration often ignore the operating cost of BESS or simply approximate its fixed cost [
7]. However, the capital cost for BESS is still very high. Therefore, the integration of BESS should consider the operating costs of BESS as a way to optimize the operating mechanism of BESS in the microgrid.
Accordingly, it is necessary to consider and analyze the problems of microgrid operation with the integration of new components into microgrids such as RES, DR, and BESS. The microgrids through energy management systems (EMS) also perform scheduling problems for the microgrid’s generating units. This problem is similar to the problems of unit commitment or economic dispatch for the day-ahead market and hour-ahead market in the electricity market operation of power systems.
In [
8], the authors proposed a unit commitment model that integrates incentive-based DR considering different types of DR sources. This study also considers the uncertainty of DR. The results demonstrate the economic efficiency and reliability of the power supply for the system. A two-stage stochastic unit commitment model was proposed in [
9], which considered incentive-based DR. The results showed that in addition to reducing peak load and decreasing the standard deviation of the load profile, the model also helped to improve the benefits of the consumer, reducing electricity bills. The authors in [
10] proposed a two-stage formulation for the day-ahead energy scheduling problem with DR, in which the first stage solved a network-constrained unit commitment problem with DR, and the second stage solved an incentive or penalty minimization problem. In [
11], the authors proposed a memetic algorithm to solve the bi-objective problem of maximizing operator profits and minimizing customer costs. To this end, an incentive payment-based DR program was introduced. This target was applied to residential customers with reduced electricity consumption. In [
12], the main objective of the paper was to maximize the profit of the system operator and the end customer. The problem was to apply an incentive payment-based DR program. However, MT and WT sources were not considered in the proposed model. With the goal of minimizing operating and emission costs, the proposed problem used whale optimization algorithm to solve the problem [
13]. With the application of the incentive payment-based DR program, the results were given in two cases: with DR and without DR. However, the results were not convincing. In [
14], the authors proposed a model of pool-based DR in the stochastic day-ahead scheduling considering the uncertainty of RES. For the problem of BESS operation in the unit scheduling problem, there have been studies that consider the operating cost of BESS. A BESS operation cost model was suggested in [
15], which considered a battery as an equivalent fuel-run generator in order to include it in a dynamic programming-based unit commitment problem. Research in [
16] presented two types of cost models for BESS. The first battery cost model depended on three factors: efficiency, life cycle, and state of health (SOH), whereas the second model depended on the depth of discharge (DoD). A DR model for a cluster of manufacturing plants with BESS and taking into account operating costs of BESS was presented in [
7]. This study proposed a hybrid optimization method integrating an evolutionary algorithm and branch-and-bound algorithm to solve the operation cost minimization problem.
In the early 1960s, a series of studies on the scheduling of power generation units were published, starting with Garver in 1963 [
17]. Since then, many authors have studied and published various approaches to the unit commitment problem, such as dynamic programming (DP), priority lists (PL), linear programming (LP), mixed-integer linear programming (MILP), mixed-integer quadratic programming (MIQP), Lagrange relaxation (LR), and meta-heuristic algorithms. The development of computers and optimization solvers such as CPLEX or Gurobi [
18] has led to a revolutionary wave from using traditional methods such as DP, PL, and LR to using MIP approaches [
19,
20]. The MIP problem can be solved by using an advanced solver, which helps to find a unique solution. At the same time, the methods using meta-heuristic algorithms, such as ant colony optimization, evolutionary computation, particle swarm optimization, and genetic algorithm, often have problems finding the global optimal value in problems where the objective function is non-convex [
21]. In recent years, several studies have been carried out on operational scheduling for MG that consider the use of BESS and DR programs. In [
22], the authors presented an approach to using an improved water wave optimization algorithm to solve the problem of scheduling resource operations. The given objective function is to minimize the operating costs of MG with multi-carrier energy infrastructure. Of these, incentive-based DR programs, renewable resources, fossil fuels, batteries, power and natural gas grid infrastructure, energy hubs, combined heat and power units (CHP units), boilers, and thermal energy storage devices are considered in the grid-connected microgrid system. However, this paper evaluated the effect of the DR program on the system, not the effect of BESS on the MG system and the impact of the DR program on the use of BESS. In [
23], a proposed hybrid algorithm (GA combined with an artificial bee colony algorithm) approach was proposed to address the goal of minimizing operating costs and demand-side management costs. The results are given to evaluate the influence of the PV system and DE units on the grid-connected MG system. However, DR programs were not considered, and the impact of BESS was not assessed. In [
24], the objective function was given to maximize the profit obtained by the microgrid aggregator approaching MILP to solve the problem. Risk-neutral or risk-averse decisions are taken into account at the discretion of the microgrid aggregators’ market analysis. The approach of the K-means clustering technique and fast backward scenario reduction method was proposed to reduce the number of scenarios to improve processing speed. In addition, the effect of BESS was not evaluated. Furthermore, the DE source was not mentioned. In [
25], with the intent to calculate the total operating cost of the sources participating in the grid-connected MG system, the researchers implemented a schedule of customer demand reduction based on the positivity/pessimism of the customer incentive-based DR program. The authors modeled green hydrogen storage systems to store excess energy from RES sources. The MILP approach was proposed to solve the problem. However, the cost functions of DE were incomplete and the impact of using green hydrogen storage systems was unclear. With the enhancement of the management system of interconnected isolated microgrids, three levels of management are proposed with the use of the two-round fuzzy-based speed algorithm in [
26]. The first level of control was forecasting the operating mode of the MG. The second level was the management of the exchange between MGs if required by the operator, and finally, the operation of the MG will be predetermined in the future based on the Markov chain model. However, this paper model only considered using WT, PV, and BESS. DR programs and traditional power generation units were not considered. The authors in [
27] proposed the use of particle swarm optimization (PSO) and artificial neural network (ANN) algorithms to improve the power management model of PV generators in the grid-connected microgrid model. The authors used BESS to manage the instability of the PV source using the PSO algorithm. They then applied ANN to optimize the implementation of the PSO algorithm. However, sources such as MT, WT, and DR programs are not mentioned in the article. In [
28], the authors presented a genetic algorithm (GA) approach to the unit commitment problem for microgrids. However, the microgrid model in that study did not mention DR nor consider the operating cost of BESS.
In this paper, we propose an improved microgrid model, shown in
Figure 1, taking into account incentive-based DR and an operational cost model for BESS. In addition, we use the mixed-integer programming (MIP) approach for our problem, then use the GA method presented in the previous study as the basis for comparing the two approaches. To summarize, the novel features of this study include the following:
Improving the microgrid model, including an incentive-based DR program. DR sources are simply seen as the negative power source, which operates simultaneously with other types of power generation;
Considering a detailed model of a vanadium redox battery (VRB) for the BESS system and the operating costs of the BESS system based on depth-of-discharge;
Considering the impact of the DR program and the vanadium redox battery for the BESS system designed to optimally schedule the isolated-microgrid system without support from the utility grid;
Evaluating the impact of the DR program on the operation of the BESS model;
Solving the optimization problem with the MIP approach then comparing the results obtained with the use of GA through specific case studies.
The paper is presented in the following order.
Section 2 presents the formulas of the mathematical model, including the constraints of the unit commitment problem, the DR model, the operating cost for BESS, and the objective function.
Section 3 presents the simulation results of the problem using both the GA and MIP approach and a detailed analysis of the results achieved with the integration of DR and BESS. Finally, in
Section 4, the content of the work of the paper is presented briefly.
2. Problem Formulations
In previous studies, the integration of DR programs into large power systems was researched considering the benefits for system operators and end-users. In this paper’s model, we propose the integration of DR programs into the microgrid system without support from the utility grid to evaluate the impact of the DR model on the isolated-microgrid system. In addition, the charging/discharge characteristics of BESS are considered in the model of integrating energy storage systems and DR programs. Furthermore, constraints related to the operation of the isolated-microgrid system, the uncertainty of RESs, the constraints of BESS, and the DR program are explained in detail.
In this section, all of the constraints of the problem based on the MIP approach are shown.
Section 2.1 gives a detailed explanation and shows the demand forecasting equations.
Section 2.2 presents the power calculation equations for PV panels.
Section 2.3 presents the equations for calculating the output power of WT based on wind speed.
Section 2.4 shows the constraints of the MIP. In
Section 2.5, the constraints of BESS modeling are presented. In
Section 2.6, the constraints of DR modeling are presented. In
Section 2.7, the objective function is constructed. In addition, formulas for calculating the cost of each power generation source are also given.
2.1. Demand Forecasting
The accuracy of the data is one essential factor that significantly affects how the problem will be solved. The microgrid’s energy consumption implies that energy resources must be used wisely to maintain high supply reliability. However, the demand in a microgrid is typically predicted based on user behavior and data records. When little information about the grid is known, or new entities connect to the network, this demand forecasting may become inaccurate. This study considers an estimated demand curve impacted by a final inaccuracy. Every time instant
, this error is assumed to follow a normal distribution, with an average of zero and a standard deviation that varies depending on the level of accuracy needed to solve the problem. Accordingly, if we take a significant value of
t into account, the uncertainty in demand forecasting will increase, necessitating the contribution of a more robust solution to ensure the electrical supply during regular operation. Equation (
1) shows that the total capacity demand at time
t is always guaranteed by the sum of the estimated power demand and the forecast demand estimate error. Equation (
2) presents the estimated allowable demand power range.
where
represents the estimation error and
determines standard deviation of the estimated error. The value of
is given based on the electricity demand data of the previous day, which means that the electricity demand of the next day cannot be significantly different from the previous day. This difference will be compensated for using the spinning reserve of DE and MT to ensure the safe operation of the system. This estimated spread is preset to 3
[
28]. The range of error estimates is given based on the normal distribution obtained from the historical data, shown in
Figure 2.
2.2. Photovoltaic Generator
One or more solar inverters are powered by a group of photovoltaic panels (PV) connected in series to form a PV generator. These inverters convert the received DC power into AC power, which is then used by the grid. The power generated by a PV plant is influenced by a variety of variables, including solar radiation, ambient temperature, solar cell temperature, and module degradation. Because the power from PV panels cannot be stored, a PV generator is a must-run power source, which has to operate at maximum power. The equation for calculating the power of PV panels is given in [
28].
where
is the output power of PV panels at time
t,
is the solar irradiance at time
t, and
,
, and
are the maximum power, solar irradiance, and temperature measured under standard test conditions (STC), respectively. The STC is the one applied with a standard temperature of 25 °C, solar radiation of 1000 W/m
, and an air mass of 1.5. The expression
n is the number of PV panels, and
k is the power temperature coefficient (°C);
is the temperature of the PV panels at time
t and can be calculated through Equation (
4).
where
is the ambient temperature and
is the constant of the PV panels given by the manufacturer.
2.3. Wind-Turbine Generator
Wind turbines placed in different locations or with different designs will produce different levels of power. All these wind turbines must ensure that the operating wind speed of the wind turbines must be within the limits of the wind speed that can generate electricity. When the operating wind speed of these wind turbines is below or exceeding the wind speed limit, the electrical power output is zero. When the operating wind speed is within the range of the minimum input wind speed at which wind-turbine (WT) can generate power up to the rated wind speed of WT, the output power of WT will be calculated relative to the wind speed. When the operating wind speed is between the rated wind speed and the maximum wind speed allowed by the WT, the wind power was fixed to the rated power of the WT. The equation for calculating the electrical output power of the wind turbines [
28] is
where
is the output power of the wind turbine at time
t;
is the rated power of the wind turbine;
is the minimum input wind speed that can generate electricity;
is the maximum input wind speed that the wind turbine still allows for generating power;
is the rated wind speed of the wind turbine; and
v is the operating wind speed of the wind turbine.
2.4. Constraints to the MIP Approach Problem
During operation, at time slot
t, the power demand is always guaranteed to be fully supplied. The power balance constraint at each time is given by Equation (
6):
where
represents the electricity demand at time
t;
and
are the output power obtained by PV and WT units at time
t, respectively;
and
are powers of DE and MT units at time
t, respectively;
represents the capacity of the BESS at time
t;
represents the power of DR at time
t;
is considered positive/negative when discharging/charging; and
is considered positive/negative when consumers reduce/increase demand.
The constraints on the allowable operating limits of DE and MT at time
t are presented in Equations (
7) and (
8). The generating capacity at time
t of the generating units is limited within the allowable power generation limit.
where
/
is the maximum/minimum generated power of the DE units;
/
represents the maximum/minimum generated power of the MT units; and
and
are active indicator variables for DE and MT units, respectively, with
and
being 1 or 0, representing the on/off state.
In the MIP approach, the constraints related to ramp-up/ramp-down of DE and MT are considered. The allowable ramp-up/ramp-down limits of DE and MT are presented in Equations (
9)–(
12).
where
and
represent ramp-up/ramp-down of DE units; and
and
represent ramp-up/ramp-down of MT units. Similarly,
and
represent the maximum ramp-up/ramp-down of DE units; and
and
represent the maximum ramp-up/ramp-down of MT units.
Equations (
13)–(
16) represent the limit ramp-up/ramp-down of DE and MT units. The ramp-up/ramp-down of DE and MT units is limited from time
t to
. The change in power generation should not exceed the limit ramp-up/ramp-down of the given DE and MT units.
where
is the generation power of each unit DE, MT at time
t, and
is the generation power of each unit DE, MT at time
.
Equations (
17) and (
18) present formulas for calculating DE and MT power at time
t, relative to the operating state at the previous time (
) and ramp-up/ramp-down.
The spinning reserve constraints of DE and MT are given in Equations (
19)–(
21).
where
and
represent the spinning reverse of DE and MT at time
t, respectively.
It is crucial to note that to ensure the validity of the solution, the estimation error must be taken into account in the problem while considering the uncertainties in demand forecasting. The spinning reserve’s well-sizing satisfies this reliability. To solve the issue, the following constraint must be added:
where
is the scalar parameter, and
is the standard deviation of the estimation error, which is noted in
Section 2.1.
2.5. BESS Modeling
2.5.1. Overview
Until now, batteries have always been an essential component in life as well as production. From alkaline batteries for small electronic devices to lithium-ion batteries for cars and laptops, everyone needs batteries for their devices. In recent years, energy storage technology has been increasingly developed; today’s batteries can store up to a hundred megawatts of electricity, equivalent to the capacity of about 50 wind turbines combined. This leads to the development of renewable energy being extremely promising and possible because the energy storage battery system is a solution with high performance and reliability. The lithium-ion battery system is cost-effective, easy to maintain, and has long battery life. Despite such advantages, lithium battery systems still have disadvantages, such as higher protection requirements, restricted capacity, and battery performance that degrades over time. Today, a new battery system called vanadium redox battery (VRB) is being researched and applied in many electrical systems. This type of battery system has outstanding advantages over lithium-ion battery systems. Producing a VRB system creates less waste than a Li-ion battery system. VRB electrolytes may be reused, unlike lithium, which has expensive disposal costs. Another considerable advantage of VRB over the Li-ion battery is its better safety and longer lifespan. A VRB is water-based, thus non-flammable and non-explosive, and the cycle life of a VRB mainly depends on the life expectancy of its proton exchange membrane and its pumps, which are easy to replace. In the future, VRB might soon become a growing trend as it continues to develop. Numerous VRB systems have been installed and put into operation in many countries. Particularly, a VRB system in Dalian, China has been commissioned in the first phase of 100 MW/400 MWh, and the second phase will bring it up to 200 MW/800 MWh. It will help to reduce peak load on the Dalian City grid and may even play a role at the provincial level, improving power supply and the ability to connect new power sources such as solar and wind to the grid. In this paper, a simplified BESS model is proposed with the use of a vanadium redox battery system shown in [
15].
A VRB (illustrated in
Figure 3) is a flow-type battery that stores chemical energy and generates power through reduction–oxidation processes in the electrolytes between distinct ionic forms of vanadium. Two closed electrolyte circuits make up the batteries. The electrolyte is stored in a separate tank (catholyte and anolyte) in each circuit and cycled through the cell stacks via pumps where the electrochemical reactions take place. The Catholyte contains
and
ions, and the anolyte contains
and
ions suffused in an H
2SO
4 solution;
is oxidized to
in the negative half-cell during discharge, creating electrons and protons. Therefore, a DC current is generated and transmitted through the inverter to be consumed. Protons diffuse through the membrane, and electrons flow to the positive half-cell via the external electrical circuit, where
is reduced to
. During the charge cycle, the redox process is reversed. For the VRB storage system to function effectively, environmental controls are essential. High temperatures can damage the VRB membrane and cause overheating of the electrical equipment, whereas freezing temperatures can obstruct electrolyte flow. Therefore, a heat control system is installed to control the temperature of the entire battery system.
The specifications of the above VRB model are detailed, especially the BESS charge/ discharge capacity constraints. The BESS model has two main functions in the integration into the power system. It is the charge/discharge function used when the power supply is excessive/insufficient. In this section, the power consumption of the BESS in the two functions is formulated in detail.
2.5.2. Modeling
To enhance the performance of the BESS, there must be accurate modeling of the charging profiles. There are numerous battery modeling approaches for various battery types, including electrochemical models, mathematical models, circuit-oriented models, and integrated models. In this paper, electrochemical modeling of the VRB is presented to indicate the operating parameters of BESS, such as state of charge (SOC) and the charging/discharging power [
30]. Similar to other battery models, VRB systems also have limitations on charge/discharge rate and output power:
where
determines the state of charge of the battery,
determines the maximum charge rate, and
illustrates the minimum charge rate of the battery. The charging and discharging state of the battery is determined as follows:
where
represents the consumption of the battery during discharge,
represents the consumption of a battery during charge, and
demonstrates the output power of the VRB system.
The consumption of a BESS during discharge is defined as the energy usage for supplying a load during a unit time:
The consumption of a BESS during charge is defined as the energy loss for charging the battery during a unit time:
where
represents the consumption of the battery during discharge;
/
represents the discharge/charge power of BESS;
represents the power loss during discharge;
represents the consumption of a battery during charge; and
represents the power loss during charge.
To solve the problem, formulas for battery consumption during discharge/charge are given in Equations (
26) and (
27).
During charge:
where
/
represents the stack voltage during discharge/charge, respectively;
is the open circuit voltage;
represents the charged state of the battery; and
,
,
, and
represent the coefficients of the proposed VRB system. The coefficients of the VRB system, given by the manufacturer, are shown in
Table 1 [
15].
2.6. DR Modeling
In the era of information and communication technology in the power system, the load becomes a flexible component in the power grid because it can be controlled in a timely manner and with high reliability. As a result, demand response, a program that allows consumers to play a crucial role in the operation of the grid by reducing or shifting their electricity use during peak times in response to time-based rates or other forms of financial incentives, becomes an indispensable component in the smart grid. This is quite understandable when DR is a flexible source that can be operated at a much lower cost than investing in other frequency control power plants. Transferring or reducing a portion of the load can be done based on two types of DR programs: Type 1, incentive-based programs, and Type 2, price-based programs.
Type 1 DR programs offer incentives for customers to participate in peak hours load cuts. When customers join the program and properly meet the reduction requirements, they will receive an incentive bonus or electricity bill coupon. This category includes direct load control, interruptible service, capacity market program, demand bidding/buy back, emergency demand response program, and ancillary service markets. These programs provide customers additional incentives payment for their load reduction, independent of their retail electricity price.
Type 2 DR programs operate by increasing the electricity price during peak hours, so the customers tend to shift their consumption to the off-peak hours. Price-base programs include several programs, such as real-time pricing, critical peak pricing, and time-of-use tariffs, and provide clients with time-varying prices that are representative of the value and cost of electricity throughout various time periods. If the difference between prices in each hour or period is significant, customers may adjust their power consumption from high-price periods to low-price periods to take advantage of the programs. Therefore, a significant peak load shaving can be achieved.
It can be seen that transferring or reducing part of the load at peak hours helps to reduce the burden on the power system and at the same time makes the operation more reliable and more stable. Following the above trend, the DR program is integrated and considered in the microgrid model within the framework of this paper, especially in the case of an islanding mode microgrid. The integration of DR into the microgrid system is to assess the impact of DR on the operation of the system and at the same time consider the influence of the DR program on the operation of the proposed BESS model. The proposed DR program is based on incentive rewards to stimulate consumers to participate in the program. In this section, reward determination formulas are considered along with the consumer benefit/impact of participating in the DR program.
2.6.1. Participating
The DR program is responsible for reducing the peak load of the consumer or sending a control signal. As agreed, participants will be paid in advance for agreeing to reduce power usage upon request [
31]. In the above cases, DR pays incentives to customers. In this article, DR is economically modeled based on grid prices and incentives for utilities in the event of an emergency.
2.6.2. Determining Reward
Elasticity is defined as demand sensitivity with respect to the price [
32]. It means the utility should provide more incentives for a higher amount of curtailment.
where
represents the self elasticity for load
i at time
t;
represents the nominal electricity price at time
t; and
represents the initial demand value at time
t.
How much electricity the customer should consume to maximize the benefits and convenience of participating in DR [
33] is given as follows:
where
represents the incentive for load
i at time
t;
represents the required demand for utility at time
t; and
represents the initial demand of load
i at time
t.
Survey results have demonstrated that participants are only willing to curtail or shift unnecessary loads, such as air conditioners or wet appliances. It is assumed that operators are allowed to curtail a load of customers up to 20% of current usage during contingencies.
2.7. Objective Function
In this section, the objective function is constructed and shown by Formula (
32), in which the economic cost is equal to the total maintenance cost, start-up cost, operating cost of DE and MT units, plus BESS maintenance cost and DR participation cost.
where
represents the economic cost, in which the smaller the economic cost, the better for the power supply side;
and
represent the maintenance costs of DE and MT, respectively;
and
represent the startup costs of DE and MT, respectively;
and
represent the operating costs of DE and MT, respectively;
represents the maintenance cost of BESS, and
represents the cost of DR. These costs are calculated and expressed in Equations (
33)–(
38).
2.7.1. Operation Cost of the Controllable Generation System
where , , are the given parameters related to the cost during operation of DE; , , are given parameters related to operating costs of MT; and are the maintenance cost coefficients per 1 kWh of DE and MT, respectively; , , , are the given parameters related to the startup cost of the DE; and, similarly, , , , are given parameters related to the startup cost of MT.
2.7.2. Operation Cost of BESS
In this section, formulas related to the cost of batteries are given and can be determined:
where
represents the total operating cost of the battery;
is defined as the cost to have 1 kWh of storage and is defined as 0.4 €/1 kWh;
represents the replacement cost of the battery;
represents the total lifetime of the battery; and
is determined by Formula (
41):
where
represents the rated capacity of the battery;
represents the depth of discharge of the battery; and
represents the battery-rated lifetime.
In the proposed BESS model, instead of supplying power to the BESS by conventional generators, the use of RESs to power the BESS is considered. The purpose of this is to utilize energy resources to power the BESS. During the night hours, WT is providing excess electricity due to no power consumption. Charging for BESS at this time is most profitable due to WT’s excess capacity, while WT’s generation costs are considered free and available. At the same time, it helps to make the operation of the BESS more stable.
2.7.3. Cost of DR Program
DR costs are understood as the total incentive payments that the operator pays to the consumer when the consumer meets capacity reduction requirements. With consumers getting more load reduction during peak load times, the higher is the incentive reward, presented by Formula (
42):
In
Table 2, the electricity price at peak/normal hours is 0.43/0.12 €/kWh, and the DR reward is 0.31 €/kWh.
3. Numerical Results
After determining the constraints and building the objective function, the problem was solved on the CPLEX solver, and the results for each case study were obtained. In addition, to clarify the superiority of the MIP approach, the results of each case study based on the GA approach performed previously are included for discussion and comparison. The results of the problem based on the GA approach are given and explained in detail in [
28].
With the GA approach, the simulated binary crossover (SBX) method is used regarding the crossover operation, in which a hyper-parameter
is given representing the similarity of the offspring to the parents. With high
, the degree of similarity is greater, and conversely, low
gives more solutions. Other crucial parameters of the GA are the
and the
, which represent the crossover and mutation probabilities, respectively. Both
and
are hyper-parameters of the GA that should be selected carefully to guarantee feasible converge of the GA. In the first case study, the optimization variable or an individual in GA is the output power of dispatchable generators during the 24 h, using intervals of 1 h. Therefore, the size of each individual is 48 genes (illustrated in
Figure 4). In the second case study, part of the optimal variable to be added is the output of the new DR source over 24 h. As a result, the size of each individual in the second case study is 72 genes (illustrated in
Figure 5).
In order to perform the calculation and to process the aforementioned computational model, the parameters of the DE, MT power generation units, and the parameters of the VRB battery model are given in detail.
These parameters of DE and MT are given in
Table 3. The DE minimum/maximum output power rating is 5/80 kW and the maintenance cost factor
= 0.01258 €/kWh. The MT minimum/maximum output power rating is 20/140 kW and the maintenance cost factor
= 0.00587 €/kWh [
28].
Figure 6 shows the price cost for power supply of DE and MT, with the operating cost of power supply gradually decreasing as the amount of capacity supplied increases [
28].
In
Table 4, the specifications related to BESS operation are given, in which the battery-rated lifetime is defined as 4000 cycles. The depth of discharge of the battery is defined as 23.3%. The rated capacity of the battery is equal to 300 kWh. The min/max SOC is equal to 0.2333/0.9333. The initial SOC is equal to 0.4667 [
28].
Two case studies are validated. Case study 1: The system only integrates using BESS. Case study 2: Integrated system uses BESS and DR. The results are given and discussed in detail in the following sections.
3.1. Result for Case Study 1
The UC problem is considered simulated in 24 h time with each interval of 1 h. In this case study, the isolated-mode microgrid model contains generators such as DE and MT to fill up the gap between the electricity consumption and the must-run renewable energy sources. Along with that, an energy storage battery system is also considered in order to balance the load demand and the PV and the WT output power. Simulation results for this case study are compared between the two approaches.
In
Figure 7 and
Figure 8, the load demand curve under the two approaches is the same. From 12 a.m. to 12 p.m., the energy consumption increased gradually from 60 kW to 250 kW each hour. The load demand then remains unchanged in the next hour before plummeting to 160 kW in the 17th hour. After an increase in the energy consumption in the 18th hour, it drops significantly to just 20 kW in the 23rd hour. One of the renewable energy sources, WT, slightly fluctuated between 44 and 71 kW throughout the period. The other inexhaustible energy source is PV, which only started to appear in the 9th hour. It reaches its peak at 40 kW in the 13th hour before gradually dropping and disappearing at the 20th hour.
First, in
Figure 7, the graph shows that the WT accounted for the most power generated among the dispatchable units. From 5 to 18, the dispatched power of WT remained stable around 100 kW to 140 kW, reaching the highest value at 140 kW at 10 a.m. The DE output power figure only appeared between 1 and 4 h, 7 and 11 h, and 18 and 19 h. It can be seen that the generated power from the DE is only in the range of 20 to 55 kW.
Second, in
Figure 8, it can be seen that the MT still generated the majority of the dispatchable units. It turned on first at 4 a.m. The MT then got turned off in the next hour before being turned on again. The amount of generated power by MT rose gradually for the next 8 h, reaching its peak at 140 kW at the 14th hour. It then fell significantly to 70 kW at the 16th hour before a comeback to 140 kW in the 18th hour. Finally, it dropped significantly and vanished at the 21st hour. Similar to the DE in the GA figure, the DE in the MIP figure also only appeared in a few hours and only generated a minor amount of electricity.
Third, in
Figure 9, dissimilar to the two dispatchable units, the battery system output fluctuated significantly between approximately 50 kW and −50 kW. It reached its highest point of discharging 49 kW and lowest point of charging −52 kW at the 20th hour and 23th hour.
In contrast to the previous units, the battery in the MIP-based solution operated completely differently from the one in the GA. The battery only discharged a considerable amount of electricity in a certain few hours while hibernating for other hours before 9 p.m. The discharged power is also not as large as it is in the GA figure, which is only discharged less than 15 kW through the periods. It also can be seen that the battery is only charging from the 21st hour to the 23rd hour. This represents the utilization of the excess capacity of the WT when load demand is not high enough to consume it, which saves the cost of charging and discharging the battery instead of charging at times of high load consumption. This also helps avoid wasting the amount of WT power transmitted at that time.
Table 5 and
Table 6 show the operational status of DE, WT, and BESS. With DE and WT: 0 is the off indicator, and 1 is on. With BESS, there are three indicators: 1 is discharged, −1 is the charge, and 0 is off.
Table 7 shows the results of the objective function with each mutation probability, and cross variation as given in the GA. The results show that the optimal cost function is 620.8 € with
= 0.6,
= 0.4, and
= 0.01, where
and
represent the probability of crossover and mutation of the generated generations, respectively;
represents the best value of the cost function for each crossover and mutation probability; and
represents the average value of the cost function for each of the crossover and mutation probabilities. It can be seen that the optimal cost function with the MIP approach is much cheaper than for GA, as shown in
Figure 8, which is 605.032 €, 15.768 € less than GA. This big difference occurs because, in the GA approach, the system is less stable, and the BESS output power changes up and down continuously, causing the cost to rise. On the other hand, the MIP approach makes the system more stable, while the BESS output only slightly fluctuates, which makes the objective cost function significantly less.
Overall, it can be seen that the obvious difference between BESS in the GA approach is different from BESS in the MIP approach. The variation in battery charging and discharging in
Figure 9 comes from the fact that the GA generates random variables, which increases the instability of the RES. Along with that is the probability of mutation; crossover of the GA makes the solution less accurate. This will lead to a significant reduction in the lifetime of the BESS while it has to operate more and at greater intensity. While applying the MIP approach, the BESS output power changes less than for GA, as shown in
Figure 10, which will save a significant amount of power loss in the charging and discharging process of BESS and extend its life-cycle. This is because the MIP is a linear-program solver, which will have less computing burden and calculate a more precise solution than a meta-heuristic algorithm such as GA.
3.2. Result for Case Study 2
In this case study, the BESS and DR models are integrated and used in the microgrid at the same time. DR is considered a negative power source, helping to reduce peak load. The BESS model was introduced to accommodate the instability of the RES. Simulation results are given for two approaches: GA and MIP.
In
Figure 11 and
Figure 12, it can be seen that the actual load graphs of the two approaches are different. With the GA approach, the integration of BESS and DR has helped reduce the peak load graph significantly, and the load curve has become less steep, as shown in
Figure 7. The BESS model, in this case, has been greatly improved, with less fluctuation of charging or discharging power compared to case study 1. In contrast, the diesel and micro turbine generator still show the same figure. MT still generated the majority of the dispatchable units.
With the MIP approach, the integration of DR helps to keep the difference between two consecutive peak periods not too large. As shown in
Figure 12, the graph is little changed, helping to reduce the on–off cost of the units. It can also be seen that, with the use case of the MIP approach, the DE source power is always used at a minimum. This results in a better MIP optimal cost function than for GA.
In
Figure 13 and
Figure 14, it can be seen that the BESS model has been significantly improved in both approaches compared to the previous case. In
Figure 13, the BESS model has changed with less difference in the charge/discharge capacity between the time periods compared to case study 1. This helps to prolong the life of BESS compared to case study 1 with the same GA approach, which will reduce the cost of the operation of BESS.
Figure 14 shows that, in this case, the BESS model is the best in both case studies as well as in both approaches. The BESS model in this approach to the MIP is inactive between 5 a.m. and 8 p.m., while the power demand is still supplied.
The BESS model in both cases is the same because both utilize the excess power generated by the WT from 9 p.m. to 12 p.m. to charge and emit at other times of the day, which helps to make the most of the charging/discharge cost of BESS.
In
Table 8 and
Table 9, the operational status of DE, MT, BESS, and DR program participation are presented. For generators DE and MT: 0 is the off indicator, and 1 is on. For the operating state of BESS, three indications are given: 1 is discharged, −1 is the charge, and 0 is off. With participation in the DR program: 0 is the indicator of no participation, and 1 is the indicator of participation.
Table 10 shows the results of the optimal cost function using the GA in case study 2. The optimal cost function obtained is 608.42 € at
= 0.6,
= 0.4, and
= 0.01. The result of the optimal cost function of MIP is lower than that of the GA, only 601.495 €, which is 6.925 € lower. This shows that the combined use of DR significantly improves the operating cost of the system. In addition, it can be seen that the MIP approach in each case always gives better results than the GA.
Another considerable thing to notice is the residual load, which is the capacity left for conventional generators to operate as shown in
Figure 15. Residual load is calculated by eliminating the share of must-run power sources out of the demand for electrical power in a power grid. The solution of the model in case study 2 shows a less fluctuating figure than in case study 1. Furthermore, from 7 a.m. to 12 p.m., the residual load in the DR integrated model remains stable at 140 kW, which is the maximum output of the MT, whereas in case study 1, sometimes the residual load exceeds 140 kW. This leads to the micro turbine operating at maximum capacity in that period, which is the point that the average cost of operation of the MT is at a minimum. In addition, at the same time, other sources will be turned off because the MT has already fulfilled the demand, whereas in the case study 1 model, the DE, and BESS will have to be turned on to meet the demand because the power produced by MT is not sufficient.
It can be seen that the integrated use of BESS and DR into the microgrid system is much better than using only BESS. The resulting maximum cost function of using BESS and DR in the GA is 608.42 €, 12.38 € less than just using BESS in the GA. For the MIP algorithm, the optimal cost function using both BESS and DR is 601.495 €, which is 3.537 € lower than in the case without the integration of the DR program. This confirms that the integration of both BESS and DR into the microgrid system is extremely good for system operation. Operating costs are lower, BESS life is longer, and system stability is better than just using BESS.
For the UC problem-solving approach, there are two approaches: GA and MIP algorithms. Simulation results in the case studies show that the MIP approach is much superior to the GA. First, the MIP approach gives a much faster solving speed than GA (only a few minutes). Second, the MIP approach solves the problem with higher accuracy than the GA, which solves the problem by probability. This makes the UC problem more stable using the MIP approach instead of the GA. Third, the MIP approach is superior to the GA if the UC problem has a large number of input variables because the initialization of random variables, mutations, and crossovers of the GA is not suitable. The number of variables is too large.
4. Conclusions
This paper proposes microgrid models considering the integration of BESS and DR programs to address the uncertainty of RES. An operation cost model of BESS is constructed based on electrochemical modeling of a VRB system, and the price-based DR program is presented. A mixed integer programming approach is applied to find the optimal day-ahead scheduling for this microgrid model with the minimized operation cost as the objective function. The result shows that the proposed model can maintain the system’s optimal operation with a lower operating cost if both the BESS and DR are integrated. Future work in this area will include the integration of a hybrid battery model that might be the combination of VRB with other battery technology, such as Li-ion battery and absorbed glass mat battery.
The results showed the advantages of the MIP approach over GA. In case 1, with consideration of operating an isolated microgrid with BESS, without DR, the optimal cost function is 620.8 €, with = 0.6, = 0.4, and = 0.01 for the GA approach, 15,768 € higher than the MIP approach with only 605,032 €. The performance of BESS in the MIP approach is better than that of the GA approach where the charge-discharge of the BESS is less variable. In case 2, with consideration of operating an isolated microgrid with BESS, with DR, the optimal cost function obtained is 608.42 € at = 0.6, = 0.4, and = 0.01 for the GA approach, 6,925 € higher than the MIP approach with only 601,495 €. The operating results of BESS with case 2 show that the participation of DR programs in operation helps BESS operate more stably than in case 1. The optimal cost function is significantly reduced with both GA and MIP approaches. It can be seen that DR programs, when participating in isolated microgrid operations, help operate the system more stably, with lower operating costs as well as an increase in the lifetime of BESS through the more stable operation of BESS. The results were obtained from model processing by python software for both MIP and GA approaches.