MiniCTRMSearch

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.

Before you start

The lessons this one builds on: 522 Designing the deal model: how to tell Claude what you want, 541 Reference data and the interactive Data Model, 542 Market data: forward curves, FX, settlement prices and closes, 544 Pipeline, Zone and Location: where physical gas changes hands, 545 The second trade type: physical natural gas, 623 Integrations: CSV in and out, feed adapters and the API, 665 Natural gas transportation: paths, fuel in kind, reservation and usage.

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 / 12
A molecule, a pipe, and the month it moved in
What MiniCTRM keeps, and what it leaves to a statement

What MiniCTRM keeps, and what it leaves to a statement

2 / 12
What MiniCTRM keeps, and what it leaves to a statement
What you need first

What you need first

3 / 12
What you need first
A pipeline to a desk

A pipeline to a desk

4 / 12
A pipeline to a desk
Segments and transport contracts

Segments between the locations

5 / 12
Segments between the locations
Segments and transport contracts

Routes under the transport contract

6 / 12
Routes under the transport contract
The month's volumes, and the checks that close it

The month's volumes

7 / 12
The month's volumes
The month's volumes, and the checks that close it

The checks that close a month

8 / 12
The checks that close a month
Ship it

Ship it

9 / 12
Ship it
How MiniCTRM did it

NatGas Nominations and the NatGas Scheduling board

10 / 12
NatGas Nominations and the NatGas Scheduling board
How MiniCTRM did it

NatGas Allocation, and a pro-rata rule of its own

11 / 12
NatGas Allocation, and a pro-rata rule of its own
What you have now

What you have now

12 / 12
What you have now

You have finished lesson 711, Physical gas before netback: points, pipelines, transport contracts and the month's volumes.

Where next?

← → move · N notes · Home / End