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.1.tar.gz (427.8 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.1-py3-none-any.whl (444.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: r2x_plexos-0.1.1.tar.gz
  • Upload date:
  • Size: 427.8 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.1.tar.gz
Algorithm Hash digest
SHA256 cfcaf38434810866ce8ca7fc12fc345e7f36bfb5cd9dcd5bd5c7741982abde7c
MD5 a26e7fe6d88495b4e54c24e6ee9452a5
BLAKE2b-256 84b98999e83c1a8e98cacd259e51285ceb40acdc21cb2d54144f4cf3a1a64574

See more details on using hashes here.

Provenance

The following attestation bundles were made for r2x_plexos-0.1.1.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.1-py3-none-any.whl.

File metadata

  • Download URL: r2x_plexos-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 444.2 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b4b41189bc949c6b4b369fc11e610ed6b00aea72a5d6eef09a566b3455861bf0
MD5 9b0640093fb57b1825cde66fa1ea90d3
BLAKE2b-256 5391ddf54cdfd86bea742dddb8890e32688fb9dd973d3d297d5485f493ecd77f

See more details on using hashes here.

Provenance

The following attestation bundles were made for r2x_plexos-0.1.1-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