Hierarchical genetic optimization of a fuzzy logic system for energy flows management in microgrids
Graphical abstract
Introduction
The world wide power grid can be considered one of the greatest masterpiece of engineering that human being has ever made. Moreover, starting from the First Industrial Revolution, Smart Grids (SGs) are one of the most important breakthrough that science and engineering fields are carrying out. Currently, the Smart Grid concept is founded on a paradigmatic revolution that will permeate many aspects of human life. From the power system point of view, SGs can be considered as a way to transform the electric energy infrastructures from a centralized, producer-controlled network, into a distributed and consumer-interactive system, leveraging the same concepts and technologies that enabled the emergence and spread of the Internet [1]. SGs vision promises a power grid infrastructure with increased automation of the grid operations and “self-healing” capabilities. SGs integrate the renewable energy production, seamlessly balancing energy supply and demand, and can be considered as a key technology for facilitating the spread of electric mobility. To achieve that vision, the current power grid has to be thought as a technological ecosystem that needs a strong injection of distributed intelligence [2]. G.K. Venayagamoorthy argues that the current power grid can be considered a spatially and temporally complex, nonlinear and non-stationary system with a lot of uncertainties [3]. Accordingly, the SG can be examined for all intents and purposes as a Complex System, and Computational Intelligence (CI) and Soft Computing (SC) techniques [4], [5], [6], [7], are widely adopted to face a plethora of applications and problems arising in the SG context. The main CI paradigms for SG related problem solutions are: neuro-fuzzy, neuro-swarm, fuzzy-PSO, fuzzy-GA, neuro-Genetic [3], [8], [9], [10]. In fact, in MG related tasks, such as flows management and control, the presence of uncertainty and non-linearity, for example in the power demand profile of a large amount of users or in the power produced by solar or wind sources, makes related problems extremely challenging. Hence, SC techniques can help managing the complexity of problems offering reliable solutions, especially in presence of non-linearity [11] and in presence of storage devices that increase the solution space of the unit commitment problem [12]. Consequently, since linear techniques cannot be considered adequate in solving problems whose nature is nonlinear and even stochastic, SC techniques offer a suitable framework introducing learning capabilities in the design of the MG controllers, especially in presence of renewable energy sources and storage. The current research follows our previous work [13] concerning an application of what we call classic fuzzy-GA paradigm to the problem of Energy Flows Management System Optimization in a Microgrid (MG). The MG can be thought as a sub-network of the SG characterized by the presence of autonomous (often renewable) energy sources buffered by some type of Battery Energy Storage System (BESS) and locally controlled in order to achieve smart energy flows management. It is important to underline that the problem we are facing is related to the synthesis of an EMS, able to take decisions in real time in operative conditions (i.e. able to show a generalization capability when operating on data different from the ones used at learning stage), which is a much more challenging task compared to just optimizing the behavior of an EMS on given and predefined data (known in advance). The flow control task is carried out by an EMS whose behavior is defined by two Fuzzy Inference Systems (FISs) of Mamdani type. FISs, relaying on approximated reasoning based on Fuzzy Logic (FL), are in charge to take decisions concerning energy flows, trying to maximize the overall accounting profit in energy trading operations with the main-grid. The current work is focused on two main objectives: (i) to improve the MG model, in particular the BESS model, (ii) to optimize the Rule Base (RB) of the EMS in charge of managing power flows in the MG. As concerns the first goal we move on from an ideal battery adopted in [13] by considering an energy storage device based on a real-world model with realistic efficiency parameters. For the second objective, we designed an optimization method based on a suited Genetic Algorithm (GA) that is in charge of adapting the FIS parameters, optimizing at the same time both the accounting profit in energy trading and the cardinality of the fuzzy RB. The adopted optimization algorithm is known as Hierarchical Genetic Algorithm (HGA) aiming to perform at the same time a fine tuning of the fuzzy Membership Functions (MFs) and the structural optimization of the FISs – in the following we will refer to this paradigm as “fuzzy-HGA paradigm”. In fact, while in our previous work the FIS structure is constrained to be fixed, with a predefined number of antecedent and consequent terms and, thereby, with an immutable number of fuzzy rules, the adopted HGA scheme allows to relax these constraints. Moreover, the standard GA approach deals with a chromosome of fixed length, whose encoding scheme leads to a lower flexibility in the RB tuning. A GA algorithm able to emulate a variable length chromosome with a suitable encoding scheme of the FIS is ideal for optimizing the number of rules in the given RB. Finally, the fuzzy rule optimization can lead to an improved performance of the FIS, discarding pre-defined low performing rules. The idea behind HGAs is based on the biological inspired gene structure of a chromosome formed in a hierarchical fashion, emulating the encoding approach of the deoxyribonucleic acid (DNA). In Nature the genes can be classified into two different types: regulatory sequences and structural genes. One of the regulatory sequences found in DNA is called the “promoter” with the task of activating or deactivating structural genes. Therefore the presence of active and inactive genes in the structural genes leads to the idea of a hierarchical structure formulation of the chromosome that consists of control genes and parametric genes. The activation of the parametric genes is governed by the value of the control genes. Accordingly, the strategy suggested by Nature can be modeled for solving a number of engineering problems, such as those involving mix integer programming methods [14] or fuzzy control applications demanding the joint optimization of both FISs parameters and RBs [15]. In the last case the novelty of a hierarchical coding scheme is based on the definition of suitable genetic operators moving from standard GA algorithms to more advanced ones. The hierarchical encoding scheme allows to code the FISs parameters, more precisely MF parameters, as parametric genes and, at the same time, control genes can be used to activate and deactivate MFs composing a given fuzzy RB, thus tuning the overall number of fuzzy rules. The work is organized as follows.
Section 2 is a literature review about FISs for energy flows management in microgrids and the fuzzy-GA paradigm as an effective approach for EMS synthesis. In Section 3 we introduce the optimization problem and the MG model. Section 4 clarifies the level of abstraction of the problem, introducing the adopted notation and explaining how the EMS works. The fuzzy control scheme for a MG, together with the classic fuzzy-GA and fuzzy-HGA paradigms are treated in Section 5 and related subsections. In Section 6, soon after the introduction of the examined MG scenarios and the algorithm settings, the main results are reported and discussed. Finally, conclusions are drawn in Section 7, while feature works are discussed in Section 8.
Section snippets
Related works
In the SC field, FL is a well consolidated discipline able to integrate approximate reasoning methodologies in engineering systems. SC techniques are commonly adopted in applications dealing with uncertainties [16], [17]. An interesting review on fuzzy logic and its hybrid approaches employed in the Smart Grids and microgrids context can be found in [18]. In [19] a small-scale MG designed to provide power to local communities, able to connect or disconnect from the main-grid, is studied. The
Background
The proposed approach concerns a control scheme relating to energy flows of a MG belonging to an energy district – see Fig. 1 – and connected to the main-grid or even other MGs. The MG can perform its operations in a “grid connected mode” and in “islanded mode”. In the proposed model the energy production is typically provided by renewable Distributed Resources (DRs) such as solar, wind, and micro-hydro generators. In addition, the MG can be equipped with a traditional energy source, such as a
Model's assumptions
The entire control chain in a general microgrid can be considered as organized as a three level system: the field level (data acquisition and decentralized control), the SCADA level (supervision and control functions), and the planning and management level, which can be a decentralized EMS [11]. In this work, we focus on the third level. Thereby, the model that we will discuss is based on a number of hypothesis that define the level of abstraction useful to correctly place the problem under
MG fuzzy control
FL is a very useful paradigm in dealing with fuzzy concepts expressed by fuzzy words (i.e. High, Low, Warm, Cold, etc.) in computational and algorithmic frameworks and, as Lotfi A. Zadeh stated: Fuzzy Logic means “computing with words” [37]. Moving from this general concepts, in Engineering and in particular in the Control Systems field, researchers developed the Fuzzy Logic Modeling (FLM) paradigm to tackle control problems in complex systems aiming to model the underlying uncertainty [38]. As
Experimental evaluation
This section reports several experimental evaluations with the aim to measure the performance of the fuzzy-HGA control system adopted for the energy flow optimization task in the proposed MG model. Specifically the performance of the proposed FLC is measured in a suitable scenario on a time-span of one year reporting the results for several configurations of the energy storage device connected to the MG and for two mutation parameters of the given GA. Further experiments are conducted on the
Conclusions
Computational intelligence techniques are today a consolidated framework for solving engineering problems such as challenges arising in Smart Grid context. In this paper we study a portion of a Smart Grid, acting as a microgrid, characterized by the presence of renewable sources and equipped with a BESS unit allowing trading operations with the main-grid related to energy exchanges. The considered MG model has been sized for small-scale applications, such as small energy grids in rural areas or
Future works
Results are encouraging and suggest to work in future developments on both MG modeling and learning. Future developments foresee the definition of suitable measures, such as (i) the stress of the battery in charging and discharging processes, (ii) the stress of the main-grid in terms of undesired fast changes of power flow between the MG and the main-grid. These measures can be considered as additional objectives (that are likely conflicting with the main one based on prosumer profit) aiming at
References (47)
- et al.
A comprehensive review on microgrid and virtual power plant concepts employed for distributed energy resources scheduling in power systems
Renew. Sustain. Energy Rev.
(2017) - et al.
Optimal scheduling of a microgrid with a fuzzy logic controlled storage system
Int. J. Electr. Power Energy Syst.
(2015) - et al.
Applications of fuzzy logic in renewable energy systems – a review
Renew. Sustain. Energy Rev.
(2015) - et al.
Real-time energy management scheme for hybrid renewable energy systems in smart grid applications
Electr. Power Syst. Res.
(2013) - et al.
Overview of current development in electrical energy storage technologies and the application potential in power system operation
Appl. Energy
(2015) - et al.
Online management of lithium-ion battery based on time-triggered controller area network for fuel-cell hybrid vehicle applications
J. Power Sources
(2010) - et al.
Power management strategy for vehicular-applied hybrid fuel cell/battery power system
J. Power Sources
(2009) - et al.
An experiment in linguistic synthesis with a fuzzy logic controller
Int. J. Hum. -Comput. Stud.
(1999) - et al.
Defuzzification: criteria and classification
Fuzzy Sets Syst.
(1999) - et al.
The new frontier of smart grids
Ind. Electron. Mag. IEEE
(2011)
A learning intelligent system for fault detection in smart grid by a one-class classification approach
Potentials and promises of computational intelligence for smart grids
Putting the ‘smarts’ into the smart grid: a grand challenge for artificial intelligence
Commun. ACM
The IEEE computer society smart grid vision project opens opportunities for computational intelligence
Toward a smart grid: integration of computational intelligence into power grid
Computational intelligence for the smart grid-history, challenges, and opportunities
Comput. Intell. Mag. IEEE
Optimal integration of plug-in hybrid electric vehicles in microgrids
IEEE Trans. Ind. Inf.
Modeling and recognition of smart grid faults by a combined approach of dissimilarity learning and one-class classification
Neurocomputing
Wind power forecasting in a residential location as part of the energy box management decision tool
IEEE Trans. Ind. Inf.
Genetic optimization of a fuzzy control system for energy flow management in micro-grids
Using multi-chromosomes to solve a simple mixed integer problem
Simultaneous auto-tuning of membership functions and fuzzy control rules using genetic algorithms
Optimal charging strategies for unidirectional vehicle-to-grid using fuzzy uncertainties
Cited by (68)
Optimizing deep neuro-fuzzy classifier with a novel evolutionary arithmetic optimization algorithm
2022, Journal of Computational ScienceHierarchical energy management system with multiple operation modes for hybrid DC microgrid
2022, International Journal of Electrical Power and Energy SystemsCitation Excerpt :Nowadays, many meta-heuristic approaches such as genetic algorithm (GA) and particle swarm optimization are widely used as well as linear and nonlinear optimization techniques to dimension the MGs and meet the demanded load under optimum operating conditions [9,29-31]. According to the study of Santis et al. [32], the EMS within the MG model with RES and ESS is proposed to maximize the gain in energy trade with the mains grid. In the study, fuzzy logic controller (FLC) parameters such as membership functions (MF) and fuzzy rule weights are optimized with GA.
An IGDT/Scenario based stochastic model for an energy hub considering hydrogen energy and electric vehicles: A case study of Qeshm Island, Iran
2022, International Journal of Electrical Power and Energy SystemsMulti-agents based optimal energy scheduling technique for electric vehicles aggregator in microgrids
2022, International Journal of Electrical Power and Energy Systems