Initial apparent power kva
initial_apparent_power_kva
Initial apparent power
Scores if within ±3% of the reference value.
Calculates the reactive power compensation needed to improve a load from an initial lagging power factor to a target power factor. The reduced method uses Qc = P x (tan phi_initial - tan phi_target), then reports the corrected apparent power and current reduction.
with-tool: The model is given an executable Python calculator script.
Standards
One template produces many comparable benchmark tasks while keeping the scoring contract fixed.
01
The reusable contract shown on this page.
02
An archetype and site context are sampled.
03
Inputs may be hidden at harder tiers.
04
The model responds with the declared outputs.
Inputs the model receives, and the outputs it is scored on.
3 inputs
Included directly in every task prompt.
Real power
real_power_kw
Real load power
Target power factor
target_power_factor
Target corrected power factor
Visible in easier tasks and withheld in one or more harder tiers.
Initial power factor
initial_power_factor
Initial lagging power factor
Hidden at hard difficulty.
4 outputs
initial_apparent_power_kva
Initial apparent power
Scores if within ±3% of the reference value.
corrected_apparent_power_kva
Apparent power after correction
Scores if within ±3% of the reference value.
required_reactive_power_kvar
Required capacitor reactive power
Scores if within ±3% of the reference value.
current_reduction_pct
Reduction in line current at unchanged voltage
Scores if within ±3% of the reference value.
Each template is sampled at three tiers. Harder tiers may hide inputs, forcing the model to infer them from the scenario description.
All inputs given
Small load with all power factors given
All inputs given
Commercial or industrial correction calculation
Some inputs hidden
Larger load with initial power factor hidden in context
Hidden inputs
Prompt replacement text
The existing load has the lagging power factor typical of {{ archetype.description }}.
The exact instruction and parameter contract used to generate this task, pinned to the published library source.
/workspace
Teal lines show Jinja input conditions, not task visibility policy. A line renders only when that input or tool is visible.
1You are a senior electrical engineer sizing power factor correction for a load.2 3## Problem4 5Calculate the capacitor kVAr required to improve the load power factor from the initial value to the target value.6 7## Given8 9| Parameter | Value | Unit |10|-----------|-------|------|11| Real power | {{ real_power_kw }} | kW |12{% if initial_power_factor is defined %}13| Initial power factor | {{ initial_power_factor }} | - |14{% endif %}15| Target power factor | {{ target_power_factor }} | - |16{% if archetype_description is defined %}17 18### Site Context19 20{{ archetype_description }}21{% endif %}22 23{% if tool_available %}24## Available Tool25 26A power factor correction sizing tool is available at `/workspace/pfc-sizing_calc.py`. Run it with:27 28```bash29python3 /workspace/pfc-sizing_calc.py --help30```31{% endif %}32 33## Required34 35Calculate:36 371. Initial apparent power in kVA382. Corrected apparent power in kVA393. Required capacitor reactive power in kVAr404. Current reduction percentage at unchanged voltage41 42## Constraints43 44- Use `phi = acos(power_factor)`.45- Use `Qc = P x (tan(phi_initial) - tan(phi_target))`.46- Use `S = P / power_factor`.47- Use apparent-power reduction as the current reduction percentage.48 49## Output Format50 51Show your working in Markdown. At the end, include a JSON block with exactly these keys:52 53```json54{55 "initial_apparent_power_kva": <numeric_value>,56 "corrected_apparent_power_kva": <numeric_value>,57 "required_reactive_power_kvar": <numeric_value>,58 "current_reduction_pct": <numeric_value>59}60```61 62Write your complete solution to `/workspace/output.md`.63 Each generated task is drawn from one of these realistic scenario bands.
Site contexts ground each scenario in a real locale the model can use to infer hidden values.
small_commercial_load
Small commercial motor and HVAC load
industrial_motor_load
Industrial motor control centre load
utility_customer_load
Large utility customer connection
water-treatment-plant-industrial-motor-load-preview — hard difficulty, some inputs hidden.
Industrial motor control centre load. water-treatment-plant. Required outputs: initial_apparent_power_kva, corrected_apparent_power_kva, required_reactive_power_kvar, current_reduction_pct
Scenario context and visible inputs.
Executable tool: pfc-sizing_calc.py
Inputs withheld at this difficulty.
Initial power factor
initial_power_factor
Stand-in text in the prompt
The existing load has the lagging power factor typical of {{ archetype.description }}.
The scored JSON answer schema.
{
"initial_apparent_power_kva": <number>,
"corrected_apparent_power_kva": <number>,
"required_reactive_power_kvar": <number>,
"current_reduction_pct": <number>
}