← 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: The total agrees. Two lines do not.

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,880.000 MWh · Peak: 4.000 MW

What changes the bill

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

Reproduce each charge

Baseline / energy $144,000.00

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

Quantity
2880000 kWh
Rate
5E+1
rounding
line_item
unrounded usd
144000
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
4E+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 $6,000.00

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

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

Evidence and assumptions

Model contract-billing-v1
Input blake3:d973ada1a4bbccd8fd2521622d1485a998a0328648f3ad38de96eca662072ef6
Result blake3:1c8ead8e9de3cc527ca52f499526c0afe7a60bdd4dff6c4974ece88fcc91281a