DIAGRAM VIEW🔗
The Diagram View (also called canvas) displays the structure of the active model and is always at the center as it is used to give graphical feedback when navigating, creating or editing a model.
The user can drag and drop components to the canvas and connect them together to construct systems that can be simulated, executed, and otherwise analyzed.
Common editing and viewing operations such as copy/paste, resize, pan, zoom are available when working with components on the Diagram View. Zoom feature is supported through mouse or keyboard combination. Zoom in: Ctrl + +, Zoom out: Ctrl + -. In the Diagram View, the zoom focus point is the last known position of the mouse pointer.
This view also serves as a backdrop during simulation and analysis as the user can interact and interpret defined views containing plots and stickies that are associated with components on the diagram. Stickies can be used to present both results from model execution and to give easy access to set parameters and other types of user input. This is what it looks like in modelling mode where parameters can be set.
Note
The input fields with a blue border indicates an input parameter which has been edited by the user.
And this is what it looks like after simulation.
Tip
A tutorial on how to create a model using the canvas from scratch is available in the Tutorials section.
There are two action buttons floating on top of the view Execution and Views available at the right side of the view. Each button is associated with a direct click and a on-hover drop-down to select alternative actions.
Execution button
🔗
The execution button (or run button) triggers the default experiment associated with the model. The active execution type can be changed in the sub menu of the execution button.
Holding SHIFT and clicking on the execution button button will force a new compilation and create a new FMU for the simulation.
View button
🔗
A view is a defined set of plots and stickies for a model used to provide a canvas-oriented interface to the model with suggestions for commonly used parameters and relevant output variables suitable for analysis of the model. A view can be thought of as a kind of dashboard of a model. This includes what variables are plotted/shown in stickies as well as the positioning of plots and stickies.
Views can be created both for writeable as well as read-only models as they are stored as separate objects. The views are saved in the context of the active workspace for views created/modified on models in the workspace package and global libraries. The eye button toggles the default system view on and off. If no system view exists, it will toggle all component views on/off.
The drop down allows to select other preconfigured views or to open the right panel to access all the details.
Integrated log-viewer
🔗
New feature for 2022.1. Please consult release notes.