Download MERLIN Defence Analyzer v1.2 - User Manual
Transcript
FOI-R--3625--SE 7.2.1 Step 1. Design the Scenario The first step to running parameter variation is to create/design your scenario. ∙ Load the default scenario. ∙ Select the xmo ActivateRadarX1 missile in the Launch Missile entity actor for the Carrier. ∙ Make sure to check the Automatic fire checkbox. This check box will make the launch missile actor fire a missile as soon as the scenario is started. ∙ Save the scenario under some suitable name, for instance ParameterVariationTest. ∙ Test running the scenario and make sure you hit your target. ∙ Press the stop button to reload the saved version of the ParameterVariationTest scenario. 7.2.2 Step 2. Setup End Conditions Next, some break condition need to be added to make sure the scenario end when some criterion is reached. In this example we will use two built in end condition scenario actors. MaxSimTimeEndCondition and GenericEventEndCondition. The MaxSimTimeEndCondition stops the scenario after a time limit has been reached. Figure 7.1: The scenario end condition Max Time set to 150 seconds. This end condition is useful for catching the cases when no other end condition has occurred. It can be used as a safe guard if no other end condition are triggered and thus avoid the simulation to continue forever. ∙ Activate the Actors tab in the Scenario Inspector and press the Add actor button. Add the MaxSimTimeEndCondition actor. ∙ Set the stopTime to 100 seconds, which is enough for this scenario. ∙ Save the scenario and run it. You can speed up the simulation time by adjusting the time multiplier slider in the top toolbar. Notice how the scenario is paused after 100 seconds have passed. Press the stop button to reload the scenario. Now, add an end condition for when a missile detonates. ∙ Activate the Actors tab in the Scenario Inspector and press the Add actor button. Add the GenericEventEndCondition actor, see figure 7.2. 36