📋 Overview
This file is a specialized utility designed to calculate the required aisle width for a forklift to perform a 90-degree right-angle stacking operation. In warehouse layout design, it automatically calculates the minimum required aisle width based on the forklift model and pallet size.
- Design and verification of warehouse aisle widths
- Support for selecting forklift models
- Optimization of pallet sizes and aisle widths
- Calculation of turning radius for right-angle stacking
- Support for both catalog specifications and manual data entry
🔧 Dependencies
Imports OfficeOpenXml.FormulaParsing
Technologies Used:
- Office.Interop: Excel integration (data updates via Excel.Application)
- EPPlus (FormulaParsing): Excel formula parsing support
- OleDb: Reading data from Excel files
🚜 Supported Forklift Types
1. Reach Type Forklift
- Structure where the mast slides back and forth
- Reach Stroke (RS) is a critical dimension
- Back Overhang (BO) = RS - FO
- Most common indoor forklift
Calculation Formula:
R = R1 + R2 + C×2
2. 3-Wheel Counterbalance Forklift
- Counterweight equipped at the rear
- 3 wheels provide a tight turning radius
- No Reach Stroke (Fixed mast)
- For both indoor and outdoor use
Calculation Formula:
R = R1 + R2 + C×2
3. 4-Wheel Counterbalance Forklift
- Counterweight equipped at the rear
- 4 wheels provide high stability
- Often larger vehicles
- Primarily for outdoor use
Calculation Formula:
R = R1 + R2 + C×2
📐 Calculation Parameter Details
| Parameter | Symbol | Description | Unit |
|---|---|---|---|
| Vehicle Total Width | W | Width of the forklift body | mm |
| Minimum Turning Radius | R1 | Outer turning radius of the forklift (Catalog value) | mm |
| Pallet Width | PW | Width of the pallet (Usually 1100mm) | mm |
| Pallet Depth | PD | Depth of the pallet (Usually 1100mm) | mm |
| Reach Stroke | RS | Forward/backward movement amount of the mast (Reach type only) | mm |
| Front Overhang | FO | Distance from axle center to fork tip | mm |
| Back Overhang | BO | Distance from axle center to rear end of vehicle | mm |
| Clearance | C | Safety margin (One side) | mm |
| Pallet Diagonal Radius | R2 | Calculation result (Formula varies by vehicle type) | mm |
| Required Aisle Width | R | Final calculation result | mm |
🧮 Detailed Explanation of Formulas
Calculation for Reach Type Forklift
1. Calculation of Back Overhang (BO)
Reach stroke minus front overhang.
2. Calculation of Pallet Diagonal Radius (R2)Pythagorean calculation using half pallet width and pallet depth minus BO.
3. Calculation of Required Aisle Width (R)Turning radius + Diagonal radius + Clearance on both sides.
Calculation for 3-Wheel Counterbalance Forklift
1. Calculation of Pallet Diagonal Radius (R2)
Unlike the reach type, it uses PD + BO (because the mast is fixed).
2. Calculation of Required Aisle Width (R)Calculation for 4-Wheel Counterbalance Forklift
1. Calculation of Pallet Diagonal Radius (R2)
The 4-wheel type also takes half the vehicle width (W/2) into consideration.
2. Calculation of Required Aisle Width (R)🔍 Main Methods Details
1. Form Load Processing
Initialization Process:
- Display expiration date and copyright
- Check existence of required files
- Set Excel file paths
MyExcel = DatSavePath & "\ForkliftAisleCalc\ForkliftModels.xlsx"
MySheet1 = "CatalogDat"
MySheet2 = "ManualInputDat" - Load catalog specification data (CatalogSpecDgv)
- Load manual input data (ManualInputDgv)
- Radio button check (Initial display setting)
- Set data load completion flag
2. Data Load Processing
Processing Flow:
- Remove all existing DataGridView columns
- Setup OleDb Connection
Provider=Microsoft.ACE.OLEDB.12.0
Data source=[File Path]
Extended properties="Excel 8.0;HDR=YES;IMEX=1" - Retrieve the entire Excel sheet using a SQL SELECT statement
SELECT * FROM [SheetName$]
- Store in a DataSet and bind to the DataGridView
3. Radio Button Check Processing
Processing Details:
- When Reach Type is selected:
- Change background color to LightCyan
- Display the Reach Type tab
- Filter the vehicle type ComboBox for reach types
- When 3-Wheel Counterbalance is selected:
- Change background color to PowderBlue
- Display the 3-Wheel Counterbalance tab
- Filter the vehicle type ComboBox for 3-wheel counterbalance types
- When 4-Wheel Counterbalance is selected:
- Change background color to LavenderBlush
- Display the 4-Wheel Counterbalance tab
- Filter the vehicle type ComboBox for 4-wheel counterbalance types
4. Vehicle Type ComboBox Change Processing
Processing Details:
- Set ComboBox drop-down style (non-editable)
- Clear existing items
- Extract the models of the selected vehicle type from the DataGridView
- Add the models to the ComboBox
- Automatically select the first model
- Call the TextBox display processing
5. TextBox Display Processing
Key Features:
- Retrieve data corresponding to the selected model from the DataGridView
- Set values in each TextBox
- Set ReadOnly properties and background colors:
- Gainsboro (Gray): Read-only (Catalog data)
- Bisque (Beige): Editable (Adjustable parameters)
- Execute calculation formulas based on vehicle type
- Control show/hide for controls:
- Reach type: Show reach stroke and back overhang
- Counterbalance types: Hide those controls
6. Recalculation Processing
Processing Flow:
- Input Check (Required fields)
Vehicle Total Width, Min Turning Radius, Pallet Width, Pallet Depth,
Front Overhang, Clearance
(And Reach Stroke if Reach Type) - Range Check (Validity Verification)
Item Range Vehicle Total Width 800 ~ 2000 mm Minimum Turning Radius 1000 ~ 3000 mm Pallet Width 700 ~ 2000 mm Pallet Depth 900 ~ 2000 mm Reach Stroke 300 ~ 1000 mm Front Overhang 100 ~ 800 mm Clearance 80 ~ 500 mm - Execute Vehicle Type Calculations
- Reach Type: Calc BO → Calc R2 → Calc R
- 3-Wheel Counterbalance: Calc R2 → Calc R
- 4-Wheel Counterbalance: Calc R2 (considering W/2) → Calc R
- Visual Feedback
- Toggle background color between PaleGoldenrod and Azure
- Visually confirm that recalculation has occurred
7. Clear Values Processing
Processing Details:
- Switch to Manual Input Calculation Mode
- Clear all TextBoxes
- Set all TextBoxes to editable (BackColor = Bisque)
- Reset state so users can enter custom data
🎨 UI Components
RadioButtons (Vehicle Type Selection)
| Control | Description | Background Color Change |
|---|---|---|
| ReachTypeRb | Select Reach Type Forklift | LightCyan |
| Counter3WheelRb | Select 3-Wheel Counterbalance | PowderBlue |
| Counter4WheelRb | Select 4-Wheel Counterbalance | LavenderBlush |
RadioButtons (Calculation Mode Selection)
- CatalogRefCalcRb: Select from catalog specs
- ManualInputCalcRb: Manually enter custom data
ComboBox
- VehicleTypeCbox: Model selection (dynamically filtered by vehicle type)
DataGridView
- CatalogSpecDgv: Manufacturer catalog data (Loaded from Excel)
- ManualInputDgv: User's custom registered data (Loaded from Excel)
Input TextBoxes (Parameters)
| Control | Content | Editable |
|---|---|---|
| SerialNoTb | Data serial number | Read-only |
| ChangeDateTimeTb | Data update date/time | Read-only |
| ModelTb | Forklift model | Catalog: RO, Manual: Yes |
| RatedLoadTb | Max load weight (Ref info) | Catalog: RO, Manual: Yes |
| VehicleTotalLengthTb | Vehicle length (Ref info) | Catalog: RO, Manual: Yes |
| VehicleTotalWidthTb | Vehicle width W | Catalog: RO, Manual: Yes |
| R1Tb | Min turning radius R1 | Catalog: RO, Manual: Yes |
| PWTb | Pallet width PW | Editable (Adjustable) |
| PDTb | Pallet depth PD | Editable (Adjustable) |
| RSTb | Reach stroke RS | Catalog: RO, Manual: Yes |
| FOTb | Front overhang FO | Catalog: RO, Manual: Yes |
| CTb | Clearance C | Editable (Adjustable) |
| BOTb | Back overhang BO | Auto-calculated (Reach type only) |
Output TextBoxes (Calculation Results)
| Control | Content |
|---|---|
| R2Tb | Pallet diagonal radius R2 (Calculation result) |
| RTb | Required Aisle Width R (Final result) |
Buttons
- TextRecalcTb: Execute recalculation after parameter changes
- TextValueClearBt: Clear all TextBoxes and enter manual input mode
- ReachCloseBt: Close the form
TabControl (PictureBox1)
- ReachTypeTp: Dimension diagram tab for reach type
- Counter3WheelTp: Dimension diagram tab for 3-wheel counterbalance
- Counter4WheelTp: Dimension diagram tab for 4-wheel counterbalance
🎯 Visual Feedback
Background Color Usage
| Color | Use | Meaning |
|---|---|---|
| Gainsboro (Gray) | Read-only TextBox | Catalog data (Unchangeable) |
| Bisque (Beige) | Editable TextBox | User-adjustable parameters |
| LightCyan | RightAngleAisleCalcTp | Reach type selected |
| PowderBlue | RightAngleAisleCalcTp | 3-Wheel Counterbalance selected |
| LavenderBlush | RightAngleAisleCalcTp | 4-Wheel Counterbalance selected |
| WhiteSmoke | RightAngleAisleCalcTp | Manual input mode selected |
| PaleGoldenrod ⇔ Azure | CatalogRefCalcGb | Toggles on each recalculation (Visual confirmation) |
Show/Hide Controls
- Shown only when Reach Type is selected:
- Reach Stroke L / RSTb
- Back Overhang L / BOTb
- Hidden when Counterbalance Types are selected:
- Reach Stroke related controls
- Back Overhang related controls
🔄 Overall Processing Flowchart
┌─────────────────────────────────────┐
│ Form Load │
└──────────┬──────────────────────────┘
│
├→ Expiration / Copyright Display
├→ File Verification
├→ Set Excel Path
├→ Load Catalog Spec Data
├→ Load Manual Input Data
└→ RadioButton Chk (Initial Display)
│
▼
┌─────────────────────────────────────┐
│ Vehicle Type Selection (RadioBtn) │
│ Reach / 3-Wheel / 4-Wheel │
└──────────┬──────────────────────────┘
│
├→ Change Background Color
├→ Toggle Tab Display
└→ Call VehicleTypeCboxChange1
│
▼
┌─────────────────────────────────────┐
│ Calc Mode Selection (RadioBtn) │
│ Catalog Ref / Manual Input │
└──────────┬──────────────────────────┘
│
├→ Catalog Ref: DataGridView = CatalogSpecDgv
└→ Manual Input: DataGridView = ManualInputDgv
│
▼
┌─────────────────────────────────────┐
│ Model Selection (ComboBox Change) │
└──────────┬──────────────────────────┘
│
└→ TextBox Display Processing
│
▼
┌─────────────────────────────────────┐
│ TextBox Display Processing │
└──────────┬──────────────────────────┘
│
├─ Retrieve model data from DataGridView
├─ Set values to each TextBox
├─ Set ReadOnly / Background Colors
├─ Show/Hide controls based on vehicle type
│
├─ If Reach Type
│ ├→ BO = RS - FO
│ ├→ R2 = √((PW/2)² + (PD-BO)²)
│ └→ R = R1 + R2 + C×2
│
├─ If 3-Wheel Counterbalance
│ ├→ R2 = √((PW/2)² + (PD+BO)²)
│ └→ R = R1 + R2 + C×2
│
└─ If 4-Wheel Counterbalance
├→ R2 = √((PW/2+W/2)² + (PD+BO)²)
└→ R = R1 + R2 + C×2
│
▼
┌─────────────────────────────────────┐
│ Parameter Adjustment (User Input) │
│ Change PW, PD, C, etc. │
└──────────┬──────────────────────────┘
│
▼
┌─────────────────────────────────────┐
│ Recalculate Button Click │
└──────────┬──────────────────────────┘
│
├─ Input Check (Required fields)
├─ Range Check (Validity verification)
├─ Execute Calc by Vehicle Type
├─ Recalculate R2, R
└─ Toggle Background Color (Visual feedback)
│
▼
┌─────────────────────────────────────┐
│ Display Calculation Results │
│ Display results in R2Tb, RTb │
└─────────────────────────────────────┘
💡 Use Cases
1. New Warehouse & Layout Design
- Aisle width simulation before selecting forklift models
- Verification of support for multiple pallet sizes
- Maximizing storage efficiency by securing minimum aisle widths
2. Introducing Forklifts to Existing Warehouses
- Selecting usable models based on existing aisle widths
- Support for selecting replacement models
- Studying the trade-off between operational efficiency and aisle width
3. Impact Analysis of Pallet Size Changes
- Studying pallet standardization (e.g., 1100mm → 1000mm)
- Evaluating the feasibility of introducing special-sized pallets
- Checking impacts on aisle widths
4. Clearance Optimization
- Balancing safety and efficiency
- Accounting for differences between veterans and newcomers
- Analyzing the relationship between work speed and clearance
5. Calculating Special Specifications Not in Catalogs
- Entering custom data in manual input mode
- Verifying modified or special vehicles
- Confirming dimensions for foreign-made forklifts
📊 Calculation Examples
Example 1: Reach Type Forklift (Standard Pallet)
・Vehicle Total Width W = 1150 mm
・Min Turning Radius R1 = 1730 mm
・Pallet Width PW = 1100 mm
・Pallet Depth PD = 1100 mm
・Reach Stroke RS = 560 mm
・Front Overhang FO = 420 mm
・Clearance C = 100 mm
Calculation Process:
BO = 560 - 420 = 140 mm
R2 = √((1100/2)² + (1100-140)²) = √(550² + 960²) = √(302500 + 921600) = √1224100 ≒ 1106 mm
R = 1730 + 1106 + 100×2 = 3036 mm ≒ 3036 mm (Approx. 3.0m)
Example 2: 3-Wheel Counterbalance Forklift
・Vehicle Total Width W = 1070 mm
・Min Turning Radius R1 = 1900 mm
・Pallet Width PW = 1100 mm
・Pallet Depth PD = 1100 mm
・Back Overhang BO = 680 mm
・Clearance C = 120 mm
Calculation Process:
R2 = √((1100/2)² + (1100+680)²) = √(550² + 1780²) = √(302500 + 3168400) = √3470900 ≒ 1863 mm
R = 1900 + 1863 + 120×2 = 4003 mm ≒ 4003 mm (Approx. 4.0m)
⚠️ Important Notes & Constraints
Calculation Prerequisites
- 90-Degree Stacking: This calculation assumes a 90-degree right-angle turn.
- Flat Surfaces: Floor slopes and bumps are not considered.
- Static Calculation: Travel speed and inertial forces are ignored.
- Standard Pallets: Special shapes or pallet unevenness are not considered.
Practical Notes
- Securing Margins: Computed values are theoretical. Adding a 10-20% margin is recommended in practice.
- Operator Skill: Beginners and veterans require different clearances.
- Floor Conditions: Extra margin is needed if there are bumps or slopes.
- Lighting: Poor lighting reduces workability and requires wider aisles.
- Load Visibility: High-stacked loads obstruct vision, requiring extra margin.
Data Input Notes
- Units must be standardized in mm (millimeters).
- Transcribe catalog values accurately.
- Use actual measured pallet sizes (standard value ≠ actual value sometimes).
- Set clearance considering the work environment and operator skill level.
Out-of-Range Warnings
The system displays warning message boxes for values outside the following ranges:
- Vehicle Total Width: 800 - 2000 mm
- Min Turning Radius: 1000 - 3000 mm
- Pallet Width: 700 - 2000 mm
- Pallet Depth: 900 - 2000 mm
- Reach Stroke: 300 - 1000 mm
- Front Overhang: 100 - 800 mm
- Clearance: 80 - 500 mm
🔗 Related Modules
This utility integrates with the following Tera Calculation Systems:
- T3_2 Packaging Volume Calc: Calculation of pallet counts
- T3_3 Storage Space Calc: Layout design considering aisle widths
- T3_4 Shipping Space: Aisle planning in shipping areas
💾 File & Data Structure
Excel Files
Sheet 1: CatalogDat
- Manufacturer catalog specification data
- Vehicle type, model, dimensions, performance
Sheet 2: ManualInputDat
- User's custom registered data
- Special vehicles or modified vehicles
Data Column Structure
- Serial No
- Change Date/Time
- Vehicle Type (Reach, 3-Wheel Counterbalance, 4-Wheel Counterbalance)
- Model
- Rated Load (kg)
- Vehicle Total Length (mm)
- Vehicle Total Width (mm)
- Min Turning Radius (mm)
- Pallet Width (mm)
- Pallet Depth (mm)
- Reach Amount (mm) *Reach type only
- Front Overhang (mm)
- Clearance (mm)
Data Connection
Data source=[File Path]
Extended properties="Excel 8.0;HDR=YES;IMEX=1"
🎓 Basics of Aisle Width Design
Factors Determining Aisle Width
- Forklift Model: Minimum turning radius is most important.
- Pallet Size: Larger pallets require wider aisles.
- Work Frequency: High frequency requires more margin.
- Operator Skill: Wider settings needed if many beginners.
- Safety Standards: Company regulations and industry standards.
Aisle Width Guidelines
| Forklift Type | Standard Pallet (1100mm) | Characteristics |
|---|---|---|
| Reach Type (1.5t) | 2.8 ~ 3.2 m | Can operate in the narrowest aisles |
| 3-Wheel Counterbalance (1.5t) | 3.5 ~ 4.2 m | Indoor & Outdoor use |
| 4-Wheel Counterbalance (2.5t) | 4.0 ~ 4.8 m | Large and highly stable |
Aisle Width Optimization Points
- Storage Efficiency: Narrow aisle → Increased storage space
- Work Efficiency: Wide aisle → Increased operational speed
- Safety: Appropriate clearance → Accident prevention
- Future-Proofing: Margin design anticipating future model changes
📚 Summary
T3_Uty4_ForkliftLoadingAisleWidth.vb is a specialized tool that precisely calculates the required aisle width for a forklift's right-angle stacking operations.
Key Features
- ✅ Supports 3 types of forklifts (Reach, 3-wheel counter, 4-wheel counter)
- ✅ Supports both catalog specification lookups and manual entries
- ✅ Flexible adjustment of pallet sizes and clearances
- ✅ Implements accurate calculation formulas for each vehicle type
- ✅ Input value validity check feature
- ✅ Visual feedback (background colors, dimension diagram displays)
- ✅ Extensibility via Excel integration
Application Areas
- Designing new warehouses and logistics centers
- Planning forklift introductions for existing facilities
- Layout modifications and optimizations
- Studies on pallet standardization
- Balancing operational efficiency and storage efficiency
Points for Improving Calculation Accuracy
- Use accurate catalog values (official manufacturer data)
- Reflect actual pallet measurements (checking differences from standard specs)
- Consider the physical environment (floor conditions, lighting, visibility)
- Set clearance according to operator skill levels
- Verify by conducting test runs in actual operations
📞 Support Information
Document Date: Auto-generated
Target File: T3_Uty4_ForkliftLoadingAisleWidth.vb
Language: Visual Basic .NET (VB.NET)
Total Lines: 350 lines
Core Technologies: Windows Forms, Excel Integration (OleDb/Interop), Geometric Calculations (Pythagorean Theorem)
Calculation Targets: Reach type, 3-Wheel Counterbalance, 4-Wheel Counterbalance forklifts