Tera-Calculation EIQAI Specifications

Note: This document is an English translation. The original version is in Japanese.

Overview

Tera-Calculation EIQAI is a Windows Forms application that utilizes ML.NET pre-trained models to perform AI predictions for EIQ Analysis (E = Entry/Destination, I = Item, Q = Quantity) within logistics centers.

Objectives

Using only two input parameters—the number of destinations and the number of items—the system simultaneously predicts 162 items required for EIQ analysis (Piece Quantity, Line Count, Destination Ranks E1-E5, Item Ranks I1-I5, and numerical breakdowns across 25 ranks for lines, pieces, cases, pallets, volume, and weight) and visualizes them as matrix and traditional calculation tables.

Operating Environment / Technical Stack

ItemContent
Framework.NET Framework 4.8 / Windows Forms (VB.NET)
AI/ML LibraryMicrosoft.ML (ML.NET 6.0 Preview)
DatabaseMicrosoft Access (.accdb) — Automatically optimized via JRO.JetEngine at startup
Model FormatPre-trained ITransformer (.zip) — 162 models loaded at once
Storage PathTeraCalculationData\EIQAnalysisAI folder (Auto-detects drives A to F)
Excel OutputCompatible with EPPlusFree library

Main Features

Development Information

ItemContent
DeveloperLogistics Technology Institute
CopyrightToshiyuki Teramoto

Overall Flow

App Startup (Form Load)
Initialization Process
MLContext / Load Models / Grid Setup
User Input
Destinations & Items Count
Click "Run Prediction"
Prediction Execution()
Predict via all models → Display in Prediction Grid
Click "Generate EIQ Matrix"
Create Matrix Table
Create Trad. Calculation E
Create Trad. Calculation I
Switch Display Unit Radio Buttons
Frequency/Pieces/Cases/etc. → Redraw Matrix

Detailed Process Descriptions

【1】 Form Load (TeraCalculationEIQAI_Load)

【2】 Prediction Execution (Run Prediction Bt_Click → Prediction Execution())

【3】 EIQ Matrix Table Creation (AI Prediction EIQ Matrix())

GPLE RankGPLI_A1GPLI_A2GPLI_BGPLI_CGPLI_DRow Total
GPLE_A1XX01XX02XX03XX04XX05Σ Row
GPLE_A2XX06XX07XX08XX09XX10Σ Row
GPLE_BXX11XX12XX13XX14XX15Σ Row
GPLE_CXX16XX17XX18XX19XX20Σ Row
GPLE_DXX21XX22XX23XX24XX25Σ Row
Col TotalΣ ColΣ ColΣ ColΣ ColΣ ColGrand Total

※ XX = Unit prefix (Frequency / Pieces / Case / PL / Volume / Weight)

【4】 Traditional Calculation E (AI Prediction Trad. Calc E())

Ship DateRankDest. CountFreq.PiecesCasesPalletsVolumeWeight
Avg AllGPLE_A1E1Σ Lines 01-05Σ Pcs 01-05Σ Case 01-05Σ PL 01-05Σ Vol 01-05Σ Wgt 01-05
Avg AllGPLE_A2E2Σ Lines 06-10Σ Pcs 06-10Σ Case 06-10Σ PL 06-10Σ Vol 06-10Σ Wgt 06-10
Avg AllGPLE_BE3Σ Lines 11-15Σ Pcs 11-15Σ Case 11-15Σ PL 11-15Σ Vol 11-15Σ Wgt 11-15
Avg AllGPLE_CE4Σ Lines 16-20Σ Pcs 16-20Σ Case 16-20Σ PL 16-20Σ Vol 16-20Σ Wgt 16-20
Avg AllGPLE_DE5Σ Lines 21-25Σ Pcs 21-25Σ Case 21-25Σ PL 21-25Σ Vol 21-25Σ Wgt 21-25
TotalΣ EΣ AllΣ AllΣ AllΣ AllΣ AllΣ All

【5】 Traditional Calculation I (AI Prediction Trad. Calc I())

Ship DateRankItem CountFreq.PiecesCasesPalletsVolumeWeight
Avg AllGPLI_A1I1Σ Lines col1Σ Pcs col1Σ Case col1Σ PL col1Σ Vol col1Σ Wgt col1
Avg AllGPLI_A2I2Σ Lines col2Σ Pcs col2Σ Case col2Σ PL col2Σ Vol col2Σ Wgt col2
Avg AllGPLI_BI3Σ Lines col3Σ Pcs col3Σ Case col3Σ PL col3Σ Vol col3Σ Wgt col3
Avg AllGPLI_CI4Σ Lines col4Σ Pcs col4Σ Case col4Σ PL col4Σ Vol col4Σ Wgt col4
Avg AllGPLI_DI5Σ Lines col5Σ Pcs col5Σ Case col5Σ PL col5Σ Vol col5Σ Wgt col5
Col TotalΣ IΣ AllΣ AllΣ AllΣ AllΣ AllΣ All

Column Total Logic: GPLI_A1 = XX01+XX06+XX11+XX16+XX21, GPLI_A2 = XX02+XX07+XX12+XX17+XX22, …

【6】 Display Unit Switching (Extraction_DisplayUnit_CheckedChanged)

【7】 Results Export (Export Results Bt_Click)

【8】 Trained Model Reloading (Load Trained Models Bt_Click)

Data Structure

Class NameUsageMain Fields
ModelDataTraining structureSerial, Destinations, Items, Piece Qty, Line Count, E1-E5, I1-I5, etc.
InputDataPrediction inputDestinations, Items.
SinglePredictionPrediction outputScore.

Major Control List

Inputs & Buttons

ControlDescription
Destinations Tb / Items TbNumerical input textboxes
Load Trained Models BtModel reload button
Run Prediction BtExecutes AI engine
Generate EIQ Matrix BtMatrix and calculation table generation
Export Results BtCSV generation

DataGridViews

ControlDescription
Prediction Results GridFull list of Item Names vs Predicted Values
AI Prediction EIQ Matrix Grid5×5 Matrix + totals
Trad. Calc Destination GridTrad. Calc E (Summary by Destination Rank)
Trad. Calc Item GridTrad. Calc I (Summary by Item Rank)

Helper Functions

FunctionDescription
ToRoundedString(s)Converts to numerical, rounds to integer, returns as string.
ToLongOrZero(s)Safe conversion to Long (returns 0 on failure).

© Toshiyuki Teramoto, Logistics Tech Institute