Voltage drop
voltage_drop_v
Two-way DC cable voltage drop
Scores if within ±3% of the reference value.
Calculates two-way DC cable voltage drop for a solar PV string using current, one-way length, cable cross-section, resistivity, and string voltage. The template also estimates annual resistive energy loss and voltage-drop margin.
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.
7 inputs
Included directly in every task prompt.
String current
string_current_a
PV string current at maximum power
Dc cable length
dc_cable_length_m
One-way DC cable length from string to inverter
Cable cross section
cable_cross_section_mm2
Cable conductor cross-section
String voltage
string_voltage_v
PV string operating voltage
Annual operating hours
annual_operating_hours
Equivalent annual operating hours at the modelled current
Maximum voltage drop pct
maximum_voltage_drop_pct
Maximum permitted voltage drop percentage
Visible in easier tasks and withheld in one or more harder tiers.
Cable resistivity
cable_resistivity_ohm_mm2_m
Cable conductor resistivity
Hidden at hard difficulty.
4 outputs
voltage_drop_v
Two-way DC cable voltage drop
Scores if within ±3% of the reference value.
voltage_drop_pct
Voltage drop as a percentage of string voltage
Scores if within ±3% of the reference value.
annual_energy_loss_kwh
Annual resistive energy loss
Scores if within ±3% of the reference value.
voltage_drop_margin_pct
Margin against the maximum voltage drop criterion
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
Rooftop PV string with all values visible
All inputs given
PV string selected from rooftop or utility cases
Some inputs hidden
Utility PV string with conductor resistivity embedded in context
Hidden inputs
Prompt replacement text
Use the conductor resistivity implied by {{ archetype.description }}.
Cable resistivity ohm mm2 restricted to: 0.0175
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.
1# ABOUTME: Prompt template for DC solar string voltage-drop tasks.2# ABOUTME: Presents current, length, cable size, resistivity, voltage, and hours.3 4You are a senior solar PV electrical engineer checking DC string cable voltage drop.5 6## Given7 8| Parameter | Value | Unit |9|-----------|-------|------|10| String current at maximum power | {{ string_current_a }} | A |11| One-way DC cable length | {{ dc_cable_length_m }} | m |12| Cable cross-section | {{ cable_cross_section_mm2 }} | mm2 |13| Cable resistivity | {{ cable_resistivity_ohm_mm2_m }} | ohm.mm2/m |14| String voltage | {{ string_voltage_v }} | V |15| Annual operating hours | {{ annual_operating_hours }} | h/year |16| Maximum voltage drop | {{ maximum_voltage_drop_pct }} | % |17 18## Constraints19 20- Use a two-way DC loop resistance equal to `2 * length * resistivity / cross-section`.21- Voltage drop equals string current times loop resistance.22- Voltage drop percentage equals voltage drop divided by string voltage times 100.23- Annual energy loss equals current times voltage drop times annual operating hours divided by 1000.24- Voltage drop margin equals maximum voltage drop percentage minus calculated voltage drop percentage.25 26## Output Format27 28Include a JSON block with exactly these keys:29 30```json31{32 "voltage_drop_v": <numeric_value>,33 "voltage_drop_pct": <numeric_value>,34 "annual_energy_loss_kwh": <numeric_value>,35 "voltage_drop_margin_pct": <numeric_value>36}37```38 39Write your complete solution to `/workspace/output.md`.40 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.
rooftop_pv_string
Rooftop PV string cable run
utility_pv_string
Utility PV string home-run cable
utility-pv-utility-pv-string-preview — hard difficulty, some inputs hidden.
Utility PV string home-run cable. utility-pv. Required outputs: voltage_drop_v, voltage_drop_pct, annual_energy_loss_kwh, voltage_drop_margin_pct
Scenario context and visible inputs.
Executable tool: voltage-drop-dc_calc.py
Inputs withheld at this difficulty.
Cable resistivity ohm mm2
cable_resistivity_ohm_mm2_m
Stand-in text in the prompt
Use the conductor resistivity implied by {{ archetype.description }}.
The scored JSON answer schema.
{
"voltage_drop_v": <number>,
"voltage_drop_pct": <number>,
"annual_energy_loss_kwh": <number>,
"voltage_drop_margin_pct": <number>
}