Skip to main content
Jump to: navigation, search

Difference between revisions of "STEM Model Creator/Tutorials"

(Create Model Project)
(Create Model Project and Initial Disease Model)
Line 10: Line 10:
 
#: [[Image:STEM_ModelCreator_NewModelGeneratorProject.png]]
 
#: [[Image:STEM_ModelCreator_NewModelGeneratorProject.png]]
 
#Choose '''Create and configure a new STEM Model Package'''  
 
#Choose '''Create and configure a new STEM Model Package'''  
#: [[Image:STEM-ModelGen-NewProjectCreatePackage.png|500px]]
 
 
#Click '''Next'''
 
#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 a minute or two to complete''
  
 
==== Add New Compartment ====
 
==== Add New Compartment ====

Revision as of 14:11, 20 June 2013

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

  1. Launch the STEM application
  2. Open the Designer perspective
  3. From the New menu, select Model Generator Project
    STEM ModelCreator NewModelGeneratorProject.png
  4. Choose Create and configure a new STEM Model Package
  5. Click Next
  1. On the Model Package page, enter the following values:
    • Package Name: Demo
    • Package Prefix: com.example.diseasemodels
  2. Click Add Model to configure the disease model
  3. In the Model Properties page:
    • Model Name: MySEIR
    • Model Type: " Disease Model '
    • Parent Model: Select SIR from the list
    [ Model Properties image]
  4. Click Finish
  5. At this point, your package properties should look like this:
    package properties image
  6. Click Finish to run the model generator and create your model project
    This step may take a minute or two to complete

Add New Compartment

Add New Model Parameter

Create Transitions and Expressions

Create Disease and Add to Scenario

Run in STEM

Add seasonal modulation to the SEIR model

Back to the top