R2X documentation
This repository contains the interoperability layer in the
r2x-cli ecosystem. It connects
model-specific parsers and exporters through shared
r2x-core systems, rules, plugins,
data stores, and units.
Start here
Section titled “Start here”- Prerequisites helps you choose an environment and input data.
- Installation installs published packages and verifies plugin discovery.
- Translation plugins explains all four registered transforms.
- Translate in Python builds and checks a small source graph.
- First CLI pipeline runs and inspects a small public model.
- Translation workflows contains task-focused, end-to-end interoperability examples.
- Architecture explains the parser, interoperability, and exporter boundaries.
- Development covers repository checks and changes to interoperability packages.
Translation plugins
Section titled “Translation plugins”ReEDS translates to either PLEXOS or Sienna. PLEXOS and Sienna also translate to each other through separate plugins. The arrows show supported directions; there is no translation back to ReEDS.
flowchart LR accTitle: Supported model translations accDescr: ReEDS to PLEXOS, ReEDS to Sienna, PLEXOS to Sienna, and Sienna to PLEXOS. No reverse ReEDS translation is provided. R["ReEDS"] --> P["PLEXOS"] R --> S["Sienna"] P --> S S --> P class R source class P,S target classDef source fill:#d9effa,stroke:#0079c2,color:#003a69,stroke-width:2px classDef target fill:#003a69,stroke:#0079c2,color:#ffffff,stroke-width:2px
Follow each package’s PyPI link for its latest release and registry information. Match parser and exporter dependencies before upgrading.
Compatibility
Section titled “Compatibility”Use parser and exporter versions compatible with the translation package. Each workflow lists its required packages. Historical compatibility information is available in the release archives selected from the version menu.
See architecture for ecosystem boundaries and open issues for planned work.