Your First Simulation
Build a network in Python, run it, and read the results back.
Each tutorial starts from the one before and adds exactly one new thing. Work through them in order; each is a complete runnable script rather than a fragment.
A rung on converters and their control belongs between the last two and is not written yet.
DPsim importable from Python. If it is not, see install or build.
Reading results back and plotting them uses the data processing package the example notebooks also
use. It is separate from DPsim and is imported as villas.dataprocessing.
Build a network in Python, run it, and read the results back.
An element that stores energy, the transient it produces, and how to choose a time step.
A line between two buses, and initializing the dynamic run from a powerflow.
Switching during a run, and why clearing a fault needs more care than applying one.
Running one circuit as waveforms and as envelopes, and comparing the two.
A synchronous generator, initializing it correctly, and what the model order changes.
Handing a value out of a running simulation, and where the boundary lies.