PFNET Python Interface Documentation¶
Welcome! This is the documentation for the Python interface of PFNET version 1.3.5, last updated Dec 28, 2019.
What is PFNET?
PFNET is a C library for modeling and analyzing electric power networks. It provides the following:
- Data parsers.
- Network analysis and manipulation routines.
- Fast and customizable constraint and objective function evaluators for constructing network optimization problems.
License
PFNET is released under the BSD 2-clause license.
Contents
- 1. Getting Started
- 2. Data Parsers
- 3. Power Networks
- 4. Optimization Problems
- 4.1. Objective Function
- 4.1.1. Active power generation cost
- 4.1.2. Active power consumption utility
- 4.1.3. Net Active Power Consumption Cost
- 4.1.4. Voltage magnitude regularization
- 4.1.5. Voltage angle regularization
- 4.1.6. Generator powers regularization
- 4.1.7. Transformer tap ratio regularization
- 4.1.8. Transformer phase shift regularization
- 4.1.9. Switched shunt susceptance regularization
- 4.1.10. Voltage magnitude soft limit penalty
- 4.1.11. Sparsity inducing penalty for controls
- 4.1.12. General Variable Regularization
- 4.2. Constraints
- 4.2.1. AC Power balance
- 4.2.2. DC Power balance
- 4.2.3. Linearized AC Power balance
- 4.2.4. DC branch flow limits
- 4.2.5. AC branch flow limits
- 4.2.6. Linearized AC branch flow limits
- 4.2.7. Variable fixing
- 4.2.8. Variable bounds
- 4.2.9. Generator participation
- 4.2.10. Voltage set-point regulation by generators
- 4.2.11. Voltage band regulation by transformers
- 4.2.12. Voltage band regulation by switched shunts
- 4.2.13. Generator active power ramp limits
- 4.2.14. Battery dynamics
- 4.2.15. Load Constant Power Factor
- 4.3. Heuristics
- 4.4. Problems
- 4.1. Objective Function
- 5. Extensions
- 6. API Reference
- 6.1. Parser
- 6.2. Bus
- 6.3. Branch
- 6.4. Generator
- 6.5. Shunt
- 6.6. Load
- 6.7. Variable Generator
- 6.8. Battery
- 6.9. FACTS
- 6.10. HVDC VSC
- 6.11. HVDC CSC
- 6.12. HVDC Bus
- 6.13. HVDC Branch
- 6.14. Network
- 6.15. Contingency
- 6.16. Function
- 6.17. Constraint
- 6.18. Heuristic
- 6.19. Optimization Problem
- 6.20. Test Utilities
- 7. Related Papers