iSight I. DOE models A. Create needed files 1. Create 3dcs model and export as a wt3. 2. Create a (DOE) cvs file a) Open the 3dcs model. b) Load the doe_form.dll c) Run the doe_form.dll d) Select the inputs and outputs. e) Edit Input File. (1) Use this feature if information in the input file needs to be modified. The typical information is shown below. DCS_DOE_VERSION 2 SIMU_RUNS SIMU_INIT_SEED SIMU_TRIAL_NUM SIMU_RAW_DATA SIMU_SUMMARY 500 1 1 0 0 DCS_WT3_FILE DCS_SIMU_MACRO DCS_DOE_OUTPUT_FILE wt3 Model Information E:\WorkingModels\GM\Earl\LZ8\iSight\UG_DOE\LS8_Engine_UG_doe_input.wt3 d:\dcs\3dcsi\\application\dcsSimuMacro.exe E:\WorkingModels\GM\Earl\LZ8\iSight\UG_DOE\LS8_Engine_UG_doe_output.csv Macro Location Output csv file will be created/re-written at this location (2) The input file will also show the input tolerances, 6STD and other information. f) Save the csv file. g) Exit. 3. Create a txt file a) The name of the txt file must be: dcsSimuScript.txt and will be in the working directory. b) The txt file will contain the following information: Location of wt3 model DCSMSSG 1 DCSLOAD DCSWORK DCSRUNDOE E:\WorkingModels\GM\Earl\LZ8\iSight\UG_DOE\LS8_Engine_UG_DOE.wt3 E:\WorkingModels\GM\Earl\LZ8\iSight\UG_DOE E:\WorkingModels\GM\Earl\LZ8\iSight\UG_DOE\LS8_Engine_UG_doe_input.csv Location of input csv file 4. The file, dcsSimuMacro.exe, is an executable file provided by DCS in the 3dcs directory. 5. Create a batch file 81897164 DCS Confidential Page 1 of 11 Working Location a) The name of the batch file must be: dcsSimuBatch.bat b) The batch file will contain the following information: Location of 3DCS Location of the working directory D:\DCS\3dcsi\application\dcsSimuMacro.exe E:\WorkingModels\GM\Earl\LZ8\iSight\UG_DOE\dcsSimuScript.txt D:\DCS\3dcsi\application\dcsSimuMacro.exe E:\WorkingModels\GM\Earl\LZ8\iSight\UG_DOE\dcsSimuScript.txt Use this name for exe file Use this name for txt file 6. Run the batch file a) Double click the batch file in the file manager. b) This sets up the outputs in the csv file. 7. Create a copy of the cvs file a) Change the name of the copied csv file. b) This will be used as a template by the iSight software. B. Create the iSight model. 1. Open the iSight software a) Start / Programs / iSIGHT 9.0 / iSIGHT 2. Select OK at the iSIGHT: Guide dialog box. a) This can be left open if you want a reference. 3. Select the Integrate button model. to setup the flow of the 4. Select the Insert Simcode button to setup the files to be used in the model. a) A green block will appear in the right side of the dialog box. b) Double click on the green Simcode0 box or select the + sign. This sets up the flow for the inputs, outputs and the executable files. 81897164 DCS Confidential Page 2 of 11 c) Click on the pink box in front of the green Program0 box. This will allow you to input the batch file. (1) Select File… (2) Select the batch file from the working directory then OK. (You may have to put in the path as well.) (3) The batch file will appear in place of the Program0 in the green box. 81897164 DCS Confidential Page 3 of 11 d) Put the curser over the pink box in front of the green Input0 box. It will show that it is the Input Properties box. e) Click on the pink Input Properties box. (1) The Parser can be changed here (2) Select File… for the Input file. (3) Select the (csv) file from the working directory. (4) Select File… for the Template file. (5) Select the Input (csv) file from the working directory then OK. (6) The input file name will appear in place of the Input0 in the green box and the Input Properties box is now green. f) Click on the pink Input Contents box. This will display the csv file and allow you to select the desired inputs. (1) You can set a comma as a delimiter. (a) Select Insert (b) Select Word Delimiter… (c) Type in a comma (‘,’) (d) OK (2) Highlight ‘INPUT, ,1, ‘. The ‘Advanced Parser’ dialog box comes up with ‘INPUT, ,1,’, in the Search for box. Select Apply. This tells the program to go to INPUT, ,1,, (see List of Actions box). The curser is now after the comma. (3) Go to the ‘Move Position in File’ icon (4) Pick Line (5) Select the More button (6) Select Apply or OK. The curser will move to the start of the next line. (7) Change ‘Move by:’ to word and put 2 in the amount (8) Select Apply or OK. The curser will move to the second comma. (9) Highlight the input value the select replace. (10) Set to Parameter and write in the name in the ‘With:’ box. (11) Select the ‘List of Parameters’ button This will list the parameter that was just named. (a) Change the Type to Real. (b) Change the Initial Value to the original range of the input. (c) Select Apply or OK. 81897164 DCS Confidential . Page 4 of 11 (12) At the top, select “View’, then Action in Text form. This will allow you to copy and paste to repeat commands. g) Click on the pink Output Properties box. (1) Select File… for the output file. The ‘Advanced Parser’ dialog box can be selected here. (2) Select the output (csv) file from the working directory then OK. (3) The output file name will appear in place of the Input0 in the green box and the Input Properties box is now green. (4) When finished select File / Save (needed) then close to return to the Process Integration dialog box. h) Click on the pink Output Contents box. This will display the csv file and allow you to select the desired outputs. (1) You can set a comma as a delimiter. (a) Select Insert (b) Select Word Delimiter… (c) Type in a comma (‘,’) (d) OK 81897164 DCS Confidential Page 5 of 11 (2) Highlight ‘6STD, ‘ Make sure the ‘Find’ tab is selected. The dialog box comes up with 6STD, in the Search for box. Select OK. This tells the program to go to 6STD, (see List of Actions box). The cursor is now after 6STD,. (3) Select the ‘Move Position in File’ icon. (a) Select the ‘More’ button if needed. (b) Select ‘Line’ in the Move By: area. (c) Put a 1 in the Amount box. (d) Select ‘Relative to Current Position ’ in the How to Move: area. (e) Select ‘Start of Line’ in the Start Move From: area, then ‘OK’ or ‘Apply’. This will start at the beginning of the next line. (4) Select the Move button. (a) Select the ‘More’ button if needed. (b) Select ‘Word’ in the Move By: area. (c) Put a 2 in the Amount box. (d) Select ‘Relative to Current Position ’ in the How to Move: area. (e) Select ‘Current Position’ in the Start Move From: area, then ‘OK’ or ‘Apply’. This will start at the beginning of the next line. Now the cursor is before the first output. (5) Highlight the first number (the complete output value). (6) Select the Read Tab . Put the output name in the Store into Parameter box. Select OK. (7) Repeat for all outputs. (8) As an option you can: (a) Select View, Action in Text Form (b) Highlight and copy text to be repeated (c) Paste text ant the end and change input names as needed. (d) Select Apply or OK. (9) When finished, save. 81897164 DCS Confidential Page 6 of 11 i) All of the boxes should now be green. j) Close the Process Integration dialog box by selecting File / Save (needed). Type in name if needed and select OK. Select Yes at the next dialog box. 81897164 DCS Confidential Page 7 of 11 5. Select the Task Plan button to determine the DOE technique for the model. a) Select Design of Experiments, then the ‘New’ button. This will allow you setup your design. (1) Use the ‘Study’ box to name the study (2) Select the type of study from the list in the ‘Technique:’ pull down at the upper right. (3) Parameter Study: (a) Make sure the Factor tab is selected. Select the buttons under Factor. The button will turn into a green check mark and the values will fill in. (b) The levels will default a 2 but can be changed at this time. (c) Change tab to Post-Processing. (d) Highlight the desired outputs in the ‘Output Parameters’ box (e) Select the red down arrow to load the outputs into the ‘Responses’ box. (f) OK or Apply will save the changes. (4) Optimal Latin Hypercube Study: 81897164 DCS Confidential Page 8 of 11 (a) Make sure the Factor tab is selected. Select the buttons under Factor. The button will turn into a green check mark and the values will fill in. (b) Change tab to Post Processing (c) Highlight the desired outputs in the ‘Output Parameters’ box (d) Select the red down arrow to load the outputs into the ‘Responses’ box. (e) OK or Apply will save the changes. (f) Change tab to Options (g) The Number of Points can be modified. Generally the number of points used should be at least 150. The time to generate the matrix can also be modified here. (h) Change tab to Design Matrix (i) Select Generate Matrix b) Select the ‘Add Highlighted Existing Plan …’ Button to add the study to the Task Plan list c) Select the OK or apply button. 81897164 DCS Confidential Page 9 of 11 6. Select the Database button to store the data created by running the iSIGHT model. a) If needed, type in the database name. It will have a .db extension. b) Check settings and change if needed. c) When finished, select OK. 7. Select the Monitor button to monitor the progress of the design of experiments. a) Highlight the desired doe from the tree at the left. b) Select Insert, Graph (or the Insert Graph button at the right), to monitor an input or output. c) Highlight History (or other type of chart) d) Pick the Parameters tab. Highlight the inputs or outputs that you want to monitor and add them to the ‘Selected’ box. e) Select OK when finished. 81897164 DCS Confidential Page 10 of 11 8. In the Task Manager, select the Open Log Viewer button to display the log file at the bottom of the dialog box. 9. Select Single in the Run Mode for the first run. 10. Select the Execute button the run the model. 11. When finished, the Execution Results Summary dialog box will appear. After reviewing the information, select Ok to close. 12. Select Doe Study in the Run Mode and select the desired study. 13. Reset the Run Counter (Optional) 14. Select the Execute button the run the model. 15. When the DOE run is complete, pick the OK button in the Execute Results Summary dialog box. 16. Open the Monitor window if it not already open. 17. Select the Insert Graph button to create a Pareto chart. 18. At the Type tab pick Pareto. 19. At the Parameters tab highlight the measurements to display and ‘Add’ to the ‘Selected’ box. 20. Select the OK button to add the charts to the display. 81897164 DCS Confidential Page 11 of 11
© Copyright 2026 Paperzz