Skip to main content

A Distflow PDN solver based on Gurobi.

Project description

FPowerKit - A power distribution network calculation component

This is a package designed for power distribution network solving.

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},
  pages={1-1},
  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}}

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/GridCal/Inner Newton-Raphson method to solve the power flow.

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

Since this package is still under development, the API is unstable and may be changed anytime.

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.2.3.tar.gz (31.1 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.2.3-py3-none-any.whl (38.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for fpowerkit-0.2.3.tar.gz
Algorithm Hash digest
SHA256 325e48de1bc93b9798ffa267018204e0e28c31619afed80c3d3f558d4cebb5bc
MD5 1f160a23b8bb0060cd9f74ebf933f5aa
BLAKE2b-256 b34241ac2ac95b690282d0c4e88a866796e7dc29d892239143b58304a88f9260

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for fpowerkit-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 e31ce6916e19e8cb0ae22fcdc6d23314fdbc9a137828bd272c3d5c414ddcd758
MD5 1200166135c22fa27a2c41d2fc9436b7
BLAKE2b-256 8c83a5236180d434c57276e2f27651af9e5c4201e245fae9c93b671d26d75024

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