MiniCTRM - Build Tutorial 711: Physical gas before netback: points, pipelines, transport contracts and the month's volumes
→ 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
Segments between lesson 544's locations, a route of segments under each pair of lesson 665's transport contracts, the month's volumes - received, fuel retained, delivered - loaded from the pipeline's confirmations and allocated pro-rata to the deals, and the checks that make a month closeable.
What MiniCTRM keeps, and what it leaves to a statement – Physical NatGas, Pipeline / Zone / Location, Transportation contracts, nominations, the Scheduling board and NatGas Allocation are here; segments, paths, the pipeline's confirmed month and tariffs are not, by design.
What you need first – The seven lessons this one builds on, what it reuses unchanged, and where a from-scratch build takes it.
A pipeline to a desk – Points and pools, segments and zones, a path, a transport contract and its maximum daily quantity, nominations, fuel, and the confirmations that say what flowed.
Segments and transport contracts – Segments between lesson 544's locations, drawn by the Data Model, and a route of them under each pair of lesson 665's contract that must connect.
The month's volumes, and the checks that close it – The pipeline's confirmations loaded by CSV, rolled up by month and allocated pro-rata to the deals by a rule written down; four checks, a Scheduling screen, a report and the rules.
Ship it – /ship, with the network, path, allocation and check tests among the rest.
How MiniCTRM did it – NatGas Nominations with the NatGas Scheduling board, and NatGas Allocation with a pro-rata rule of its own.
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
A molecule, a pipe, and the month it moved in
1 / 12What MiniCTRM keeps, and what it leaves to a statement
What MiniCTRM keeps, and what it leaves to a statement
2 / 12What you need first
What you need first
3 / 12A pipeline to a desk
A pipeline to a desk
4 / 12Segments and transport contracts
Segments between the locations
5 / 12Segments and transport contracts
Routes under the transport contract
6 / 12The month's volumes, and the checks that close it
The month's volumes
7 / 12The month's volumes, and the checks that close it
The checks that close a month
8 / 12Ship it
Ship it
9 / 12How MiniCTRM did it
NatGas Nominations and the NatGas Scheduling board
10 / 12How MiniCTRM did it
NatGas Allocation, and a pro-rata rule of its own
11 / 12What you have now
What you have now
12 / 12
You have finished lesson 711, Physical gas before netback: points, pipelines, transport contracts and the month's volumes.