Power System Optimization#
This section contains examples of network optimization with PyPSA. PyPSA allows you to optimize networks in three ways: with Linopy, with Pyomo, and based on custom code. The new default optimization framework is based on Linopy. In earlier versions, PyPSA used the pyomo
interface and an in-house implementation, both available through the n.lopf()
function. The previous options are still available but will be deprecated in the future. The following examples all use the Linopy-based implementation.
- Optimization with Linopy
- Constraining the total capacity per bus and carrier
- Multi Investment Optimization
- Two chained reservoirs
- Screening curve analysis
- Non-linear power flow after LOPF
- Redispatch Example with SciGRID network
- Security-Constrained Optimisation
- Simple electricity market examples
- Transformer with non-trivial phase shift and tap ratio
- Unit commitment
- Optimization with Linopy - Migrate Extra Functionalities