Introduction
The sequencer facilitates the execution of command sequences at predetermined intervals, enabling the creation of repeatable experiments and simulations.
Precision and repeatability are critical in scientific research, simulations, and various industrial applications. The sequencer addresses these needs by automating command execution, ensuring consistent and accurate task performance. Whether you are conducting complex simulations, testing hypotheses, or automating routine processes, the sequencer offers a robust tool to optimize your workflow.
1. Sequencer panel
Table describing the parameters of one sequencer line.
Parameter | Description |
---|---|
Simulation time + n | The execution time of the next step in the sequence. This is a relative value to the current simulation time. For example, 0 means the step executes immediately at the start of the simulation, while 2 means it executes 2 seconds after the sequence starts. |
Action | The action that the sequencer is to perform. This could be setting a signal value, opening/closing a breaker, setting a digital input value, or starting a subsequence. |
Signal/Subsequence | Specifies which signal or subsequence the sequencer should execute. |
Value | The value to be set. |
2. Example of use
The best way to learn how to use the sequencer would be to do an experiment. One of the simpler models will be used as an example, but the principle of the sequencer is the same for all models.
Important! All created sequences belong to the scenario. Each scenario has its own separate sequences.
Important! Remember to create your own scenario so that you do not lose the changes you have made. (Advancd - 1. User Scenarios)
Simulation preparation
Go to seetings view
Start up your simubox
Start EG3200P1_1 model
Select EG3200P1_1 scenario
Connect to simulation
Go to home view
Creating load profile sequence
Open sequencer
As your list of sequence is empty, let's create your first sequence - click create button on top of sequencer
Enter name i.e. Load 1 to 10kW and click create
Note: You should now see empty sequence with comment row.
Fill comment input with: Starting load profile
Note: Now we can add steps to sequence. Suppose we want Load to increase its active power and reactive power for 10 seconds to a value of 10kW --> That is, 1kW per second. Since this is a ramp task, we can use the generate ramp function.
On bottom of sequencer, click generate ramp button
Open select signal dropdown and look for Load_1_Active_Power_Cmd (you can use filter field)
Configure your generator as following and confirm:
Repeat this procedure for Load_1_Reactive_Power_Cmd
Click Save button on right bottom of sequencer
Note: Your sequence has been saved, this means you can run it from now on without reconfiguring it. Remember to always save your sequences in case of changes. Let's try to run the sequence.
Press the Run button and observe simulation.
Note: After running, a preview of the sequence will appear on the right in which you will see which simulation step is currently being executed. You can minimize this view by clicking the X button, and then return to it by clicking the button with the sequencer icon on the right side of the application.
Creating nested sequence
In the SimHMI Web sequencer, it is possible to use previously prepared sequences in other sequences (sub-sequence). This makes it easier to keep the sequence in order and to divide it into modules. Let's try to set up a more complex sequence.
Open sequencer
Click create button
Enter name EG3200P1_1 Mains Failure and click create
Note: Set up mains in a sequence.
Fill first comment input with: Setting up mains
Click Next Step (plus icon)
Select the Set Value action
Then select the signal: Mains_1_Voltage_Cmd
Set the value for 400V
Click Next Step button
Select the Set Value action
Select the signal: Mains_1_Frequency_Cmd
Set value for 50Hz
Note: Let's run previous sequence as a subsequence.
Click Next Step button
Select action Run subsequence
Select Load 1 to 10kW
Note: You should see the information when the sub-sequence completes its action. In this case, it should be the 13th second. So let's start the next step with this time.
Click button Add comment and write 'Closing load breaker'
Set comment time on 13s
Click Next Step button
Select action Manage breaker
Select the signal Load_1_Breaker_OpnCls_Cmd
Select value for Close breaker
Note: Let's see how to control easYgen Digital Inputs
Click button Add comment and write 'Releasing MCB'
Set comment time on 17s
Click Next Step button
Select action Set digital input
Select signal EG1_DI_6
Set action to True
Note: Simulate a power cut from Mains
Click button Add comment and write 'Power cut from mains'
Set comment time on 25s
Click Next Step button
Then select the signal: Mains_1_Voltage_Cmd
Set the value for 0V
Click Next Step button
Select the Set Value action
Select the signal: Mains_1_Frequency_Cmd
Set value for 0Hz
Note: Give some time to let easYgen switch power source to genset, and then let's bring the mains back into action.
Click button Add comment and write 'Mains recovery'
Set comment time on 40s
Click Next Step button
Then select the signal: Mains_1_Voltage_Cmd
Set the value for 400V
Click Next Step button
Select the Set Value action
Select the signal: Mains_1_Frequency_Cmd
Set value for 50Hz
IMPORTANT! Click save button in right bottom corner to save your scenario sequence
Now try to run the sequence and observe the whole experiment and how the devices behave.