Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "STEM Model Creator/Tutorials"
(→Create Model Project and Initial Disease Model) |
(→Create Model Project and Initial Disease Model) |
||
Line 24: | Line 24: | ||
#: package properties image | #: package properties image | ||
# Click '''Finish''' to run the Model Generator and create your model project | # Click '''Finish''' to run the Model Generator and create your model project | ||
− | #:''This step may take | + | #:''This step may take 1-2 minutes to complete'' |
# After the Model Generator finishes, the Visual Editor should automatically open | # After the Model Generator finishes, the Visual Editor should automatically open | ||
#: Initial layout picture | #: Initial layout picture |
Revision as of 14:15, 20 June 2013
Contents
Tutorials
Create a SEIR model by extending SIR
This tutorial shows how to create a new SEIR Disease Model by extending the existing SIR Disease Model. STEM already has a built-in SEIR model, so this tutorial is more a simple how-to.
Create Model Project and Initial Disease Model
- Launch the STEM application
- Open the Designer perspective
- From the New menu, select Model Generator Project
- Choose Create and configure a new STEM Model Package
- Click Next
- On the Model Package page, enter the following values:
- Package Name: Demo
- Package Prefix: com.example.diseasemodels
- Click Add Model to configure the disease model
- In the Model Properties page:
- Model Name: MySEIR
- Model Type: Disease Model
- Parent Model: Select SIR from the list
- [ Model Properties image]
- Click Finish
- At this point, your package properties should look like this:
- package properties image
- Click Finish to run the Model Generator and create your model project
- This step may take 1-2 minutes to complete
- After the Model Generator finishes, the Visual Editor should automatically open
- Initial layout picture