IBR Dynamics and Physics-Informed Learning
IBR Dynamic Modeling and Simulation
C1 · Core course · 9 modules
Build GFL, GFM, and hybrid models from their physical interfaces and control laws.
From electrical circuits to control and hybrid dynamics.
Nine bilingual lessons, each with explanations, equations, runnable Python and practice with feedback. Start with ports, coordinates and LCL dynamics; build GFL, droop and VSM; then study parallel control, switching and fair comparison. Follow the sequence for approximately 12 hours of study.
Download the complete course notebook · Download the standalone Python solver
Experiment levels and scope
Module 2 checks the power-invariant transform. Module 3 retains a six-state averaged LCL plant. Modules 4–9 use a nominal-frequency algebraic network with ideal current/voltage realization to isolate synchronization laws and hybrid interfaces. The low-frequency teaching models are separate from the source full-order controllers and the official REGFM_C1 implementation. Each lesson points to its source materials for further study.
Prerequisites and learning path
Basic circuits, differential equations, and introductory Python.
Modules
System Boundaries and Model Representations
Choose what the model retains before writing its equations.
Lesson · lab · Python · practiceReference Frames and Per-Unit Conventions
Connect three-phase signals to consistent dq equations and units.
Lesson · lab · Python · practiceAveraged Converter and LCL Plant
Derive the electrical states shared by several controller families.
Lesson · lab · Python · practicePLL and Grid-Following Control
Follow synchronization, power commands, and current regulation through a GFL model.
Lesson · lab · Python · practiceDroop Grid-Forming Control
Build voltage-forming control with power filters and cascaded PI loops.
Lesson · lab · Python · practiceVSM and Virtual Inertia
Distinguish a virtual rotor from a PLL-based inertia power request.
Lesson · lab · Python · practiceParallel GFL–GFM Hybrid Models
Model simultaneous voltage-source and current-source branches at a common terminal.
Lesson · lab · Python · practiceMode-Switching Hybrid Models
Treat GFL–GFM transitions as mode-specific dynamics with explicit resets.
Lesson · lab · Python · practiceEquilibrium, Disturbances, and Fair Comparison
Initialize each model consistently and interpret shared disturbance experiments.
Lesson · lab · Python · practice
Course project
Compare GFL, droop-GFM, VSM, and hybrid responses at a declared common operating point.
Deliverables
- A model diagram with states, ports, units, and assumptions.
- A reproducible equilibrium and disturbance notebook.
- An explanation of response differences and comparison limits.