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.3.0.tar.gz (13.7 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.3.0-py3-none-any.whl (14.4 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pydae_bps-1.3.0.tar.gz
  • Upload date:
  • Size: 13.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.6 {"installer":{"name":"uv","version":"0.11.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for pydae_bps-1.3.0.tar.gz
Algorithm Hash digest
SHA256 0ece22e8bf21cb971cee4362af3228fec18b064895ccf004ac8e651a2a11471b
MD5 82760b19ec0ecd91aa5cf95fa7a73fa9
BLAKE2b-256 b7af3ae5d4ceb0f16b6ab80c327ef039a120da22751d19f9793e3e894f81a400

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pydae_bps-1.3.0-py3-none-any.whl
  • Upload date:
  • Size: 14.4 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.6 {"installer":{"name":"uv","version":"0.11.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for pydae_bps-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f433a89622f8c6a534e48298f01c42120234f696068d46d8b5861e1bbaab241c
MD5 736debf5054badac2ac8c68351f53e86
BLAKE2b-256 bf4c98b6807546845dff75658606f99030efb1ebbe1b96ef085a7ef52a8c1e1f

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