Special Note: Importing data into an arrayed variable in your model via DDE follows the same basic process as for non-arrayed variables. There are several exceptions to note. (See Chapter 11 for details on working with Arrays.)
One data set can be applied to all array elements of a graphical function if linked while Apply To All is checked. It is not possible to create a link to all elements in the graphical function in one link when Apply To All is not checked - you will need to create a link to each element separately.
A data set can be linked into the equation box of an arrayed Reservoir or Oven, or an arrayed flow or converter without Required Inputs (one value will be put in each element's equation box), if:
1) Apply To All is checked in the arrayed variable's equation box.
2) There is the same number of data points in the data set to be pasted as there are cells in the arrayed variable (number of cells = number of elements in column * number of elements in row).
|
3) The data are enclosed in square brackets [] and all data points are separated by commas. The correct format for a column of data is illustrated here. |
[Note: If the data are being imported from a spreadsheet, a column of commas can be created alongside the column of data. Square brackets should be put in front of the first number and after the last number. Copying them together will bring the data in the necessary format.]
A data set that defines the initial value(s) of an individual element within an arrayed Conveyor or Queue can be linked if the data are separated by commas. If Apply To All is selected, the initial value will apply to all elements within the queue. It is not possible to create one link into all elements of a Queue or Conveyor.