Professional Documents
Culture Documents
MGK Report Building Better Microgrid HIL
MGK Report Building Better Microgrid HIL
Microgrid with
Hardware in the Loop
by Peter Maloney
CMYK - K100%
HKS - 88 100%
brought to you by
Typhoon HIL
Contents
Digitalization, Decentralization and Decarbonization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Grid Disrupting Technologies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Facing the Challenge . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Testing in Real Time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Using HIL to Create a Microgrid Testbed . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Verification of Protection Coordination . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Looking to the Future . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Conclusion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Those states are responding to increasing concerns about For most of its history, the electric power sector has been
rising temperatures, as well as the potential for more frequent dominated by companies that enjoyed monopoly power in
and devastating natural disasters, such as hurricanes, wildfires their markets. They had little incentive to do things differently
and flooding. Some of those same concerns also fuel the growth or to innovate. Microgrids and DERs are changing that.
of microgrids.
There are multiple vendors in the microgrid and DER market,
The global market for microgrids is expected to expand from and each is vying to gain market share by offering better
$6.3 billion in 2018 to $30.9 billion by 2027, with most of the technology or better customer service or a combination of
demand coming from Asia and North America, according to the two.
Navigant Research.
The costs of the technologies behind microgrids and DERs are
Increasingly, communities install microgrids to improve also coming down, particularly for solar panels and lithium-ion
flexibility and response capability in case of flooding or severe batteries. Lower costs make these resources more competitive
storms and to retain continuity of critical services during with legacy technologies and enable them to grow market
emergencies. share. And, as they become more prevalent, consumers reap
the benefits of their reduced costs.
As the market for microgrids and DERs grows, the variety of As vendors vie to distinguish their technologies—and their
technologies and vendors naturally becomes more diverse. control software—from their competitors, it becomes
Almost all of the new technologies employ a new class of digital increasingly difficult for disparate technologies to communicate
power technologies to manipulate the power produced and effectively. A microgrid may be a great solution to the
make it possible for microgrids and DERs to function. challenges of reliability and resilience, but it is, in itself,
a complex machine with many moving parts. If those parts
Consider, for example, how today’s smart grid technologies cannot “talk” to one another—and the grid—the microgrid
interplay with batteries. Being able to control electrical circuits will not be able to operate effectively.
digitally on a sub-microsecond time scale and being able to
monitor the condition of the electric grid in real time allows In Massachusetts the Air National Guard built a microgrid at
batteries to help stabilize the grid. They do so by providing Otis Air National Guard Base on Cape Cod. The microgrid
services such as frequency regulation and voltage support. is large enough to meet the energy needs of the air base
using renewable energy sources. It can rapidly island, or
Digital technology also allows for the automation of microgrids separate, from the surrounding grid and be self-sufficient in
and the management of resources. A modern microgrid can an emergency situation or in a planned fashion. The microgrid
monitor loads and wholesale power prices and switch between also has a cyber secure connection to ISO New England,
the cheapest available energy source, whether it happens allowing it to sell ancillary services into the ISO’s wholesale
to be the wholesale power market or power generated from power market as a way of generating income and making the
the microgrid. project economic.
Simply put, digitalization allows for fast, real-time optimization That robust array of capabilities made the Otis microgrid a first
of unconventional resources like microgrids and DERs on a large in many categories, but it also increased the complexity of a
scale. That expands the business models available to implement project that had to meet the highest levels of performance.
OTIS Microgrid site comprised of battery storage, diesel genset, wind turbine. It is the first site that was extensively tested using ultra-high fidelity HIL
testbed for design and pre-commissioning; the first cyber-secure connection outside the fence; first wind-based microgrid;
the first USAF dual-purpose generator; and the first behind the meter frequency regulation asset in ISO-NE.
Shawn Doyle, vice president of facility and utility operations (See page 6 for a more detailed discussion on the use of HIL
at the OTIS base, was the project manager for the microgrid. testing.) Raytheon used an HIL testbed during the design and
With a background in Air Force and aviation engineering, development phases before the microgrid was even built.
Doyle was used to a “prototyping approach” where a project “This significantly reduced interoperability risk,” Doyle says.
or system was modeled and simulated in high fidelity to test
and validate concepts and designs. “I was surprised to learn “We can show customers a
that microgrid engineering does not have a similar approach
as a mandatory requirement,” Doyle says. career lifetime of power system
But Raytheon, the lead contractor on the project, contracted
events in one week
with Typhoon HIL to develop a high-fidelity Hardware In of HIL factory testing.”
the Loop (HIL) testbed of the project. This prototyping
Scott Manson, Technology Director at
platform — think of it as a microgrid “flight simulator”—
Schweitzer Engineering Laboratories
supported integration of all the components of the microgrid.
Prior to adopting HIL testing, the EPC Power Corporation, a might operate in a slow timeframe, the inverter for the storage
designer and manufacturer of power conversion systems, was device is capable of operating at sub-microsecond speeds.
doing all its testing in a laboratory. But as the company began In order for the model to capture all interactions and
working with larger systems, it began to run into limitations. possible issues, the fidelity needs to be as high as possible.
Testing larger systems would have required scaling up power Unfortunately, there is a tendency in the industry to default
levels in the lab proportionally, which would have required more to the lowest, not the highest fidelity. That can become a
square footage and more time. problem when trying to test the real-time performance of
For EPC Power, HIL was particularly useful for developing an entire system. It could distort the responses and capabilities
battery storage inverter control software. After adopting of the system. And it could fall short of the capabilities of a
Typhoon HIL, “we were able to move the product line forward more robust testbed system.
more quickly by doing preliminary testing on the HIL, and doing HIL technology allows a controller to be put through the paces
performance verification on the HIL,” Ryan Smith, CTO of EPC of thousands and thousands of possible scenarios without
Power, says. “We could do a suite of tests in an hour that would incurring the cost and time associated with actual physical
take a week in the lab.” tests, and that also facilitates faster and more accurate
design iteration. Some of the tests, especially faults and
HIL was also valuable in software-hardware integration, Smith
other destructive tests, are impossible or impractical to
says. “I would normally have allocated six weeks for that task,
perform in real life. HIL technology can also be used to
and that might even be aggressive. We did it in one day for the
comply with standards set by the Institute of Electrical and
500-kW inverter.” Electronics Engineers (IEEE) for testing microgrid controllers,
An important consideration with respect to real-world IEEE2030.8-2018, which is used to verify the functions of a
simulation is the model fidelity. Fidelity in this context refers to microgrid controller common to the control of all microgrids
how accurately the computer model describes the real system. regardless of configuration or jurisdiction.
A crucial element of that accuracy is whether or not system Using HIL modeling software, a microgrid power stage
response times are as fast as the real system functions, which schematic can be designed that can run in real-time on a
is essential if the goal is to interact with a real system. Naturally, collection of HIL simulators that interface with protection
higher fidelity translates to more computing, which makes relays, microgrid controllers and controllers of solar inverters,
real-time simulation that much harder. Some systems, such battery inverters, diesel gensets and fuel cells. The use of HIL in
as Typhoon HIL’s microgrid testbed, are capable of operating conjunction with controllers (C-HIL) allows controller software
at half a microsecond. So, while the generator in a microgrid to be tested and vetted before crucial deployment to the field.
EPC Power battery inverter controller in the loop with Typhoon HIL real-time simulator
Qiang Fu from EATON presenting Eaton’s microgrid controller in the loop with the HIL microgrid testbed at the
MIT Lincoln Laboratory Microgrid Symposium 2017
It is difficult to quantify the savings from using HIL because the Another benefit of HIL is that the levels of fidelity can be adjusted
technology of every component is different, Qiang Fu, regional at different stages of development. “That saves money because
technology manager at Eaton, says. But using HIL throughout you don’t have to reinvent the wheel,” Fu says. Also, HIL can
the design and validation phases of product development could be adapted to individual vendor specifications. Without HIL,
cut man hours by 20% to 30%. And if a vendor were able to use engineers basically guess at the specs. An HIL system with a drop-
one testing tool from design to deployment, that would be a down menu of commonly used vendor specs that can be plugged
great value to the industry, Fu says. into an HIL platform would represent a big cost savings, Fu says.
HIL is a valuable tool in product development, but it can HIL testing can be used to improve grid interconnection
also be used in many other phases of a project’s life cycle. requirements regulators place on projects by virtue of
As already discussed, HIL can de-risk the development more extensive scenario-based testing. Such testing
process by compressing the time needed for design could even be specified as part of the approval process,
iteration. It can be used before a controller is actually as a supplement to more generic design standards.
manufactured, and it can be used to test a new product.
▶▶ Vendors seeking to vet potential products and to
demonstrate their performance to potential customers.
“Before HIL systems were HIL testing can help expedite the testing and certification
available, you could do processes for individual component technologies
software development, but (e.g. inverters, relays, controllers etc.). When it comes to
making a project a reality, developers and engineering-
you couldn’t actually do any procurement-construction (EPC) contractors can use
performance verification MBE and HIL to test and verify components of a microgrid
or validation testing, until before full integration and synchronization.
hardware was available for ▶▶ Operators who need to guarantee smooth microgrid
you to test on. Or you had operation for the next 20 years as the technologies are
to develop your own system, evolving, firmware and software are changing, and new
which is a significant cost.” components need to be integrated into the existing
microgrid. The HIL based digital twin can be used as a
Ryan Smith, CTO at EPC Power
reference model against which all the changes, upgrades
and updates will be verified.
Investors are more likely to sign off on the financing of a ▶▶ Financiers and insurers who need to understand the
novel microgrid installation if it’s vetted through rigorous risks
real-world simulation. So HIL testing may be used to of project performance, both how the system will perform
demonstrate to potential financiers the viability of a product and how much it will cost to build and operate, look
both on its own right and in matrix. for verifiable data, especially for projects that employ
new technologies. Without independent verification of
Once past development and funding, HIL technology comes performance, investors are often reluctant to lend or will
into play in operation and maintenance of a microgrid; likely increase rates and fees to cover higher perceived
it provides what-if scenarios and stress tests that can help levels of risk.
ensure the readiness of the system.
Conclusion
As the electric power grid continues to evolve and becomes integrate the components to achieve that end should be no
more agile and complex, the arguments in favor of MBE and less rigorous and up to date. Model Based Engineering, and
HIL become more compelling. This is especially true when especially C-HIL, represents the state-of-the-art approach to
it comes to microgrids. link value assessment, engineering, and system operation.
If the aim of a decentralized and digitalized grid is reliability Further more, it becomes a significant tool in speeding up
and resilience, the digital tools used to design, test and de-carbonization of the human impact on the environment.