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.2.1.tar.gz (14.1 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.2.1-py3-none-any.whl (13.9 MB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pydae_bps-1.2.1.tar.gz
Algorithm Hash digest
SHA256 83eb7edcb2a4e5dee199912e78105c51a1c59a47215590660d05198ace153b0e
MD5 280677b8840bca7fb7f0c185795c5f6f
BLAKE2b-256 a301ecbac47a193c95ee0563d1d53b2466014e7e241d49ddaf121101b42b4978

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pydae_bps-1.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8caa0399111d77e013f3bd1a5d549940cb0439b363b608b3c09bac1a2fd826fd
MD5 8d7cee86b9f97fbd5edb76db7c885f51
BLAKE2b-256 46588b198c92b7c474eb999a5a489ace5dddee118e21c32e9ca2ff0c1f31c106

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