Examples
Examples
Try the starting example
- Layovers [minutes,accepted battery-side kW,next trip kWh]; enter JSON
- [[10,100,25],[15,80,18]]
- Layover energy recovery (kWh, JSON)
- [16.6666666667,20]
- Next-trip deficit by layover (kWh, JSON)
- [8.33333333333,0]
Try another scenario
- Layovers [minutes,accepted battery-side kW,next trip kWh]; enter JSON
- [[12,90,20],[20,60,25]]
- Layover energy recovery (kWh, JSON)
- [18,20]
- Next-trip deficit by layover (kWh, JSON)
- [2,5]
Calculation method
Calculation method
Layover energy recovery (kWh, JSON)
Duration×accepted battery-side power/60 for each layover.
Next-trip deficit by layover (kWh, JSON)
max(0,next-trip energy−layover recovery); assumes no preexisting energy credit.
Symbols and units
- a
- Layovers [minutes,accepted battery-side kW,next trip kWh]; enter JSON
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
- Constant user-supplied charging power for each layover; battery charging rate supplied by operator, no inferred taper. 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.