To set up OMEdit to automatically display a plot containing a designated variable upon completion of model simulation:
- Open the model in OMEdit.
- Click on the Simulation tab at the top of the window.
- Click on the Simulation Configuration icon (looks like a gear) in the toolbar.
- In the Simulation Configuration window, go to the Output tab.
- Under Plot variables, click the Add button.
- In the Add Plot Variable window, select the variable you want to plot and click OK.
- Under Plot variables, select the variable you just added.
- Under Plot configuration, select the type of plot you want (e.g. Line Plot, Scatter Plot, etc.).
- Click OK to close the Simulation Configuration window.
- Click on the Simulation icon (looks like a play button) in the toolbar to run the simulation.
- Once the simulation is complete, the plot containing the designated variable will automatically be displayed.