Skip to content

Codex Logic Grid Monitor

CaptainGummiball edited this page Nov 10, 2026 · 1 revision

Grid Monitor

The Grid Monitor watches your energy grid: what is generated, what is consumed and how full your stores are. When the stores run low, it pauses the consumers you can do without (load shedding), so the important machines keep running. It also gives a redstone signal.

How it works

  1. Link the blocks you want to watch to the monitor with the Quanta Linker.
  2. Every 20 ticks the monitor reads every linked block: energy generated and consumed per tick, energy stored and capacity.
  3. It adds them up. The stored level is the energy in the linked stores in percent of their capacity.
  4. Below threshold A it pauses the deferrable consumers, below threshold B also the normal ones. Critical consumers are never paused.

It watches at most logic.gridMonitorLinks (default 64, allowed 1–256) blocks and reads only blocks in loaded chunks; it never loads a chunk.

Linking

  1. Use the linker on the monitor: "Grid Monitor selected (0 / 64 linked). Click blocks to link or unlink them; sneak-click the monitor to finish."
  2. Use it on every block you want to add. A click on a linked block removes it again. A click on a port of a plant links the plant's controller.
  3. Sneak-use the linker on the monitor: "Linking finished."

The blocks must be in the same dimension and within 96 blocks of the monitor. Linking needs the admin role at the monitor (and at storage blocks with an owner).

Message Meaning
… linked (3 / 64). The block was added.
… unlinked (2 / 64). The block was linked already and is removed.
This block has no energy the Grid Monitor can read. The block stores no energy, for example a casing or a chest.
The Grid Monitor watches at most … blocks. The monitor is full.
Too far: … blocks, at most …. The block is out of range.
The selected Grid Monitor is gone or not loaded. Select the monitor again.
The selected Grid Monitor is in another dimension. Use a monitor in this dimension.

Kinds of blocks

The monitor sorts every linked block by itself:

Kind Which blocks Shown in the list
generator blocks that report a power output generation
reactor the Fission Reactor, the Tokamak, the Micro Black Hole Plant and the Hawking Reactor generation
store Energy Cell, Creative Battery, Battery Hall, Capacitor Bank, SMES, Gravity Store, Dimensional Store stored level
consumer everything else of QNet with energy, for example machines and plants consumption
foreign energy blocks of other mods stored level

Generation and consumption come from what the machines themselves produced and used, so every QNet block is measured the same way. Foreign blocks only report their stored energy and capacity; they count toward the stored level.

Note

Without stores nothing is shed The stored level only counts stores and foreign energy blocks. If none is linked, the monitor shows "-" and never pauses anything.

Load shedding

Every consumer in the list has three priority buttons:

Button Priority Paused
K Critical never
N Normal below threshold B
D Deferrable below threshold A

A new link starts as Normal. Thresholds start at A = 30 % and B = 10 %; B is never above A. A stage only ends 5 points above its threshold, so machines do not switch on and off all the time.

Only blocks that can be paused are paused: the single processing machines, the Farming Station and the Tree Harvester, the processing plants (Foundry, Tunnel Furnace, Chemical Plant, Assembly Complex, Agricultural Facility, Particle Facility, Quantum Facility, Matter Reconstructor, Deep Core Extractor, Centrifuge Cascade) and the Factory Controller. Generators, stores and reactors never pause.

A paused single machine shows "Paused by redstone" in its status line and keeps its progress. A paused Quantum Facility still pays the hold power of a built field. The pause is renewed every 20 ticks and ends by itself 2 seconds after the monitor stops renewing it, so a broken or unloaded monitor never leaves a machine stopped.

The screen

  • Title bar with a lamp: green, yellow (deferrable consumers paused) or red (normal ones too).
  • Generation, Consumption, Balance (generation minus consumption, green or red) and Stored (level in percent and amount).
  • Shedding: thresholds A and B with - and + (steps of 5, with Shift steps of 1) and what is active: "active: none", "D paused" or "D + N paused".
  • Redstone: click to switch the mode.
  • Stored, last 5 minutes: the stored level as a graph with both thresholds; one point every 5 seconds, 60 points.
  • Blocks (3 / 64): the linked blocks, five rows, scrollable. Each row shows the name, the value of its kind ("not loaded" for blocks in unloaded chunks), the priority buttons for consumers and x to unlink. A paused block's name turns yellow; its tooltip says "At … - paused by load shedding".

Viewers can look; changing anything needs the admin role.

Redstone

The monitor gives a signal on every side:

Mode Signal
stored % 0 to 15 by the stored level (0 without stores).
shedding 15 while anything is paused.
balance < 0 15 while more is consumed than generated.

Tip

Start a backup generator Set the mode to "balance < 0" or "shedding" and lead the signal to a generator that runs with a signal: it starts only when your grid needs it.

In the world

The needle of the gauge on the desk follows the stored level, from empty on the left to full on the right. The class lamps show the shedding stage.

Building it

The monitor needs no energy.

Glass Pane Redstone Comparator Glass Pane
→ Grid Monitor

QNet Codex

Getting Started

Energy

Processing

Rift

Storage

Logic

Reference

Items and Blocks

Clone this wiki locally