Skip to main content

A PDN solver with multiple solutions.

Project description

FPowerKit - A power distribution network calculation component

This is a package designed for power distribution network description and solving. Solvers include Newton method, DistFlow and OpenDSS.

This package is affiliated to V2Sim, an open-aource microscopic V2G simulation platform in urban power and transportation network. If you are using the modified DistFlow model in this package, please cite the paper

@ARTICLE{10970754,
  author={Qian, Tao and Fang, Mingyu and Hu, Qinran and Shao, Chengcheng and Zheng, Junyi},
  journal={IEEE Transactions on Smart Grid}, 
  title={V2Sim: An Open-Source Microscopic V2G Simulation Platform in Urban Power and Transportation Network}, 
  year={2025},
  volume={16},
  number={4},
  pages={3167-3178},
  keywords={Vehicle-to-grid;Partial discharges;Microscopy;Batteries;Planning;Discharges (electric);Optimization;Vehicle dynamics;Transportation;Roads;EV charging load simulation;microscopic EV behavior;vehicle-to-grid;charging station fault sensing},
  doi={10.1109/TSG.2025.3560976}}

Installation options

If you want to use different features, install with different command:

Feature Command
Only grid description pip install fpowerkit
Y matrix & Newton pip install fpowerkit[newton]
OpenDSS pip install fpowerkit[dss]
DistFlow pip install fpowerkit[distflow]
All pip install fpowerkit[full]

Secondary development on this package requires all features.

Introduction

There are 3 modes for this package to work:

  • Optimal power flow (OPF): Use cvxpy to solve the optimal power flow and determine the output of the generators.

  • Power flow calculation: Use OpenDSS/Newton-Raphson method to solve the power flow.

  • Hybrid: Use OPF to determine the initial value, and then use OpenDSS/Newton-Raphson to perform accurate calculation.

Please visit https://gitee.com/fmy_xfk/fpowerkit to read the detailed introduction and the usage.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fpowerkit-0.3.4.tar.gz (34.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fpowerkit-0.3.4-py3-none-any.whl (40.2 kB view details)

Uploaded Python 3

File details

Details for the file fpowerkit-0.3.4.tar.gz.

File metadata

  • Download URL: fpowerkit-0.3.4.tar.gz
  • Upload date:
  • Size: 34.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.10

File hashes

Hashes for fpowerkit-0.3.4.tar.gz
Algorithm Hash digest
SHA256 065e0eb7883ee612ddc6e3298f24b2ec804958fa41bcc13f15510ec8c176e37b
MD5 3a15e850e91e24bfa5edcb6a35211d44
BLAKE2b-256 85b3018b351dd62b3acd75bb6451381965f1788c1e71d32d2f1e042d0d9684ab

See more details on using hashes here.

File details

Details for the file fpowerkit-0.3.4-py3-none-any.whl.

File metadata

  • Download URL: fpowerkit-0.3.4-py3-none-any.whl
  • Upload date:
  • Size: 40.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.10

File hashes

Hashes for fpowerkit-0.3.4-py3-none-any.whl
Algorithm Hash digest
SHA256 496921bdf06a8aec88bfdcb58003ba77e649a07f623abf844f0bab2e940015f3
MD5 88b8a31b9d9a5639ab530832e2df2895
BLAKE2b-256 5f9ec881c66d00ea463fc0f83e99915314b64b4b9c18a3df5274240cc14901ac

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page