Agents for Smart Power Grids

The future of electricity systems will compose of small-scale generation and distribution where end-users will be active participants with localized energy management systems that are able to interact on a free energy market. Software agents will most likely control power assets and interact together to de-cide the best and safest configuration of the power grid system. This paper presents a design of agents that can be deployed in real-time with capabilities that include optimization of resources, intensive computation, and appropriate decision-making. Jordan 51-bus system has been used for simulation with a total generation capacity of 4050 MW of which 230 MW represents renewable energy. The economic analyses demonstrated the use of smart grid technologies with 2016 generation—load profiles for nominal liquified gas (NLG) prices and ±20% sensitivity analysis. The results have shown variations in the range of 1% in the price of MWh with smart grid technologies. These variations are mainly driven by the fact that agents shift power generation to renewable power plants to produce maximum power at peak hours. As a result, there is a positive economic impact in both NLG ± 20% sensitivity analysis, due to the fact that agents coordinate to better displace expensive thermal generation with renewable generation. It is evident that renewable resources compensate for power at peak times and provide economic benefits and savings.

DOI: 10.4236/epe.2020. 128029 478 Energy and Power Engineering operate pervasive elements of smart grids. They act as smart self-organizing hardware and software structures in an integrated power system environment that is comprised of generators, distribution substations, transformers, and transmission lines [3]. Intuitively, a smart grid is considered to evolve with grid reconstructive technologies and tools to dynamically optimize grid operations and resources and to incorporate end-user demand response participations [4].
Multiagent systems (MAS) may be designed to inherit SCADA (supervisory control and data acquisition) architecture while accommodating autonomous and intelligence attributes. MAS technologies have been used in diverse power system applications like disturbance diagnosis, restoration, secondary voltage control, and visualization [5] [6] [7]. Their wider implementation has been demonstrated in solar power generation batteries, controllable loads, converters and inverters, demand-side management, data acquisition and grid planning [5] [8]. Agents are implemented as software units which accept signals and interactively prioritize loads, specify time and control status of loads [9].
The specific agent-based solutions for smart grids that are composed of various passive and active system modules have been presented [10]. Decentralized grid arrangements are demonstrated with generation patterns and demand configurations modeled as self-healing agents characterizing transmission, transformers, generation plants, and end-user metering devices. Smart capabilities for visualization, smart sensing automation, and self-healing digitized elements represent the main attributes [11] [12]. The complications of reliability and reassurance, which arise in smart grid, measure agent actions, security and dependability in a multifaceted and vibrant environment. It has been concluded that MAS inherits profits of tractability and extensibility and employs autonomous resolutions like smooth conversion of a grid-networked system to island mode, load shedding, fortifying loads termed as critical, and much more [6]. The aggregate composition of MAS in grid system implementation that considers renewable resources poses a new challenge.
In this paper, we investigate MAS as an appropriate technology for smart grids, while investigating distributed elements necessitating self-sufficiency in their operation and interaction. A smart grid model is presented as a mesh network of micro-grids, which are composed of diverse distributed energy resources with self-possessed smart ICT sub-systems [13]. The Java Agent Development (JADE) Framework is used for agent implementation representing generation, transmission, and distribution elements [14]. The Jordan's 52-bus electric power system is used for illustration. The potential solar and wind energy sources contribute to significant encounters to reduce imports of fuel and preserve environmental and climatic assets. These demonstrations provide in-depth understanding of MAS strategy and development perspectives in the smart grid context with distributed energy resources. Control processes for handling partial distribution from distributed energy resources are used to protect critical loads throughout crises The remaining sections of this paper are organized as follows: Section II presents emerging technologies of smart micro-grid systems and integration in agent automation. The design and deployment architecture of agents are given in Section III. An illustrative example and implementation are presented in Section IV. Finally, the paper is concluding in Section V.

Smart Grid
Power grids are empowered by smart grid technologies and distributed generation, including photovoltaic and wind energy resources [7] [15]. It has been noted that smart grids automate generation, transmission, and distribution to guarantee stable stream of power with minimum blackouts [9]. Smart grids provide efficient tools for power grid control in real-time while maintaining secure and cost-effective operation [16]. Figure 1 shows a model agent-based smart grid. Consumers actively participate in the generation market. They generate power from renewable resources and interconnect with the power grid either for feeding or consuming power. Ultimately, transmission, distribution, and end users are integrated so that power flow is controlled and that environmental concerns are preserved.

Intelligent Agents
Agents represent elements of power system and use standard plug-in interfaces to interact with the energy management system. The system consists of scheduling algorithms, power flow optimization, day-ahead load prediction and generation planning, monitoring and decision making, and supervisory control. Local and remote databases are maintained for power generation, transmission, and distribution. The design of intelligent distribution and operation of agents is tractable and would enable a high-level degree of automation in the power industry. Consumer agent collects information on carbon emissions and energy use from smart meters. It supports the use of energy storage devices as essential ways to decrease peak demand and facilitate integration of intermittent renewable resources. The monitoring and control system manage and operate smart grid Figure 1. Smart grid proposition. Energy and Power Engineering system [17]. It integrates various tools that are used to identify instabilities and to integrate renewable energy resources.

Smart Technologies
Intelligent agents may ember smart technologies for automatic generation control, static Var compensators, high voltage direct current control, energy management systems, demand side response, and energy storage. Integration of information and communication technologies (ICT) is essential for real time operation, monitoring, and control of the electric power system and its integration with variety end-user devices and appliances. Users receive real-time price information on cost and carbon intensity. This information is used to forecast forthcoming power demand and supply. Smart meters represent the core components for automating energy use within homes and offices. They are used to manage two-way power flow, where end users reduce energy waste and gain good control over how they consume power [7]. Smart meters interact with residential demand management, self-healing and outage management, and electric vehicle charging. They communicate with load control devices and data repositories using secure communication on the Internet. They integrate into existing utility operations and asset management processes and may reduce grid vulnerabilities and enhance energy efficiency.

Power Flow
The power flow on transmission lines is managed by control centers and sub-stations. Intelligent agents are potential technologies to empower features similar to analytical proficiencies for analysis and monitoring at control centers.
A variety of devices are used. The devices of the flexible alternating current transmission system (FACTS), for instance, are generally used to enhance controllability and increase power transfer capability. The high-voltage direct current (HVDC) is used to supply power over extensive distances at minimum losses. It also enables connection between asynchronous grids [17]. The supervisory control and data acquisition (SCADA) system provides analysis of situations and information in real time. Dynamic line ratings deliver a way of classifying existing transporting ability of a unit of network in real-time scenario.
Demand response includes various actions that are taken in case of risks due to load shortage or excess. Such contingencies can make demand and supply unbalanced. One of the primary actions is to minimize the usage of electricity when prices are high by shifting load shifting. Agents operate smart power transmission and coordinate with control centers to enhance power utilization, security, and quality and reliability.

Agent Implementation
Agents are implemented with functionalities that include auto recovery, immune to cyber-attacks, cooperation and coordination with generation mix, and monitoring

Agent Design
Each agent embeds operational intelligence, decision making, and interactive communication. Its state attributes are common to all agents, including identity, owner, agent type, license, and authorization. An agent reacts to a spectrum of events using embedded behavioral functions and coordinates with its peer agents to meet operational requirements, and to maintain security and reliability.

Agent Behavior
Agents perform their tasks independently and operate autonomously [19]. Agent behavior as defined by JADE implements a series of concurrent threads. Whenever a new message arrives, the agent invokes the relevant behavior object [13], eventually derived from one of the following behavior classes: • CyclicBehavior: handles messages.
• WakerBehavior: performs a task after a predefined time.
The specific behavior of an agent is mainly driven by the operational characteristics of the underlying device or entity. In studying the Jordan electric power grid, agents are designed to represent generating units, distribution substations, end user customers, and transmission system.
A generation agent i represents the i th generating unit that injects electric power g i through its k th connected generation bus b k to the transmission network. It operates under a number of constraints, formally given by h(g i ). The power generation at bus k, during hour t, is g k (t). The cost of generation is given by C k [g k (t)] including start-up and other costs. Power distribution and consumption agents operate at load substation busses. D and C agents predict power demand at bus k during hour t as d k (t). The power demand is assumed inelastic, i.e.

Agent Classes
The generation, distribution, customer, and transmission agents are setup with adaptable properties [18]. As shown in Figure 3, each agent extends from the ab-

Agent Communication
Agents interact and communicate asynchronously with their peers. Each agent has a mailbox which notifies the agent when a new message arrives. Figure 4 shows the JADE messaging system. Inter-agent communication is implemented as an object derived from the agent transparency class. It selects the best route and finds a compromise on message semantics and format to make their communications easier. All messages adhere to ACL standards, namely: Message source and communicative intention ("performativity").
Message content, language, conversation ID, and ontology.

Illustrative Example
The Jordan 51

Operating Costs
Operation planning requires day-to-day load profiles for unit commitment and power dispatch of available resources provided that security, stability, and reliability constraints are met. Generation changes on hourly basis and schedules of unit commitment and power dispatch are computed based on estimated load profiles and operational constraints. The presence of a significant amount of non-dispatchable and non-predictable renewable generation implies an update of the system operational requirements, mainly in regard to operating reserves.
To assess the impact of MAS technology on the production costs of electricity, a day-ahead simulation has been used.
Renewable energy resources produce electricity to compensate for energy that Negative production means that energy has been exported while positive production means that energy has been imported with neighboring grids. Thermal generating units are characterized by their company owner, zone, min-max capacity, fuel mix and prices, quadratic cost function, average forced outage rate, and start-up/shut-down constraints.

Simulation Results
MAS is implemented with agents representing power generation, distribution, and transmission. The set of power generation is optimally coordinated with renewable resources in a one-year time frame and on an hourly base discretization.
This gives a total of 8760 hours that are considered for analysis. A day-ahead hourly energy system is simulated while considering system-wide marginal pricing and congestion management. The base case is investigated with different scenarios for year 2016. The average hourly prices of power are shown in Figure   5 for both agent-based and no-agent power systems for a nominal liquified natural gas (LNG) prices for a summer day. Hourly prices are higher for real operation during peak hours. Sensitivity analysis is performed for LNG with ±20% of fuel prices. Figure 6 and Figure 7 give comparison of average hourly prices of power for both agent-based and no-agent power systems for LNG ± 20%.    The simulation has also been run for a full year 2016.  [19] in support the use of agents as viable tools for power system management and energy efficiency.

Conclusion
A conceptual agent design has been presented for a smart grid system using agent technologies. The agents act as smart self-organizing elements, which in-