The interview problem
A solar operator needs a 15-minute-ahead forecast and warning for sudden generation drops. Design a model that distinguishes cloud effects from curtailment and sensor failures.
Original practice, not a reported company interview. All scenarios and worked numbers are illustrative. Interview date: not applicable. Sources retrieved September 30, 2026.
1. Scope and assumptions
Forecast available generation separately from dispatched output. Assume time-stamped plant telemetry, weather inputs and curtailment flags. A controller deliberately reducing output is not evidence of reduced solar resource.
2. Worked approach
issue-time telemetry/weather → quality + curtailment checks → baseline/residual model → ramp alert
Validate power meters, capacity metadata and daylight state. Use a persistence baseline and a clear-sky-normalized baseline, then learn residuals from recent telemetry and weather available at forecast issue time. Keep forecasts indexed by issue time, horizon and target interval.
Train on chronological plant-day blocks, treating curtailed or faulty intervals according to the chosen target rather than labeling them as normal weather outcomes. Produce quantiles or calibrated intervals plus a ramp alert. Record whether a weather forecast was actually available then; revised historical weather is not a valid serving feature.
3. Calculate the example
If clear-sky expected output is 80 MW and measured available output is 48 MW, the illustrative clear-sky ratio is 0.6. If the next interval's clear-sky expectation is 70 MW, persisting that ratio predicts 42 MW. A measured 30 MW next interval gives a 12 MW error. At night, dividing by a near-zero clear-sky value is unstable, so use a separate daylight rule rather than clipping blindly.
4. Failure cases and trade-offs
A capacity upgrade creates a false ramp if normalization uses stale capacity. Cloud motion can invalidate persistence quickly. Missing curtailment flags contaminate available-power labels. Aggregating across plants may hide a critical local drop.
Persistence is cheap and difficult to beat at some horizons; spatial weather features add value only if timely and reliable. Wide intervals cover uncertainty but may be operationally unhelpful. Select alert thresholds with the operator's response capacity and false-alarm cost.
5. Validate the result
Evaluate by horizon, daylight, weather regime and plant. Compare ramp-event recall and false alarms alongside power error and interval coverage. Simulate missing weather and telemetry delays, and validate all calculations in consistent MW and time units.
6. Interview follow-ups and self-review
What if the plant is partially curtailed? How would geographically correlated cloud cover affect fleet uncertainty?
Reward a precise target, issue-time features, baseline arithmetic and separation of weather from operational constraints.
Sources and related practice
Technical reference: pvlib-python.readthedocs.io — Official clear-sky modeling reference; forecasting architecture and example are original.
Exact publication/update date not established in this review. Retrieved September 30, 2026. This reference supports the named technical concept; the proposed workflow and examples are original, not a documented vendor implementation or interview report.
Continue with Predict conditional quantiles with pinball loss; Reconcile forecasts across product hierarchies.
Continue your preparation
Choose a connected learning path or browse more ML system design questions. Read our editorial method and attribution policy.