Developing Model-based Microgrids

Sponsored by

By Dr. Graham Dudgeon and Shripad Chandrachood, MathWorks

Microgrid systems attract interest due to enhanced reliability and self-reliance. From technical and economic perspectives, microgrid development poses challenges and opportunities. Integrating system management makes it possible to realize smart operation—to maximize system efficiency and security while lowering operational costs.

Developing microgrid systems with smart operation requires tight integration of multiple engineering disciplines: control systems, electrical power systems and communication systems. Software tools that enable engineers to share a common environment offer improved project efficiency. In that environment, the simulation model serves as an integrated reference. The reference allows engineering groups to conduct design tasks, communicate and evaluate overall system performance early in the development process. Model-based design with MATLAB and Simulink allows engineers to focus on design and test. The engineers are not expending resources on integrating multiple software tools or exporting design information from one software environment and importing it into another.

Integrated Systems, Development

Realizing the maximum operational potential of an integrated system requires strong collaboration among multiple engineering disciplines. For microgrids (and other smart grid technologies), electrical power engineers, control system engineers and communication system engineers must work together in the design process to mitigate integration and operation risks. The need for collaboration is clear, but execution and management may increase project delivery effectiveness.

Organizations need a specification common to all teams and open to little subjective interpretation to facilitate collaboration. Further, engineers require the ability to add details and enhancements to the specification as the project progresses, so that it evolves in parallel with the project. With model-based design, these needs are addressed by the simulation model, which serves as an executable specification of the system under development. Simulation models help engineers increase systems' understanding in a cost-effective and repeatable environment. This benefit holds true at any stage of a system life cycle, from original concept through specification, design, integration, test, commission and in-service support.

Modeling and simulation can progress as an integral activity with system development. It may align with existing processes, thus providing a powerful and complementary support tool. Transferring knowledge across engineering departments via an executable specification facilitates a common reference that spans the entire engineering team. Furthermore, execution of the model via simulation offers an objective assessment of system functionality against requirements.

Smart, Robust Grids

The heart of a smart grid is a robust grid that provides its customers with a high-quality power supply, both reliably and cost effectively. To achieve this robustness, overall system performance cannot be viewed as a summation of individual component performance. There is, therefore, a paradigm shift from traditional local measurement and control response optimization to global system performance management and optimization. Global system performance management provides an extra layer of situational awareness that allows generators, loads and protection relays to be commanded under certain system contingencies to promote minimal loss-of-load probability.

Consider a simple example of such a contingency: a generator trips due to a fault, causing a decrease in system capacity. The management system responds to this by commanding a large load on the system (in this case a motor drive) to limit power consumption—so that overall system consumption remains below available capacity. This allows the system frequency to remain within required limits while the management system commands a standby generator to synchronize and connect. After connection, the management system informs the motor that it may return to nominal power requirement. Figure 1 shows motor drive power consumption being limited at two seconds after the reduction of available capacity. At 3.5 seconds, the spinning reserve synchronizes and connects, allowing the power ramp to continue. Figure 2 shows the spinning reserve power output.

The management system also may perform economic dispatch calculations to promote cost-effective generator operation for a given demand. If a contingency arises that causes priority to shift to security rather than cost-effectiveness, then the economic dispatch will be overridden in favor of supporting secure operation.

Figure 3 shows an example of a security constrained dispatch in which a parallel feeder connecting two inexpensive generators to a load has tripped at 22 seconds, limiting the ability of these generators to service the load. This, in turn, limits the ability of the system to generate power at an economic optimum. Generator 3, a more expensive generator, must increase power output to support system security. The plot of system frequency during this contingency in Figure 4 confirms that frequency remains within acceptable limits. In this example, dispatch calculations are performed every five seconds. Unlike large-scale grids, which have hundreds of generators receiving dispatch instructions every five minutes, short-duration dispatch instructions are necessary in microgrids with a small number of generators. The lower system inertia is unlikely to effectively absorb any energy imbalance incurred between longer-duration dispatch instructions.

Utility Connections

The ability to connect to and disconnect from the main utility is a unique microgrid feature. The connection to the utility may be either AC or DC. With a DC link, the microgrid and utility frequency may remain asynchronous, but steps may be required to mitigate harmonics. Appropriate active- or static-harmonic filters or architectural design of the DC link may achieve this mitigation—the greater number of switching devices, the lower the harmonic signature, assuming appropriate switching strategies are adopted. DC links also provide more control via the power electronic interfaces, which enables flow flexibility between the microgrid and the utility.

For an AC connection with the utility grid, online generators must perform a synchronization sequence. Such a sequence requires that microgrid system frequency be elevated above utility frequency without causing internal power quality issues. Once microgrid and utility voltage waveforms are overlaid within some tolerance, then the connection is made. Figure 5 shows a comparison of active power of a microgrid for AC synchronization and DC connection between the microgrid and a utility. The DC connection enables improved transient response following the connection. The power settling at 0.5 per unit following the connection demonstrates that no power flows through the connection in the steady state in either scenario.


Energy Storage

Microgrids lend themselves to integration of smaller-scale solar- and wind-power systems, which may be connected at the distribution level. These systems, characterized by variable power generation and unbalanced conditions, lead to operational challenges including system instability and quality of supply issues. Supplementing the system with storage technology can mitigate both variability and system imbalance. Additionally, it provides a means to enhance system stability through active power control, reactive power control or both. Simulation enables engineers to identify appropriate storage capacity, location and control strategies. Figure 6 shows an example storage device with a supplemental frequency damping control function used to enhance frequency stability in a system containing many renewable energy sources. The damping function is enabled at 0.4 seconds.

In these cases, model-based design enables efficient project execution by sharing designs through an executable specification. It allows engineers to focus on design and testing, rather than expending valuable resources on integrating multiple software systems or translating design information between disparate software environments.

The text of MathWorks' original article in the September issue was inadvertently replaced with another author's. POWERGRID International apologizes for this error and is delighted to run the article here in full.

Dr. Graham Dudgeon is MathWorks' energy production industry marketing manager. He joined MathWorks in 2004 as a senior technical consultant; prior to that, he held research fellow positions at the University of Strathclyde in the Centre for Economic Renewable Power Delivery (CERPD) and the Rolls-Royce University Technology Centre in Electrical Power Systems.

Shripad Chandrachood is an application engineer for control design automation at MathWorks. He joined MathWorks in 2007 as an application support engineer, prior to that, he was an engineer at TATA Power Company.

More PowerGrid International Issue Articles
PowerGrid International Articles Archives
View Power Generation Articles on

Sponsored by


FERC accepts PG&E transmission rate hike, sets hearing


PG&E made the filing to recover costs tied to transmission expansion and replacement projects  

Nevada regulators agree on One Nevada Transmission Line

10/05/2015 The transaction is tied to the California ISO’s selection of a transmission developer to build a new 500-kV line  

Xcel mulls retiring coal units, replacing with gas power plants

10/05/2015 The new, bigger and cleaner-emitting Sherco Unit 3, also fired with coal, is not part of this shutdown discussion. 

Isolux Corsan energizes substation for EHV transmission project in India

10/05/2015 The network will enable evacuating the energy from new power plants and will transport it through the state   &n...

Gemma Power Systems wins OK to build 475 MW gas plant in Ohio


The Middletown Energy Center project is scheduled to be completed in the second quarter of 2018    

Deal on Pepco-Exelon merger reportedly pitched with D.C. mayor


The office of Mayor Muriel Bowser presented this reported deal to interested groups 

SolarCity: Buffalo factory to make efficient solar panels


New York is spending $750 million to build a 1 million-square-foot manufacturing plant for SolarCity

View more Job Listings >>



How certified T&D components help to improve power network performance

Electricity is the life blood of modern society. Any interruption to its supply can have a huge i...

Moisture in Transformer Oil Behavior – a Deeper Look into a Complex Phenomenon

As our understanding of how moisture movement in transformers improves, so does the evolution of ...

Connecting the Physical and Digital Domains: Intelligent Integration for a Smart City

Free Webcast Series from Leidos | Part 2 of 2 - Connecting the Physical and Digital Domains: Inte...

Leveraging Intelligent Infrastructure to Achieve Your Smart City Vision

Free Webcast Series from Leidos | Part 1 of 2 - Leveraging Intelligent Infrastructure to Achieve ...

Successfully Integrating Solar: A Proactive Approach

•      What does the increasing solar penetration mean to you as a utili...



Aurora™ is a proprietary blend of alumino-silicate based minerals engineered to treat a boiler's fireside system against slagging, fouling and corr...

Swage Bus Accessories

By using a compression technology process called "swaging," aluminum bus accessories can be installed without a welder. Products include bus couple...

Decontamination & Decommissioning

Decommissioning strategy development, cost estimates, plant modifications; system and building decontamination; RV segmentation; large component re...

Nuclear Horizontal Modular Storage (NUHOMS®)

AREVA TN’s NRC-licensed NUHOMS® system ensures the highest safety and lowest dose performance. With no tipping, tripping and sliding, you have the...


Meyer - Engineered Poles

As your comprehensive resource for any configuration of tubular steel structure, Meyer works closely with you to develop e...

LD Poles

The standard designs and high-strength material used in the fabrication of our Light Duty steel poles insures confidence t...

Standard H-Frames

Meyer Steel Structures has compiled a database of existing steel H-frame designs that could be used to quickly meet your n...

Systems & Utility Technology Selection

BRIDGE’s utility business and functional system experts with specific experience in today’s ‘best of breed’ business syste...

POWERGRID International

May 2015
Volume 20, Issue 5


April 2015
Volume 93, Issue 2