EV charge-session anomaly audit calculator

Calculate session loss fractions and flagged or incomplete row numbers with your own figures.

Your numbers

Use the units shown. Results update as you change valid inputs.

Use session loss fractions and flagged or incomplete row numbers to compare changes to your inputs. The method and limits below explain the scope.

Examples

Examples

Try the starting example

Sessions [meter kWh,vehicle kWh,start minute,end minute]; null means missing; enter JSON
[[20,18,0,60],[10,9,65,90],[5,null,100,120]]
User loss-fraction flag threshold
0.15
Session loss fractions (JSON)
[0.1,0.1,null]
Flagged or incomplete row numbers (JSON)
[3]

Try another scenario

Sessions [meter kWh,vehicle kWh,start minute,end minute]; null means missing; enter JSON
[[10,8,0,30],[12,12,40,70]]
User loss-fraction flag threshold
0.1
Session loss fractions (JSON)
[0.2,0]
Flagged or incomplete row numbers (JSON)
[1]
Calculation method

Calculation method

Session loss fractions (JSON)

For complete positive-meter sessions use (meter−vehicle)/meter; otherwise null.

Flagged or incomplete row numbers (JSON)

Flag missing values, meter<=0, end<=start, or loss fraction above user threshold.

Symbols and units
a
Sessions [meter kWh,vehicle kWh,start minute,end minute]; null means missing; enter JSON
b
User loss-fraction flag threshold

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

  • Arithmetic discrepancy audit, not a diagnostic fault classifier; timestamps are elapsed minutes. 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.

Share this page
Share this calculator

Leave unchecked to share the page without your entered values.