← IBR Dynamics and Physics-Informed Learning

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.

Averaged converter → L₁ → C → L₂ → PoC → Zgrid → Infinite bus
Start learning →Run in the browser · Download complete Python experiments

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

  1. System Boundaries and Model Representations

    Choose what the model retains before writing its equations.

    Lesson · lab · Python · practice
  2. Reference Frames and Per-Unit Conventions

    Connect three-phase signals to consistent dq equations and units.

    Lesson · lab · Python · practice
  3. Averaged Converter and LCL Plant

    Derive the electrical states shared by several controller families.

    Lesson · lab · Python · practice
  4. PLL and Grid-Following Control

    Follow synchronization, power commands, and current regulation through a GFL model.

    Lesson · lab · Python · practice
  5. Droop Grid-Forming Control

    Build voltage-forming control with power filters and cascaded PI loops.

    Lesson · lab · Python · practice
  6. VSM and Virtual Inertia

    Distinguish a virtual rotor from a PLL-based inertia power request.

    Lesson · lab · Python · practice
  7. Parallel GFL–GFM Hybrid Models

    Model simultaneous voltage-source and current-source branches at a common terminal.

    Lesson · lab · Python · practice
  8. Mode-Switching Hybrid Models

    Treat GFL–GFM transitions as mode-specific dynamics with explicit resets.

    Lesson · lab · Python · practice
  9. Equilibrium, 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.