Abstract

High growth of the population and developed industries, on the one hand, increased the demanded energy considerably. Growth of the fossil fuel-based power generation, on the other hand, has high environmental effects. Accordingly, renewable energy sources are mainly interested in the recent years as clean resources. These sources also can be economical cases in long term. Nevertheless, their intermittent feature is a main drawback. Integration of these resources with the rest of the grid can increase their advantages and tackle their main drawbacks. In the present work, a novel programming method is proposed for energy management and optimization of operational expenses over a grid-connected microgrid (MG). The considered MG contains various renewable resources. Some uncertainties should be considered in the integration of renewable resources with the grid, which can affect the system performance. Main uncertain parameters are studied in this paper such as predicted values for green power sources, maximum capacity for fuel cells (FCs), energy storage sources (ESSs), maximum capacity for transmission line, and also hourly loads, achieving a higher efficiency. This paper utilized fuzzy idea for presentation of mentioned uncertain parameters in the MG. Moreover, this work employed a 3-stage optimization algorithm for obtaining the best programming for the MG by considering the uncertain parameters. This paper also used a practical test system to validate the proposed method through minimizing the total cost. Additionally, a sensitivity analysis is performed to study the effects of oscillations of all components in the MG and their associated uncertainties over the obtained results.

1. Introduction

In electrical networks, restructuring and deregulating presents a proper condition to move from centralized networks to the distributed networks. Centralized power generation results in some problems including power efficiency, security problem, and higher electricity loss, and also such networks include higher expenses in development of transmission/distribution networks chiefly in case of the mountains and low-density regions that are far from the major areas [1]. These stated problems along with the increasing interest for utilization of RES (renewable energy resource) caused improvement in the DGs (distributed generations). These DGs permit to decentralize the energy production [2]. Many of the RESs like microturbines, FCs, WTs, PV panels, and ESSs can be employed as DGs. Also, an MG is a collection of distributed generations and loads. The daily operation in an MG includes obtaining the lowest expenditure dispatch for distributed generations minimizing the entire operational expenditure to satisfy the demanded power under different limitations including technical, environmental, and operational ones. A microgrid should disconnect itself from the main grid and operate in the form of an autonomous segment with high performance and low emitted pollutions [3]. As well, an MG in a grid-connected situation is able to operate in the form of a sole generator-load entity and exchange power with the power market.

Scheduling of distributed generation in an optimal manner is an important problem that is broadly discussed by researchers. In this work, two main groups are considered for various scheduling methods including traditional and fuzzy-based methods. In traditional methods, factors of the scheduling models should be appropriately and precisely presented. Nevertheless, this consideration is not true in practical situations mostly, and their values are selected by experts. It is obvious that the experts’ knowledge or prediction outcomes are not adequately exact. The fuzzy concept planned to supply the explanation of measured uncertain parameters of practical stochastic events and presented strong equipment to cope with inexact data. The authors in [4] suggested the decision-making idea in fuzzy systems, which is used by many investigators to solve the fuzzy scheduling issues [47]. Next, a number of the traditional and fuzzy-based methods are presented that are utilized for optimum programming of distributed generations.

The authors in [8] proposed an mixed-integer linear programming (MILP) method for optimal programming of an MG containing green resources in an autonomous condition. Zhao et al. [9] presented a mixed-integer quadratic programming method to obtain the best programming for each week for green power sources of an MG, where the lost active energy of distribution system and constraints of distribution lines are regarded. In the considered networks of [8, 9], some green resources including the WTs, PV systems, batteries, and FCs are considered, but these papers did not study the uncertainties. In [10], a nonprobabilistic information gap method is employed to handle the uncertainty problem in the suggested virtual energy hub (VEH) system. The authors proposed a hierarchical energy management system in [11] to maximize the total financial profit. They applied the proposed method over multiple home energy hubs in the neighborhood grid and could shave the peak of upper grid. An integrated gas-power network is studied in [12] considering new flexible energy resources. They suggested a multiobjective 2-stage stochastic unit commitment, in which P2G technology is used to increase the wind power dispatch in the power system. Also, they employed demand response program to reduce the total operating cost through shifting the load from peak times to off-peak times. In [13], a smart transactive energy framework is given. They aimed to enhance the financial profit of the whole system. They also presented a comprehensive simulation study for depicting the high efficiency of the suggested method. A multiobjective optimization algorithm is proposed in [14] to optimize the considered system from technical, economic, and environmental aspects. They performed this optimization through scheduling the electric vehicle charging/discharging. They could decrease the energy cost, battery degradation, emissions, and grid utilization about 88.2, 67.0, 34.0, and 90.0%, respectively. In addition, a power system containing a natural gas-based system and wind turbine is studied in [15], where three solutions are suggested to tackle the related problems to the gas system limitations and uncertainties of the wind power. They proposed an IGDT-based robust security-constrained unit commitment model and depicted the impact of emerging flexible sources over a decrement of the total operating cost, as well as the uncertainty of the forecasted wind power. Cau et al. [16] presented a stochastic method over an MG containing green power sources, ESSs, and a hydrogen storage tank. In this reference, the scenario tree model is utilized for insertion of the uncertainties in the suggested approach. Also, Deissenroth et al. [3] proposed a nonlinear method for obtaining of the optimum programming for an MG, in which uncertainties of wind power production and environmental issues are remarked. As well, they suggested a probability-based idea to determine the probability, in which the MG is able to satisfy the demanded power in a self-sufficient way called as the probability of self-sufficiency (PSS). A mixed-integer linear programming method is suggested in [17] to obtain the optimum annual scheduling for an autonomous MG containing WTs, PV systems, ESSs, and diesel-based generation units. In [16], short-term optimum programming of an MG is discussed. They regarded various limitations of unit commitment for distributed generation such as ramp rate constraint and min-up and min-down times, as well as uncertain parameters. The authors in [18] employed the rolling horizon method for obtaining the optimum operation of a renewable MG. They mainly aimed to keep the balance among the supplement, load, and feeding a water pump for preserving the amount of water in a tank inside a predetermined range with the lowest expenditure. Furthermore, the authors in [19] utilized a TS (Tabu search) optimization method for obtaining the optimum operation for storage systems for a distribution system. They considered the uncertainty of EVs (electric vehicles). As well, the authors in [19] utilized the fuzzy sets idea for uncertainties modeling. The authors in [20] employed the fuzzy chance constraint programming (CCP) to program the production units of an MG in the day-ahead platform. This MG contains distributed generations, WTs, loads, and uncertainties of loads. They presented the accessible wind energy in the form of the trapezoidal fuzzy set. An optimized fuzzy method is suggested in [21] for obtaining the optimum operation of a network containing WTs, PV systems, hydro, and heating-based generation units. This reference utilized fuzzy sets to consider the uncertainties of wind speed, irradiation, and accessible water. Then, the optimum answer is obtained by GA (genetic algorithm). Faddel et al. [22] also used an optimized fuzzy method to maximize the revenue of the considered parking lot operator, and fuzzy sets are utilized to consider the uncertain parameters like rates of the power market, state of batteries, and the departure time. Moreover, Rezvani et al. [23] aimed to schedule the power resources of an MG containing PV systems, FCs, ESSs, WTs, and microturbines. They used a multiobjective (MO) optimization method to find the best programming of the MG to reduce the entire operational expenditure and emitted pollutions down to the minimum possible amount, where the decision-making is conducted by the fuzzy method.

Based on the review papers, fuzzy methods, as well as stochastic ones, are beneficial to apply the uncertainty on the MGs. These two types of methods have a number of features and advantages. According to [24], for uncertainty with a normal distribution, stochastic methods will be useful, but in case of a general one, stochastic scheduling cannot mostly be solved simply. Besides, the fuzzy methods are useful even once the uncertainty is confined no regard to the unimodal distribution type. Generally, solution of the fuzzy scheduling problems is simpler compared to the stochastic ones. Also, Inuiguchi [25] represents that, for independent uncertain parameters, just a low count of decision-variables will be nonzero in the optimum answer of the fuzzy scheduling problem. However, in the case of the stochastic problems, many of them are nonzero in the optimum answer. With respect to the stated superiorities of the fuzzy idea, we utilized the fuzzy scheduling methods for solving the considered programming problem in this paper. The basic novelties of our suggested approach can be presented as follows:(a)The considered uncertainties in wind/solar energy production and demanded power are modeled by fuzzy sets idea.(b)The green power subsidies and balance penalties are considered here.(c)This paper also regarded the uncertainties of the maximum charging/discharging capacity of the ESSs as well as the generated power of the FCs (that happens because of the oscillations in its temperature and exhausting) by fuzzy sets idea.(d)The proposed fuzzy method can be improved by optimizing the free parameters using intelligent algorithms.(e)Present work considered a bounded distribution line to exchange power with the power market. This line can assist the MG to sell the surplus produced electricity to the power market and decrease the probability of the load shedding through purchasing an amount of the required power from the power market in the lessen price times.(f)Here, various uncertain parameters are implemented in the form of the fuzzy inequalities, and the fuzzy MILP method is suggested to schedule the MG. Also, an effective method with low complication is used here to optimize the fuzzy system.

Rest of the present work is structured in the following form: Section 2 models the proposed system. Then, various uncertain parameters are inserted in the model by fuzzy sets idea in Section 3. Section 4 provides the obtained results and analyzed them. Following that, Section 5 discusses around sensitivity factor for some variables with high importance. Eventually, Section 6 concludes the whole of the paper.

2. Modeling of the System

This paper considered an MG including WTs, PV systems, FCs, and ESSs. Figure 1 depicts the considered system of this paper. In this system, green power sources like WTs and PV systems are prior for supplying the loads. Also, this MG is considered in a grid-connected condition, and its connection is through a bounded distribution line. Once the generated power by these green power sources is not enough to satisfy the demanded power, inserted ESSs and FCs compensate the power shortage. Moreover, excess power of MG can be sold to the power market in the form of a virtual power plant (VPP). Expenditure of the received power from the main grid and the revenue of the sold power to it are specified with respect to the hourly tariffs of power market and also various plans of the main grid and MG owners. This work considered that the MG updates its manner in each hour. However, the demanded power, output power of green power sources, and tariffs of the power market are fixed during the periods.

2.1. Green Power Sources

The wind power and solar radiation are two most broadly utilized green power sources of electricity generation. The generated electricity of the WTs is dependent on the wind speed and its power profile. As well, the generated electricity of PV systems is dependent on the installed capacity and the solar radiation. The output power of the green power sources cannot be exactly estimated, and always, an amount of error exists for a predicted value of their generated power, which is one of the most important challenges in the application of such resources. This prediction error in case of the PV systems is lower compared to the WTs because of the probability to utilize the historical information. Therefore, to achieve an effective and accurate model, uncertain factors of wind power and solar irradiation must be taken into account. This paper considered that the wind power and solar radiation are predicted for hours of the following day they are considered fixed during each period. The produced power of WTs and PV systems in a period (t) must meet the following limitations:

Here, is the output electricity of WTs and denotes the maximum predicted output power of WTs. Equally, and indicate the output and maximum predicted output of PV systems in period t. As well, T signifies the set of the periods. This paper utilized the trapezoidal fuzzy sets to model the uncertainty of the predicted output powers that is presented in Section 4. Furthermore, some solar-based power production technologies exist such as solar-thermal ones, which can be remarked in the used model. Similarly, these solar-based plants use the solar power for electrical power generation, and so the uncertain factors of the radiation result in uncertainty of these plants. In equation (2), just the output of the solar-based power production plant is considered, and other technologies should be modeled in a similar manner.

Despite many advantages of green power sources, they have high installation expenditure. Various subsidies are planned by the governments for owners of such technologies as encouragements, in order to motivate the financiers to invest in this realm. Feed in tariff (FIT) is a famous one of these subsidies. The FIT is, in fact, a certain power price paid to the investors of green power sources for each generated power unit. This FIT in wind power and solar irradiation are regarded as a negative factor in the operational expenditure of WTs and PV systems.

This paper neglected the dynamic limitations of green power sources for facilitation.

2.2. ESS Systems

In renewable-based MGs, energy storage systems have high importance in compensation of prediction errors of green power sources and loads and reduction of load mismatches. If the real output power of these sources is higher than the prediction value, the storage systems will be charged, and they will store the extrapower. This saved electricity will be discharged in the energy shortage periods. Charge and discharge of the storage system is highly dependent on its capacity. So, the production constraints of the storage systems are presented asin which denotes the condition of storage system at the end of each period (t). Also, and indicate, respectively, the min and max capacity of the storage system. The min capacity in this work is set to 0. The max capacity is mostly a fixed value, but with growth of the battery life, the max capacity may reduce, and it cannot be precisely specified. Thus, the max capacity is presented in the form of a fuzzy set with a much smaller fuzziness limit in comparison with green power sources. Besides, the rate of charging/discharging is bounded in the following form:

In these equations, and denote the discharged power and charged one, respectively; and indicate the max rate of the ESS discharging and charging, respectively. As well, X and Y are regarded here avoiding from charging and discharging coincide. In addition, the max charging and discharging bounds of a storage system in period t rely on its state storage in the prior period (t-1) that is as follows [8]:where and denote the performances of ESS charging and discharging, respectively. Furthermore, the balance relation and initializing condition of a storage system can be presented as follows:in which denotes the initial saved electricity in the storage system.

2.3. FC System

An FC converts the chemical energy directly to the electrical power utilizing hydrogen and oxygen with low emission. The output power of the FCs must be less than its max power boundary that is defined by its manufacturer. This limitation can be presented as

In this formula, denotes the output power of the FC and is the max capacity of the FC. Because the FC performance relies on some parameters like temperature and its lifetime, the max capacity of FC cannot be precisely indicated. Therefore, the upper bound of FC output power is defined in the form of a fuzzy number. This work considered that the power production of FCs is prior in comparison with the power production of the green power sources and ESSs.

2.4. Grid Connections

In this paper, a connection is considered between the MG and the upper grid through a distribution line with a bounded capacity. As stated, the extra power of the MG can be sold to the power market, and its required power can be provided from the power market. In addition, the MG receives/gives the market prices for sold/purchased power to/from the power market. The limitations of this connection line are presented asin which and are, respectively, the purchased and sold power from and to power market in t period. Also, denotes the max heat capacity of this line. The power tariffs are considered as constant known values in each period. Here, the MG can perform its own scheduling, in a way that receives the max profit from power market alongside minimization of its entire power production expenditure.

2.5. Loads

An active load is considered here that is not elastic. The mean hourly load also has a constant value. The uncertainty is not involved in the basic scenario of the load, while it is furthered and analyzed in the next sections. The implemented distributed generations probably cannot satisfy all demanded power. In such conditions, more prior loads will be fed. Balance relations of produced power with used power for each period can be given aswhere denotes the curtailed electricity of the MG and indicates the used electricity at period t.

3. Suggested Model

The optimum programming problem of the MG in the absence of the uncertain parameters can be presented in the form of a MILP model:s.t: in equations (1)–(14).

In these equations, denotes the period’s length (1 hour is considered here); , and indicate the production expenses of the WTs and PV systems and FCs; and and are the expense and profit allocated with the battery discharging and charging, respectively. Also, and are, respectively, the tariffs for purchased and sold power from/to the power market at period t. So, for wind power and sun irradiation, factors and in relation (15) can be substituted withwhere and are, respectively, the constant subsidies, which the MG receives per generated power by WTs and PV systems.

As stated earlier, an MG contains various uncertain parameters that must be remarked in the modeling process. Let a crisp mixed-integer linear program problem be expressed in the following form:s.t.

In case of the existence of fuzzy numbers in the vectors/matrices , the problem will be a fuzzy mixed-integer linear programming. Various approaches are suggested for this kind of problems (fuzzy MILP). With respect to Section 2, the uncertainties of the green power sources generated electricity, battery max capacity, FC output electricity, and the max capacity of the distribution network occur in the max allowable values of equations (1)–(5) and equations (7) –(9), respectively. So, the fuzzy MILP problem is expressed ass.t.in which is the fuzzy section of the problem. Differences of the crisp inequality with fuzzy one is captured in Figure 2 for an instance. In Figure 2(a), the max allowable value (denoted by b) denotes a crisp factor that results in a crisp inequality. In Figure 2(b), the exact value of b parameter cannot be specified. So, the feasible set denotes a fuzzy set. As can be seen from Figure 2(c), we can devote a trapezoidal MF (membership function) for mentioned fuzzy set. All trapezoidal fuzzy sets (similar to Figure 2(c)) are dividable into two regions including a crisp one (where ) and a fuzzy region (where is lower than one), which are shown in Figure 2(c) using and r factors. For instance, in case of exact prediction of WT output electricity, the max limitation of WT output electricity will be , and if the exact output power cannot be predicted, this limitation will be that can be separated into two crisp and fuzzy regions (denoted by and , respectively). The lower bound also will be similar.

Many methods are presented in literature for fuzzy-based linear optimization problems solving [47]. According to the construction of the suggested model in equations (18)–(21), where just has fuzzy values, the suggested approach in [7] is employed here for solving the considered fuzzy problem. The fuzzy-based optimization problems in [46] are solved by a higher number of fuzzy variables like fuzzy values of vectors and and matrices and . In this paper, the mentioned parameters have been optimized by an intelligent algorithm which is introduced in the next section. This higher number of fuzzy parameters results in very complicated approaches that are not essential to solve the presented model in equations (18)–(21).

The base of the suggested method in [7] is the generalized form of Bellman and Zadeh (1970), in which a fuzzy decision (D) is introduced in a fuzzy set form generated by intersection of the fuzzy limitations . Here, m denotes the count of the limitations and the fuzzy goal (G). Assuming that these limitations and G are categorized using the trapezoidal MFs (, the fuzzy decision will also be categorized using the MF as follows:

Here, an optimum decision is presented as a solution x that can minimize the . Primarily, the trapezoidal MFs must be known for obtaining the optimum decision. Also the memberships of limitations are structured with respect to the stated descriptions and Figure 2. For obtaining the MF of the G, two following optimal problems should be solved to obtain the extreme points of the cost function:in which

Also, and denote, respectively, the max and min points for the cost function. Then, the optimum solution minimizing the is obtained using the following formulations:s.t.

Here, denotes a secondary parameter that is comprehensively described in [7].

So, the optimum programming is obtained by the stated process. Because just the crisp section of all inequality limitations is regarded in the first optimization, the following formulation is presented:s.t.

According to equations (4)–(6), (8)–(10), and (14), we can writein which T denotes the set of the intervals. The max probable amount for each one of the inequality limitations in the 2nd optimization is regarded, and the optimization is presented bys.t.

According to equations (4)–(6), (8)–(10)–(14), we can write

Eventually, the best solution is obtained using the following formulation:s.t.

According to equations (4)–(6), (8)–(10), and (14), we can write

3.1. Proposed Optimization Algorithm

The main purpose of the optimization problem is similar to the whales’ collective movement to achieve a common goal. Hence, modeling their movement as a new algorithm is a suitable method for optimization problems [26]. The algorithm studied in this paper, which modes based on the whale’s behavior, is called sperm whales swarm optimization (SWSO) algorithm. Each group of whales consists of 50 members, and one of the whales is chosen as a leader of the group, and another member should follow him. The leaders of all groups are also in contact together, which is shown in Figure 3. Based on the closest whale to the target, the leader of the group is selected. At the time of the grouping movement of the whales, there is the possibility of changing the leader of the subgroup and the main group.

The steps to implement the SWSO algorithm are as follows:Step 1. A number of sperm whales are randomly created in each group (SW), and SW is in the range of .Step 2. The fitness is selected according to the position of each sperm for SW of the population. Step 3. The current position of each particle is compared with the best previous position of all particles and their necessary replacement in n particles, and the best position of the particle is selected:Step 4. The current position of each particle is compared with the best previous position of all particles and location in n particles, and the best position of the particle is selected:Step 5. The current position of each particle is compared with the best previous position of all particles and necessary location in n particles, and the best position of the particle is selected:Step 6. For each of the particles in n population, the velocity vector is computed using the following equation:where h_best is the best answer obtained from the comparison among the g_best and selected the smallest of them.Step 7. The new position of each particle in n population is calculated from the following equation:Step 8. If convergence is reached, it stops; otherwise, it returns to step 2.

In equation (58), inertia weight is represented by . Also, is and are training factors, respectively, and are equal to 2. The degree of convergence is proportional to and is defined based on it. In the evolution of the population process, the linear trend is down from 0.4 to 0.9. Initially, the higher values are more appropriate to achieve best answers. On the other hand, small values increase the convergence rate and obtain better results for convergence. This downward trend is defined using the following equation:

Two groups (n = 2) are assumed in the purposed algorithm for this study.

By using various mathematical functions, examining the performance of the proposed algorithm can be analyzed. In this paper, the jinc function is proposed to evaluate the performance of the proposed algorithm. The jinc function has a kind of sample Fourier transform. For large values of X, jinc(t) is done a damped, shifted cosine. Specifically, it is defined as follows:

The three-dimensional structure of the jinc function is depicted in Figure 4. As seen, this function has many local points and also has only one global point. This function is embedded in the proposed algorithm, and then, the global maximum point is obtained. In Table 1, the results of the implementation of 10 independent runs in the program are listed using the proposed algorithm and the optimization of the jinc function with the assumption f(x) = 1.

By examining the results given in Table 1, it can be stated that the best answer given by the jinc function is 0.99998. The mean value of best F(x,y) in 10 iterations is 0. 99976, where it achieved in average 0.1393 seconds. 0.99875 is the highest deviation. The obtained values for each iteration are plotted in Figure 1. The convergence of two independent groups of SWSO algorithms is depicted in Figure 5.

To counteract the problem of overcongestion of lines (density management), the SWSO algorithm is proposed.

4. Test System

This part of the paper implemented the suggested approach on a practical test system [8]. Firstly, the case study is optimally scheduled by the attainable information. Following that, effects of the various factors of the MG over the case study are computed and also analyzed.

4.1. Case Study Presentation

An MG is considered here as the case study located in Budapest Tech that is represented earlier in [8]. The considered microgrid contains different elements, including WTs, PV systems, a fuel cell, a battery, and loads. The max generable power by WTs and PV systems is, respectively, 400 kW and 150 kW. Also, the battery and FC capacities are considered 200 kWh and 80 kWh. Discharging and charging rates of the battery are 50 kW/h and 200 kW/h, respectively. Table 2 listed the wind power, sun irradiation, mean hourly power market tariffs, and the demanded power for a certain day [8]. The considered MG is linked to the main grid via a distribution network with 30 kW max capacity. Some other parameters are regarded as

Moreover, Table 3 provided the values of various expenditure factors. In this table, it is considered:

Both charge and discharge performances of the battery are 100 percent.

4.2. Obtained Results for the Basic Scenario

Various considerations are regarded in obtaining the numerical results. The results for a scenario by considering the stated assumptions are obtained, which is depicted in Figures 6 and 7. In these results, the sold and purchased power tariffs are the same. This scenario is considered as the basic scenario. The entire expenditure of this scenario is obtained as 1317$, and θ is 0.487. According to the obtained results, the power tariffs in the first nine time interval are lower compared to the remaining intervals. So, one would like to purchase the power from the power market in the first nine hours and grow its profit through power selling in the following intervals. The power price in latest four-time interval of a day is great. On the contrary, the generated electricity of the PV systems is equal to 0 in this period, and the power usage is relatively high. Thus, the MG should satisfy the demanded power by purchasing the power from the power market. Because the FC unit is a high-cost resource in comparison with the other resources of the MG, only this unit produces the electricity in the latest nine time interval of the day, once the power has a high price and the generated electricity by the green power sources reduces.

As can be seen from Figure 6, the MG cannot serve the total demanded power in hour 21, when the max generation of the MG is 279.8 kW, while the total demanded power is 290 kW.

4.3. Sensitivity Analysis for Various Factors

This part of the paper represented the sensitivity analyzing for various parameters of the MG to investigate the effects of various factors’ variations over the optimum programming. The considered factors are presented as follows:(a)The fuzziness parameter (r)(b)Procedure of the MG operator for the green power subsidy(c)Capacity of the batteries and FCs(d)The max capacity of the connection line between the MG and the main grid

Table 4 represents the obtained results of the sensitivity analysis. Also, these results are analyzed in the following parts.

4.4. Effects of the Fuzziness Parameters Growth

The fuzziness variable can be used to model the growth of uncertainties. The MF variation for growth of the fuzziness parameter from to is depicted in Figure 8. The optimum scheduling of the MG can be influenced by the uncertainty level. For investigation of the uncertainty growth effects, it is considered that all of the fuzziness variables () are multiplied by M. Here, M has a real positive value. Besides, according to Figure 8, the crisp regions () must be substituted with . Table 4 provides the obtained results of 3 various amounts of M as cases 1 to 3. Based on the results of these three cases, it can be claimed that growth of the M in the range of [0.1, 10] (growth of the uncertainty) results in the following:(1)The generated powers by WTs and PV systems decrease, respectively, down to 11.5 and 8.6 percent. In other words, by growth of the uncertainties, reliability of the green power sources will be decreased, and the MG will be forced to procure its power by resources with higher costs that inflict further expenses to the MG.(2)The generated power of the FC grows up to 33 percent that results in growth of the operational expenditure.(3)Power purchasing from the main grid raises around 38.5 percent, and power selling to the grid decreases down to 44.2 percent. In other words, the MG will be more dependent on the main grid. Besides, difference of the purchased and sold power increases around 575 percent, resulting in a lower profit for the MG.(4)All stated events cause 13.5 percent growth in the entire operational expenditure of the MG.

Effects of the fuzziness parameters growth over the operational expenditure of the MG are depicted in Figure 9. In each stage of this process, just one of the fuzzy variables is multiplied by M. In this figure, the purple curve serves a scenario, where every fuzzy variable is multiplied by M parameter. Based on this figure, the fuzzy parameter of the WT output has the highest importance over growth of the operational expenditure through fuzzy parameter growth. So, improvement of the wind speed prediction equipment is the best way to decrease the operational expenditure, here. This figure as well demonstrates that the operational expenditure has almost constant value once M is lower than 2. Thus, this range is not desirable for MG owner. Remarkably, when only one fuzzy parameter increases, the total expense variation has lower values, while the variation of total expenses is higher when all fuzzy parameters increase.

4.5. Effects of Variations in Supporting Policies of the MG

Supporting trends of MGs for green power sources are different for various networks. Present work considered that there is a constant subsidy (per kWh) for power production of green sources. As stated, they are inserted in the formulations in relations (28), (37), and (47) through substitution of the factors with .

Table 3 provides the effects of various policies over the MG programming for cases 4 to 7. According to the results of cases 4–6, elimination of wind and solar power subsidies results in a reduction around 85.5 kWh and 133.4 kWh, respectively, in scheduled power of PV systems and WTs. Also, case 4 depicts that 63% of the programmed power is procured by WTs, whereas around 19% of the daily demanded power is used by the PV systems. So, the effects of wind power subsidy elimination over the operational expenditure of the MG are higher than the solar energy subsidy elimination. As well, removing wind power subsidy has high importance over the growth of the operational expenditure of the MG to 53 percent in case 6. In addition to the mentioned reason, growth of the operational expenditure has some other causes such as 7.3 percent increment in bought power from power market and 7.4 percent increment in generated power of the FC. All of the green power subsidies are eliminated in case 7. Obtained results for this case are close to case 6. There is 11 percent increase in case 7 compared to case 6 that is because of the elimination of solar energy subsidy.

The optimum daily programming of the MG for case 7 is captured in Figures 10 and 11. In comparison to case 4, the generated power of the FC and battery activity are grown and decreased, respectively.

4.6. Variation Effects on the ESS and FC Capacities

Here, 4 cases are considered to study the effects of ESS and FC capacities. Compared to case 8 in Table 4, capacities of the FC and battery grow by 50 percent in case 9 and case 10. In these two cases, the operational expenses reduce around 1.3 percent, while some small differences exist. Furthermore, 50 percent increment of FC capacity leads to increase its generated power up to 20 percent, decrease the purchased power from the main grid around 27 percent, and increase the sold power to the grid around 20 percent. Also, 50 percent growth in ESS capacity results in 6 and 7 percent growth of ESS and FC activity, respectively. By comparison with case 9 and case 10, FC capacity growth results in a lower purchased power and more sold power from and to the grid.

Figure 12 depicts the obtained results of higher FC and battery capacity. According to this figure, when the FC capacity increases more than 100 kW and the battery capacity remains in a fixed amount (200 kW), total MG profit does not enhance. Besides, when the battery capacity raises more than 250 kW and the FC capacity remains in a fixed amount (80 kW), there is no improvement in the MG profit. Therefore, once the remaining factors of the MG are fixed, FC and battery capacities growth more than 100 kW and 250 kW does not have considerable impacts.

4.7. Effects of Distribution Line Capacity Variation

Growth of this capacity results in a higher operating flexibility to reduce the expenses of the MG. The obtained results of 3 various capacities are provided in Table 3. According to these results, with growth of this capacity from 5 kW to 60 kW, activity of the battery reduces around 34 percent. Also, this increment results in growth of the exchanged power of the MG with the main grid around 650 percent. Moreover, increasing the distribution line capacity can reduce the sensitivity of the operating expenditure of the distribution capacity. This fact is visualized in Figure 13. According to this figure, the operating expenditure is constant for capacities more than 155 kW. Thus, the best value of distribution capacity is 155 kW where other factors considered to be constant.

4.8. Modeling of the Load Fuzziness

From the practical aspect, we cannot predict the hourly amounts of the demanded power precisely. So, these values can be presented in the form of fuzzy sets. In this way, limitation (14) must be substituted with fuzzy limitations. Aiming this regard, we utilized 2 inequality conditions (as can be seen from Figure 14). In this figure, common region denotes the fuzziness of load in the vicinity of “a.”

Therefore, equation (14) is substituted by 2 inequality limitations as follows:

Equally, limitations presented in equations (36), (45), and (55) can be rewritten in all 3 stated optimization problems. Also, it is considered that

Figures 15 and 16 illustrate the obtained results. In Figure 13, demanded power of each period is computed through subtraction of the total charged power of ESSs and sold power to the grid from the sum of the produced powers by the green power sources and the FC unit, purchased power from the grid and discharged power of the ESSs.

The demanded power in the base scenario in hour 7 is 195 kW, whereas demanded power of equal time step is 190.23 kW in Figure 16. The reason behind this lower value is that the problem is aimed to obtain the lessen expenditure for load satisfying. So, the scheduling attempts to maximize the produced electricity from the cheapest power sources and reduce the variables, which raises the expenses. Demanded power has the highest importance in growth of the expenses. Hence, program attempts are considered to reduce the demanded power to (because demanded power can be converted to in the fuzzy form). Also, is utilized to control the load reduction. This parameter also can control the growth amount of the green power sources as well as the other fuzziness variables. The optimum amount of this parameter is obtained 0.4767 that can change the load to . Amount of the demanded power of the base scenario and its obtained amount by regarding the load fuzziness of the 7th time interval are contrasted in Figure 17. As can be seen, the entire operational expenditure is reduced down to 1183$, which is because of hourly demanded power reduction of the fuzzy scenario.

4.9. Additional Test Case

In this section, a new test case has been considered to show the efficiency of the suggested approach. The mentioned test case consists of 200 kW fuel cells, a 120 kW saving system with a capacity of 480 kWH, and 360 kW wind power [27]. In this test case, a determined price of microgrids is applied for enhancing the markets for 15 to 38 hours in a day.

The mentioned test case is tested in 25th September, 2015, while the hourly generation and consumption results of microgrid components are presented in Figure 18. In this figure, the unbalanced power in photovoltaic and wind power was compensated with battery storage and demand response as well.

For more analysis, the maximum profit is evaluated. Obtained results are presented in Table 5. As shown in this table, the proposed approach could get better results in comparison with other models. Hence, the superiority of proposed approach is confirmed based on maximum profits by this model through comparison with other approaches.

5. Conclusion

In the present work, a novel method is proposed to optimally schedule the various power sources in a microgrid. It is aimed to minimize the total operating cost while preserving the comfort preferences of households. An MG is considered here containing WTs, PV systems, an FC, and battery, and it is connected to the main grid through a transmission line with bounded capacity. This paper also remarked various uncertain parameters such as solar irradiation and wind power, constraints of the FC and storage system energy production, capacity of the connection line, and uncertainty on the load. These uncertain parameters are implemented by the fuzzy concept. By application of the fuzzy concept, inequality limitations of the main model are substituted with fuzzy MFs considering fuzzy control factors (r). This control parameter indicates the fuzziness level of the limitations. The suggested method is implemented on a practical test system for evaluation of its efficiency. Then, the optimum results are obtained and analyzed. Furthermore, effects of various factors are studied over the operating cost.

According to the obtained results, high uncertainty can result in growth of the total operating cost. Also, effects of various supporting procedures of the network operator are studied over the optimum scheduling of the MG. Based on the obtained results, utilization of the distribution line widely depends on various procedures. In addition, various capacities of the FC and storage system are studied, and the optimal capacities are determined. Effects of the transmission line variations are studied in this paper. Then, the best amount of this capacity is determined based on the obtained results.

Data Availability

No data were used to support this study.

Conflicts of Interest

The authors declare that they have no conflicts of interest.