Repository navigation
Codex Logic 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.
- Link the blocks you want to watch to the monitor with the
Quanta Linker. - Every 20 ticks the monitor reads every linked block: energy generated and consumed per tick, energy stored and capacity.
- It adds them up. The stored level is the energy in the linked stores in percent of their capacity.
- 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.
- 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."
- 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.
- 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. |
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.
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.
- 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.
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.
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.
The monitor needs no energy.
| Glass Pane | Redstone Comparator | Glass Pane | ||
| → |
||||
QNet Codex
Getting Started
- Welcome to QNet
- The First Machines
- Tiers and Components
- Energy, Fluids and Gases
- Building Plants
- The Quanta Linker
- Teams and Rights
- Upgrades and Plant Modules
Energy
- Energy Overview
- Basic Dynamo
- Thermoelectric Generator
- Stirling Generator
- Geothermal Heat Exchanger
- Solar Array
- Wind Turbine
- Solar Thermal Field
- Industrial Boiler
- Steam Turbine
- Gasifier
- Natural Gas and the Gas Derrick
- Gas Engine
- Gas Turbine
- Fission Reactor
- Nuclear Fuel Cycle
- Advanced Reactor Model
- Centrifuge Cascade
- Tokamak
- Little Star
- Micro Black Hole Plant
- Hawking Reactor
- Capacitor Bank
- Battery Hall
- Molten-Salt Store
- Gravity Store
- SMES
- Dimensional Store
- Process Heat
- Electric Heater and Heat Exchanger
- Incidents and Safety
- Radiation
Processing
- Crusher
- Induction Furnace
- Metal Former
- Assembler
- Plant Processor
- Farming Station
- Tree Harvester
- Electrolyzer
- Air Separator
- Chemical Reactor
- Industrial Centrifuge
- Crystallizer
- Tunnel Furnace
- Foundry
- Chemical Plant
- Assembly Complex
- Agricultural Facility
- Particle Facility
- Quantum Facility
- Matter Reconstructor
- Deep Core Extractor
- Plant Speed Modules
- Materials and Recipes
Rift
- The Rift
- Building the Complex
- Structure Parts
- Rift Gate Assembly
- Power Injection Array
- Stabilization Tower
- Coordinate Computation Array
- Dimensional Observatory
- Extraction Array
- Matter Receiving Facility
- Linking the Complex
- Running the Rift
- The Rift Console
- Research and Signals
- The Research Tree
- Mining
- Sectors and Diminishing Returns
- The Job Program
- Rift Map Table
- Command Terminal and Monitors
- Rift Materials
Storage
- The Storage Network
- Storage Controller
- Storage Units
- Storage Access Terminal
- Storage Interface
- External Storage Interface
- Bulk Tank
- Warehouse
- Linking Storage
Logic
Reference
Items and Blocks
- Advanced Circuit
- Ash
- Basic Circuit
- Bio Fertilizer
- Biomass
- Block Die
- Block Mold
- Casting Basin
- Charged Quantum Crystal
- Coal Dust
- Conductive Alloy Ingot
- Conveyor
- Copper Coil
- Copper Dust
- Copper Plate
- Copper Wire
- Creative Battery
- Creative Gas Tank
- Deepslate Lead Ore
- Deepslate Lithium Ore
- Deepslate Uranium Ore
- Efficiency Upgrade
- Emergency Vent
- Energy Cell
- Energy Transformer
- Exotic Matter
- Field Emitter
- Field Stabilizer
- Fluid Tank
- Gas Compressor
- Gas Tank
- Gear Die
- Gear Mold
- Generator Coil
- Gold Dust
- Gold Plate
- Heat Exchanger Tubes
- Induction Coil
- Industrial Frame
- Ingot Mold
- Iron Dust
- Iron Plate
- Irradiated Residue
- Laser Optic
- Block of Lead
- Lead Ingot
- Lead Ore
- Lithium Carbonate
- Lithium Dust
- Lithium Ore
- Machine Frame
- Nugget Mold
- Parallel Upgrade
- Pattern Card
- Plant Fiber
- Plate Die
- Plate Mold
- Polymer Sheet
- Precision Alloy Ingot
- Precision Frame
- Pump
- Quanta Linker
- Quantum Crystal
- Quantum Frame
- Quantum Processor
- Range Upgrade
- Raw Lead
- Raw Lithium
- Raw Uranium
- Refractory Bricks
- Rod Die
- Rod Mold
- Rotor Blade
- Rotor Shaft
- Sensor Module
- Servo Motor
- Silicon
- Silicon Boule
- Silicon Wafer
- Solidified Melt
- Speed Upgrade
- Stabilized Matter
- Steel Blend
- Steel Dust
- Steel Gear
- Steel Ingot
- Steel Plate
- Steel Rod
- Superconductor Wire
- Uranium Dust
- Uranium Ore
- Wire Die
- Yield Upgrade