# Pasting Data into Arrayed Variables

Special Note: Importing data into an arrayed variable in your model via Paste follows the same basic process as for non-arrayed variables. There are several exceptions to note. (See the Chapter 11 for details on working with Arrays.)

- One data set can be applied to all elements of a graphical function if pasted while Apply To All is checked. It is not possible to Paste into all Array elements in the graphical function with one Paste command when Apply To All is not checked - you will need to paste into each element separately.

- A data set can be pasted 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 dialog.

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 pasted if the data are separated by commas, as seen here. If Apply To All is selected, the initial values will apply to all elements within the Conveyor or Queue. |