PFNET Python Documentation¶
Welcome! This is the documentation for the Python wrapper of PFNET, last updated Jun 22, 2017.
What is PFNET?
PFNET is a library for modeling and analyzing electric power networks. It provides data parsers, network visualization routines, and fast and customizable constraint and objective function evaluators for constructing network optimization problems.
License
PFNET is released under the BSD 2-clause license.
Documentation Contents
- 1. Getting Started
- 2. Data Parsers
- 3. Power Networks
- 4. Visualization
- 5. Optimization Problems
- 5.1. Objective Function
- 5.1.1. Active power generation cost
- 5.1.2. Active power consumption utility
- 5.1.3. Net Active Power Consumption Cost
- 5.1.4. Voltage magnitude regularization
- 5.1.5. Voltage angle regularization
- 5.1.6. Generator powers regularization
- 5.1.7. Transformer tap ratio regularization
- 5.1.8. Transformer phase shift regularization
- 5.1.9. Switched shunt susceptance regularization
- 5.1.10. Voltage magnitude soft limit penalty
- 5.1.11. Sparsity inducing penalty for controls
- 5.2. Constraints
- 5.2.1. AC Power balance
- 5.2.2. DC Power balance
- 5.2.3. Linearized AC Power balance
- 5.2.4. DC branch flow limits
- 5.2.5. AC branch flow limits
- 5.2.6. Variable fixing
- 5.2.7. Variable bounds
- 5.2.8. Generator participation
- 5.2.9. Voltage set-point regulation by generators
- 5.2.10. Voltage band regulation by transformers
- 5.2.11. Voltage band regulation by switched shunts
- 5.2.12. Generator active power ramp limits
- 5.3. Problems
- 5.1. Objective Function
- 6. Extensions
- 7. API Reference
Contributors (alphabetical)
- Tomas Tinoco De Rubira
- Adam Wigington
- Martin Zellner