Elsevier

Applied Soft Computing

Volume 60, November 2017, Pages 135-149
Applied Soft Computing

Hierarchical genetic optimization of a fuzzy logic system for energy flows management in microgrids

https://doi.org/10.1016/j.asoc.2017.05.059Get rights and content

Highlights

Abstract

Bio-inspired algorithms like Genetic Algorithms and Fuzzy Inference Systems (FIS) are nowadays widely adopted as hybrid techniques in improving goods and services. In this paper we present an interesting application of the fuzzy-GA paradigm to the problem of energy flows management in microgrids, concerning the design, through a data driven synthesis procedure, of an Energy Management System (EMS). The main aim consists in performing decision making for power flow management tasks in the proposed microgrid model, equipped by renewable sources and an energy storage system, aiming to maximize the accounting profit in energy trading with the main-grid. In particular this study focuses on the application of a Hierarchical Genetic Algorithm (HGA) for tuning the Rule Base (RB) of a Fuzzy Inference System (FIS), trying to discover a minimal fuzzy rules set as the core inference engine of an an EMS. The HGA rationale focuses on a particular encoding scheme, based on control genes and parametric genes, applied to the optimization of the FIS parameters, allowing to perform a reduction in the structural complexity of the RB. A performance comparison is performed with a simpler approach based on a classic fuzzy-GA scheme, where both FIS parameters and rule weights are tuned, while the number of fuzzy rules is fixed in advance. Experiments shows how the fuzzy-HGA approach adopted for the synthesis of the proposed controller outperforms the classic fuzzy-GA scheme, increasing the accounting profit by 67% in the considered energy trading problem, yielding at the same time a simpler RB.

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)

  • E.D. Santis et al.

    A learning intelligent system for fault detection in smart grid by a one-class classification approach

  • G.K. Venayagamoorthy

    Potentials and promises of computational intelligence for smart grids

  • S.D. Ramchurn et al.

    Putting the ‘smarts’ into the smart grid: a grand challenge for artificial intelligence

    Commun. ACM

    (2012)
  • D. Cartes et al.

    The IEEE computer society smart grid vision project opens opportunities for computational intelligence

  • H. He

    Toward a smart grid: integration of computational intelligence into power grid

  • P. Werbos

    Computational intelligence for the smart grid-history, challenges, and opportunities

    Comput. Intell. Mag. IEEE

    (2011)
  • C. Chen et al.

    Optimal integration of plug-in hybrid electric vehicles in microgrids

    IEEE Trans. Ind. Inf.

    (2014)
  • E.D. Santis et al.

    Modeling and recognition of smart grid faults by a combined approach of dissimilarity learning and one-class classification

    Neurocomputing

    (2015)
  • C. Ioakimidis et al.

    Wind power forecasting in a residential location as part of the energy box management decision tool

    IEEE Trans. Ind. Inf.

    (2014)
  • E.D. Santis et al.

    Genetic optimization of a fuzzy control system for energy flow management in micro-grids

  • H.J. Pierrot et al.

    Using multi-chromosomes to solve a simple mixed integer problem

  • Y.Y.F.C.N. Ko et al.

    Simultaneous auto-tuning of membership functions and fuzzy control rules using genetic algorithms

  • M. Ansari et al.

    Optimal charging strategies for unidirectional vehicle-to-grid using fuzzy uncertainties

  • Cited by (68)

    • Hierarchical energy management system with multiple operation modes for hybrid DC microgrid

      2022, International Journal of Electrical Power and Energy Systems
      Citation 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.

    View all citing articles on Scopus
    View full text