Owing to the considerably increasing population and use of technology, the share of electricity in energy consumption is expected to reach 50–20% more than it is today [
1]. The amount of electricity consumption per capita, especially in countries with large economies, is increasing worldwide [
2]. In addition, according to the data in World Energy Outlook 2018, for the first time, the total number of people without electricity has fallen below 1 billion [
3]. When energy sources are evaluated from different aspects such as the cost of energy, ease of procurement and the environmental impact, renewable energy-based sources have significant advantages over fossil-fuels [
4]. Because of these reasons, the use of fossil fuels, which is in the first place among more than a century energy sources in the world, has started to be replaced by renewable energy sources. The United Nations Sustainable Development and the Paris Climate Agreement, which aims to reduce emissions to the environment, has further increased interest in renewable resources [
5]. Therefore, management of renewable energy sources, such as hydraulic, wind, solar and wave energy, has become crucially important.
Renewable energy sources are not stable in terms of energy sustainability and efficiency. For example; when the sun is bright, solar energy systems generate electrical energy decisively, but they cannot generate electricity in cloudy and evening hours. Important problems arise due to this unstable and intermittent structure. Furthermore, their performance changes in time [
6]. Therefore, this issue is being studied more intensively. The aim of the studies is not only to obtain the energy, but also to bring the energy to the appropriate values, to manage the existing energy and to eliminate the fluctuations it may cause in the system.
When the solar irradiation and temperature change, the solar panel cannot provide continuous and constant power. The energy generated from renewable sources cannot be provided at the desired time intervals as in traditional energy sources. By using renewable energy systems with storage units, generated energy can be stored, and the energy continuity can be provided for the users. Energy storage applications can be used when it is needed to store energy from these sources. Storage units have made the energy more feasible especially during peak hours.
Variable weather conditions, day–night conditions and changes in loads require energy management. The energy management systems can support each other and enable and disengage, charge and discharge the batteries according to the level of charge and connect to the grid when the batteries are exhausted and de-energized. One of the most important solutions to the instability problem in renewable energy sources is energy storage. By storing energy, it can exchange power in a planned manner in energy management so that the storage unit can act as a separate active and reactive power source, providing greater flexibility in energy management.
This autonomy offers the ability to manage their own warehouses, manage their own generation and manage and control the power flow to benefit from the grid according to various criteria. Numerous studies pertaining to energy management in microgrids or in the grid-connected power distribution system can be found in the literature [
7]. The energy management related studies are carried out for several reasons, including loss minimization in the transmission and distribution systems, reducing greenhouse gas emissions, cost minimization by reducing the generation costs and the electricity bills [
8]. There are also technical reasons such as managing the negative impacts of novel technologies, e.g., electric vehicles (EVs) and smart inverters, on the traditional grid structure [
5,
9,
10].
1.1. Related Literature
High penetration of renewables changed the operation paradigms of power systems. In order to cope with these changes, energy management systems have become indispensable for most applications. Due to this, the research field is rich with research on such systems. For instance, there are many methods utilized inf energy management systems such as classical methods [
11], meta-heuristic approaches [
12,
13], artificial intelligence methods [
14,
15] and model predictive control [
16,
17,
18].
A model predictive control strategy, based on weather forecasts, is proposed to reduce the energy required and increase the use of renewable energy sources for energy management in domestic micro-grids [
19]. The designed MPC control strategy is based on solving a limited optimal control problem for a given time horizon. This recommended system was compared with the standard rule-based control logic. An improvement in home comfort conditions and an average of 14.5% reduction in the use of primary fossil energy are observed.
The PV power surplus causes voltage fluctuation in the low-voltage distribution grid. In order to eliminate this problem, a new PID control scheme for the ANFIS-based PV interface inverter and ANFIS-based controlled energy storage management system for PV system connection is proposed in [
20]. The fuzzy logic-based battery energy storage system (BESS) control scheme is recommended and demonstrated the suitability of the fuzzy controller for DC bus voltage control in [
21].
A fuzzy inference system (FIS) is proposed for a system with renewable energy sources and storage unit for the management of the energy storage system in [
22]. The proposed system was compared with a rule-based control strategy and showed that the proposed FIS can effectively reduce fluctuation and extend the life cycle of energy storage system (ESS).
Control and switching-based energy management system is recommended for the microgrid system consisting of wind, PV and battery in [
23]. The recommended energy management system (EMS) is available with or without mains. This system can be synchronized with different sources to shave load power during the hours when it is the maximum load. For example, according to the strategy, while wind is used as the primary power source, PV is added to increase the reliability of the system in different weather conditions. The battery module is used as an energy storage system during backup power during excess power and/or demand in [
23].
In order to manage energy sources distributed from micro-scale energy centers, a self-renewing algorithm that manages optimal energy flows is proposed to achieve minimum energy costs depending on the energy, prices and expected load demand from each source in [
24].
MPC with production, consumption, battery and price constraints is designed for a grid connected system consisting of wind, PV and battery in [
25]. With this study, it was aimed to select the appropriate source and provide optimum power to the demand side.
A hybrid energy management algorithm is proposed by adjusting the rule base of the fuzzy inference system with hierarchical genetic algorithm (HGA) in [
26]. The fuzzy-HGA algorithm appears to be better than the classical fuzzy–GA algorithm, using only 47% of the rules within the rule base. By obtaining a simpler fuzzy logic controller, the entire control system can be implemented in real time on low-cost embedded electronic devices. The grid connected microgrid consisting of wind, PV, solid oxide fuel cell (SOFC) sources, BESS and two equivalent DC and AC loads in [
27]. Online-trained neural network-based control system is recommended for MPPT. In order to reduce the power drawn from the grid, fuzzy logic-based EMS is designed.
A fuzzy logic-based EMS is proposed to minimize fluctuations and peak powers of a grid tied microgrid in [
11]. The classical fuzzy-genetic algorithm method is proposed in study [
12]. Two different GAs is used. The first GA sets the microgrid’s energy planning and fuzzy rules, the second GA sets the fuzzy membership functions. fuzzy expert systems are also used in battery power management. Energy management is recommended with a multi-objective particle swarm optimization method of a grid-connected microgrid consisting of a wind–PV–FC battery in [
28]. It is aimed to achieve maximum power generation from each source and to reduce the operating cost of the microgrid.
A hybrid algorithm is created using PSO and gray wolf optimization (GWO) and day-ahead scheduling nested energy management strategy is recommended in [
29].
Fuzzy logic-based energy management is recommended for a hybrid system consisting of PV–FC-battery in [
30]. Real-time and long term predicted data are used at the energy generation and consumption. In the designed system, multiport converter and magnetic bus are used to reduce voltage conversion stages.
A nonlinear MPC approach is proposed in [
13]. An artificial NN was used for load trough estimation. Battery state of charge (SOC) control and load planning to ensure voltage stability. Grid connected recommended an MPC-based EMS in [
14]. By increasing the use of wind power and battery, the power received from the grid and the energy cost is reduced.
To minimize the cost of energy received from the grid, using Gaussian process (GP) estimation and MPC energy management are recommended in [
31]. With the GP, PV output power and load demand power are estimated. An optimization-based MPC algorithm is used.
1.2. Contribution
The supervisory control of the microgrid energy management system is divided into central and decentralized EMS. In this study, central EMS method, which collects all information such as meteorological and energy consumption, is used. Reference current values of DC–DC bidirectional converter were determined from the previous day with a predictive energy management model based on neuro-fuzzy. Estimates made with higher accuracy compared to previous day make management easier. The following advantages were achieved by using the recommended management algorithm in the designed system.
- 1)
Power received from the utility is kept to a minimum;
- 2)
The battery is prevented from charging and discharging for very small values, thereby contributing to battery life. When the PV system’s power drops below 200 W, the system is deactivated with the management algorithm. Since the battery current reference value is determined from previous day, there was no delay in management during the day. In addition, management planning of the place to be managed is made easier thanks to the neuro-fuzzy algorithm.
MPC approach is an optimal control strategy that solved as an optimization problem [
32]. Hence, that is control the future behavior of a system using an explicit model of the latter [
33,
34]. The recommended control unlike classic control engineering MPC setting [
32,
35,
36,
37] this study presents objective function for this proposed method is the energy usage from the grid and battery discharge–charge.
In this study, day ahead PV generation and load forecasting were made using ANN. Then, using these estimates, the reference current value in the bidirectional converter was determined with a two-input (power, SoC%) ANFIS to use minimum energy from the grid and minimize battery usage, considering the state of charge constraint (14) and PV generation constraint (15).
The rest of the study is organized as follows:
Section 2 gives microgrid components. In
Section 3, developed forecast models for solar irradiation, temperature and load demand are presented and simulated. neuro-fuzzy, rule-based control strategy and neuro-fuzzy-based energy management of microgrid were mentioned. Finally, energy management estimates and simulation status are given for one day.