Skip to content
Kermin E Fleming edited this page Feb 15, 2015 · 2 revisions

Creating a new model with apm-edit

One can create a new model with apm-edit using the ‘File→New’ menu.

After creating a new model the model properties dialog will pop up and one can fill in some information about the model:

  • Type in a name for the model – name should be unique
  • Select a type (use HAsim for hybrid models)
  • For documentation purposes, type in a description of the model
  • Optionally type in a space separated list of module attributes (used for determining default modules)
  • Click ‘Autoselect’ to allow autoselection of modules based on the module matching algorithm.
  • Optionally select a default benchmark and benchmark run options.

Click ‘OK’ and now start filling in the empty nodes by selecting the desired module (right click ‘Insert’) from the ‘Alternative Modules’ pane.

As each module is selected new empty nodes will appear for unselected child modules. Using module attributes and ‘autoselect’ can simply this process.

Finally, save the model using ‘File→Save’ menu. To be visible in package, models should be saved in the current config/pm tree of some Glossary#package in the current workspace.

Clone this wiki locally