zones¶
Safety zones: a network node and a radius that a MOTION block's or a tending group's zone.name binds to; a worker inside slows the robot to its collaborative speed.
In the model file this key holds a list of zone entries, each named by its name.
A scenario, an experiment or an optimizer can set a field by the path zones.<name>.<field>.
Typical uses¶
These sections describe things that move and the floor they move on. network is a path network of nodes and segments. fleets are pools of vehicles or workers that carry entities on it. chargers recharge batteries. motion_profiles and zones describe robots and their safety areas. Use them when distances and travel times matter.
Behaviour and rules¶
Travel time is exact geometry: the shortest path on the network divided by the speed. A segment can limit the speed. The length_factor scales straight-line distances for a segment with no length of its own. A node is named by a STATION through its node.
A fleet is a resource under its own name. A TRANSPORT block requests one of its vehicles, which drives empty to the entity, loads, drives loaded to the destination and unloads. dispatch decides whose request is served when a vehicle frees, and select decides which idle vehicle serves it. With park set to home, an idle vehicle drives back to its home node.
A fleet with kind set to worker supplies people to PROCESS and SEIZE blocks through worker_fleet. A fleet with a battery drains it at its power draw and recharges at a charger when its job is done. A fleet with motion set to gantry ignores the network. A motion profile gives a robot its speed, acceleration, payload derating and a collaborative speed. A zone slows a robot to that speed when a worker is inside.
Fields¶
| Field | Type | Required | Default | Unit | Description |
|---|---|---|---|---|---|
name |
string | yes | The zone's name, the zone.name of a MOTION block. |
||
description |
string | What the zone protects; the run does not read it. | |||
node |
string | yes | The network node the zone is around. | ||
radius_m |
number | yes | length | Metres, > 0; a worker this close or closer is inside. | |
measure |
choice | "path" |
"path": the walk along the network; "straight": the straight line between the worker's floor point and the node, as a safety laser scanner measures it. One of path, straight. |
A field of a nested object is described in the JSON Schema (naga schema).
Example¶
The fragment refers to entries that are defined elsewhere in the same file:
{"network": {"nodes": [{"name": "A", "x": 0, "y": 0}, {"name": "B", "x": 20, "y": 0}], "segments": [{"from": "A", "to": "B"}]}}
The fragment:
{"zones": [{"name": "Cell", "node": "A", "radius_m": 2.0}]}
In the Python builder:
from nagasim import build as nb
m = nb.Model()
m.add_zone(name='Cell', node='A', radius_m=2.0)
Used in¶
Bundled models: Automation floor (robot cells, AMR, palletiser).
Guides: Motion cycles.