Modeling for application: developing industrial strength simulation models using Visual Basic for Applications (VBA)

  • Authors:
  • Marvin S. Seppanen

  • Affiliations:
  • Productive Systems, Winona, MN

  • Venue:
  • Proceedings of the 32nd conference on Winter simulation
  • Year:
  • 2000

Quantified Score

Hi-index 0.00

Visualization

Abstract

Since 1984 the author has developed simulation models that use input data from spreadsheets. These original applications used a standalone Basic program to convert Lotus 123® data into Siman Experiment Frames. While this process has evolved overtime, it did not reach a truly viable level until Arena® 3.0 introduced Visual Basic® for Applications (VBA) by Microsoft®. This advanced tutorial demonstrates the basic concepts developed by the author to transfer data between Excel® and Arena. The same techniques can be used to communicate simulation data with a wide range of VBA supported tools, such as Access®, AutoCAD®, and Visio®. Arena permits the model developer to use VBA as the model file is loaded, executed, or terminated or as entities flow through the Arena model modules. This tutorial focuses on the design of Excel workbooks for simulation applications and the transfer of data to/from Arena using VBA.