Model Checking a Microgrid Device Controller

Build a precise model of a real power-system controller, check it against its safety rules, and compare its behaviour with records from real installations.

ANU supervisors: Nisansala Yatapanage and Alex Potanin

Industry partners: Phil Maker and David Middleton (A* Microgrid / Intelligent Energy Systems)

Scholarship: The industry partner has yet to confirm whether a scholarship will be available.

Background

Remote communities, from Alaskan villages to communities in Australia’s Northern Territory, rely on small stand-alone power systems that combine diesel generators, solar, wind and batteries. Each device has a controller that decides when it starts and stops, but the rules it must follow are rarely written down precisely. When a controller gets it wrong, the power can go out and it can be hard to tell why.

Project

You will start with one generator controller. It receives Start, Stop and Reset commands, reports whether the generator is Stopped, Starting or Running, and operates in Manual, Remote or Auto mode. Working with the engineers who built it, you will write down its rules in plain English and turn them into precise properties. You will then use a model checker such as TLC for TLA+, nuXmv or UPPAAL to check the rules across all event sequences allowed by the model, including those with lost messages or contradictory signals.

For example, the engineers might specify these rules:

  • In Manual mode, the controller ignores remote commands.
  • After a Start command, either the generator is running within a fixed time or the controller reports a failure within that time.
  • If the device reports both Running and Stopped, the controller assumes Running, the more dangerous case.
  • Stop takes priority over Start.

Stages

  • Core: Model one generator controller and check it against its rules.
  • Expected: Generalise the model into a reusable pattern for several devices under a supervisory controller, allowing for unreliable communication. Compare the behaviour the model permits with recorded data from real installations.
  • Stretch: Check system-wide rules, such as whether generation always matches load.

Result

You will produce a written account of the controller’s states, transitions and rules. For each rule, you will give either evidence that it holds throughout the model or a concrete sequence of events that breaks it. An electrician or operator should be able to follow the account and judge whether it describes the device they work with.

Who it suits

This project suits a student who enjoyed logic, formal methods or concurrency. You do not need a background in power engineering. Phil and David will introduce the domain, starting with these talks from A* Microgrid.

arrow-left bars magnifying-glass xmark