Skip to main content
Challenge

Build a Desalination Chemical Inventory and Treatment Scenario Evaluator

Assess antiscalant and coagulant dosage scenarios across seawater reverse osmosis trains. Compare operational chemical consumption against water recovery targets and regulatory discharge limits.

EngineeringHosted by Vera
Challenge brief

What you are building

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

Assess antiscalant and coagulant dosage scenarios across seawater reverse osmosis trains. Compare operational chemical consumption against water recovery targets and regulatory discharge limits.

Seawater reverse osmosis process engineers and water treatment plant operators

Ingest raw seawater salinity, turbidity metrics, and high-pressure reverse osmosis membrane runtimes.

Model chemical dosage rates and membrane scaling risk using WaterTAP treatment flowsheet principles.

Formulate multi-day chemical inventory depletion forecasts under varying recovery rate scenarios.

Export an inventory reorder and dosing recommendation dossier for chemical superintendent review.

Chemical dosing scenario workspace with slider controls for target water recovery and inventory runout warning cards.

Utilize WaterTAP public desalination flowsheet examples and mock SWRO operational logs hosted on a local repo. These logs are simplified synthetic app records, not complete official schema files. Starter examples below are synthetic. They are not downloaded records.

WaterTAP treatment modeling Applies reverse osmosis membrane and water treatment flowsheet parameters derived from the WaterTAP repository.

pydantic-ai, mlflow, watertap. pydantic-ai provides strict type validation for chemical stoichiometry and inventory threshold models. Hosted LLM API providing structured JSON validation and analytical scenario comparisons.

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.

Computes daily antiscalant consumption based on raw seawater feed flow and dosing setpoints.

Flags inventory exhaustion events when projected chemical stocks fall below the mandatory 5-day reserve.

Generates structured recovery comparison tables comparing standard and high-efficiency operating modes.

Requires chemical plant manager sign-off prior to modifying simulated bulk dosing pump settings.

```json [ { "input": { "feed_flow_m3_day": 50000, "feed_tds_ppm": 42000, "current_antiscalant_stock_kg": 4500, "target_recovery_pct": 45, "antiscalant_dose_ppm": 2.5 }, "expected_output": { "daily_chemical_use_kg": 125, "days_inventory_remaining": 36, "reserve_threshold_breached": false, "recommended_action": "Maintain current antiscalant dosing setpoint of 2.5 ppm." } }, { "input": { "feed_flow_m3_day": 75000, "feed_tds_ppm": 48000, "current_antiscalant_stock_kg": 400, "target_recovery_pct": 50, "antiscalant_dose_ppm": 4 }, "expected_output": { "daily_chemical_use_kg": 300, "days_inventory_remaining": 1.33, "reserve_threshold_breached": true, "recommended_action": "Emergency reorder: Inventory below 5-day safety margin; derate recovery to 40%." } } ] ```

Operational simulations only; automated dosing changes must be verified against water chemistry lab assays. Use mock external writes. Require human review before any real deployment.

Rules

Participation guide

Operational simulations only; automated dosing changes must be verified against water chemistry lab assays. Use mock external writes and human review.

Delivery guide

How work is evaluated

Evaluation

Computes daily antiscalant consumption based on raw seawater feed flow and dosing setpoints. Flags inventory exhaustion events when projected chemical stocks fall below the mandatory 5-day reserve. Generates structured recovery comparison tables comparing standard and high-efficiency operating modes. Requires chemical plant manager sign-off prior to modifying simulated bulk dosing pump settings.

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

Ingest raw seawater salinity, turbidity metrics, and high-pressure reverse osmosis membrane runtimes. Model chemical dosage rates and membrane scaling risk using WaterTAP treatment flowsheet principles. Formulate multi-day chemical inventory depletion forecasts under varying recovery rate scenarios. Export an inventory reorder and dosing recommendation dossier for chemical superintendent 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

Computes daily antiscalant consumption based on raw seawater feed flow and dosing setpoints. Flags inventory exhaustion events when projected chemical stocks fall below the mandatory 5-day reserve. Generates structured recovery comparison tables comparing standard and high-efficiency operating modes. Requires chemical plant manager sign-off prior to modifying simulated bulk dosing pump settings.

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

Chemical dosing scenario workspace with slider controls for target water recovery and inventory runout warning cards.

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

Operational simulations only; automated dosing changes must be verified against water chemistry lab assays.

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

  • Ingest raw seawater salinity, turbidity metrics, and high-pressure reverse osmosis membrane runtimes.

  • Model chemical dosage rates and membrane scaling risk using WaterTAP treatment flowsheet principles.

  • Formulate multi-day chemical inventory depletion forecasts under varying recovery rate scenarios.

  • Export an inventory reorder and dosing recommendation dossier for chemical superintendent review.

Resources and assets

Reference links and supporting material

Dataset notes

Utilize WaterTAP public desalination flowsheet examples and mock SWRO operational logs hosted on a local repo. These logs are simplified synthetic app records, not complete official schema files. Supplied starter examples are synthetic, not source extracts.

Challenge setup

Configuration summary for this challenge.

Challenge input

Input details are not configured.

Pydantic AI

Typed Python agent framework.

Evaluated output

No output checks are configured.

Evaluation checks
  • Ingest raw seawater salinity, turbidity metrics, and high-pressure reverse osmosis membrane runtimes. Model...
  • Computes daily antiscalant consumption based on raw seawater feed flow and dosing setpoints. Flags inventor...
  • Chemical dosing scenario workspace with slider controls for target water recovery and inventory runout warn...
Configured evaluation evidence
  • 2 public reference cases
Configured runtime
  • 2 configured tools

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
  • Pydantic AI · Optional
Orchestration
  • Pydantic AI · 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 Desalination Chemical Inventory and Treatment Scenario Evaluator