• Description

Source-使用excel匯入訂單

雖然Source本身就有使用excel匯入訂單的功能,但Excel須遵守Flexsim表格的欄位,以下圖為例,Excel第一欄要放Arrival time

 

匯入訂單


  • 新增Global Table

  • 使用toolbox-connectivity-excel import

  • excel資料匯入Global Table

Queue取代Source


  • Model中新增一個Queue

  • 使用Process Flow讀表並將物件產生在Queue

     

新增Process Flow

建立流程圖

ProcessFlow設定


  • 產生一個token-新增一個Label,取RowIndex並設為1

  • 判斷式 Table("order").numRows>=token.RowIndex ,判斷是否已讀表完

  • 產生物件,跑子迴圈的Quantity使用讀表
  • 將物件Create In Queue1,並在物件上新增Label

 

更新Index,將讀表指標+1

 


結果

物件新增到Queue1,並貼上Typesize標籤