← Back to the monthly example

Pallara / Recorded engine calculation

Four charges. One fictional month.

Unsigned synthetic preview. September 2026 is a fictional scenario, not observed customer consumption. Contract terms and invoices were prepared as structured fixtures. The core engine calculated each charge from those terms and 2,880 supplied meter readings.

This is not document extraction, a complete customer audit, curtailment-credit calculation, refund entitlement or recovered cash. Both directions of discrepancy remain visible. Matching totals do not establish that the individual charges agree.

The recorded engine text below has browser formatting added. Its original bytes remain available.

PALLARA / CONTRACT BILL
recomputed from supplied observations · specified terms only

$223,000.00 in specified charges.

SYNTHETIC: Less consumption. The same specified bill.

2026-09-01 through 2026-09-30 · America/Chicago
2,880 complete 15-minute intervals

Baseline charges $223,000.00
Candidate charges
Modeled savings

Baseline: 2,160.000 MWh · Peak: 3.000 MW

What changes the bill

Contract term Baseline Candidate Savings
energyfixed energy$108,000.00
demanddemand$72,000.00
fixedfixed$1,000.00
minimumminimum bill$42,000.00
Specified charges $223,000.00

Reproduce each charge

Baseline / energy $108,000.00

sum(interval kWh * USD/MWh / 1000); half-up cents per line_item

Quantity
2160000 kWh
Rate
5E+1
rounding
line_item
unrounded usd
108000.0
Sources
contract, meter
Baseline / demand $72,000.00

max(period peak kW, contractual minimum kW, historical peak kW * ratchet) * USD/kW

Quantity
6E+3 kW
Rate
12
period peak kw
3.00E+3
first peak at
2026-09-01T05:00:00+00:00
minimum kw
6E+3
historical peak kw
0
ratchet fraction
0
ratchet floor kw
0
binding determinants
minimum
Sources
contract, meter
Baseline / fixed $1,000.00

specified fixed USD charge; half-up cents

Quantity
1 period
Rate
1E+3
Sources
contract
Baseline / minimum $42,000.00

max(0, minimum bill cents - sum(specified rounded charge cents))

Quantity
1 period
Rate
See formula
minimum cents
15000000
covered subtotal cents
10800000
applies to
energy
Sources
contract, meter

Evidence and assumptions

Model contract-billing-v1
Input blake3:27dc1d4f1f080547c164cb573f833aa2da451da278ea917e196831e43be927d6
Result blake3:f6218d93c9ee5eacbb5155ed121530a8ead626c60fbe311741af5480186d4bbd