CE-QUAL-W2 Knowledge Infrastructure

Automate CE-QUAL-W2 reservoir modeling from bathymetry to output analysis.

1|Updated Mar 31, 2026
One-click install
npx skills add https://github.com/lzwei196/KISS---Knowledge-Infrastructure-for-Scientific-Simulation --skill ce-qual-w2-knowledge-infrastructure
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: CE-QUAL-W2 Knowledge Infrastructure
Source: https://github.com/lzwei196/KISS---Knowledge-Infrastructure-for-Scientific-Simulation/tree/main/models/CE_QUAL_W2
Command: npx skills add https://github.com/lzwei196/KISS---Knowledge-Infrastructure-for-Scientific-Simulation --skill ce-qual-w2-knowledge-infrastructure

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires numpy, pandas, xarray, netCDF4, rasterio, geopandas, shapely, matplotlib, scipy.

What problem does it solve?

This Skill automates the end-to-end setup, execution, and analysis of CE-QUAL-W2 2D reservoir simulations within HydroCraft, enabling autonomous modeling of elongated reservoirs with multiple branches, selective withdrawal, and integrated water-quality workflows.

Core Features & Use Cases

  • End-to-end pipeline orchestration: bathymetry/grid generation, forcing conversion, inflow/outflow configuration, WQ setup, control-file generation, model run, and output analysis.
  • 2D reservoir physics in practice: supports longitudinal-vertical hydrodynamics, density-driven flows, and multi-branch topologies for dam-reservoir systems.
  • Regulatory and research workflows: includes preflight validation, GLUE-style calibration hooks, and downstream coupling with CaMa-Flood for integrated flood/dam analyses.

Quick Start

Launch the HydroCraft CE-QUAL-W2 workflow to configure and run a complete reservoir simulation from bathymetry to curtain plots and time-series analytics.

Frequently Asked Questions about CE-QUAL-W2 Knowledge Infrastructure

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate CE-QUAL-W2 reservoir modeling from bathymetry to water quality analysis?

You can automate CE-QUAL-W2 reservoir modeling using a pipeline that orchestrates bathymetry, forcing, inflows, outflows, and water quality configurations end-to-end. It handles grid generation, control-file creation, preflight validation, and post-run diagnostics to produce 2D temperature and water quality profiles.

What is the best way to set up a 2D reservoir simulation for a multi-branch dam system?

Setting up a 2D reservoir simulation for multi-branch dam systems requires configuring longitudinal-vertical hydrodynamics and density-driven flows. The workflow supports elongated reservoir topologies with selective withdrawal to ensure accurate 2D temperature and water quality profiling for dam operations.

Why does my CE-QUAL-W2 model fail during control file generation or preflight checks?

CE-QUAL-W2 model failures during control file generation often stem from invalid inputs or formatting. The workflow applies strict input validation, fixed-width control-file generation, and preflight checks specifically designed to guard against common CE-QUAL-W2 configuration errors.

Can I use xarray and pandas to analyze CE-QUAL-W2 2D temperature and water quality outputs?

Yes, you can use xarray and pandas to analyze CE-QUAL-W2 outputs. The workflow leverages these dependencies for post-run diagnostics, generating curtain plots and time-series analytics from the 2D temperature and water quality profile data produced by the reservoir simulation.

Does CE-QUAL-W2 support GLUE-style calibration and downstream coupling with CaMa-Flood?

CE-QUAL-W2 supports GLUE-style calibration hooks for parameter tuning and downstream coupling with CaMa-Flood. These features enable integrated flood and dam analyses, extending the 2D reservoir simulation capabilities for comprehensive regulatory studies and research workflows.

When do I need 2D longitudinal-vertical hydrodynamics for reservoir water quality studies?

2D longitudinal-vertical hydrodynamics are needed for reservoir water quality studies involving elongated geometries with density-driven flows and multiple branches. This approach accurately models selective withdrawal and vertical temperature profiling required for regulatory compliance and dam operation studies.