Skip to main content
Loading navigation

Build a Heat-Aware Structural Concrete Pour and Curing Window Dispatcher — implementation

Prompt source

implementation85 lines11 sectionsNo variables1 code block
## Build
Coordinate mass concrete placement shifts against forecasted ambient temperatures, solar radiation, and transit times. Schedule pour start times and ice batching ratios to prevent thermal cracking in structural elements.

## User
Concrete Batching and Quality Control Manager

## Workflow
1. Ingest concrete mix specifications, maximum core temperature thresholds, and pour volume takeoffs.
2. Retrieve diurnal ambient temperature and solar radiation forecasts using pvlib solar positioning.
3. Calculate concrete placement temperature and required chilled water or flaked ice batching additions.
4. Produce a verified shift dispatch plan restricting placement to nocturnal safe thermal windows.

## Interface
Batch plant planning board showing truck dispatch slots, ice addition calculators, and hourly core temperature risk curves.

## Data
Synthesize normalized concrete mix designs and pour geometry specifications alongside regional weather inputs.
Starter examples below are synthetic. They are not downloaded records.

## Source
[PVLib solar modeling](https://raw.githubusercontent.com/pvlib/pvlib-python/main/README.md)
Applies pvlib.solarposition and extraterrestrial radiation models to identify exact diurnal solar radiation cutoff times for pour scheduling.

## Tools
pydantic-ai, pvlib, fastapi.
Pydantic AI guarantees strictly validated concrete batching formulations and thermal risk outputs.
Local or hosted LLM with strong physical and thermal calculation constraints.

## Deliverables
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.

## Acceptance
- Validates fresh concrete mix placement temperature against maximum allowable threshold (typically 32°C).
- Calculates necessary batch water ice replacement percentage to achieve target temperature.
- Schedules mass pour shifts exclusively during low-insolation and cooler ambient hours.
- Generates a structured pour log and quality dispatch ticket for the batch plant supervisor.

## Starter Examples
```json
[
  {
    "input": {
      "pour_id": "POUR-FOUNDATION-RAF-2",
      "element_type": "Raft Foundation",
      "volume_m3": 850,
      "max_placement_temp_c": 30,
      "cement_content_kg_m3": 400,
      "forecast_hourly_temps": [
        {
          "hour": 14,
          "ambient_c": 46
        },
        {
          "hour": 22,
          "ambient_c": 34
        },
        {
          "hour": 2,
          "ambient_c": 29
        }
      ]
    },
    "expected_output": {
      "approved_pour_window": {
        "start_time": "23:00",
        "completion_time": "06:00",
        "thermal_safety_status": "APPROVED_NIGHT_WINDOW"
      },
      "batching_recipe_adjustment": {
        "ice_substitution_pct": 65,
        "target_fresh_temp_c": 27.5
      },
      "requires_qc_inspector_signoff": true
    }
  },
  {
    "input": {
      "pour_id": "POUR-FOUNDATION-RAF-3",
      "element_type": "Raft Foundation",
      "volume_m3": 850,
      "max_placement_temp_c": null,
      "cement_content_kg_m3": 400,
      "forecast_hourly_temps": []
    },
    "expected_output": {
      "error": "INSUFFICIENT_THERMAL_PARAMETERS",
      "requires_qc_inspector_signoff": true
    }
  }
]
```

## Safety
Simulation and scheduling advisory only; requires certified concrete quality control technician sign-off prior to batching.
Use mock external writes. Require human review before any real deployment.