Creating Your First Simulation
In this tutorial, you will quickly learn how to set up and run a Behavior Execution Engine simulation project. In doing so, you will create a simple SysML model of an Unmanned Aerial Vehicle (UAV), its power system, and onboard computer, which you will expand upon in the next tutorials. In this first tutorial, you will not bother with any actual physics modeling, just a basic model of the system's internal behavior. In the next tutorial, you will continue to build out the SysML model, and in the final tutorial, you will add the physics using STK.
Section | Description |
---|---|
Configuring Simulations |
Before you can run a simulation with Behavior Execution Engine, you need to ensure your SysML project (MDZIP file) is configured correctly. There are two ways to do this:
This section covers the following concepts:
|
Modeling a System with a Block Definition Diagram |
When modeling a system or system of systems in SysML, you should start by creating a block definition diagram (BDD). A BDD is simply a view of the structural elements of your system (the blocks) and their relationships with one another. In this section, you will create a high-level BDD that models an Unmanned Aerial Vehicle (UAV), its power system, and its onboard computer. This section covers the following concepts:
|
Adding Properties and Operations to Blocks |
After outlining a system by creating a BDD, you need to fill in the details of the blocks so that they accurately model your system. Properties, operations, and relationships all help describe blocks and their interactions. In this section, you will add properties and operations to your blocks and create composite and associative relationships between them. This section covers the following concepts:
|
Creating Instances with an Instance Specification Diagram |
After defining your blocks, you need to create instance specifications for them so that you can use them in your simulation. Instance specifications enable you to set the initial property values for the blocks in your simulation. In this section, you will create an instance specification diagram containing instance specifications for each of the blocks in your Instance Specification Definition Diagram. This section covers the following concept:
|
Modeling Behavior in a Simple State Machine |
Before you can run a simulation using Behavior Execution Engine, you need to create a state machine to describe the behavior of your system. If you are not familiar with the concept of a state machine, you may want to read the introductory paragraphs of the state machines section in the SysML Modeling Reference. In this section, you will create a simple SysML state machine to model the behavior of powering on the UAV. This section covers the following concept:
|
Simulation Execution |
Once you have described both the structure and behavior of your system, you are ready to run a simulation! If you completed the previous sections, then you already modeled a simple system of a UAV, its power system, and its onboard computer. In this section, you will execute the state machine for your system and observe its operation. This section covers the following concepts:
|
Start Tutorial!