File Interfaces

All file interfaces operate on ASCII files.

File Input Source

A File Input Source is an interface for creating a connection to a file for the purpose of reading in data. The defined input source is then available in the SIMPROCESS distribution list. Every time the input source is activated (for example by an Activity requesting a delay time) the next value is returned.

The file InputSource.bundle is included in the Demos directory. This is a model bundle of a model that includes a File Input Source.


File Distribution Fitting

Input data for the distribution fitting feature of SIMPROCESS can be read in from a file.

File Entity Generation

The File schedule of the Generate Activity provides an interface for Entity generation and for setting Entity instance Attributes. The File schedule can control the Entity Type for generation, the quantity, and the interval. There is a specific format for the file.

See Chapter 2 of Part A of the SIMPROCESS User’s Manual for a description of the file format.

File System Methods

The File System Methods give you ASCII file interface capability. Using Expressions you can retrieve information from a file, and you can write information to a file. There are four file-related System Methods, which can be used in Expressions:

  • OpenFile
  • CloseFile
  • ReadFromFile
  • WriteToFile

See Chapter 3 of Part D of the SIMPROCESS User’s Manual for more information on using these System Methods.