Voltage and frequency grid codes, such as IEEE 1547-2018, dictate how distributed generation, such as utility-scale solar and wind, must remain connected during grid fault events. These examples show how you can evaluate grid code compliance in MATLAB against historical measured data from PMUs. Additionally, Simulink blocks provide a path to evaluate grid code compliance of simulated systems and protection logic.
For more information and a video walk-through, these examples are used in the "Renewable Grid Integration Studies with Simscape Electrical" Webinar to evaluate grid code compliance of renewable and distributed resources: https://www.mathworks.com/videos/renewable-grid-integration-studies-with-simscape-electrical-1543529438031.html
Jonathan LeSage (2020). Grid Code Compliance for Renewable Resource Integration (https://www.github.com/jonlesage/Grid-Codes), GitHub. Retrieved .
See release notes for this release on GitHub: https://github.com/jonlesage/Grid-Codes/releases/tag/v19.2.0