Skip to main content

Balanced power systems builder for pydae DAE solver

Project description

pydae-bps

Balanced Power Systems builder for the pydae DAE solver.

Reads JSON/HJSON power system network descriptions (similar to PSS/E or PSAT format) and constructs the symbolic DAE system dictionary for pydae.core.Builder.

Installation

pip install pydae-bps   # automatically installs pydae as a dependency

Quick start

from pydae.bps import BpsBuilder
from pydae.core import Builder, Model

grid = BpsBuilder('ieee39.json')
grid.construct('ieee39')

bld = Builder(grid.sys_dict, target='ctypes')
bld.build()

model = Model('ieee39')
model.ini({}, xy_0=1)
model.run(10.0, {'p_c_30': 0.8})
model.post()

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

pydae_bps-1.7.0.tar.gz (18.0 MB view details)

Uploaded Source

Built Distribution

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

pydae_bps-1.7.0-py3-none-any.whl (18.7 MB view details)

Uploaded Python 3

File details

Details for the file pydae_bps-1.7.0.tar.gz.

File metadata

  • Download URL: pydae_bps-1.7.0.tar.gz
  • Upload date:
  • Size: 18.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.13

File hashes

Hashes for pydae_bps-1.7.0.tar.gz
Algorithm Hash digest
SHA256 207ac9f41a4835673ec3bf9994c54e1a648797efc99c21bf48af3da0d0c755be
MD5 f42ee2aa8635a6ab571137825afef3b5
BLAKE2b-256 c23f767f9b1c660b0eb41657c494c393d159e61ef7e2d82faaa0b7effda4fdb1

See more details on using hashes here.

File details

Details for the file pydae_bps-1.7.0-py3-none-any.whl.

File metadata

  • Download URL: pydae_bps-1.7.0-py3-none-any.whl
  • Upload date:
  • Size: 18.7 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.13

File hashes

Hashes for pydae_bps-1.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7cde7a59fedcd092ba872c1da28db3c12d5e7238af6f6aafc362af2025b834e6
MD5 9940cea384ec4090be862f5b6a7b6cba
BLAKE2b-256 3d64a750a79ceea130a235dcd1da5ed85ceacbedae577f5b24f3bcf8dc7e4ba1

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