MiniCTRMSearch

MiniCTRM - Build Tutorial 664: Natural gas storage: capacity, rates, fees and the inventory

→ 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 STORAGE trade type at a storage location of the Pipeline, Zone and Location hierarchy, with its capacity, rate steps and schedule, an inventory by day and month that refuses in plain words what the facility cannot hold, its demand charge and injection and withdrawal fees as fees, fuel kept in gas, and its ticket and blotter line, pinned on one worked contract.

  • Facilities, rates and charges – Working gas, capacity, injection and withdrawal rates, ratchets, the storage year, and what a contract costs.
  • Build it – The checklist first, then the contract, the inventory and its limits, the charges, and the ticket and blotter.
  • Ship it – Quick CI, a pull request, a squash merge.
  • How MiniCTRM did it – New Storage: Inject and Withdraw legs, MSQ, MDIQ and MDWQ, the Daily Volumes tab and the Fees tab.

Before you start

The lessons this one builds on: 524 Commodities are local: why a commodity system does not travel, and how to make yours, 544 Pipeline, Zone and Location: where physical gas changes hands, 545 The second trade type: physical natural gas, 601 Valuation and reports: mark-to-market, valuation runs, position, day-over-day change, 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

Room for gas, rented by the year

1 / 12
Room for gas, rented by the year
Facilities, rates and charges

What a storage contract holds

2 / 12
What a storage contract holds
Facilities, rates and charges

What it costs: demand, fees and fuel

3 / 12
What it costs: demand, fees and fuel
Facilities, rates and charges

One contract, worked by hand

4 / 12
One contract, worked by hand
Build it

The checklist first

5 / 12
The checklist first
Build it

The contract at a storage location

6 / 12
The contract at a storage location
Build it

The inventory and its limits

7 / 12
The inventory and its limits
Build it

The demand charge, the fees and the fuel

8 / 12
The demand charge, the fees and the fuel
Build it

The ticket and the blotter line

9 / 12
The ticket and the blotter line
Ship it

Ship it

10 / 12
Ship it
How MiniCTRM did it

New Storage in MiniCTRM

11 / 12
New Storage in MiniCTRM
What you have now

What you have now

12 / 12
What you have now

You have finished lesson 664, Natural gas storage: capacity, rates, fees and the inventory.

Where next?

← → move · N notes · Home / End