Skip to content

Main content

Random Pallet Packing Measurement Dataset Generator

Draw integer carton dimensions in centimeters and masses in grams, delegate the better of two uniform grid pallet orientations and whole-layer capacity, then calculate loaded height and mass. Per-case no-fit and representability errors remain labeled instead of discarded. This excludes mixed-orientation optimization, structural limits, stability, overhang and handling-safety approval.

Loading tool…

Description

Draw integer carton dimensions in centimeters and masses in grams, delegate the better of two uniform grid pallet orientations and whole-layer capacity, then calculate loaded height and mass. Per-case no-fit and representability errors remain labeled instead of discarded. This excludes mixed-orientation optimization, structural limits, stability, overhang and handling-safety approval.

A logistics test dataset combines supplied operating ranges with explicit quantity and unit conventions. Constructed measurements and calculated indicators can exercise reports and calculators without claiming to represent an observed operation or a safe physical plan.

Draw integer carton dimensions in centimeters and masses in grams, delegate the better of two uniform grid pallet orientations and whole-layer capacity, then calculate loaded height and mass. Per-case no-fit and representability errors remain labeled instead of discarded. This excludes mixed-orientation optimization, structural limits, stability, overhang and handling-safety approval.

When to use this tool

Use this generator to create reproducible pallet packing measurement dataset cases from the supplied model or bank. Inspect the returned evidence before using cases in a test or exercise.

How to use the tool and how it works

  1. Supply pallet, cartonLength, cartonWidth, cartonHeight, cartonWeightGrams, count in the field shapes below. Set seed when you need an explicit replay.
  2. Run the tool and correct any input error. For generated controls, distinguish a successful fixture containing an invalid case from failure to generate the fixture.
  3. Read cases. Use the conventions below and keep answer-bearing fields separate when presenting an exercise.

Draw carton dimensions in centimeters and mass in grams. Delegate cartons-per-pallet, total load height including the base, and loaded mass after converting carton grams to kilograms. Retain structured per-case calculation errors with null results.1

Delegated operations used for this result: cartons per pallet ti hi calculator; pallet load height with base total. Their calculation or parsing conventions apply to the corresponding result fields.2, 3

Input fieldMeaning and unitsAccepted input
palletPalletRequired. Object; no unknown keys.
pallet.lengthCmLength CmRequired. Finite number; strictly above 0.
pallet.widthCmWidth CmRequired. Finite number; strictly above 0.
pallet.usableStackHeightCmUsable Stack Height CmRequired. Finite number; strictly above 0.
pallet.baseHeightCmBase Height CmRequired. Finite number; minimum 0.
pallet.tareWeightKgTare Weight KgRequired. Finite number; minimum 0.
cartonLengthCarton LengthRequired. Object; no unknown keys.
cartonLength.minimumMinimumRequired. Safe integer; minimum 1; maximum 9007199254740991.
cartonLength.maximumMaximumRequired. Safe integer; minimum 1; maximum 9007199254740991.
cartonWidthCarton WidthRequired. Object; no unknown keys.
cartonWidth.minimumMinimumRequired. Safe integer; minimum 1; maximum 9007199254740991.
cartonWidth.maximumMaximumRequired. Safe integer; minimum 1; maximum 9007199254740991.
cartonHeightCarton HeightRequired. Object; no unknown keys.
cartonHeight.minimumMinimumRequired. Safe integer; minimum 1; maximum 9007199254740991.
cartonHeight.maximumMaximumRequired. Safe integer; minimum 1; maximum 9007199254740991.
cartonWeightGramsCarton Weight GramsRequired. Object; no unknown keys.
cartonWeightGrams.minimumMinimumRequired. Safe integer; minimum 1; maximum 9007199254740991.
cartonWeightGrams.maximumMaximumRequired. Safe integer; minimum 1; maximum 9007199254740991.
countRequested count; the mechanics explain whether one draw expands into several returned records.Required. Safe integer; minimum 1; maximum 64.
seedOptional numeric seed; takes precedence over context randomness. Without either, use the fixed tool.io default seed.Optional. Safe integer.
Output fieldInterpretationReturned shape
casesCasesRequired. Array of Object; no unknown keys.; minimum items 1; maximum items 64.
cases[].cartonCartonRequired. Object; no unknown keys.
cases[].carton.lengthCmLength CmRequired. Safe integer; minimum 1; maximum 9007199254740991.
cases[].carton.widthCmWidth CmRequired. Safe integer; minimum 1; maximum 9007199254740991.
cases[].carton.heightCmHeight CmRequired. Safe integer; minimum 1; maximum 9007199254740991.
cases[].carton.weightGramsWeight GramsRequired. Safe integer; minimum 1; maximum 9007199254740991.
cases[].capacityCapacityRequired. Object; no unknown keys. or Null.
cases[].heightHeightRequired. Object; no unknown keys. or Null.
cases[].weightWeightRequired. Object; no unknown keys. or Null.
cases[].errorErrorRequired. Object; no unknown keys. or Null.
randomnessReplay metadata: source is seed or context; seed is the normalized 32-bit seed or null for a context source.Required. Object; no unknown keys.
randomness.seedOptional numeric replay seed; normalization and precedence are explained below.Required. Safe integer. or Null.
randomness.sourceSourceRequired. Text; one of "context", "seed".

An explicit safe-integer seed takes precedence over injected context randomness and is normalized to an unsigned 32-bit integer. With no seed and no context source, replay uses the fixed tool.io default seed. A context source must return finite values from zero inclusive to one exclusive; its advancing state must be retained separately. randomness records the source and normalized seed, or null for context. These generators are not cryptographic random sources.

json
{
  "input": {
    "pallet": {
      "lengthCm": 120,
      "widthCm": 100,
      "usableStackHeightCm": 180,
      "baseHeightCm": 15,
      "tareWeightKg": 20
    },
    "cartonLength": {
      "minimum": 10,
      "maximum": 80
    },
    "cartonWidth": {
      "minimum": 10,
      "maximum": 70
    },
    "cartonHeight": {
      "minimum": 10,
      "maximum": 100
    },
    "cartonWeightGrams": {
      "minimum": 100,
      "maximum": 2000
    },
    "count": 3,
    "seed": 42
  },
  "output": {
    "cases": [
      {
        "carton": {
          "lengthCm": 52,
          "widthCm": 37,
          "heightCm": 87,
          "weightGrams": 1373
        },
        "capacity": {
          "tiCartonsPerLayer": 4,
          "hiLayers": 2,
          "totalCartonsPerPallet": 8,
          "chosenOrientation": "cartonLengthAlongPalletLength"
        },
        "height": {
          "loadHeightAboveDeckCm": 174,
          "totalStackHeightCm": 189
        },
        "weight": {
          "cargoNetWeightKg": 10.984,
          "totalGrossWeightKg": 30.984
        },
        "error": null
      },
      {
        "carton": {
          "lengthCm": 22,
          "widthCm": 42,
          "heightCm": 34,
          "weightGrams": 1287
        },
        "capacity": {
          "tiCartonsPerLayer": 10,
          "hiLayers": 5,
          "totalCartonsPerPallet": 50,
          "chosenOrientation": "cartonLengthAlongPalletLength"
        },
        "height": {
          "loadHeightAboveDeckCm": 170,
          "totalStackHeightCm": 185
        },
        "weight": {
          "cargoNetWeightKg": 64.35,
          "totalGrossWeightKg": 84.35
        },
        "error": null
      },
      {
        "carton": {
          "lengthCm": 71,
          "widthCm": 38,
          "heightCm": 32,
          "weightGrams": 1776
        },
        "capacity": {
          "tiCartonsPerLayer": 3,
          "hiLayers": 5,
          "totalCartonsPerPallet": 15,
          "chosenOrientation": "cartonLengthAlongPalletWidth"
        },
        "height": {
          "loadHeightAboveDeckCm": 160,
          "totalStackHeightCm": 175
        },
        "weight": {
          "cargoNetWeightKg": 26.64,
          "totalGrossWeightKg": 46.64
        },
        "error": null
      }
    ],
    "randomness": {
      "seed": 42,
      "source": "seed"
    }
  }
}

Limitations and assumptions

  • These are synthetic measurement cases. Rectangular capacity calculations do not validate load stability, crush strength, weight ratings, handling practice, or a physically safe pallet.
  • A replay requires the same complete input and implementation. Randomized construction does not guarantee uniform coverage of every feasible output; finite samples can repeat unless a distinct-selection rule is explicitly stated.
  • The field tables state structural bounds; cross-field constraints and bounded search or output budgets also apply. Unknown keys are rejected where the object contract disallows them. Input errors are distinct from null fields and deliberate invalid controls in a successful output.

Alternative or Complementary methods

For a supplied example, inspect the returned construction or delegated check directly. To evaluate a consumer, also test cases chosen for its own boundaries; a generated finite corpus does not establish exhaustive coverage.

References

  1. Tool behavior and example: Random Pallet Packing Measurement Dataset Generator — tool.io

  2. Calculation or validation: logistics/cartons-per-pallet-ti-hi-calculator — tool.io

  3. Calculation or validation: logistics/pallet-load-height-with-base-total — tool.io

Similar or alternative tools

  • Random Inventory ABC Classification Dataset Generator

    Generate positive synthetic demand and unit values in one caller-labeled value unit, rank independently by annual usage value and demand throughput, and delegate cumulative-share ABC classifications. Value policy remains the existing fixed 80/95 boundaries, velocity boundaries are explicit, ties retain item order, and classification uses the cumulative share including the current item—not a forced A class for the largest item.

  • Random Inventory Forecast Error Dataset Generator

    Construct nonnegative synthetic demand with selected perfect, signed-additive or multiplicative forecast patterns, retain parameters and zero-clamping, and delegate MAE plus logistics WMAPE/bias. All-zero actual demand makes WMAPE explicitly undefined, not zero; outputs preserve existing floating arithmetic and are controlled fixtures rather than forecast-quality guarantees.