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'sbatteryfield the message names:capacity_kwhabove 0,initial,low,targetandopportunity_belowbetween 0 and 1 withlowbelowtarget, and a knownstrategywith the field it needs (opportunity_beloworschedule).E_BATTERY_SCHEDULE: Declare the schedule underschedules, or correct the name in the fleet'sbattery.schedule. A scheduled battery charges while that schedule's value is above 0.E_CALENDAR_TIMEZONE: Setsimulation.calendar.timezoneto an IANA time zone name such asUTC,Europe/RomeorAmerica/New_York, or remove it to use UTC.E_CHARGER: Correct the entry underchargersthe message names. It needs a uniquenameno resource or fleet uses, a declared networknode,kindchargeorswap, and integerpointsof 1 or more. Setpower_kwabove 0, fractions within 0-1, andswap_timeon a swap station.E_CHARGER_UNKNOWN: Declare the charger underchargers, or correct the name in the fleet'sbattery.chargerslist. Drop the list to allow every charger of the matching kind.E_DISPATCH: Fix what the message names underdispatch: non-emptysupply_tagsanddemand_tags, areplan_everythat is a multiple ofstepwithinhorizon, knownterminalandforecast. Keep one flow per grid role, and give everyoptimalstorage a declaredsetpointvariable.E_DISTANCE_UNKNOWN: Correct the place in theDISTANCEcall to a node undernetwork.nodes, or to a STATION block (or itsstationalias) whosenodeis set. Place names are case sensitive.E_FLEET_ARM: Set the fleet'sarmto a profile declared undermotion_profiles, or removearmfrom a worker fleet, a gantry fleet or one withloadsabove 1. Dropexchangeon a fleet without anarm.E_FLEET_FIELD: Correct the fleet field the message names: an integercountof 1 or more,kindvehicleorworker, and aspeedabove 0. Use knowndispatch,selectandparkrules, and acapacity_schedulenaming a schedule of kindcapacity.E_FLEET_LOADS: Set the fleet'sloadsto an integer of 1 or more, or drop it for 1. A fleet of kindworkercarries one load at a time: droploadsthere, or make the fleet kindvehicle.E_FLEET_MOTION: Set the fleet'smotiontonetworkorgantry. A gantry fleet needsspeed_xandspeed_yabove 0 and ahoist_timeof 0 or more, and cannot be of kindworker.E_FLEET_NAME: Give every entry underfleetsa unique, non-emptynamethat no resource or resource set uses. A fleet is itself a resource, so do not also declare it underresources.E_FLEET_NODE: Set the fleet'shome, and each unit'shome, to a node declared undernetwork.nodes, or add that node. A fleet also needs anetworksection with nodes and segments to drive on.E_FLEET_POWER: Write the fleet'spoweras 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'sunitsa non-empty list of objects, each with a uniquenameand askillslist of names. Dropcount, or make it equal the number of units.E_FLEET_UNKNOWN: Declare the fleet underfleets, or correct the TRANSPORT block'sfleetparameter to a declared fleet name. Names are case sensitive.E_INVESTMENT: Makeinvestmentan object whosebaselinenames a scenario (or is""), withhorizon_yearsandoperating_hours_per_yearabove 0. Setdiscount_rateto 0 or more, a numericmargin_per_part, and athroughputKPI key such asuser/Good parts.E_MOTION_PAYLOAD: Lower the move segment'spayload_kgto at most the profile'spayload_max, raisepayload_maxon the motion profile, or point the MOTION block'sprofileat one rated for the load.E_MOTION_PROFILE: Correct the entry undermotion_profilesthe message names: a uniquename,kindrobot,humanormechanism,speedandaccelabove 0,payload_deratein (0, 1]. Setcollaborative_speedwhen a MOTION block uses anhrcmode.E_MOTION_PROFILE_UNKNOWN: Declare the profile undermotion_profiles, or correct the MOTION block'sprofileto a declared profile name. Names are case sensitive.E_MOTION_SEGMENT: Give the MOTION block'ssegmentsat least one entry with a knownkind. Amovetakes onlydistance_m(0 or more) andpayload_kg; any other kind takes only atime, a non-negative number or an expression.E_MOTION_ZONE: Set the MOTION block'shrctonone,collaborativeorseparation. Forseparation, name a zone fromzones, or give the inlinezonea networknode, aradius_mabove 0 and ameasureofpathorstraight.E_MOTION_ZONE_UNKNOWN: Declare the zone underzones, or correct the MOTION block'szone.nameto a declared zone name.E_NETWORK_NODE: Give every entry undernetwork.nodesa unique, non-emptyname, numericxandy, and acapacitythat is an integer of 1 or more or null.E_NETWORK_NODE_UNKNOWN: Add the node undernetwork.nodes, or correct the block'snodeparameter to a declared node. For a TRANSPORTdestination, set thenodeof that STATION.E_NETWORK_SEGMENT: Give each entry undernetwork.segmentsafromandtonaming two different declared nodes, and alengthandspeedabove 0 or null. Itscapacityis an integer of 1 or more or null, andtwo_wayis a boolean.E_NETWORK_SHAPE: Writenetworkas an object withnodesandsegmentslists, and setlength_factorto a number above 0 (1.0 is the straight-line distance) or remove it.E_NETWORK_UNREACHABLE: Add segments undernetwork.segmentsso a path joins the two places the message names, or make a one-way segment on the way two-way (two_waytrue).E_TENDING: Correct the STATION'stendingfield the message names: onlyplace,pick,time_unit,hrc,zoneandcobot, with segments as in a MOTION block. Setcobottoleaveorstay,collaborative_speedon the arm's profile for anhrcmode, and the STATION'snode.E_TRANSPORT_KEEP_ARM: Removekeep_vehiclefrom the TRANSPORT on the arm fleet. To keep a cobot with its part, set the station'stendingcobottostayinstead.E_TRAVEL_MODE: Set the ROUTE block'straveltotimeornetwork. Fornetwork, add anetworksection and give every STATION involved anode.E_WORKER_FLEET: Point the block'sworker_fleetat a fleet declared underfleetswithkindworker, or set that fleet'skindtoworker.E_WORKER_NO_NODE: Set the block'snodeparameter to the network node the worker walks to, or clearworker_fleeton the block.E_WORKER_PREEMPT: Clearpreempton the block. A block withworker_fleetcannot 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 theskillsof a unit in the worker fleet'sunits, or correct the block'sworker_skill. Skill names are case sensitive.E_WORKER_WHEN_BLOCKED: Set the block'sworker_when_blockedtoleavesorstays, or remove it to use the defaultleaves.E_ZONE: Give every entry underzonesa uniquename, anodedeclared undernetwork.nodes, aradius_mabove 0 and ameasureofpathorstraight. Remove any other field exceptdescription.W_CONVEYOR_ZONE: Widen the flow'sleak.zoneso it covers at least one slat of the belt, or use a smallerdtfor more slats. As it is, the leak never takes anything.W_DISPATCH_FORECAST: Write the flow'sratefrom 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'sstorageasoptimal, with a declaredsetpointvariable, so the plan drives it. If the storage should keep its own rule, the warning can stay.W_INVESTMENT_NO_CAPEX: Set"capex": trueon the entries underfixed_coststhat are the investment, in the model or through a scenario override offixed_costs.<name>.capex.W_INVESTMENT_ONE_SCENARIO: Add a scenario underscenariosto compare with theinvestment.baseline. With only the baseline, the investment case has nothing to compare.W_NO_CHARGER: Add a charger underchargersof the kind the strategy needs (swapforswap, elsecharge) on a node the fleet can reach from itshome. Or join the charger's node to the network, and check the battery'schargerslist allows it.W_SEGMENT_DEADLOCK_RISK: Make the segment one-way (two_wayfalse), give it acapacityof 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'scountabove 1, setexchangeon the fleet, put a BUFFER before the machine, or set the station'stendingcobottostay.W_TENDING_STAY: Set the station'stendingcobottoleave, or carry the part on from the station with a TRANSPORT on the same arm fleet.W_TENDING_UNUSED: Setarmto a motion profile on the fleet that tends the station, or removetendingfrom 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 withoutkeep_vehicle. Otherwise dropkeep_vehiclefrom the block.