Skip to main content

Plexos Models, Parser and Exporter

Project description

r2x-plexos

R2X plug-in for translating to and from PLEXOS XML databases.

image image image CI codecov Ruff Documentation Docstring Coverage

R2X PLEXOS plugin for parsing and exporting PLEXOS power system models.

Quick Start

Installation

uv add r2x-plexos

Parsing PLEXOS XML

from pathlib import Path
from r2x_core import DataFile, DataStore
from r2x_plexos import PLEXOSParser, PLEXOSConfig

# Parse PLEXOS XML
config = PLEXOSConfig(model_name="Base", reference_year=2024)
store = DataStore(path=Path("data"))
store.add_data(DataFile(name="xml_file", glob="*.xml"))

parser = PLEXOSParser(config, store)
system = parser.build_system()

Documentation Sections

Roadmap

If you're curious about what we're working on, check out the roadmap:

  • Active issues: Issues that we are actively working on.
  • Prioritized backlog: Issues we'll be working on next.
  • Nice-to-have: Nice to have features or Issues to fix. Anyone can start working on (please let us know before you do).
  • Ideas: Future work or ideas for R2X Core.

Download files

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

Source Distribution

r2x_plexos-0.1.0.tar.gz (427.4 kB view details)

Uploaded Source

Built Distribution

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

r2x_plexos-0.1.0-py3-none-any.whl (444.1 kB view details)

Uploaded Python 3

File details

Details for the file r2x_plexos-0.1.0.tar.gz.

File metadata

  • Download URL: r2x_plexos-0.1.0.tar.gz
  • Upload date:
  • Size: 427.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for r2x_plexos-0.1.0.tar.gz
Algorithm Hash digest
SHA256 3a0fe1b4b6dde5bac7a7dce3825268844f0938139f86e134f039020c1e2d88ac
MD5 6b9c36561ab75e6bc57b24bbb32e41f8
BLAKE2b-256 de666809e1c38e3361e424d3f4ccafcbfb363f3055f67b587276cd9b6f4eae15

See more details on using hashes here.

Provenance

The following attestation bundles were made for r2x_plexos-0.1.0.tar.gz:

Publisher: release.yaml on NREL/r2x-plexos

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file r2x_plexos-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: r2x_plexos-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 444.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for r2x_plexos-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ca887349a62207113f0ebd7be7e2646913383eab1e43848ff2b6a7fd0a115636
MD5 837bce40e7fcb3d256ed1f99c56b5f80
BLAKE2b-256 717229bd68c6cc825808129b656c8b34279197f6cb80f2f919be8b6cffdafd0c

See more details on using hashes here.

Provenance

The following attestation bundles were made for r2x_plexos-0.1.0-py3-none-any.whl:

Publisher: release.yaml on NREL/r2x-plexos

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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