Work with blocks
A block is one production unit. You choose its goals, recipes, machines, and constraints; PyOps calculates the rates, building counts, power, pollution, and flows across its boundary.
Blocks do not need to match one physical building. A block can represent one recipe, a complete production chain, or a section of the factory you want to build and operate as a unit.
Organize blocks
Use the folder button in the Blocks sidebar to group related production units. Drag an existing block onto a folder to move it. To start in the right place, right-click a folder and select New block here. The main New block button continues to create blocks under Ungrouped. After creation, the sidebar clears its filter, expands that section, and scrolls the new block into view.
Set goals and rates
Select New block, then use + goal to choose an item or fluid.
- The first goal starts at
1/s, names the block, and becomes its scaling anchor. - Select a displayed rate to edit it. Select its unit to work in
/s,/min, or/h. - Enter a negative rate when the block should consume that item or fluid rather than produce it. For example,
-10/minmakes the block consume at least 10 per minute. - Add more goals when the same production unit must guarantee several outputs.
- Drag a goal by its grip to reorder the goal tiles.
- Right-click a non-primary goal and select Move to front (names the block) to make it the primary goal.
Use Copy goals in the Goal heading, open another block, and select Paste goals to reuse a set of targets. Pasted goals keep their rates, stock amounts, refill windows, and source order. They are appended after the destination's existing goals, so its primary goal does not change; goods already present are skipped. Recipes, machines, modules, and other block settings are not copied.
Right-click a goal and select Keep in stock instead (buffer, not throughput) when the intent is to refill a quantity over time rather than sustain a continuous rate. Stock-only production appears separately in Factory. The solver rate is always the stock amount divided by its refill window; an older saved rate cannot turn a buffer goal back into continuous production.
In the Goal heading, select the ∞ ongoing-mode control (tooltip: Ongoing throughput — click to make this a temporary campaign) when the block should make a finite amount and then stop, such as the first creature in an uplifting chain. The icon changes to a timer while the campaign is active. Set Make on each goal and the shared clock window. Select the window unit to cycle through seconds, minutes, and hours, using the same compact interaction as goal-rate units. PyOps derives ordinary per-second recipe, machine, fuel, power, and import rates from those values, so the temporary block participates in Factory exactly like other enabled production while it is active. Block balance shows the expected campaign total as the primary value for every import and export, with the smaller derived average rate directly beneath it in the same chip. Item logistics remain beneath the chip when enabled; fluids do not show belt logistics.
Use Expected when average yield is enough. Choose 90% confidence or 95% confidence to add an operational reserve for random finite results; the goal tile shows both the amount requested and the larger expected amount PyOps plans. Variable recipe rows show their result range and chance, and hovering the warning shows the expected total over the campaign. This reserve is a probability estimate, not a guarantee: Factorio can still produce an unusually unlucky run.
Select the checkmark (tooltip: Mark complete and remove this campaign from factory planning) after the finite target is crafted. PyOps disables the block so it no longer contributes to Factory or Factory Scenario, while retaining the campaign as history. Select the history icon to reactivate it if more are needed, or select the timer mode control to return to ongoing throughput while keeping the derived rate.
A negative goal is already the block's visible import contract, so Block balance does not repeat that good under Imports. Other ingredients the block needs still appear there. Electricity is listed first, followed by the remaining imports from highest to lowest rate. An alert beside an import means no other enabled block currently exports it. This is a planning cue rather than an error: raw resources and intentionally external supplies can remain unsourced. Right-click an import to jump to the blocks that do produce it.
Add recipes
Select a positive goal icon to open Recipes that make goal. A negative consume goal instead opens Recipes that consume goal. Ctrl+Click (or Command+Click) a goal icon to immediately add its highest-ranked currently unlocked recipe. This shortcut uses the same logistic-cost ordering as the picker and ignores barrel fill/empty recipes. Within a recipe row:
- Select an ingredient chip to find recipes that make that ingredient.
- Select a product chip to find recipes that consume that product.
- Alt+Click any item or fluid icon to open the Recipe explorer without leaving the current page. It shows the same Produced by and Consumed by lists as Explore, with producers ranked by ¥ per unit. Select an ingredient or product inside the dialog to keep walking the graph.
- Hover recipe, technology, and item details when you need the precise inputs, outputs, or unlock status.
- A probabilistic product shows its chance as a small percentage beneath its expected rate. Hover the product for its amount on success and expected amount per craft. The flask icon by the recipe rate summarizes every variable result in one tooltip.
The picker puts choices already unlocked in the synced save first, then recipes available later in the current planning horizon, and finally locked choices. It sorts each group by ascending estimated cost, so the first row is normally the cheapest recipe you can build right now. A recipe is available only when both its own research and at least one compatible building are available. Locked rows are disabled and name the missing recipe research or building research; recipes replaced by a TURD upgrade remain visible with their explanation. PyOps never adds a full chain without your choice.
Organize recipes into sub-blocks
Right-click a recipe name and select New sub-block from this row to start a named, collapsible group. Drag another recipe onto the sub-block header or one of its indented rows to add it. Drag the sub-block header to move the whole group together.
Grouping is visual by default and does not change the solve. Use the module control on the sub-block header when the grouped recipes should instead solve as a separate module with its own internal goals and a boundary contract for the parent block.
Choose machines, fuels, and modules
Each recipe row shows its selected machine and required building count.
- Select the machine to choose another compatible option.
- For a fuel-burning machine, select its fuel indicator to choose an allowed fuel. Its burnt result, such as Ash, can feed another recipe in the block. Right-click the burnt result and choose Make in this block (link production) to size the burners for that recipe instead of importing it.
- A "… burns to" recipe shows No building. It stands in for fuel burned in some burner elsewhere. To tie the result to a real boiler or furnace, choose the fuel on that row.
- Use the module control to fill module slots or override the block's preferred defaults. The picker offers only modules the building and recipe accept, in its own slots or in a beacon. A building with no effects allowed, such as Pyanodons' Assembling machine 2, shows no module control at all. In a project with quality, the picker also offers quality modules. Module auto-fill never adds them.
- Pyanodons shuts a machine down when its AM/FM beacons interfere: two beacons that share an AM or FM level, or two copies of one beacon. (With the
future-beaconssetting off, only beacons with the same AM and FM interfere.) The module control turns red with a warning icon, and the picker says Interference: Py disables this machine. In the AM/FM grid, variants that would interfere are struck through. The alien-life buildings Pyanodons exempts are never flagged.
Global preferred machines, fuels, fluid temperatures, and module-fill behavior live under Settings → Planning. A choice made directly on a recipe row overrides the relevant default for that row.
Run a recipe at higher quality
This appears only when the project's game data has quality, which needs the Quality mod. Pyanodons has no quality, so Py projects never show it.
- Right-click the recipe's icon or name and choose Quality….
- Under Runs at, pick the Lowest and Highest quality. The row runs once at each quality in that range, with the same machine and modules, and each quality gets its own machine count.
- Pick the quality of the Machine and of the Modules in the machine.
The row's range then shows under its rate, such as Normal → Legendary. Select it to open the editor again. A machine or module above normal shows its quality's icon in the bottom-left corner, as in the game. Reset to normal clears the row's quality.
Select the arrow next to the range to see each quality the row runs at. Each line shows how many buildings run at that quality, what they use, and what they make. Their output spreads across several qualities. In the game, an assembler runs one recipe quality, so these are the counts to build. Expand all in the recipe table header opens every quality row at once.
The editor warns, and the range turns amber, when:
- the quality effect does nothing, because the recipe's products can't get quality or the row already runs at the best quality you've unlocked;
- the row asks for a quality the planning horizon hasn't unlocked, so it plans at the best unlocked quality instead.
A recipe that always runs at normal, such as one with only fluid ingredients, has its range turned off. Its products can still come out at a higher quality.
Choose a fluid ingredient temperature
A fluid ingredient with more than one known produced temperature shows its accepted range inside the ingredient chip, such as ≥15°. Select that range to choose a concrete produced temperature, such as 250°, when the recipe should connect to a specific factory-wide fluid line. Select Recipe range to restore range-based matching. Fluids with only one producible temperature do not show a temperature label or control.
Select the star beside a produced temperature to make it that fluid's preferred default. A newly added compatible recipe row or fluid goal starts pinned to that temperature—for example, favorite 250° Steam and 15° Water for ordinary lines. The favorite does not rewrite existing rows or goals, and a recipe whose accepted range excludes it stays on the recipe range until you choose another temperature.
A fluid goal with several producible temperatures has the same clickable temperature text beneath its rate. Choose an exact value to require that output variant, or choose Goal range to allow any temperature in the displayed range. Fluids with only one producible temperature need no goal control.
The choice is stored on that recipe row; it does not change the Factorio recipe or create a new fluid prototype. PyOps treats the selected flow as an exact (fluid, temperature) identity when solving the block and matching it to supplier blocks. The block's Imports and Exports chips show the resulting exact temperature or accepted range as part of the boundary contract.
Fractional building counts are exact capacity requirements. 0.5 means half of one machine's capacity; 5.2 means five machines are insufficient and six provide spare capacity. PyOps leaves the construction decision visible instead of rounding the solve.
A row's power is what those buildings draw in game. Each electric machine draws its working power, scaled by its modules and beacons, plus a fixed drain that modules never change. Most crafting machines drain 1/30 of their working power. The drain counts once for every building you place, so a 5.2 row pays drain on six machines, because an idle machine still draws it. A machine that runs on a heated fluid, such as Py's compost plant on sweet syrup, shows no power figure. Its fuel chip shows the fluid it drains instead.
With Logistics belts or inserters switched on, each item on a recipe row shows the belts that carry the row's whole flow and the inserters or loaders one building needs. Ingredient counts assume inserters take items off the selected belt; product counts assume they drop items onto it. Dropping onto a belt is slower for large hands, so a row often needs more output inserters than input inserters. Hand sizes include the inserter's built-in bonus and the stack research in the planning horizon. A crane counts as the upgraded tier that research swaps in, so Crane MK 03 with bulk capacity +3 carries 24 items.
These rates follow in-game measurements. A big hand takes one belt stack per grab, so it fills faster on a stacked belt, and a faster belt doesn't always help: a Py stack inserter takes 17.2/s off a stacked fast belt but 18.9/s off a stacked transport belt. When the game varies, the count takes the slower case. It can ask for a few more input inserters than you need, and it is never more than about 3% optimistic. Cranes need the most margin: one whose pickup point sits upstream of its body (turned the other way along the belt) runs 10–30% faster than the count assumes.
With Logistics → Robots switched on, each item the block imports or exports, including a goal, shows the logistic robots that move it. The Block balance card adds a strip with the block's total. Pick the robot and the roboport it charges at in the Robots section of the Logistics dialog, and set Trip distance to the usual one-way flight in tiles, from the provider chest to the requester chest. A robot carries a full load out and flies back empty. A load is never more than one stack, so an item with a small stack size needs more robots. The count includes the detour to a roboport and the time a charging pad takes to refill the robot. Busy roboports can queue robots, so treat the count as slightly low. Robot speed and cargo research come from your save over the in-game link; without the link the count assumes none.
A block far from the rest of the factory can use its own distance. Select Set distance in its robot strip and enter the tiles. The override saves with the block and shows a blue border. Select Default to go back to the factory distance. Fluids get no robot count.
When Logistics → Inserters / loaders is enabled, an amber hammer and a second count can appear beneath the solved building count. It is the suggested physical build count: the selected movers, item inputs and outputs, fuel, burnt results, and active fluid connections need more adjacent access positions than the capacity-rounded buildings provide. The estimate uses the selected machine's footprint and increases the whole-building count until those connections fit around its perimeter.
This is a conservative loading estimate, not a generated layout. It does not prove that belts and pipes can reach every access position, account for beacon spacing, or model direct insertion and circuit-controlled sharing. Hover the badge to see the footprint, position budget, and selected mover used by the estimate. Machine footprints populate during Settings → Data sync; an existing project may need one sync before the badge appears.
Read the result
The Block balance card summarizes:
- whether the selected goals and constraints solve;
- energy and pollution totals;
- goods entering as imports;
- goods leaving as goals, surplus, or byproducts.
Select an exported good to add a recipe that consumes its surplus inside the block. The selected consumer runs as part of the chain, including when one of its products feeds back into another recipe in the block.
The recipe table explains how that result was produced. Table is the editing view; Flow is a diagram of the same solved recipes and goods: imports enter on the left, the goal output and byproducts leave on the right, link thickness tracks each flow's rate, and recycle loops draw as dashed back-edges. Electricity, heat, and fuel link to the recipes whose buildings use them, and burnt results such as ash link from the recipes that burn the fuel. It behaves like the factory board:
- Drag a node to arrange the chain; positions are saved per block and restored on the next visit. Auto-arrange (⊞) recomputes the layout and clears them.
- Scroll to zoom, drag the background to pan, and use Fit (⛶) to frame everything.
- Hover a node to light up only its links, or a link for the good and rate under the cursor.
- Select a recipe node to jump back to its row in the table.
Nodes you have not moved are placed by the layered layout, and a recipe you remove drops its saved position with it.
Variable generators show their average planned output and their minimum–maximum range on the electricity product chip. Building counts and block balances use the displayed average; the range shows how far live generation can move as the underlying surface condition changes. Solar panels plan at their Nauvis full-day average, 70% of their noon rating, with a range from nothing at night to the full rating at noon. The average assumes the night's shortfall is covered elsewhere; it does not size accumulators.
A solved block is not necessarily self-contained
A block can solve while importing ingredients. This is intentional: the block boundary defines what another block or the existing factory must supply. Continue with Block boundaries to control that behavior.
Plan science consumption
Research is a consumer, not a recipe: one bank of labs eats every science pack at once. Use the flask control beside New block to create the project's science block. There is one per project, so the button reports This project already has its science block once it exists.
The block asks for three things:
- Lab — which lab prototype the bank is built from. Its research speed and power draw size the pool.
- Lab-seconds per pack — how long one lab spends on a single pack. Pack rates alone cannot size the bank, because
10 / 5 / 1could be one technology's ratio or three different ones running together. - Science per minute — the rate you want for each pack. These are the plan.
The result reads back the pool size, the total science rate, power, and the productivity applied to it. Research speed and Research productivity are the lab bonuses your technologies give. Research speed cuts the lab count. Research productivity adds to module productivity, so it cuts both the lab count and the packs drawn. PyOps reads both bonuses from the game while the mod is linked and keeps the last values it saw when it is not. A project that never synced uses no bonus. Imports the factory must supply is what the rest of the factory has to deliver: your rates divided by productivity.
Labs are one pool. Asking for 40 automation science and 20 logistic science per minute needs the labs for 60 packs a minute, not the two figures added as separate banks.
Derive rates from a technology
Select Derive from a technology when you would rather describe the target as research than as rates. Pick a technology, set how many minutes it should take, and the dialog previews the per-pack rates and the lab-seconds that follow from its cost. Use these rates writes those numbers into the fields.
This is a calculator. No technology is stored on the block, so the plan does not change when that research finishes—come back and derive again to move to the next target.
Apply modules and beacons to the bank
Select the Effects control to open the same module and beacon picker recipe rows use. A lab with no module slots of its own can still be covered by a beacon, so the picker stays available; the palette is empty because nothing can be inserted directly. Pyanodons' lab accepts only vatbrain modules, so the picker offers no modules for ordinary beacons. Add the Vatbrain biocomputer as the beacon and choose a vatbrain tier: its 900 kW counts toward the bank's power, and the brain cartridges it burns show as upkeep.
Set shared by to the number of labs each beacon building actually covers. Every lab still receives the full effect—the setting divides the buildings you place and their power, and it is what makes one beacon serving a whole lab row cost one building instead of dozens.
Where a beacon has to be fed to run, its consumption appears as Upkeep in items per minute alongside the beacon buildings.
Disable a block without deleting it
Use the power control in the block toolbar to disable a block. Its recipes and settings remain saved, but Factory and other whole-plan views exclude it. Re-enable it when the production unit should participate in the plan again.
When the solve is infeasible
Read the diagnosis in Block balance before adding more recipes. Typical conflicts are:
- a goal with no recipe that makes it;
- a good marked for in-block production without an enabled producer;
- an exact building-count pin that conflicts with a goal;
- multiple constraints demanding incompatible rates in a cyclic chain.
Use the suggested fixes in the diagnosis. Removing constraints one at a time is usually more informative than adding every candidate recipe.