Input-File is used to transfer design parameters to the external simulation system. That are ASCII-text-files, which can be interpreted by the simulation systems as input parameters. Input-File is normally used together with extern script. Double-click on its symbol in the workflow editor to open the property window:
General
Name
It is the name of the node. This name may be defined basically once time for the entire experiment.
Comment
The comment for the node.
Working Directory
It is the working directory for the ASCII-inputfile be saved. If the directory starts with the sign "\", it will be the relative path located on the directory of its OptiY-File (*.opy).
File
Select the field and press the button on the right side to open an existing ASCII-file. The name and the directory of the file will display in the corresponding windows.
Coding
There are two basic text coding algorithms: ANSI, Unicode or UTF-8. ANSI code cannot support all languages of the world. Therefore, Unicode or UTF-8 are introduced and can codes all languages as Chinese, Japanese etc. The Coding has to be chosen before loading the text file for interpreting the file content correctly.
Input
The elements as nominal and stochastic parameters, transfer and output variables of the experiment can be selected as input links for the model.
Output
The extern script inserted in the workflow editor, can be selected as output for the input-file.
Input File
After selecting input and output links, the data of the input-file can be assigned to the input links.
The total content of the loaded input file is shown in the window "ASCII-File" and the selected input links on the window "Input-Variables"
First select a input variable on right window
Then select a number in the input file, which should be replaced by the value of the selected input variable
Press the right mouse button to activate the menu "Insert Variable" to insert number as model parameter or the menu "Insert String" to insert string as model parameter
Press the left mouse button on the menu to replace the selected number by the selected input variable.
The number is shown in red and its data as start position and actual value are displayed in according windows
The format of the number can be edited in the field "Format" (E- or e-format and the length of decimal floating point: e.g. 0.0000E+000). If the number of characters before the floating point is greater than 1 (e.g. 000.00), the total number of characters for this variable will be fixed to the length of "Format" (here only 6 characters number).
If a new assigning process has been done, the old number is replaced by a new number
After all Input Variables have been assigned to the numbers of the input file, select a input variable, all assigned numbers are displayed in blue and especially the number of the selected input variable in red.
Hint: After a new input file is reloaded, all input variables have to be reassigned.