Skip to content

Problem codes: Networks, fleets and automation

Path networks, fleets, workers, motion, batteries and chargers, the investment case and the dispatch plan. The list is generated from the codes' own table; the meaning is the table's sentence for the code.

Code Severity Meaning About
E_BATTERY error A fleet's battery has a non-numeric capacity_kwh, a fraction outside 0-1, low >= target, an unknown strategy, or lacks a field its strategy needs. On screen: "Fleet {fleet}: a battery setting is not valid" --
E_BATTERY_SCHEDULE error A fleet's battery names a schedule the model does not declare. On screen: "Fleet {fleet}: no schedule named {schedule}" schedules
E_CALENDAR_TIMEZONE error simulation.calendar names a timezone that is not an IANA name. On screen: "The calendar time zone is not valid" simulation
E_CHARGER error A charger has an empty, duplicate or already used name, an unknown node or kind, points < 1, power_kw <= 0, a knee, taper_floor or efficiency outside 0-1, or is a swap station without swap_time. On screen: "Charger {index} has no name or a repeated one" chargers
E_CHARGER_UNKNOWN error A fleet's battery names a charger the model does not declare. On screen: "Fleet {fleet}: no charger named {charger}" chargers
E_DISPATCH error The dispatch section is malformed (a missing tag list, a step, horizon or replan_every that does not fit, an unknown terminal or forecast, an unknown field), two flows hold the same grid role, a storage marked optimal has no dispatch section or no declared setpoint variable, or the section drives no storage. On screen: "The dispatch plan settings are not valid" --
E_DISTANCE_UNKNOWN error A DISTANCE("a", "b") call names a place with no network node. On screen: "{block}: no place named {name}" --
E_FLEET_ARM error A fleet's arm names an unknown motion profile, sits on a worker or gantry fleet or one with loads > 1, or exchange is set without an arm. On screen: "Fleet {fleet}: its arm setting is not valid" fleets
E_FLEET_FIELD error A fleet's count, speed, capacity or dispatching rule is missing or malformed. On screen: "Fleet {index} is not a valid entry" / "Fleet {name}: count must be a whole number, 1 or more" / "Fleet {name}: unknown kind {kind}" / "Fleet {name}: unknown capacity schedule {schedule_name}" / "Fleet {name}: speed is required" / "Fleet {name}: unknown rule {value}" / "Fleet {name}: speed must be above 0" fleets
E_FLEET_LOADS error A fleet's "loads" is not an integer >= 1, or is above 1 on a worker fleet. On screen: "Fleet {name}: loads must be a whole number, 1 or more" / "Fleet {name}: a worker carries one load at a time" fleets
E_FLEET_MOTION error A fleet's "motion" is not "network"/"gantry", a gantry's speed_x/speed_y/hoist_time is missing or invalid, or a gantry fleet is also kind "worker". On screen: "Fleet {name}: unknown motion type" / "Fleet {name}: a gantry crane cannot be a worker fleet" / "Fleet {name}: hoist time must be 0 or more" / "Fleet {name}: gantry speed must be above 0" MOTION, fleets
E_FLEET_NAME error A mover fleet has an empty or duplicate name, or one clashing with a resource. On screen: "A fleet has no name" / "Fleet {name} is defined twice" / "Fleet {name} clashes with a resource of the same name" fleets
E_FLEET_NODE error A fleet's home node is not a declared network node. On screen: "Fleet {name}: unknown home node {home}" / "Fleet {name}: the model has no path network" / "Fleet {name}: unit {i} has unknown home node {home}" fleets
E_FLEET_POWER error A fleet's "power" is not an object, or one of its values is not a number >= 0. On screen: "Fleet {name}: power must be a list of states" / "Fleet {name}: {state} power must be 0 or more" fleets
E_FLEET_UNITS error A fleet's "units" is not a list of named units with skill lists, has duplicate names, or disagrees with its count. On screen: "Fleet {name}: units need at least one entry" / "Fleet {name}: count {count} disagrees with {units} units" / "Fleet {name}: unit {i} is not a valid entry" / "Fleet {name}: unit {i} has no name" / "Fleet {name}: unit {i} skills must be a list" / "Fleet {name}: unit name {unit_name} used twice" fleets
E_FLEET_UNKNOWN error A TRANSPORT block names a fleet the model does not declare. On screen: "Block {block}: unknown mover fleet {fleet}" TRANSPORT, fleets
E_INVESTMENT error The investment section is not an object, names an unknown baseline scenario or throughput KPI, or has horizon_years or operating_hours_per_year <= 0, discount_rate < 0 or a margin_per_part that is not a number. On screen: "The investment section is not valid" / "Investment: no scenario named {name}" / "Investment: {setting} is not a valid number" / "Investment: no KPI named {name}" --
E_MOTION_PAYLOAD error A move's payload_kg is above its profile's or robot's payload_max. On screen: "{block}: a move carries more than the arm lifts" MOTION
E_MOTION_PROFILE error A motion profile has an empty/duplicate name, an unknown kind, speed or accel <= 0, a bad payload_max/payload_derate/collaborative_speed, or lacks the collaborative_speed an HRC block needs. On screen: "Motion profile {index} has no name or a repeated one" / "{block}: its motion profile needs a collaborative speed" MOTION, motion_profiles
E_MOTION_PROFILE_UNKNOWN error A MOTION block names a motion profile the model does not declare. On screen: "{block}: no motion profile named {profile}" MOTION, motion_profiles
E_MOTION_SEGMENT error A MOTION segment has an unknown kind or field, no distance/time, or a negative value; or the cycle has no segments. On screen: "{block}: a step of its cycle is not valid" MOTION
E_MOTION_ZONE error A MOTION block's hrc mode is unknown, or a separation zone names no network node, has radius_m <= 0 or an unknown measure. On screen: "{block}: its safety zone is not valid" / "{block}: hrc does not apply to robot moves" MOTION, zones
E_MOTION_ZONE_UNKNOWN error A MOTION block's zone names a zone the model does not declare under "zones". On screen: "{block}: no zone named {zone}" MOTION, zones
E_NETWORK_NODE error A network node has an empty or duplicate name, or a non-numeric coordinate. On screen: "Network node {index} is not a valid entry" / "A network node has no name" / "Network node {name} is defined twice" / "Network node {name}: capacity must be 1 or more, or empty" / "Network node {name}: {axis} must be a number" network
E_NETWORK_NODE_UNKNOWN error A block's "node" param names a node the network does not declare. On screen: "Block {block}: station {destination} is on no network node" / "Block {block}: unknown network node {node}" network
E_NETWORK_SEGMENT error A segment names an unknown node, joins a node to itself, or has a bad length, speed, capacity or direction. On screen: "Network segment {index} is not a valid entry" / "Network segment {index}: {a} joins itself" / "Network segment {index}: length must be above 0 or empty" / "Network segment {index}: speed must be above 0 or empty" / "Network segment {index}: capacity must be 1 or more, or empty" / "Network segment {index}: two-way must be true or false" / "Network segment {index}: {side} names no node" / "Network segment {index}: unknown node {value}" network
E_NETWORK_SHAPE error The "network" section is not an object, or length_factor is not > 0. On screen: "The network must be an object" / "Network: length factor must be above 0" network
E_NETWORK_UNREACHABLE error Two places the model travels between are joined by no path. On screen: "No path from {a} to {b}" network
E_TENDING error A STATION's tending group has a malformed segment, an unknown field, time unit, hrc mode, zone or cobot mode, an hrc mode the arm's profile has no collaborative_speed for, or the station has no node. On screen: "{block}: its machine tending settings are not valid" STATION
E_TRANSPORT_KEEP_ARM error A TRANSPORT keeps its vehicle (keep_vehicle) on a fleet with an arm; a cobot stays with its part through tending instead. On screen: "Block {block}: cannot keep the vehicle of arm fleet {fleet}" TRANSPORT
E_TRAVEL_MODE error A ROUTE/TRANSPORT travel mode is unknown, or needs a network the model does not declare. On screen: "Block {block}: unknown travel mode {mode}" / "Block {block}: network travel needs a path network" ROUTE, TRANSPORT
E_WORKER_FLEET error A SEIZE/PROCESS worker_fleet names no fleet of kind "worker". On screen: "Block {block}: {fleet} is not a worker fleet" PROCESS, SEIZE, fleets
E_WORKER_NO_NODE error A SEIZE/PROCESS with worker_fleet sits on no network node. On screen: "Block {block}: a worker is set but the block has no node" PROCESS, SEIZE
E_WORKER_PREEMPT error preempt is set on a block that summons a worker, or that seizes a resource a worker block also seizes. On screen: "Block {block}: preemption clashes with a worker fleet" --
E_WORKER_SKILL_UNKNOWN error A worker_skill that no unit of the worker fleet has. On screen: "Block {block}: no unit of {fleet} has skill {skill}" --
E_WORKER_WHEN_BLOCKED error worker_when_blocked is neither "leaves" nor "stays". On screen: "Block {block}: unknown blocked-worker mode {mode}" --
E_ZONE error A zone has an empty or duplicate name, a node that is not a network node, radius_m <= 0, a measure other than path/straight, or an unknown field. On screen: "Zone {index} has no name or a repeated one" zones
W_CONVEYOR_ZONE warning A literal leak zone covers no slat (round(startd) == round(endd)), so that leak never takes anything. On screen: "Flow {name}: leak zone covers no part of the belt" CONVEYOR, zones
W_DISPATCH_FORECAST warning A forecast flow's rate reads model state (a level, a flow, the bus, a resource), so the plan holds its current rate over the horizon. On screen: "Flow {flow} reads model state; the plan holds its rate" --
W_DISPATCH_MIXED warning A storage on the dispatched bus keeps its own rule; the plan does not see it. On screen: "Storage {name} keeps its own rule; the plan ignores it" --
W_INVESTMENT_NO_CAPEX warning The model has an investment section and no fixed cost flagged capex, in the model or in a scenario. On screen: "Investment: no fixed cost is marked as the investment" --
W_INVESTMENT_ONE_SCENARIO warning The model has an investment section and no scenario to compare with its baseline. On screen: "Investment: no scenario to compare with the baseline" scenarios
W_NO_CHARGER warning A battery fleet has no reachable charger of the kind its strategy needs. On screen: "Fleet {fleet}: no charger it can reach; it never charges" chargers
W_SEGMENT_DEADLOCK_RISK warning A two-way segment of capacity 1 on a network driven by more than one vehicle: two meeting head-on can deadlock. On screen: "Network segment {index}: vehicles meeting head-on would deadlock" --
W_TENDING_DEADLOCK warning One cobot both feeds and empties a tending station with no exchange and no finite space before the machine: it can wait loaded for a machine that waits to be emptied. On screen: "{block}: one cobot feeds and empties it; it will stall" --
W_TENDING_STAY warning A station keeps its cobot ("stay") but no TRANSPORT of an arm fleet carries the part on. On screen: "{block}: the cobot stays, but no arm fleet takes the part away" TRANSPORT
W_TENDING_UNUSED warning A station declares tending but no fleet has an arm. On screen: "{block}: no fleet has an arm; served as a plain station" --
W_TRANSPORT_KEEP_UNFREED warning Nothing downstream of a TRANSPORT with keep_vehicle frees the vehicle (no RELEASE naming the fleet, no TRANSPORT on it without keep_vehicle): it waits with the part until the part leaves. On screen: "Block {block}: nothing downstream frees the kept vehicle" RELEASE, TRANSPORT

How to fix

Each code with the usual remedy:

  • E_BATTERY: Correct the fleet's battery field the message names: capacity_kwh above 0, initial, low, target and opportunity_below between 0 and 1 with low below target, and a known strategy with the field it needs (opportunity_below or schedule).
  • E_BATTERY_SCHEDULE: Declare the schedule under schedules, or correct the name in the fleet's battery.schedule. A scheduled battery charges while that schedule's value is above 0.
  • E_CALENDAR_TIMEZONE: Set simulation.calendar.timezone to an IANA time zone name such as UTC, Europe/Rome or America/New_York, or remove it to use UTC.
  • E_CHARGER: Correct the entry under chargers the message names. It needs a unique name no resource or fleet uses, a declared network node, kind charge or swap, and integer points of 1 or more. Set power_kw above 0, fractions within 0-1, and swap_time on a swap station.
  • E_CHARGER_UNKNOWN: Declare the charger under chargers, or correct the name in the fleet's battery.chargers list. Drop the list to allow every charger of the matching kind.
  • E_DISPATCH: Fix what the message names under dispatch: non-empty supply_tags and demand_tags, a replan_every that is a multiple of step within horizon, known terminal and forecast. Keep one flow per grid role, and give every optimal storage a declared setpoint variable.
  • E_DISTANCE_UNKNOWN: Correct the place in the DISTANCE call to a node under network.nodes, or to a STATION block (or its station alias) whose node is set. Place names are case sensitive.
  • E_FLEET_ARM: Set the fleet's arm to a profile declared under motion_profiles, or remove arm from a worker fleet, a gantry fleet or one with loads above 1. Drop exchange on a fleet without an arm.
  • E_FLEET_FIELD: Correct the fleet field the message names: an integer count of 1 or more, kind vehicle or worker, and a speed above 0. Use known dispatch, select and park rules, and a capacity_schedule naming a schedule of kind capacity.
  • E_FLEET_LOADS: Set the fleet's loads to an integer of 1 or more, or drop it for 1. A fleet of kind worker carries one load at a time: drop loads there, or make the fleet kind vehicle.
  • E_FLEET_MOTION: Set the fleet's motion to network or gantry. A gantry fleet needs speed_x and speed_y above 0 and a hoist_time of 0 or more, and cannot be of kind worker.
  • E_FLEET_NAME: Give every entry under fleets a unique, non-empty name that no resource or resource set uses. A fleet is itself a resource, so do not also declare it under resources.
  • E_FLEET_NODE: Set the fleet's home, and each unit's home, to a node declared under network.nodes, or add that node. A fleet also needs a network section with nodes and segments to drive on.
  • E_FLEET_POWER: Write the fleet's power as an object of kW per vehicle for each state, such as {"busy": 5.0, "idle": 1.0}, with every value a number of 0 or more.
  • E_FLEET_UNITS: Make the fleet's units a non-empty list of objects, each with a unique name and a skills list of names. Drop count, or make it equal the number of units.
  • E_FLEET_UNKNOWN: Declare the fleet under fleets, or correct the TRANSPORT block's fleet parameter to a declared fleet name. Names are case sensitive.
  • E_INVESTMENT: Make investment an object whose baseline names a scenario (or is ""), with horizon_years and operating_hours_per_year above 0. Set discount_rate to 0 or more, a numeric margin_per_part, and a throughput KPI key such as user/Good parts.
  • E_MOTION_PAYLOAD: Lower the move segment's payload_kg to at most the profile's payload_max, raise payload_max on the motion profile, or point the MOTION block's profile at one rated for the load.
  • E_MOTION_PROFILE: Correct the entry under motion_profiles the message names: a unique name, kind robot, human or mechanism, speed and accel above 0, payload_derate in (0, 1]. Set collaborative_speed when a MOTION block uses an hrc mode.
  • E_MOTION_PROFILE_UNKNOWN: Declare the profile under motion_profiles, or correct the MOTION block's profile to a declared profile name. Names are case sensitive.
  • E_MOTION_SEGMENT: Give the MOTION block's segments at least one entry with a known kind. A move takes only distance_m (0 or more) and payload_kg; any other kind takes only a time, a non-negative number or an expression.
  • E_MOTION_ZONE: Set the MOTION block's hrc to none, collaborative or separation. For separation, name a zone from zones, or give the inline zone a network node, a radius_m above 0 and a measure of path or straight.
  • E_MOTION_ZONE_UNKNOWN: Declare the zone under zones, or correct the MOTION block's zone.name to a declared zone name.
  • E_NETWORK_NODE: Give every entry under network.nodes a unique, non-empty name, numeric x and y, and a capacity that is an integer of 1 or more or null.
  • E_NETWORK_NODE_UNKNOWN: Add the node under network.nodes, or correct the block's node parameter to a declared node. For a TRANSPORT destination, set the node of that STATION.
  • E_NETWORK_SEGMENT: Give each entry under network.segments a from and to naming two different declared nodes, and a length and speed above 0 or null. Its capacity is an integer of 1 or more or null, and two_way is a boolean.
  • E_NETWORK_SHAPE: Write network as an object with nodes and segments lists, and set length_factor to a number above 0 (1.0 is the straight-line distance) or remove it.
  • E_NETWORK_UNREACHABLE: Add segments under network.segments so a path joins the two places the message names, or make a one-way segment on the way two-way (two_way true).
  • E_TENDING: Correct the STATION's tending field the message names: only place, pick, time_unit, hrc, zone and cobot, with segments as in a MOTION block. Set cobot to leave or stay, collaborative_speed on the arm's profile for an hrc mode, and the STATION's node.
  • E_TRANSPORT_KEEP_ARM: Remove keep_vehicle from the TRANSPORT on the arm fleet. To keep a cobot with its part, set the station's tending cobot to stay instead.
  • E_TRAVEL_MODE: Set the ROUTE block's travel to time or network. For network, add a network section and give every STATION involved a node.
  • E_WORKER_FLEET: Point the block's worker_fleet at a fleet declared under fleets with kind worker, or set that fleet's kind to worker.
  • E_WORKER_NO_NODE: Set the block's node parameter to the network node the worker walks to, or clear worker_fleet on the block.
  • E_WORKER_PREEMPT: Clear preempt on the block. A block with worker_fleet cannot preempt, and no preempting block may seize a resource (or resource-set member) that a worker block also seizes.
  • E_WORKER_SKILL_UNKNOWN: Add the skill to the skills of a unit in the worker fleet's units, or correct the block's worker_skill. Skill names are case sensitive.
  • E_WORKER_WHEN_BLOCKED: Set the block's worker_when_blocked to leaves or stays, or remove it to use the default leaves.
  • E_ZONE: Give every entry under zones a unique name, a node declared under network.nodes, a radius_m above 0 and a measure of path or straight. Remove any other field except description.
  • W_CONVEYOR_ZONE: Widen the flow's leak.zone so it covers at least one slat of the belt, or use a smaller dt for more slats. As it is, the leak never takes anything.
  • W_DISPATCH_FORECAST: Write the flow's rate from time and time series only, without reading levels, flows, resources or the bus, so the plan can forecast it. If holding the current rate over the horizon is intended, the warning can stay.
  • W_DISPATCH_MIXED: Mark the level's storage as optimal, with a declared setpoint variable, so the plan drives it. If the storage should keep its own rule, the warning can stay.
  • W_INVESTMENT_NO_CAPEX: Set "capex": true on the entries under fixed_costs that are the investment, in the model or through a scenario override of fixed_costs.<name>.capex.
  • W_INVESTMENT_ONE_SCENARIO: Add a scenario under scenarios to compare with the investment.baseline. With only the baseline, the investment case has nothing to compare.
  • W_NO_CHARGER: Add a charger under chargers of the kind the strategy needs (swap for swap, else charge) on a node the fleet can reach from its home. Or join the charger's node to the network, and check the battery's chargers list allows it.
  • W_SEGMENT_DEADLOCK_RISK: Make the segment one-way (two_way false), give it a capacity of 2 or more, or add a passing place. If vehicles never meet head-on there, the warning can stay.
  • W_TENDING_DEADLOCK: Raise the arm fleet's count above 1, set exchange on the fleet, put a BUFFER before the machine, or set the station's tending cobot to stay.
  • W_TENDING_STAY: Set the station's tending cobot to leave, or carry the part on from the station with a TRANSPORT on the same arm fleet.
  • W_TENDING_UNUSED: Set arm to a motion profile on the fleet that tends the station, or remove tending from the STATION. Without an arm fleet it is served as a plain station.
  • W_TRANSPORT_KEEP_UNFREED: Add a RELEASE naming the fleet where the vehicle should go free, or a later TRANSPORT on that fleet without keep_vehicle. Otherwise drop keep_vehicle from the block.

All problem codes