Examples
Examples
Try the starting example
- Cabinet logs [name,start kWh,end kWh,elapsed days,opening hours/day]; enter JSON
- [["A",100,130,5,10],["B",200,240,5,10]]
- Energy tariff (USD/kWh)
- 0.2
- Cabinet [name,kWh,kWh/day,kWh/open hour,cost] (JSON) (USD)
- [["A",30,6,0.6,6],["B",40,8,0.8,8]]
- Total energy cost (USD)
- $14.00
Try another scenario
- Cabinet logs [name,start kWh,end kWh,elapsed days,opening hours/day]; enter JSON
- [["A",150,190,4,12],["B",240,270,4,12]]
- Energy tariff (USD/kWh)
- 0.25
- Cabinet [name,kWh,kWh/day,kWh/open hour,cost] (JSON) (USD)
- [["A",40,10,0.833333333333,10],["B",30,7.5,0.625,7.5]]
- Total energy cost (USD)
- $17.50
Calculation method
Calculation method
Cabinet [name,kWh,kWh/day,kWh/open hour,cost] (JSON) (USD)
Subtract cumulative meters; divide by elapsed days and opening hours; multiply energy by entered tariff.
Total energy cost (USD)
Sum cabinet costs rounded per cabinet.
Symbols and units
- a
- Cabinet logs [name,start kWh,end kWh,elapsed days,opening hours/day]; enter JSON
- b
- Energy tariff (USD/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
- Observed cumulative electricity meters without reset; tariff is user-entered. 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. End meter>=start, elapsed days>0, opening hours/day in (0,24]; no reset or rollover.
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.