Time Series Simulation

pandapower

Time Series runs one AC load flow per hour (or time step). At each step, load and generation follow the profiles you enter, so you can see voltages and loadings over a day or a year.

Where to find it

Simulate → Time Series Simulation (pandapower).

When to use

  • Daily or yearly voltage and loading with varying load and generation
  • Checking whether a snapshot load flow hides an overloaded hour

How to run

  1. Build the network and confirm a single Load Flow converges.
  2. Open Time Series Simulation.
  3. Set the horizon (for example 24 hours) and a profile for each load and generator.
  4. Run and review charts in the results dialog; export if you need a spreadsheet.
How this relates to pandapower time series

Each step updates P/Q from your profiles and solves AC load flow. The idea matches the pandapower time series tutorial, but Electrisim drives the loop itself rather than the pandapower OutputWriter pipeline.

Dialog — simulation horizon

  • time_steps — number of sequential power-flow solves. Each step represents one hour by default (e.g. 24 = one day, 8760 = one year).

Dialog — load & generation profiles (per element)

Every Load, Generator, and Static Generator on the diagram gets its own profile editor. Enter one numeric value per time step, separated by commas or spaces. You can also import a .csv or .txt file.

Profile mode Meaning When to use
Absolute P (MW) Sets active power directly in MW at each hour (Q scales proportionally unless overridden). Recommended for tutorial-style networks and when base-case P from the diagram should be replaced entirely.
Scale factor (× base P) Multiplies the element’s base p_mw from the diagram (e.g. 0.8 → 80% of rated P). Use with built-in preset shapes (daily load, solar, wind) via Quick fill or Fill preset.

Quick fill (optional toolbar above the element cards) lets you apply a preset shape to all loads or all generators at once — this replaces the older “Global preset” mode, which applied one profile to every element and often failed to converge on meshed or transformer-heavy networks. Per-element control with absolute MW values is the recommended approach.

Preset shapes available for quick fill:

  • Load: constant, daily (residential), industrial, variable
  • Generation: constant, solar, wind, variable

The Random (tutorial) button fills absolute MW values between 0 and the element’s base P — matching the pandapower notebook example.

Dialog — advanced power flow settings

Collapsed under Advanced power flow settings in the dialog:

  • frequency — system frequency (Hz).
  • algorithm — nr (Newton-Raphson), iwamoto_nr, fastdecoupled, or dc.
  • calculate_voltage_angles — auto, yes, or no.
  • init — initialization method. Auto is recommended; after the first converged step the backend warm-starts from previous results.

Convergence tips

  • Verify the network converges in a single Load Flow before running time series.
  • Use Absolute P (MW) when values look like notebook MW numbers — do not mix absolute MW values with scale-factor mode.
  • Keep initialization on Auto unless you have a specific reason to change it.
  • Large simultaneous swings in load and generation can stress weak networks; try smoother profiles first.

Results dialog

After a successful run, the results dialog shows:

  • Summary — convergence status, duration, element counts, and non-converged step numbers if any.
  • Charts — input profiles, bus voltages, line loading, load P, static generator P.
  • Statistics — min / max / average voltage and line loading across all hours.
  • Detailed data — scrollable table of bus results for every hour.

Enable Download Excel report automatically in the setup dialog, or click Export to Excel in the results dialog. Sheets include Summary, res_bus, res_line, res_load, res_sgen, and profiles. If the Excel library cannot load, a CSV fallback is offered.

API payload

Posted as TimeSeriesSimulationPandaPower Parameters together with the diagram JSON:

  • time_steps, profile_mode (always custom from the UI), element_profiles — per-element { element_type, mode, values, display_name }.
  • load_profile, generation_profile — preset names used only for quick-fill reference.
  • frequency, algorithm, calculate_voltage_angles, init.

Outputs (JSON)

Key Meaning
timeseries_converged true only if every time step converged.
time_steps Requested horizon (hours).
profiles_used Per-element profiles actually applied, including display_name for chart labels.
busbars { name, id, time_step, vm_pu, va_degree, p_mw, q_mvar } for each bus and hour.
lines { name, id, time_step, loading_percent, p_from_mw, p_to_mw }.
loads, sgens Simulated P/Q per element and hour.
voltage_statistics, loading_statistics Per-bus / per-line min, max, average across steps.
time_stamps Synthetic timestamps (hourly from 2024-01-01).

Extraction tip: Filter busbars / lines by time_step to plot trajectories; use the statistics blocks for KPI cards.

pandapower alignment

Official reference: Time Series Simulation. Electrisim approximates the profile-driven loop using repeated runpp calls, which is appropriate when you need bus/line summaries and Excel export rather than registered OutputWriters.

Last updated: October 2026

Electrisim on YouTube · Frontend on GitHub