Examples
Examples
Try the starting example
- Route distances (km)
- 20,30
- Scenario consumption (kWh/km)
- 0.2,0.3
- Starting usable battery energy (kWh)
- 20
- Route energy margins by scenario (JSON)
- [[16,14],[14,11]]
- Worst route margin (kWh)
- 11
Try another scenario
- Route distances (km)
- 30,40
- Scenario consumption (kWh/km)
- 0.25,0.35
- Starting usable battery energy (kWh)
- 25
- Route energy margins by scenario (JSON)
- [[17.5,15],[14.5,11]]
- Worst route margin (kWh)
- 11
Calculation method
Calculation method
Route energy margins by scenario (JSON)
For each consumption scenario, subtract each route distance×consumption from the same starting energy; independent routes.
Worst route margin (kWh)
Minimum margin across the Cartesian product of routes and rates.
Symbols and units
- a
- Route distances (km)
- b
- Scenario consumption (kWh/km)
- c
- Starting usable battery energy (kWh)
Use the units shown. A list keeps the order in which you enter its values. The symbol ^ means “raised to the power of”.
Assumptions & limits
Assumptions & limits
- Compare user-observed cold-weather consumption; no weather prediction. Supported limits: All numeric inputs and computed intermediates must remain finite. Supported numeric input magnitude is zero or 1e-12 through 1e12 in absolute value; reject values outside this bounded range. All lists/JSON record tables are limited to 100 records unless a stricter bound is stated; reject malformed record arity and wrong member types. All numeric values must be finite. Lists contain at most 100 records; required lists must be nonempty. Rates, probabilities and fractions are entered as fractions, not percentages; fractions must be between 0 and 1. Use a single consistent user-selected currency for all amounts; no exchange-rate conversion.
Are these inputs private?
These calculations run in your browser. A shared link contains the values you choose to share. Only questions submitted to the separate AI finder are sent to OpenAI.