MiniCTRMSearch

MiniCTRM - Build Tutorial 665: Natural gas transportation: paths, fuel in kind, reservation and usage

→ 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

A TRANSPORTATION trade type with its contract, its pairs and a path that must connect, MDQ as its volume type, firm and interruptible service, fuel retained in kind pinned to the unit, the reservation and usage charges as fees pinned to the cent, a ticket with a path line, and its line on the blotter.

  • Capacity, fuel and the two charges – Firm and interruptible, MDQ, a path of From/To pairs, fuel in kind, reservation and usage, and one contract worked by hand.
  • Build it – The checklist first, then the contract and its path, the month's volumes, the two charges, and the ticket and blotter.
  • Ship it – Quick CI, a pull request, a squash merge.
  • How MiniCTRM did it – The New Transportation ticket: From/To pairs, Fuel %, MDQ, the Contract block and the Fees tab.

Before you start

The lessons this one builds on: 522 Designing the deal model: how to tell Claude what you want, 544 Pipeline, Zone and Location: where physical gas changes hands, 545 The second trade type: physical natural gas, 612 Operations: confirms, invoices and operational events, 658 Adding a new trade type to a live system: the master checklist.

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

Gas needs a ride

1 / 11
Gas needs a ride
Capacity, fuel and the two charges

Capacity, a path and fuel

2 / 11
Capacity, a path and fuel
Capacity, fuel and the two charges

One contract, worked by hand

3 / 11
One contract, worked by hand
Build it

The checklist first

4 / 11
The checklist first
Build it

The contract and its path

5 / 11
The contract and its path
Build it

The month's volumes and the position

6 / 11
The month's volumes and the position
Build it

Reservation and usage, as fees

7 / 11
Reservation and usage, as fees
Build it

The ticket and the blotter

8 / 11
The ticket and the blotter
Ship it

Ship it

9 / 11
Ship it
How MiniCTRM did it

Transportation in MiniCTRM

10 / 11
Transportation in MiniCTRM
What you have now

What you have now

11 / 11
What you have now

You have finished lesson 665, Natural gas transportation: paths, fuel in kind, reservation and usage.

Where next?

← → move · N notes · Home / End