Skip to main content

HydroReOpLLM

User manual

Reservoirs and rivers with LLM reservoir operators

HydroReOpLLM builds on HydroCNHS to simulate reservoir operations using prepared inflows or weather data, with rule-based, prescribed, or LLM-based release decisions.

Quick start

Run a four-day synthetic single-reservoir case with a prescribed release. The simulation requires no API key. Start in an empty working directory with an active Python 3.12 or newer virtual environment. Create a virtual environment.

python -m pip install hydroreopllm
python -c "from pathlib import Path
from shutil import copytree
from sysconfig import get_path
source = Path(get_path('data')) / 'share/llm-reservoir-agent/examples'
copytree(source, 'examples')"
reservoir-experiment check examples/daily_offline/single.yaml
reservoir-experiment run examples/daily_offline/single.yaml
reservoir-experiment verify runs/daily-single --require-offline

Look for PASS, 4 days, and observed_network_calls: 0 in the verification output. Open runs/daily-single/summary.json to confirm the run is COMPLETED and the final storage of Lake_1 is 1,345,600 m³. To repeat the case, set a new run ID and output path.

Clone and run the notebook

The PyPI package includes ready-to-run examples. Clone the repository for the notebook and the full collection of examples and templates. Clone and install HydroReOpLLM · Open the notebook tutorial

Choose an example

What you want to do Where to start
Trace releases through one reservoir or a connected cascade Single-reservoir and cascade examples
Run two independent reservoirs driven by weather data, each draining to its own outlet Two reservoirs with separate outlets
Run daily, hourly, or fixed-interval simulations Time-step examples
Set up your own case and inspect decisions, storage, and water balance Configuration · Results guide

Tests and license

From a clone, install the test extra with python -m pip install -c environment/requirements-bundled.txt ".[test]" and run python -m pytest -q.

BSD 3-Clause License · Third-party notices

Metadata

Release files for hydroreopllm 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hydroreopllm 0.1.1
File Size Uploaded Provenance Actions
hydroreopllm-0.1.1.tar.gz 257.8 kB With provenance Details for hydroreopllm-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for hydroreopllm 0.1.1
File Interpreter ABI Platform Actions
hydroreopllm-0.1.1-py3-none-any.whl Python 3 none any Details for hydroreopllm-0.1.1-py3-none-any.whl

Total release size: 562.3 kB

Release files / hydroreopllm-0.1.1.tar.gz

Download URL hydroreopllm-0.1.1.tar.gz
Size 257.8 kB
Tags Source
SHA-256 checksum
How to use checksums
a5dc4edcd5139d2fa269571073c0396fd277c01f655498b3cb57d613001de3e2
BLAKE2b-256 checksum
How to use checksums
1125f2ac52e40a3d25b22bf7d788bce35253b3a9e30e84af2f8580d0f802d455
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.

Transparency log

Release files / hydroreopllm-0.1.1-py3-none-any.whl

Download URL hydroreopllm-0.1.1-py3-none-any.whl
Size 304.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d8d7eb353d1367f889c76f37db6b5c833a0b972a1a86a3f8fb0f52bba7935b7d
BLAKE2b-256 checksum
How to use checksums
d707d1499dc6f028681386bb5fb5be44e16c3ff87900390e0755a60d32b4b781
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.

Transparency log

Security for hydroreopllm 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for hydroreopllm-0.1.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page