MiniCTRMSearch

MiniCTRM - Build Tutorial 712: Netback: the monthly calculation, done to 100%

→ to begin · N for the speaker notes

On a phone: Next or a swipe left to begin, Notes for the words.

What you'll learn

Tariffs as effective-dated data; the pipeline statement imported into one layout with an adapter per pipeline; preliminary and final netback runs with provenance on every line and an inputs fingerprint; the firm's rule set - actual or deemed path, reservation in or out, fuel valuation, the sale price - as versioned data; matching with tolerances and fail-closed exceptions; and the netback statement per receipt point with the parallel month against the spreadsheet.

  • Why MiniCTRM explains it and stops
  • What you need first – Lesson 665's contract and 711's tables, 612's events and lock, 613's ledger, 623's CSV pipeline, and where in a build to take this.
  • The challenges – 99% is 0%, the real statement, the month, no standard, the as-if path, and the spreadsheet month, each turned into a design rule.
  • Six prompts – Tariffs as data; the pipeline statement; the netback run; the firm's rules; matching with tolerances; the statement and the parallel month.
  • Ship it – /ship, with the worked example, the determinism test and the fail-closed tests among the rest.
  • How MiniCTRM did it

Before you start

The lessons this one builds on: 612 Operations: confirms, invoices and operational events, 613 Treasury and accounting: the cash ladder, postings and month-end, 665 Natural gas transportation: paths, fuel in kind, reservation and usage, 711 Physical gas before netback: points, pipelines, transport contracts and the month's volumes.

Copyright 2026-2027 Brian Shydlo. MiniCTRM is source-available under the PolyForm Strict License 1.0.0 (https://polyformproject.org/licenses/strict/1.0.0): free for learning and other noncommercial use; no changes and no redistribution; commercial use needs permission.

Welcome

What the gas was worth where it started

1 / 14
What the gas was worth where it started
Why MiniCTRM explains it and stops

Explained, not built: MiniCTRM's decision

2 / 14
Explained, not built: MiniCTRM's decision
What you need first

What you need first

3 / 14
What you need first
The challenges

The challenges

4 / 14
The challenges
Six prompts

Tariffs as data with effective dates

5 / 14
Tariffs as data with effective dates
Six prompts

The pipeline statement

6 / 14
The pipeline statement
Six prompts

The netback run

7 / 14
The netback run
Six prompts

The firm's rules

8 / 14
The firm's rules
Six prompts

Matching with tolerances

9 / 14
Matching with tolerances
Six prompts

The statement per source, and the parallel month

10 / 14
The statement per source, and the parallel month
Ship it

Ship it

11 / 14
Ship it
How MiniCTRM did it

Help → Netback

12 / 14
Help → Netback
How MiniCTRM did it

NatGas Allocation: the volumes without the money

13 / 14
NatGas Allocation: the volumes without the money
What you have now

What you have now

14 / 14
What you have now
← → move · N notes · Home / End