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 modeling network optimization problems.
License
PFNET is released under the BSD 2-clause license.
Contributors (alphabetical)
- Tomas Tinoco De Rubira
- Adam Wigington
- Martin Zellner
Documentation Contents
- 1. Getting Started
- 2. Power Networks
- 3. Data Parsers
- 4. Visualization
- 5. Optimization Problems
- 5.1. Objective Function
- 5.1.1. Voltage magnitude regularization
- 5.1.2. Voltage magnitude soft limit penalty
- 5.1.3. Voltage angle regularization
- 5.1.4. Generator powers regularization
- 5.1.5. Active power generation cost
- 5.1.6. Net Active Power Consumption Cost
- 5.1.7. Active power consumption utility
- 5.1.8. Transformer tap ratio regularization
- 5.1.9. Transformer phase shift regularization
- 5.1.10. Switched shunt susceptance regularization
- 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. Variable fixing
- 5.2.6. Variable bounds
- 5.2.7. Generator participation
- 5.2.8. Voltage set-point regulation by generators
- 5.2.9. Voltage band regulation by transformers
- 5.2.10. Voltage band regulation by switched shunts
- 5.2.11. Generator active power ramp limits
- 5.3. Problems
- 5.1. Objective Function
- 6. API Reference