plan_load
Compute a 3D load plan for cargo into a container or truck: containers used, utilization (volume & payload %), centre of gravity, crush-protection violations, and a securing checklist (round cargo that rolls, soft cargo that slumps). Cargo type drives realism — drums/pipes hex-nest, big bags/sacks load on top and are never crushed. Omit equipmentCode to auto right-size to the cheapest container that fits. A real API key runs the production PackingSolver optimizer; the public demo key uses the offline preview packer.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vgm | No | SOLAS Verified Gross Mass declaration (else a tare+cargo estimate is reported) | |
| mode | No | Transport mode — scopes auto right-size to usable equipment (sea→containers, road→trucks, air→ULDs). Ignored when equipmentCode is given. | sea |
| items | Yes | Cargo lines to load | |
| jurisdiction | No | Road jurisdiction for the axle / gross-weight compliance check (default EU). Set CN for China GB 1589 drayage limits. | |
| vesselMotion | No | IMO CSS Annex 13 vessel motion + stowage position. When set, the sea leg uses the position-dependent DYNAMIC acceleration field (a container on deck forward sees a far harsher case than one low amidships) instead of the flat sea-area coefficient. | |
| equipmentCode | No | Equipment code, e.g. 40HC (see list_equipment). Omit to auto right-size. | |
| sequenceStops | No | Delivery-stop sequencing: with ≥2 distinct deliveryStop values, zone the load nose→doors in reverse delivery order. |