Build a Seawater RO Membrane Spare-Parts Procurement and Clean Outage Scheduler
Correlate seawater reverse osmosis membrane fouling metrics from WaterTAP flowsheets with chemical wash inventory and spare membrane stock. Plan multi-train cleaning outages to prevent potable water supply interruptions.
What you are building
The core problem, expected build, and operating context for this challenge.
Correlate seawater reverse osmosis membrane fouling metrics from WaterTAP flowsheets with chemical wash inventory and spare membrane stock. Plan multi-train cleaning outages to prevent potable water supply interruptions.
Desalination Plant Operations Manager
Parse WaterTAP reverse osmosis train flowsheet parameters including normalized flux and salt rejection.
Calculate membrane degradation trends and evaluate Clean-In-Place chemical consumption requirements.
Inspect warehouse inventory for replacement spiral-wound membrane elements and antiscalant stock.
Synthesize multi-train outage sequence schedules while maintaining water reservoir reserve commitments.
FastAPI backend connected to an operations dashboard displaying RO train health, CIP schedules, and inventory alerts.
Construct synthetic RO membrane operating datasets mimicking WaterTAP RO flowsheet state variables under Persian Gulf salinity (42,000 ppm TDS). Starter examples below are synthetic. They are not downloaded records.
WaterTAP treatment modeling Leverages WaterTAP treatment modeling concepts to track membrane mass transfer coefficients, pressure drops, and salt passage.
mastra-ai, fastapi, pydantic. Mastra AI provides resilient workflow orchestration and event logging across multi-stage chemical and membrane operations. Local or hosted LLM capable of evaluating industrial process constraints and generating structured scheduling JSON.
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.
Detects membrane differential pressure increase exceeding 20% baseline signaling mandatory CIP.
Verifies on-site citric acid and sodium hydroxide cleaning chemical stock before scheduling train shutdown.
Ensures total plant potable production never drops below 80% contract commitment during outages.
Emits formal maintenance work ticket requiring plant engineering sign-off.
```json [ { "input": { "plant_id": "FUJAIRAH-RO-T2", "train_id": "TRAIN-B", "differential_pressure_bar": 3.8, "baseline_pressure_bar": 2.9, "salt_rejection_percent": 98.2, "finished_water_storage_hours": 18, "warehouse_stock": { "citric_acid_kg": 1500, "naoh_kg": 800, "spare_swro_elements": 24 }, "required_cip_chemicals": { "citric_acid_kg": 600, "naoh_kg": 300 } }, "expected_output": { "plant_id": "FUJAIRAH-RO-T2", "train_id": "TRAIN-B", "cip_action_required": true, "dp_increase_percent": 31.03, "chemical_inventory_sufficient": true, "membrane_replacement_needed": false, "recommended_outage_start": "Day 2 at 22:00 (Reservoir above 14h safety buffer)", "outage_duration_hours": 8, "requires_chief_operator_signoff": true } }, { "input": { "plant_id": "AL-ZOUR-SWRO-1", "train_id": "TRAIN-D", "differential_pressure_bar": 4.5, "baseline_pressure_bar": 3, "salt_rejection_percent": 94.1, "finished_water_storage_hours": 7, "warehouse_stock": { "citric_acid_kg": 200, "naoh_kg": 150, "spare_swro_elements": 4 }, "required_cip_chemicals": { "citric_acid_kg": 600, "naoh_kg": 300 } }, "expected_output": { "plant_id": "AL-ZOUR-SWRO-1", "train_id": "TRAIN-D", "cip_action_required": true, "dp_increase_percent": 50, "chemical_inventory_sufficient": false, "membrane_replacement_needed": true, "recommended_outage_start": "BLOCKED: Storage buffer low (7h < 12h threshold) and chemical deficit", "outage_duration_hours": 16, "requires_chief_operator_signoff": true } } ] ```
High-pressure seawater reverse osmosis trains operate up to 70-80 bar; all pump shutdowns, valving sequences, and chemical washes require human engineering supervision. Use mock external writes. Require human review before any real deployment.
Participation guide
High-pressure seawater reverse osmosis trains operate up to 70-80 bar; all pump shutdowns, valving sequences, and chemical washes require human engineering supervision. Use mock external writes and human review.
How work is evaluated
Detects membrane differential pressure increase exceeding 20% baseline signaling mandatory CIP. Verifies on-site citric acid and sodium hydroxide cleaning chemical stock before scheduling train shutdown. Ensures total plant potable production never drops below 80% contract commitment during outages. Emits formal maintenance work ticket requiring plant engineering sign-off.
Runnable source, pinned dependencies, setup commands, working interface, example outputs, recorded demo, tests, and action logs.
Challenge datasets
Public datasets, plus the private datasets you have access to.
How submissions are scored
These dimensions define what the evaluator checks and which criteria separate a passable run from a strong one.
Complete workflow
Parse WaterTAP reverse osmosis train flowsheet parameters including normalized flux and salt rejection. Calculate membrane degradation trends and evaluate Clean-In-Place chemical consumption requirements. Inspect warehouse inventory for replacement spiral-wound membrane elements and antiscalant stock. Synthesize multi-train outage sequence schedules while maintaining water reservoir reserve commitments.
Missing or incorrect.
Partly complete, with documented gaps.
Complete, with reproducible evidence.
Correctness and evidence
Detects membrane differential pressure increase exceeding 20% baseline signaling mandatory CIP. Verifies on-site citric acid and sodium hydroxide cleaning chemical stock before scheduling train shutdown. Ensures total plant potable production never drops below 80% contract commitment during outages. Emits formal maintenance work ticket requiring plant engineering sign-off.
Missing or incorrect.
Partly complete, with documented gaps.
Complete, with reproducible evidence.
Review interface
FastAPI backend connected to an operations dashboard displaying RO train health, CIP schedules, and inventory alerts.
Missing or incorrect.
Partly complete, with documented gaps.
Complete, with reproducible evidence.
Safe execution
High-pressure seawater reverse osmosis trains operate up to 70-80 bar; all pump shutdowns, valving sequences, and chemical washes require human engineering supervision.
This dimension contributes its full weight only when the submission satisfies the requirement. Partial credit is not awarded.
What you should walk away with
Parse WaterTAP reverse osmosis train flowsheet parameters including normalized flux and salt rejection.
Calculate membrane degradation trends and evaluate Clean-In-Place chemical consumption requirements.
Inspect warehouse inventory for replacement spiral-wound membrane elements and antiscalant stock.
Synthesize multi-train outage sequence schedules while maintaining water reservoir reserve commitments.
Reference links and supporting material
Construct synthetic RO membrane operating datasets mimicking WaterTAP RO flowsheet state variables under Persian Gulf salinity (42,000 ppm TDS). Supplied starter examples are synthetic, not source extracts.
Challenge setup
Configuration summary for this challenge.
Challenge input
Input details are not configured.
Mastra AI
TypeScript agent framework.
Evaluated output
No output checks are configured.
- Parse WaterTAP reverse osmosis train flowsheet parameters including normalized flux and salt rejection. Cal...
- Detects membrane differential pressure increase exceeding 20% baseline signaling mandatory CIP. Verifies on...
- FastAPI backend connected to an operations dashboard displaying RO train health, CIP schedules, and invento...
- 2 public reference cases
- 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
- Mastra AI · Optional
- Mastra 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.