Skip to content

About

TOPS (Tiny Open Power System Simulator) is a research and teaching tool written by Hallvar Haugdal, its main author. He developed it at NTNU (Norwegian University of Science and Technology) as part of his PhD. It is now maintained and developed further at SINTEF Energy Research. TOPS was previously called DynPSSimPy.

The aim is a simple, lightweight simulator that is easy to install, run and modify. Performance is not the main priority. The core uses only numpy and scipy.

Research software

TOPS is developed as part of ongoing research and contains experimental features. Check results against a reference where it matters.

Citing

If you use TOPS in your research, please cite this paper:

@inproceedings{haugdal2021tops,
  author    = {Haugdal, Hallvar and Uhlen, Kjetil},
  title     = {An Open Source Power System Simulator in Python for Efficient
               Prototyping of WAMPAC Applications},
  booktitle = {2021 IEEE Madrid PowerTech},
  year      = {2021},
  doi       = {10.1109/PowerTech46648.2021.9494770}
}

Contributing

Bug reports and pull requests are welcome on GitHub. Pull request titles follow Conventional Commits (fix: ..., feat: ..., docs: ...), and releases are made with Release Please. The README has the details.

To work on the documentation:

uv sync --group docs
uv run mkdocs serve

The pages are in docs/. Code blocks marked exec="on" run during the build, so uv run mkdocs build --strict also checks that the examples still work.

Licence

TOPS is released under the MIT licence.

Contact

Hallvar Haugdal, or open an issue.