A team of three Sandia engineers used Simulink and Simscape Electrical to model and simulate the supervisory control systems, PV arrays, power inverters, batteries, conventional generators, and system loads that make up the Lanai microgrid.
In Simulink, Sandia engineers created a simplified model of Lanai’s existing system with a single generator and simple constant current load from Simscape Electrical.
Maui Electric had provided Sandia with a Siemens® PSS®E model of the system that used a negative load to model the PV array. To validate their Simulink model, Sandia engineers added a Three-Phase Dynamic Load block from Simscape Electrical to mimic the negative load, ran simulations in Simulink, and compared the results with the PSS/E results.
Next, the team began refining the model in Simulink and adding the required battery capacity and control systems. They replaced the basic PV model with a more realistic one that incorporated solar irradiance profiles, a voltage-controlled current source, and low-pass filters. The team also added a three-phase d-q controlled battery source, a four-quadrant-inverter, more loads, and a more sophisticated control system.
To evaluate different control parameters and battery sizes, Sandia conducted Simulink simulations that incorporated real irradiance data captured from sensors on Lanai.
Sandia researchers are using MATLAB® to further analyze the sensor data and create more detailed irradiance profiles, which will improve the accuracy of future PV models.
As battery installation moved forward, Sandia researchers used the Lanai Simulink models as the basis for an internal research and development project on advanced microgrid control systems.
On this R&D project, Sandia researchers used Simulink Coder™ to generate C code from the model, which they used with Opal-RT eMEGAsim to perform real-time simulations.
The simulations showed that with advanced control systems and generators that can respond faster to power demands, no additional FACTS device is needed. Planning is underway within Sandia to implement the system for solar and wind power generation.