Back to Prompt Library
implementation
Build the application
Inspect the original prompt language first, then copy or adapt it once you know how it fits your workflow.
Linked challenge: Build a Solar PV Tracker Wind and Heat Safety Dispatcher
Format
Code-aware
Lines
69
Sections
11
Linked challenge
Build a Solar PV Tracker Wind and Heat Safety Dispatcher
Prompt source
Original prompt text with formatting preserved for inspection.
69 lines
11 sections
No variables
1 code block
## Build
Evaluate utility-scale solar tracker stow angles against high wind gusts and extreme ambient heat telemetry. Formulate proactive tracker positioning plans to prevent mechanical aero-elastic flutter and inverter thermal clipping.
## User
Solar plant operations engineer
## Workflow
1. Ingest anemometer wind gust telemetry, ambient air temperatures, and pyranometer solar irradiance.
2. Calculate single-axis tracker sun angles and thermal clipping penalties using pvlib solar position routines.
3. Identify high-wind gusts triggering defensive stowing versus midday heat requiring module tilt offsets.
4. Generate a tracker command schedule and plant dispatch log for field control center review.
## Interface
Plant weather and tracker status console highlighting wind threshold exceedances and stow triggers.
## Data
Synthetic weather sensor records formatted according to pvlib solar position and tracking model parameters.
Starter examples below are synthetic. They are not downloaded records.
## Source
[PVLib solar modeling](https://raw.githubusercontent.com/pvlib/pvlib-python/main/README.md)
Leverages pvlib solar position calculations and single-axis tracking algorithms to model panel orientation and power output.
## Tools
dspy, pvlib, pydantic.
Optimizes prompt strategies for synthesizing multi-sensor anomaly descriptions into concise operational dispatches.
Local or hosted LLM with standard inference latency for compiling operational event logs.
## 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
- Uses pvlib tracking functions to verify nominal solar tracker tilt angles.
- Automatically commands defensive stow mode when wind gust forecasts exceed 18 m/s.
- Assembles an operational dispatcher log requiring plant engineer sign-off before transmission.
## Starter Examples
```json
[
{
"input": {
"tracker_block_id": "BLOCK-E-03",
"wind_gust_ms": 21.4,
"wind_sustained_ms": 14.2,
"ambient_temp_c": 44,
"nominal_tilt_deg": 35,
"solar_zenith_deg": 22
},
"expected_output": {
"action": "DEFENSIVE_STOW",
"commanded_tilt_deg": 0,
"reason": "WIND_GUST_EXCEEDS_18_MS",
"projected_power_curtailment_pct": 24.5,
"dispatch_clearance_required": true
}
},
{
"input": {
"tracker_block_id": "BLOCK-W-01",
"wind_gust_ms": 8.1,
"wind_sustained_ms": 5,
"ambient_temp_c": 46.5,
"nominal_tilt_deg": 15,
"solar_zenith_deg": 18
},
"expected_output": {
"action": "CONTINUE_TRACKING",
"commanded_tilt_deg": 15,
"reason": "NOMINAL_TRACKING_UNDER_THERMAL_SURVEILLANCE",
"projected_power_curtailment_pct": 3.2,
"dispatch_clearance_required": false
}
}
]
```
## Safety
All tracker commands are simulated recommendations and do not bypass local PLC emergency wind trip relays.
Use mock external writes. Require human review before any real deployment.Adaptation plan
Keep the source stable, then change the prompt in a predictable order so the next run is easier to evaluate.
Keep stable
Hold the task contract and output shape stable so generated implementations remain comparable.
Tune next
Update libraries, interfaces, and environment assumptions to match the stack you actually run.
Verify after
Test failure handling, edge cases, and any code paths that depend on hidden context or secrets.