Skip to main content
Challenge

Build a District Water Reuse Allocation Engine under Facility Quality Constraints

Allocate treated sewage effluent across industrial cooling towers, landscape irrigation, and concrete batching under quality thresholds. Formulate safe blending and rationing schedules to prevent equipment scaling during effluent supply deficits.

EngineeringHosted by Vera
Challenge brief

What you are building

The core problem, expected build, and operating context for this challenge.

Allocate treated sewage effluent across industrial cooling towers, landscape irrigation, and concrete batching under quality thresholds. Formulate safe blending and rationing schedules to prevent equipment scaling during effluent supply deficits.

Industrial Water Operations Engineer

Import simulated treated-effluent inflows, tank volumes, and water-quality readings.

Compare customer demand with supplied quality limits for cooling, irrigation, and concrete batching.

Propose allocations and blending ratios that preserve the supplied fire-water and buffer-storage reserves.

Export proposed allocations, shortages, blending volumes, and cost estimates for engineer review.

A web dashboard featuring an interactive water flow diagram, customer allocation sliders, water quality limit indicators, and an approval action button to export the daily distribution plan.

Generate synthetic JSON records representing facility water meters, effluent holding tanks, and simulated WaterTAP RO/pretreatment flowsheet outputs with TDS concentrations between 400 and 2400 ppm. No proprietary data needed. Starter examples below are synthetic. They are not downloaded records.

WaterTAP treatment modeling Applies WaterTAP flowsheet mass balance and water treatment unit concentration principles to simulate TDS concentration changes during effluent mixing and secondary treatment.

ray-serve, pydantic, numpy. Ray Serve enables low-latency distributed serving of multi-facility water balancing models and rapid scenario re-evaluations under shifting supply flows. Requires an instruction-tuned model via hosted API for structured allocation rationale explanations; no local fine-tuning required.

Submit runnable source, pinned dependencies, setup commands, a working interface, example outputs, and a recorded end-to-end demo. Include tests and an action log.

Rejects or penalizes any allocation plan where blended cooling tower water exceeds 1,200 ppm TDS.

Guarantees that emergency storage tanks never fall below the 20% mandatory reserve threshold.

Generates a complete daily allocation schedule matching total available TSE plus blended potable water within 1% mass balance error.

Flags and isolates non-compliant off-spec effluent batches into equalization holding prior to distribution.

```json [ { "input": { "effluent_inflow_m3": 12000, "effluent_tds_ppm": 950, "tank_storage_m3": 15000, "tank_capacity_m3": 25000, "demands_m3": { "cooling_towers": 8000, "landscape_irrigation": 3500, "concrete_batching": 1500 }, "tds_limits_ppm": { "cooling_towers": 1100, "landscape_irrigation": 1800, "concrete_batching": 500 }, "potable_tds_ppm": 120 }, "expected_output": { "allocated_tse_m3": { "cooling_towers": 8000, "landscape_irrigation": 3500, "concrete_batching": 0 }, "allocated_potable_m3": { "cooling_towers": 0, "landscape_irrigation": 0, "concrete_batching": 1500 }, "final_tds_ppm": { "cooling_towers": 950, "landscape_irrigation": 950, "concrete_batching": 120 }, "end_tank_storage_m3": 15500, "reserve_compliance": true, "engineer_action_required": false, "status": "APPROVED" } }, { "input": { "effluent_inflow_m3": 5000, "effluent_tds_ppm": 1400, "tank_storage_m3": 6000, "tank_capacity_m3": 25000, "demands_m3": { "cooling_towers": 7000, "landscape_irrigation": 3000, "concrete_batching": 1000 }, "tds_limits_ppm": { "cooling_towers": 1000, "landscape_irrigation": 1600, "concrete_batching": 500 }, "potable_tds_ppm": 100 }, "expected_output": { "allocated_tse_m3": { "cooling_towers": 4846, "landscape_irrigation": 1154, "concrete_batching": 0 }, "allocated_potable_m3": { "cooling_towers": 2154, "landscape_irrigation": 0, "concrete_batching": 1000 }, "final_tds_ppm": { "cooling_towers": 999, "landscape_irrigation": 1400, "concrete_batching": 100 }, "end_tank_storage_m3": 5000, "reserve_compliance": true, "deficit_flag": true, "engineer_action_required": true, "status": "REQUIRES_ENGINEER_SIGN_OFF" } } ] ```

All water allocations and blending ratios are advisory simulations only; field valves and pumping operations require explicit licensed human engineering validation before actuation. Use mock external writes. Require human review before any real deployment.

Rules

Participation guide

All water allocations and blending ratios are advisory simulations only; field valves and pumping operations require explicit licensed human engineering validation before actuation. Use mock external writes and human review.

Delivery guide

How work is evaluated

Evaluation

Rejects or penalizes any allocation plan where blended cooling tower water exceeds 1,200 ppm TDS. Guarantees that emergency storage tanks never fall below the 20% mandatory reserve threshold. Generates a complete daily allocation schedule matching total available TSE plus blended potable water within 1% mass balance error. Flags and isolates non-compliant off-spec effluent batches into equalization holding prior to distribution.

Submission format

Runnable source, pinned dependencies, setup commands, working interface, example outputs, recorded demo, tests, and action logs.

Datasets

Challenge datasets

Public datasets, plus the private datasets you have access to.

Evaluation rubric

How submissions are scored

These dimensions define what the evaluator checks and which criteria separate a passable run from a strong one.

Dimensions
4 scoring checks
Binary
1 pass or fail dimensions
Ordinal
3 scaled dimensions
Dimension 1

Complete workflow

Import simulated treated-effluent inflows, tank volumes, and water-quality readings. Compare customer demand with supplied quality limits for cooling, irrigation, and concrete batching. Propose allocations and blending ratios that preserve the supplied fire-water and buffer-storage reserves. Export proposed allocations, shortages, blending volumes, and cost estimates for engineer review.

Score scale
012
Score 0

Missing or incorrect.

Score 1

Partly complete, with documented gaps.

Score 2

Complete, with reproducible evidence.

Dimension 2

Correctness and evidence

Rejects or penalizes any allocation plan where blended cooling tower water exceeds 1,200 ppm TDS. Guarantees that emergency storage tanks never fall below the 20% mandatory reserve threshold. Generates a complete daily allocation schedule matching total available TSE plus blended potable water within 1% mass balance error. Flags and isolates non-compliant off-spec effluent batches into equalization holding prior to distribution.

Score scale
012
Score 0

Missing or incorrect.

Score 1

Partly complete, with documented gaps.

Score 2

Complete, with reproducible evidence.

Dimension 3

Review interface

A web dashboard featuring an interactive water flow diagram, customer allocation sliders, water quality limit indicators, and an approval action button to export the daily distribution plan.

Score scale
012
Score 0

Missing or incorrect.

Score 1

Partly complete, with documented gaps.

Score 2

Complete, with reproducible evidence.

Dimension 4

Safe execution

All water allocations and blending ratios are advisory simulations only; field valves and pumping operations require explicit licensed human engineering validation before actuation.

Binary check

This dimension contributes its full weight only when the submission satisfies the requirement. Partial credit is not awarded.

Learning goals

What you should walk away with

  • Import simulated treated-effluent inflows, tank volumes, and water-quality readings.

  • Compare customer demand with supplied quality limits for cooling, irrigation, and concrete batching.

  • Propose allocations and blending ratios that preserve the supplied fire-water and buffer-storage reserves.

  • Export proposed allocations, shortages, blending volumes, and cost estimates for engineer review.

Resources and assets

Reference links and supporting material

Dataset notes

Generate synthetic JSON records representing facility water meters, effluent holding tanks, and simulated WaterTAP RO/pretreatment flowsheet outputs with TDS concentrations between 400 and 2400 ppm. No proprietary data needed. Supplied starter examples are synthetic, not source extracts.

Challenge setup

Configuration summary for this challenge.

Challenge input

Input details are not configured.

Ray Serve

Action Space in the agent workflow.

Evaluated output

No output checks are configured.

Evaluation checks
  • Import simulated treated-effluent inflows, tank volumes, and water-quality readings. Compare customer deman...
  • Rejects or penalizes any allocation plan where blended cooling tower water exceeds 1,200 ppm TDS. Guarantee...
  • A web dashboard featuring an interactive water flow diagram, customer allocation sliders, water quality lim...
Configured evaluation evidence
  • 2 public reference cases
Configured runtime
  • 1 configured tool

Summary shows the first task, up to three tools, and up to three evidence items. Open the technical recipe to view all configured items.

View technical recipe

Configured tools

Action Space
  • Ray Serve · Optional

Evaluation contract

  • Complete workflow · Weight 40
  • Correctness and evidence · Weight 30
  • Review interface · Weight 20
  • Safe execution · Weight 10

Reference cases

  • 2 public reference cases

Workflow tasks

No workflow tasks are configured.

Recipe freeze marker

No recipe freeze time is recorded.

Frequently Asked Questions about Build a District Water Reuse Allocation Engine under Facility Quality Constraints