T3_9_ManualSortingCalc.vb Detailed Explanation
Location: ../TeraCalc3_LogisticsEquipmentSpaceCalc/
Lines: 148 lines
Purpose: Layout calculation for manual sorting areas
Overview
This file is a Visual Basic form class that performs layout calculations for a manual sorting area. It calculates the required space and the number of equipment (roll cages and pallets) needed for a manual sorting operation.
Class Structure
Inherits: Form
Core Functional Areas
1. Screen Operations (#Region "Screen Operations")
SorterCalc_Load Event (Lines 6-11)
Processing Details:
- Displays copyright information and validity period.
- Calls the Area Calculation method.
RecalculateBt_Click Event (Lines 13-23)
Processing Details:
- Re-executes the Area Calculation method.
- Toggles the background color of GroupBox3 (visual indication of calculation status).
- LightYellow ⇔ PowderBlue
Other Screen Operation Events
| Event Name | Processing Details | Line No |
|---|---|---|
| CoverPb_Click | Navigate to "Deviation ETB" tab | 25-27 |
| ManualSortingCalcBt_Click | Navigate to "Deviation ETB" tab | 29-31 |
| CloseBt_Click | Close the form | 32-34 |
2. Layout Calculation (#Region "Layout Calculation")
AreaCalc() → RequiredRollCages() + RequiredPallets()
AreaCalc() Method (Lines 55-116)
Calculates the layout and required area for the manual sorting area.
Step 1: Roll Cage Specification Selection (Lines 57-58)
| Roll Cage Type | Width (mm) | Depth (mm) | Height (mm) |
|---|---|---|---|
| Roll Cage 1 (Small) | 850 | 660 | 1750 |
| Roll Cage 2 (Large) | 1100 | 800 | 1750 |
Step 2: Roll Cage Placement Calculation (Lines 60-69)
Basic Parameters
| Variable Name | Description |
|---|---|
| Roll Cage Clearance | Gap between roll cages |
| Roll Cage Columns | Number of horizontal rows of roll cages |
| Roll Cage Bays | Number of vertical lines of roll cages |
Formulas
Step 3: Required Width Calculation (Lines 71-84)
Single rows of roll cages at both ends, double rows in the center.
Example: For 6 columns → [Single][Double][Double][Single] + 3 Aisles
Formulas for Required Width
Step 4: Required Length Calculation (Lines 87-88)
Step 5: PL (Pallet) Staging Area Calculation (Lines 92-106)
Basic Pallet Dimensions
| Variable Name | Description |
|---|---|
| PLW | Pallet Width |
| PLD | Pallet Depth |
| PLH | Pallet Height |
| PLh1 | Pallet Base Height (Fixed at 150mm) |
Calculation of PL Placement Count
Step 6: Final Required Length and Area (Lines 109-112)
Step 7: Sub-Calculation Calls (Lines 114-115)
RequiredRollCages() Method (Lines 117-127)
Calculates the required number of roll cages based on shipping volume.
Roll Cage Load Volume Calculation (Lines 118-121)
Loadable Volume Calculation (Lines 123-124)
Required Count Calculation (Lines 125-126)
- 146 = Daily shipping volume (m³)
- 49 = Batch shipping volume (m³)
RequiredPallets() Method (Lines 129-138)
Calculates the required number of pallets based on shipping volume.
PL Load Volume Calculation (Lines 130-132)
- Calculated using the effective height, which is PLH (Total height) minus 150mm (pallet base height).
- The result is rounded to the first decimal place.
Loadable Volume Calculation (Lines 134-135)
Required PL Count Calculation (Lines 136-137)
- 146 m³ = Daily shipping volume
- 49 m³ = Batch shipping volume
Calculation Flowchart
[Form Load] ↓ ┌──────────────────────┐ │ AreaCalc() │ ├──────────────────────┤ │ 1. Roll Cage Spec Sel │ │ - Small or Large │ │ │ │ 2. Roll Cage Placement│ │ - Columns, Bays │ │ - Single/Double row│ │ │ │ 3. Req Width Calc │ │ W = W1 Total + │ │ W2 Tot + W3 Tot│ │ │ │ 4. Req Length Calc │ │ L = ManualSortLen L1│ │ │ │ 5. PL Staging Calc │ │ - PL Cols Calc │ │ - PL Staging L3 │ │ │ │ 6. Final Area Calc │ │ Req Length = L1+L2 │ │ +L3 │ │ Req Area = W × L │ └────┬─────────────┘ ↓ ┌──────────────────────┐ │ RequiredRollCages() │ ├──────────────────────┤ │ - Load Vol Calc │ │ - Loadable Vol │ │ - Req Count_Daily │ │ - Req Count_Batch │ └──────────────────────┘ ↓ ┌──────────────────────┐ │ RequiredPallets() │ ├──────────────────────┤ │ - Load Vol Calc │ │ - Loadable Vol │ │ - Req PLs_Daily │ │ - Req PLs_Batch │ └──────────────────────┘ ↓ [Display Complete]
Layout Configuration Image
┌─────────────────────────────────────┐ │ Manual Sorting Layout │ ├─────────────────────────────────────┤ │ │ │ [Roll Cage] [Aisle] [Roll Cage] [Aisle]│ │ [Single] [Double] │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ↓ ↓ ↓ │ │ Bays Bays │ │ │ │ ←───── Manual Sort Length L1 ───→ │ │ │ ├─────────────────────────────────────┤ │ [Auxiliary Aisle L2] │ ├─────────────────────────────────────┤ │ [PL] [PL] [PL] ... │ │ [PL] [PL] [PL] ... │ │ │ │ ←───── PL Staging L3 ───────────→ │ └─────────────────────────────────────┘ ↑ Sorting Area Width W
Distinctive Design Features
| Feature | Details |
|---|---|
| Flexible Layout Optimization | Automatically assigns single/double rows based on columns. Automatically calculates the number of aisles. |
| Dual Equipment Support | Manages both roll cages and pallets (PL). Calculates requirements for each. |
| Volume-Based Calculation | Automatically calculates required equipment daily/per batch. Practical calculations considering load rates. |
| Built-in Standard Specs | Pre-sets dimensions for 2 common roll cage types. Usable simply by selection. |
Use Case Scenarios
1. Logistics Center Design Phase
Pre-calculates the space required for manual sorting areas and reflects it in the building layout.
2. Equipment Ordering Plan
Calculates the required number of roll cages and pallets based on shipping volumes to order appropriate quantities.
3. Layout Modification Studies
Recalculates by changing columns and bays to verify space-efficient configurations.
4. Peak Season Planning
Anticipates the additional equipment and space needed when shipping volumes increase.
Calculation Result Example
Setting Example
- Roll Cage: Large (1100×800mm)
- Roll Cage Columns: 6 columns
- Roll Cage Bays: 4 bays
- Roll Cage Clearance: 200mm
- Sorting Aisle Width: 1200mm
- Auxiliary Aisle: 1000mm
- PL: 1100×1100×1500mm
- PL Bays: 3 bays
Calculation Results
- Roll Cage Count: 24 units (6 columns × 4 bays)
- Manual Sorting Area Width W: Approx. 7.6m
- Required Length: Approx. 9.5m
- Required Area: Approx. 72m²
- Placeable PL Columns: Approx. 6 columns
- PL Placement Count: 18 units (6 columns × 3 bays)
Summary
This code is a design tool dedicated to manual sorting areas. It is suitable for planning logistics centers without automated sorters or small-scale sorting areas.
Main Advantages:
- Automatically calculates complex placement patterns.
- Back-calculates required equipment from shipping volume.
- Easily optimizes space efficiency.
- Responds quickly to design changes.
- Provides foundational data for cost estimation.
Application Areas:
- EC Logistics Centers
- Wholesale Logistics Hubs
- 3PL (Third-Party Logistics) Facilities
- Small-scale Sorting Centers