Skip to main content

ReEDS model plugin

Project description

r2x-reeds

R2X Core plugin for translating ReEDS power system models

image PyPI - License Python Version from PEP 621 TOML Ruff codecov Documentation Docstring Coverage

R2X ReEDS is an R2X Core plugin for parsing Regional Energy Deployment System (ReEDS) power system model data. It provides a comprehensive parser for NREL's ReEDS model, enabling seamless data exchange with other power system modeling platforms through the R2X Core framework.

Features

  • Read ReEDS inputs and outputs from multiple file formats including CSV and HDF5
  • Automatic component mapping for generators, regions, transmission lines, reserves, and emissions data
  • Time series support for capacity factors, load profiles, and reserve requirements
  • Pattern-based technology categorization to automatically handle different technology variants and naming conventions
  • JSON-based configuration through defaults and file mapping specifications
  • Built-in validation against actual data files to ensure data integrity

Quick Start

pip install r2x-reeds
from r2x_reeds import ReEDSParser, ReEDSConfig, ReEDSGenerator
from r2x_core.store import DataStore

# Configure
config = ReEDSConfig(
    solve_year=2030,
    weather_year=2012,
    case_name="test_Pacific"
)

# Load data using the default file mapping
file_mapping = ReEDSConfig.get_file_mapping_path()
data_store = DataStore.from_json(
    file_mapping,
    path="path/to/reeds_folder/"
)

# Parse
parser = ReEDSParser(config, store=data_store)
system = parser.build_system()

# Access components
generators = list(system.get_components(ReEDSGenerator))
print(f"Built system with {len(generators)} generators")

Supported Components

  • Solar generators including utility-scale photovoltaic, distributed photovoltaic, concentrating solar power, and photovoltaic with battery storage
  • Wind generators for both onshore and offshore installations
  • Thermal generation including coal, natural gas combined cycle and combustion turbine units, and nuclear power plants
  • Hydroelectric facilities and energy storage systems
  • Regional components modeled at the balancing authority level with transmission region hierarchies
  • Transmission interfaces and lines with bidirectional capacity representation
  • Reserve requirements by type including spinning reserves, regulation reserves, and flexibility reserves organized by region
  • Demand profiles representing load by region over time
  • Emission data including carbon dioxide and nitrogen oxide emission rates for each generator

Documentation

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

r2x_reeds-0.3.3.tar.gz (55.1 kB view details)

Uploaded Source

Built Distribution

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

r2x_reeds-0.3.3-py3-none-any.whl (67.7 kB view details)

Uploaded Python 3

File details

Details for the file r2x_reeds-0.3.3.tar.gz.

File metadata

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

File hashes

Hashes for r2x_reeds-0.3.3.tar.gz
Algorithm Hash digest
SHA256 bba05754c663983be0e1edac78b5090ac5f279b6336c0cdeebca61fa8685cdf3
MD5 b245874dfac7ea80908edbd83cfffc4d
BLAKE2b-256 22dd0c11189375406d5fcb694324cf16bd9d5b28877aa0e9ba00e90d5b13779d

See more details on using hashes here.

Provenance

The following attestation bundles were made for r2x_reeds-0.3.3.tar.gz:

Publisher: release.yaml on NREL/r2x-reeds

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_reeds-0.3.3-py3-none-any.whl.

File metadata

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

File hashes

Hashes for r2x_reeds-0.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 b0a119e8e5bb2208bc4e6b004297876500fb57878076eee4102e9ffcad7e9282
MD5 4f30c5c8602159f0eddea65b36b237b1
BLAKE2b-256 0793650d11d0ed3f880872a89df85db7133cf8f90da12d66c40fbd31db3ac0de

See more details on using hashes here.

Provenance

The following attestation bundles were made for r2x_reeds-0.3.3-py3-none-any.whl:

Publisher: release.yaml on NREL/r2x-reeds

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