# Block reference

One page per block type, from `nagasim/core/block_registry.py`: what it does, its ports and parameters, the result frames it fills, the checks that name it, and an example that runs when the page is generated. Types marked *editor-only* never run: the engine flattens them away before a run.

| Block | Family | What it does |
|---|---|---|
| [ASSIGN](assign.md) | data | Sets attributes on a part, order or customer, or a model variable, from expressions as it passes, for example a due date, a type or a counter. |
| [BATCH](batch.md) | group | Groups parts or orders into batches, pallets or lots of a set size, or after a maximum wait, and sends the batch on as one entity. |
| [BUFFER](buffer.md) | move | Finite storage of waiting places between two machines or stations; when all places are taken the upstream machine stays blocked, holding its finished part. |
| [CHARGE](charge.md) | work | Charges an entity (an electric vehicle, a battery pack) with the energy it needs at up to its own power, sharing a site power cap with every other entity at this block; it leaves when full or when its time is up. |
| [CONVEYOR](conveyor.md) | move | Conveyor belt that carries parts from one end to the other at a set speed, holds a limited number, and blocks the machine before it when full. |
| [CONVEYOR_TRANSFER](conveyor-transfer.md) | move | Conveyor transfer module that moves each load onto one of several exits: a pop-up transfer, a turntable or a lift, busy until the load reaches the next conveyor's photo-eye. |
| [CREATE](create.md) | source | Source of arrivals: creates parts, orders, customers or jobs at random intervals or on an hourly arrival schedule. |
| [DECIDE](decide.md) | control | Routing decision: sends each part, order or customer down one of several links by percentage chance, by a condition (rework, type, size) or by a policy. |
| [DELAY](delay.md) | work | Pure waiting time (transit, curing, travel, a pause) that holds the entity for a sampled duration without using any machine, operator or other resource. |
| [DISPOSE](dispose.md) | sink | End of the flow: parts, orders or customers leave the system here, and their throughput time and holding cost are recorded. |
| [DUPLICATE](duplicate.md) | group | Makes copies of an entity, for example to model one job spawning several; the original goes on unchanged. |
| [HOLD](hold.md) | control | Holds entities waiting in a queue until a named signal fires, a condition becomes true (a buffer has room, a machine is idle), or for good. |
| [LOGIC](logic.md) | control | Custom routing written in Python: sends each entity to one of several outgoing links by your own rule when chance or a condition is not enough. |
| [MATCH](match.md) | group | Waits until one entity of each of several kinds is present (a part and its kit, an order and its customer), then releases them together. |
| [MOTION](motion.md) | work | Robot or cobot station whose service is a cycle of timed moves, picks, places and tool changes, so cycle time comes from motion data, not a distribution. |
| [PROCESS](process.md) | work | Machine, workstation or service step: a part, order or customer waits for a resource (machine, operator, server), is processed for a time, then frees it. |
| [RECORD](record.md) | stats | Counts or measures something as entities pass (a count, a time between arrivals, a defect, a cost) in a user-named statistic, without delaying them. |
| [RELEASE](release.md) | resource | Frees a machine, operator or other resource that an earlier SEIZE gave the entity, after an optional delay. |
| [ROUTE](route.md) | control | Sends a part or job to the next station on its own routing sequence (a job-shop or multi-step route) instead of along a fixed link. |
| [SEIZE](seize.md) | resource | Waits in a queue for a machine, operator, vehicle or other resource, takes it and keeps it until a later RELEASE, so one resource can span several steps. |
| [SEND](send.md) | control | Sends a message, with an optional payload, to agents of an agent-based model so they can react, for example a customer calling a driver. |
| [SEPARATE](separate.md) | group | Splits a batch, pallet or lot back into its individual parts, orders or customers, optionally copying the batch's attributes to each. |
| [SIGNAL](signal.md) | control | Broadcasts a named signal that releases every entity waiting at a HOLD block for it, for example a shift start, a gate opening or a green light. |
| [STATION](station.md) | move | Named stop on a job-shop or multi-step routing where a ROUTE block delivers parts, orders or jobs and sets their current location. |
| [SUBMODEL](submodel.md) | container | Editor-only blocks (SUBMODEL, SUB_ENTRY, SUB_EXIT) that group blocks into a reusable sub-model with named ports, expanded away before the run. (editor-only) |
| [SUB_ENTRY](sub-entry.md) | source | Editor-only blocks (SUBMODEL, SUB_ENTRY, SUB_EXIT) that group blocks into a reusable sub-model with named ports, expanded away before the run. (editor-only) |
| [SUB_EXIT](sub-exit.md) | sink | Editor-only blocks (SUBMODEL, SUB_ENTRY, SUB_EXIT) that group blocks into a reusable sub-model with named ports, expanded away before the run. (editor-only) |
| [TRANSFER](transfer.md) | move | Adds to or takes from a continuous tank, stock or inventory level (fuel, material, a pool) as the entity passes, optionally waiting until it is available. |
| [TRANSPORT](transport.md) | move | Moves a part, order or load between locations with a vehicle (truck, AGV, forklift, robot) from a fleet: fetch, carry, unload, free the vehicle. |
