# Roadmap — PyPSA - Python for Power System Analysis

What we're planning to build and a selection of what was recently shipped.

Canonical URL: https://pypsa.org/roadmap

## Planned

- **Stricter network validation**: Catch inconsistent inputs for better and earlier user feedback.
- **New file format**: A new network format, faster than today's netCDF, that loads data lazily, reads only what is needed and supports streaming.
- **Improved model scaling**: Automatic scaling to improve the model's numerical conditioning, solver stability and speed.
- **Custom constraint interface**: Define constraints and models in a text-based format, without the need for scripting.
- **Roundtrip Serialisation IO**: Any network object can be saved and loaded back identically, with no state lost, including custom constraints, solver metadata and geospatial data.
- **Flow-based market coupling**: Model zonal electricity markets with flow-based domains, as used in European market coupling.
- **Recourse investments**: Allow certain investment variables to adjust per scenario as better information about uncertain conditions becomes available, extending recourse beyond dispatch decisions.
- **Endogenous learning curves**: Technological learning modelled endogenously via piecewise-linear constraints, so costs fall with deployment.
- **Categorised components**: Separate physical components (e.g. generators, lines) from shared properties (e.g. carriers) and allow custom-defined properties.
- **Unit commitment extensions and speed-up**: An extended and more performant unit commitment formulation considering a wider set of operational constraints.
- **Non-uniform time resolution**: Mix different snapshot resolutions per bus or carrier within a single model to save computation time.
- **Global sensitivity analysis**: A new module for uncertainty quantification and global sensitivity analysis.
- **Interactive dashboard**: Launch a local dashboard straight from PyPSA, powered by the PyPSA App, to explore, visualise and analyse networks with statistics, plots and interactive maps.

## Recently shipped

- **[Piecewise-linear relationships](https://docs.pypsa.org/latest/release-notes/#v1.3.0)** (v1.3.0, 2026-08-19): Piecewise-linear investment costs, marginal costs and efficiencies.
- **[Maintenance scheduling](https://docs.pypsa.org/latest/release-notes/#v1.3.0)** (v1.3.0, 2026-08-19): Schedule optimal maintenance windows for components (e.g. generators, links) with contiguous downtime blocks, partial outages, and multiple events in a year.
- **[Process component](https://docs.pypsa.org/latest/release-notes/#v1.2.0)** (v1.2.0, 2026-04-21): New multi-port Process component with explicit conversion rates.
- **[Link & process time-delays](https://docs.pypsa.org/latest/release-notes/#v1.2.0)** (v1.2.0, 2026-04-21): Weighted time-delays for Link and Process component outputs.
- **[Temporal clustering](https://docs.pypsa.org/latest/release-notes/#v1.1.0)** (v1.1.0, 2026-02-17): New `n.cluster.temporal.*` accessor to aggregate snapshots into representative periods.
- **[Committable + extendable assets](https://docs.pypsa.org/latest/release-notes/#v1.1.0)** (v1.1.0, 2026-02-17): Components can now be committable and capacity-extendable at the same time.
- **[Secant transmission losses](https://docs.pypsa.org/latest/release-notes/#v1.1.0)** (v1.1.0, 2026-02-17): New secant-based approximation of transmission losses with configurable tolerances, alongside the existing tangent method.
- **[Overnight & FOM cost split](https://docs.pypsa.org/latest/release-notes/#v1.0.7)** (v1.0.7, 2026-01-13): Specify overnight investment cost and fixed O&M separately and let PyPSA annuitise them at solve time, with dedicated cost statistics for reporting.
- **[PyPSA 1.0 🎉](https://docs.pypsa.org/latest/release-notes/#v1.0.0)** (v1.0.0, 2025-10-14): PyPSA finally goes officially stable.
- **[Stable release](https://docs.pypsa.org/latest/release-notes/#v1.0.0)** (v1.0.0, 2025-10-14): PyPSA is now stable. Upgrades within 1.x won't break your code, and breaking changes wait for the next major version with deprecation warnings first.
- **[Stochastic optimisation](https://docs.pypsa.org/latest/release-notes/#v1.0.0)** (v1.0.0, 2025-10-14): Two-stage stochastic optimisation across weighted scenarios.
- **[Interactive maps](https://docs.pypsa.org/latest/release-notes/#v1.0.0)** (v1.0.0, 2025-10-14): `n.explore()` now returns PyDeck maps supporting all static-plot options, exportable to self-contained HTML.
- **[xarray optimisation core](https://docs.pypsa.org/latest/release-notes/#v1.0.0)** (v1.0.0, 2025-10-14): Optimisation model rebuilt on an xarray view that spans all dimensions at once, enabling cleaner problem formulation.
- **[Directional MGA](https://docs.pypsa.org/latest/release-notes/#v1.0.0)** (v1.0.0, 2025-10-14): Solve modelling-to-generate-alternatives along chosen directions in user-defined coordinate space, with a parallelised multi-direction sweep.
- **[CVaR risk-averse mode](https://docs.pypsa.org/latest/release-notes/#v1.0.0)** (v1.0.0, 2025-10-14): Conditional Value-at-Risk objective for risk-averse optimisation.
- **[Interactive statistics plots](https://docs.pypsa.org/latest/release-notes/#v0.35.0)** (v0.35.0, 2025-06-22): Interactive equivalent of every statistics plot via plotly.
- **[NetworkCollection container](https://docs.pypsa.org/latest/release-notes/#v0.35.0)** (v0.35.0, 2025-06-22): Experimental `NetworkCollection` holds many Network objects in one container for comparison.
- **[Excel import/export](https://docs.pypsa.org/latest/release-notes/#v0.34.0)** (v0.34.0, 2025-03-25): Read and write whole networks as Excel workbooks.
- **[Statistics plotting API](https://docs.pypsa.org/latest/release-notes/#v0.34.0)** (v0.34.0, 2025-03-25): A plotting API on every statistic out of the box.
- **[Global options](https://docs.pypsa.org/latest/release-notes/#v0.33.0)** (v0.33.0, 2025-02-07): Pandas style options to allow configuring PyPSA globally.
- **[Component class refactor](https://docs.pypsa.org/latest/release-notes/#v0.33.0)** (v0.33.0, 2025-02-07): New component class layer moving component data off the Network object, easing future features.
- **[Optimisation expressions](https://docs.pypsa.org/latest/release-notes/#v0.32.0)** (v0.32.0, 2024-12-05): New `n.optimize.expressions` module builds constraint expressions with the same grouping and filtering as the statistics module.
- **[Active component flag](https://docs.pypsa.org/latest/release-notes/#v0.31.0)** (v0.31.0, 2024-10-01): New `active` attribute toggles assets in or out of optimisation, power flow and statistics as a global filter.
- **[Interactive map exploration](https://docs.pypsa.org/latest/release-notes/#v0.30.0)** (v0.30.0, 2024-08-30): `n.explore()` opens interactive folium/geopandas network maps.
- **[HiGHS becomes default solver](https://docs.pypsa.org/latest/release-notes/#v0.29.0)** (v0.29.0, 2024-07-31): The open-source HiGHS solver is now PyPSA's default.
- **[Legacy LOPF removed](https://docs.pypsa.org/latest/release-notes/#v0.29.0)** (v0.29.0, 2024-07-31): The old Pyomo and nomopyomo LOPF implementations were removed.
- **[Network merging](https://docs.pypsa.org/latest/release-notes/#v0.28.0)** (v0.28.0, 2024-05-08): New `n.merge()` (also `n + m`) combines the components and time series of two networks into one.
- **[Geographic shapes component](https://docs.pypsa.org/latest/release-notes/#v0.26.0)** (v0.26.0, 2023-12-04): New `n.shapes` component to attach geographic geometries to a network.
- **[Modular capacity expansion](https://docs.pypsa.org/latest/release-notes/#v0.26.0)** (v0.26.0, 2023-12-04): Discrete, modular (block-size) capacity expansion for components.
- **[Rolling-horizon optimisation](https://docs.pypsa.org/latest/release-notes/#v0.25.0)** (v0.25.0, 2023-07-13): Solve long time series in sequential overlapping windows.
- **[Modelling to generate alternatives](https://docs.pypsa.org/latest/release-notes/#v0.25.0)** (v0.25.0, 2023-07-13): MGA explores near-optimal solution spaces beyond the single least-cost result.
- **[Spatial clustering accessor](https://docs.pypsa.org/latest/release-notes/#v0.25.0)** (v0.25.0, 2023-07-13): Refactored clustering exposed on the network via `n.cluster.*` with consistent strategies and better performance.
- **[Quadratic marginal costs](https://docs.pypsa.org/latest/release-notes/#v0.24.0)** (v0.24.0, 2023-06-27): Quadratic marginal cost terms for generators, links, stores and storage units (needs a QP-capable solver).
- **[Energy-balance statistics](https://docs.pypsa.org/latest/release-notes/#v0.24.0)** (v0.24.0, 2023-06-27): Statistics module gains energy balances, dispatch, time series and market values per bus.
- **[n.optimize() replaces n.lopf()](https://docs.pypsa.org/latest/release-notes/#v0.24.0)** (v0.24.0, 2023-06-27): The legacy `n.lopf()` is deprecated in favour of the Linopy-based `n.optimize()`, with a migration guide.
- **[Transmission losses](https://docs.pypsa.org/latest/release-notes/#v0.23.0)** (v0.23.0, 2023-05-10): Piecewise-linear approximation of transmission losses in the LOPF.
- **[Linearised unit commitment](https://docs.pypsa.org/latest/release-notes/#v0.23.0)** (v0.23.0, 2023-05-10): Linear relaxation of unit commitment for faster large-scale solves.
- **[Time-varying efficiencies](https://docs.pypsa.org/latest/release-notes/#v0.23.0)** (v0.23.0, 2023-05-10): Component efficiencies can now vary over snapshots.
- **[Linopy optimisation backend](https://docs.pypsa.org/latest/release-notes/#v0.21.0)** (v0.21.0, 2022-11-07): New `n.optimize()` built on Linopy — faster model build and a cleaner extra-functionality API.
- **[Statistics module](https://docs.pypsa.org/latest/release-notes/#v0.21.0)** (v0.21.0, 2022-11-07): New `n.statistics` module for system metrics like capex, opex, capacity and curtailment.
- **[Open-source HiGHS solver](https://docs.pypsa.org/latest/release-notes/#v0.19.0)** (v0.19.0, 2022-02-11): Interface to the open-source HiGHS solver.
- **[Ramp limits for links](https://docs.pypsa.org/latest/release-notes/#v0.19.0)** (v0.19.0, 2022-02-11): Ramp-rate limits extended to Link components.
- **[Hierarchical network clustering](https://docs.pypsa.org/latest/release-notes/#v0.19.0)** (v0.19.0, 2022-02-11): Hierarchical agglomerative clustering (HAC) for spatial network aggregation.
- **[Multi-period pathway optimisation](https://docs.pypsa.org/latest/release-notes/#v0.18.0)** (v0.18.0, 2021-08-12): Investment optimisation across multiple periods/decades.
- **[Relicensed to MIT](https://docs.pypsa.org/latest/release-notes/#v0.18.0)** (v0.18.0, 2021-08-12): PyPSA relicensed from GPLv3 to the permissive MIT license.
- **[Custom objective functions](https://docs.pypsa.org/latest/release-notes/#v0.17.0)** (v0.17.0, 2020-03-23): Pyomo-free LOPF gains custom objective terms via `extra_functionality` and parsed shadow prices.
- **[CPLEX solver support](https://docs.pypsa.org/latest/release-notes/#v0.17.0)** (v0.17.0, 2020-03-23): CPLEX added as an optimisation solver option.
- **[Pyomo-free optimisation](https://docs.pypsa.org/latest/release-notes/#v0.16.0)** (v0.16.0, 2019-12-20): In-house LOPF framework (`pyomo=False`) cutting memory use and solve time for large networks.
- **[Distributed slack power flow](https://docs.pypsa.org/latest/release-notes/#v0.16.0)** (v0.16.0, 2019-12-20): Non-linear power flow can spread the slack across many generators by dispatch or custom weights instead of a single slack bus.
- **[Multi-output links](https://docs.pypsa.org/latest/release-notes/#v0.13.0)** (v0.13.0, 2018-01-25): Links with multiple outputs at fixed ratios, e.g. CHP units producing both power and heat.
- **[NetCDF network files](https://docs.pypsa.org/latest/release-notes/#v0.13.0)** (v0.13.0, 2018-01-25): Faster, compact single-file NetCDF network storage.
- **[Line flow limits (s_max_pu)](https://docs.pypsa.org/latest/release-notes/#v0.12.0)** (v0.12.0, 2017-11-30): New `s_max_pu` caps passive-branch flow as a share of rating — usable as an n-1 contingency factor or time-varying dynamic line rating.
- **[Bulk component creation](https://docs.pypsa.org/latest/release-notes/#v0.11.0)** (v0.11.0, 2017-10-21): New `n.madd()` adds many components at once, far faster than repeated `n.add()` calls.
- **[HDF5 network I/O](https://docs.pypsa.org/latest/release-notes/#v0.11.0)** (v0.11.0, 2017-10-21): Export and import whole networks as single HDF5 files via `n.export_to_hdf5()` / `n.import_from_hdf5()`.
- **[Global constraints (CO₂ limits)](https://docs.pypsa.org/latest/release-notes/#v0.10.0)** (v0.10.0, 2017-08-07): New GlobalConstraint component for system-wide limits such as CO₂ emissions.
- **[Unit commitment (MILP)](https://docs.pypsa.org/latest/release-notes/#v0.9.0)** (v0.9.0, 2017-04-29): MILP unit commitment for generators: binary online status, minimum part loads, min up/down times, start-up and shut-down costs.
- **[Generator ramp limits](https://docs.pypsa.org/latest/release-notes/#v0.9.0)** (v0.9.0, 2017-04-29): Ramp-up and ramp-down rate limits implemented for all generators.
- **[Faster cycle-flow LOPF](https://docs.pypsa.org/latest/release-notes/#v0.9.0)** (v0.9.0, 2017-04-29): Mathematically-equivalent cycle-flow LOPF formulations solving up to 20× faster than the angle-based formulation.
- **[Standard line & transformer types](https://docs.pypsa.org/latest/release-notes/#v0.8.0)** (v0.8.0, 2017-01-25): Built-in pandapower-based standard types — set a type and length instead of computing electrical parameters by hand.
- **[Overhauled transformer model](https://docs.pypsa.org/latest/release-notes/#v0.8.0)** (v0.8.0, 2017-01-25): More accurate T-model equivalent circuit with discrete tap steps and consistent phase-shift handling.
- **[Time-varying attributes](https://docs.pypsa.org/latest/release-notes/#v0.7.0)** (v0.7.0, 2016-11-20): Any component attribute can be static or vary per snapshot, storing only the columns that change — the time-series foundation for the whole framework.
- **[Store component](https://docs.pypsa.org/latest/release-notes/#v0.6.0)** (v0.6.0, 2016-08-23): New fundamental Store component for energy storage, inheriting the carrier of its bus.
- **[Sector-coupling models](https://docs.pypsa.org/latest/release-notes/#v0.6.0)** (v0.6.0, 2016-08-23): Link-based models for CHP, heat pumps, resistive power-to-heat, power-to-gas and battery electric vehicles.
- **[Link component](https://docs.pypsa.org/latest/release-notes/#v0.5.0)** (v0.5.0, 2016-07-21): New controllable directed Link component — the primitive behind power-to-X and sector coupling.
- **[Multi-energy carriers](https://docs.pypsa.org/latest/release-notes/#v0.5.0)** (v0.5.0, 2016-07-21): Generic bus carrier attribute (heat, gas, …) replacing AC/DC-only buses, enabling multi-energy networks.
- **[Security-constrained LOPF](https://docs.pypsa.org/latest/release-notes/#v0.5.0)** (v0.5.0, 2016-07-21): N-1 security-constrained optimisation keeping the network feasible under single-element outages.
- **[Power flow engine](https://docs.pypsa.org/latest/release-notes/#v0.3.0)** (v0.3.0, 2016-01-27): Full non-linear Newton-Raphson AC power flow and fast linear power flow over the network — the analysis core PyPSA is named for.
- **[First commit](https://github.com/PyPSA/PyPSA)** (2015-10-12): The first commit of Python for Power System Analysis.
