Project and analyses
In our previous tutorial, we demonstrated how to setup a project. We will continue with the same project and extend it with an additional analysis.
(Updated 20 April 2023)
Add new analysis
We start by opening up the project from the Welcome screen.
Adding a new analysis can be done by selecting the project name from the project window and then click the “New” button from the ribbon menu. This will let the user create a new analysis from scratch.
Another way to create a new analysis is to clone an existing one. By cloning, all input files from the source analysis will be copied to a new one. This can be useful for cases where we want to simulate something similar but with slightly different parameters.
We will focus on the latter and clone our existing analysis. Select the analysis
run1 and then click the “Clone analysis” button from the ribbon menu. One can also right-click on
run1 and then choose “Clone analysis”.
A new dialog window will pop-up where we can name our cloned analysis. We will use the default name,
run2 and proceed by clicking the “OK” button.
Depending on the names, it can sometimes be difficult to distinguish between analyses. One can either name the analyses with proper names and/or add helpful comments. To add a comment, select the analysis and then click the “Comment” button from the ribbon menu. One might have to resize the project window in order to see the comments. Comments can also be added to any other items in the project view. Just double-click on the “Comment” field in the project tree to add or modify the comment.
Modify the cloned analysis
Lets change some parameters in our cloned analysis,
run2. We start by clicking on the input file
main.k, which will bring up the editor in the main window. We start by extending the termination time (parameter
0.05. By increasing the termination time, the simulation will take longer to complete. We will simplify the model a little by also reducing the polynomial order to
2. This will cut the simulation time.
*PARAMETER tend = 0.05 , "Termination time"
*CHANGE_P-ORDER ALL, 0, 2
Start multiple simulations
We can start multiple simulations now when we have multiple analyses. From the ribbon menu, click the “Start simulations” button and a new dialog window will pop-up. The options here are which simulations to execute as well as priority and dependency.
This is just a basic introduction to the creation and management of multiple analyses within a project. An animation of the extended simulation: