TY - JOUR A1 - Brown, Thomas A1 - Hörsch, Jonas A1 - Schlachtberger, David Peter T1 - PyPSA: Python for Power System Analysis T2 - Journal of Open Research Software N2 - Python for Power System Analysis (PyPSA) is a free software toolbox for simulating and optimising modern electrical power systems over multiple periods. PyPSA includes models for conventional generators with unit commitment, variable renewable generation, storage units, coupling to other energy sectors, and mixed alternating and direct current networks. It is designed to be easily extensible and to scale well with large networks and long time series. In this paper the basic functionality of PyPSA is described, including the formulation of the full power flow equations and the multi-period optimisation of operation and investment with linear power flow equations. PyPSA is positioned in the existing free software landscape as a bridge between traditional power flow analysis tools for steady-state analysis and full multi-period energy system models. The functionality is demonstrated on two open datasets of the transmission system in Germany (based on SciGRID) and Europe (based on GridKit). KW - Power system simulations KW - energy system simulations KW - Load flow calculations KW - optimal power flow KW - security-constrained optimal power flow KW - unit commitment; KW - renewable energy Y1 - 2018 UR - http://publikationen.ub.uni-frankfurt.de/frontdoor/index/index/docId/54384 UR - https://nbn-resolving.org/urn:nbn:de:hebis:30:3-543849 SN - 2049-9647 N1 - Copyright: © 2018 The Author(s). This is an open-access article distributed under the terms of the Creative Commons Attribution 4.0 International License (CC-BY 4.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited. See http://creativecommons.org/licenses/by/4.0/. VL - 6 IS - Art. 4 PB - Ubiquity Press ER -