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.3.tar.gz (429.2 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.3-py3-none-any.whl (445.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: r2x_plexos-0.1.3.tar.gz
  • Upload date:
  • Size: 429.2 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.3.tar.gz
Algorithm Hash digest
SHA256 14b85da437aaa6954343ea3f2c5f9a95712f96f0e2ebf528bc3c2d721a5d4053
MD5 350031dd8410c9ea25c26488105c38e3
BLAKE2b-256 3d374945c22848e782d00da69acd4b46e28007c397090ad9bbd564b385797c2b

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: r2x_plexos-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 445.6 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 9ef8f710e7a8c47641bc8430d1a34a80754b9a2247b06477a5444b7c86abc69c
MD5 812b226fd0ba32fcc2b3c8949f110070
BLAKE2b-256 12c055c554cdff8ad6b081adc66a5ecf75edb25f8a929b5d3c98a6baad521892

See more details on using hashes here.

Provenance

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