Creating a Timesequence
The user can create the time sequence(1) by clicking on the timesequence module and then click on “+ Add Time Sequence”(2). Upon clicking, a small popup window opens where the user can input the desired name for the time sequences and then click “Create”(3)
Once a time sequence is created, the working space has two sections namely Setup and Run.
In the Setup section, you will be able to create your system’s flow. It works like block programming, in which you grow your program by adding more and more blocks. For example, in the image below, we have created a small scenario in which our power consumption of the flight modes changes from one mode to another mode with time conditions.
Adding modelists to the Timesequence
The blocks are called nodes within valispace. The nodes can be a mode with time conditions or delay or formula which is explained in the next section which is related mostly to the modes The modelists are the list that contains the modes that are going to be actually used within the time sequences scenario. So the first step in the timesequence is to add the associated modes of the scenarios. The user can add the modes in two different ways.
The first method to add the modelists is available within the setup tab
Within the Setup(1), towards the right side, click on the icon “modes”(2)
Upon clicking the modes symbol, a dialog box opens on the right side. Click on the “+Add Modelist”(3)
On clicking a new dialog box pops up where the user can add the modes related to the timesequence. Users have the possibility to add multiple modes to the time sequences.
The second method to add the modelists are available in the run section.
Select the “Run”(1) menu
Within the Run menu, click on the “+Add modelist”(2)
On clicking a new dialog box pops up where the user can add the modes related to the timesequence. Users have the possibility to add multiple modes to the time sequences. (3)
Once the user adds the modes to the modelist, a popup opens up with few settings. For example, in the below image, we have selected the mode “FlightModes” of Valicopter. Once you select the mode, Valispace automatically selects the first mode of the vali as “Initial Mode”(1). Users can change the initial mode to any other mode by using the drop-down menu. Also, note that Valispace automatically allocates a color code(2) to each mode. The user has the ability to change the color to their needs by clicking the color box that needs to be changed.
Things to know:
If the user is using the parent mode for the timesequence, he/she has the possibility to add the child modes to the modelists to see how the child modes change/interact when the parent mode changes in the scenario.
Users have the possibility to force a change in the child mode irrespective of the linked modes in the parent component.