LIVEdataset aec-bench@releasetasks 552models 18last submission · built
electricalwith-tool

Battery Sizing

Calculates battery energy, required amp-hour capacity, UPS apparent power, and block count for a critical load autonomy requirement. The reduced method explicitly applies system voltage, depth of discharge, temperature derating, inverter efficiency, load power factor, and block voltage.

with-tool: The model is given an executable Python calculator script.

How this task is generated

One template produces many comparable benchmark tasks while keeping the scoring contract fixed.

  1. 01

    Template

    The reusable contract shown on this page.

  2. 02

    Scenario

    An archetype and site context are sampled.

  3. 03

    Difficulty tier

    Inputs may be hidden at harder tiers.

  4. 04

    Task prompt

    The model responds with the declared outputs.

Parameters

Inputs the model receives, and the outputs it is scored on.

Inputs

8 inputs

Always given

Included directly in every task prompt.

7
Show 7 inputs
  • Critical load

    critical_load_w

    Critical load power

    1 – 100000 W
  • Required autonomy

    required_autonomy_h

    Required autonomy duration

    0.1 – 168 h
  • System voltage

    system_voltage_v

    Nominal DC system voltage

    12 – 1000 V
  • Depth of discharge pct

    depth_of_discharge_pct

    Allowed depth of discharge

    10 – 100 %
  • Inverter efficiency pct

    inverter_efficiency_pct

    Inverter or UPS efficiency

    50 – 100 %
  • Load power factor

    load_power_factor

    Load power factor for UPS VA sizing

    0.5 – 1
  • Battery block voltage

    battery_block_voltage_v

    Nominal voltage of each battery block

    1.2 – 48 V

Hidden at higher difficulty

Visible in easier tasks and withheld in one or more harder tiers.

1
  • Temperature derating factor

    temperature_derating_factor

    Capacity derating factor for temperature

    Hidden at hard difficulty.

    0.3 – 1

Scored outputs

4 outputs

Required energy kwh

required_energy_kwh

Critical load energy over autonomy duration

Scores if within ±3% of the reference value.

Required battery capacity ah

required_battery_capacity_ah

Required battery amp-hour capacity

Scores if within ±3% of the reference value.

Ups rating va

ups_rating_va

Required UPS apparent power rating

Scores if within ±3% of the reference value.

Battery block count

battery_block_count

Minimum number of battery blocks in series

Scores if within ±1% of the reference value.

Difficulty

Each template is sampled at three tiers. Harder tiers may hide inputs, forcing the model to infer them from the scenario description.

easy

All inputs given

Cabinet backup battery with all factors visible

medium

All inputs given

Comms or signalling backup battery

hard

Some inputs hidden

Temperature derating hidden in site context

Hidden inputs

  • Temperature derating factortemperature_derating_factor

Prompt replacement text

Use the temperature derating factor implied by {{ archetype.description }}.

Temperature derating factor restricted to: 0.9

Task bundle

The exact instruction and parameter contract used to generate this task, pinned to the published library source.

/workspace

  • instruction.md
  • battery-sizing_calc.py

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 backup battery capacity.2 3## Given4 5| Parameter | Value | Unit |6|-----------|-------|------|7| Critical load | {{ critical_load_w }} | W |8| Required autonomy | {{ required_autonomy_h }} | h |9| DC system voltage | {{ system_voltage_v }} | V |10| Depth of discharge | {{ depth_of_discharge_pct }} | % |11{% if temperature_derating_factor is defined %}12| Temperature derating factor | {{ temperature_derating_factor }} | - |13{% endif %}14| Inverter efficiency | {{ inverter_efficiency_pct }} | % |15| Load power factor | {{ load_power_factor }} | - |16| Battery block voltage | {{ battery_block_voltage_v }} | V |17 18## Constraints19 20- Required energy equals critical load times autonomy duration.21- Battery Ah equals load watt-hours divided by system voltage and all usable-capacity factors.22- Usable factors are depth of discharge, temperature derating, and inverter efficiency.23- UPS VA equals critical load divided by load power factor.24- Battery block count equals the ceiling of system voltage divided by block voltage.25 26## Output Format27 28Include a JSON block with exactly these keys:29 30```json31{32 "required_energy_kwh": <numeric_value>,33 "required_battery_capacity_ah": <numeric_value>,34 "ups_rating_va": <numeric_value>,35 "battery_block_count": <numeric_value>36}37```38 39Write your complete solution to `/workspace/output.md`.40

Scenario archetypes

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.

Signalling backup

signalling_backup

Rail signalling backup battery set

signal-locationlevel-crossing-cabinet
Parameter ranges
critical_load_w
100 – 5000
required_autonomy_h
2 – 24
system_voltage_v
24 – 120
depth_of_discharge_pct
50 – 90
temperature_derating_factor
0.7 – 1
inverter_efficiency_pct
85 – 98
load_power_factor
0.8 – 0.98
battery_block_voltage_v
2 – 12

Comms backup

comms_backup

Communications or control cabinet UPS battery set

comms-roomroadside-cabinet
Parameter ranges
critical_load_w
50 – 10000
required_autonomy_h
0.5 – 12
system_voltage_v
24 – 240
depth_of_discharge_pct
60 – 95
temperature_derating_factor
0.7 – 1
inverter_efficiency_pct
85 – 98
load_power_factor
0.75 – 0.98
battery_block_voltage_v
6 – 48

Example task

signal-location-signalling-backup-previewhard difficulty, some inputs hidden.

Rail signalling backup battery set. signal-location. Required outputs: required_energy_kwh, required_battery_capacity_ah, ups_rating_va, battery_block_count

The model sees

Scenario context and visible inputs.

critical_load_w
100 to 5000 W
required_autonomy_h
2 to 24 h
system_voltage_v
24 to 120 V
depth_of_discharge_pct
50 to 90 %
inverter_efficiency_pct
85 to 98 %
load_power_factor
0.8 to 0.98
battery_block_voltage_v
2 to 12 V

Executable tool: battery-sizing_calc.py

The model must infer

Inputs withheld at this difficulty.

  • Temperature derating factor

    temperature_derating_factor

Stand-in text in the prompt

Use the temperature derating factor implied by {{ archetype.description }}.

The model must produce

The scored JSON answer schema.

{
  "required_energy_kwh": <number>,
  "required_battery_capacity_ah": <number>,
  "ups_rating_va": <number>,
  "battery_block_count": <number>
}
  • required_energy_kwh · scored within ±3%
  • required_battery_capacity_ah · scored within ±3%
  • ups_rating_va · scored within ±3%
  • battery_block_count · scored within ±1%