SMS:PTM Graphical Interface: Difference between revisions

From XMS Wiki
Jump to navigationJump to search
Line 31: Line 31:


== Running the Model ==
== Running the Model ==
The [[SMS:PTM Files|PTM Files]] are written automatically with the SMS project file or can be saved separately using the ''File | Save PTM'' or ''File | Save As'' menu commands. See [[SMS:PTM Files|PTM Files]] for more information on the files used for the [[SMS:PTM|PTM]] run.
The [[SMS:PTM Files|PTM Files]] are written automatically with the SMS project file or can be saved separately using the ''File'' | '''Save PTM''' or ''File'' | '''Save As''' menu commands. See [[SMS:PTM Files|PTM Files]] for more information on the files used for the [[SMS:PTM|PTM]] run.


[[SMS:PTM|PTM]] can be launched from SMS using the ''PTM | Run Model'' menu command. A check of some of the common problems called the Model Checker is done each time the model is launched, or by selecting the ''PTM | Model Check'' menu command.
[[SMS:PTM|PTM]] can be launched from SMS using the ''PTM'' | '''Run Model''' menu command. A check of some of the common problems called the ''Model Checker'' is done each time the model is launched, or by selecting the ''PTM'' | '''Model Check''' menu command.


== PTM Menu ==
== PTM Menu ==

Revision as of 21:33, 5 April 2013

The SMS interface to PTM includes tools for creating input files as well as post-processing capabilities. The PTM interface includes the following components:

Model Control

The PTM Model Control Dialog is used to setup the options that apply to the simulation as a whole. These options include time controls, computation parameters, output options, and other global settings.

Map Module

PTM sources and traps are created in the Map Module as feature objects in a PTM type coverage.

Feature Points

  • Instant Mass Source – Release at a single point in time (Ex. accidental vessel spill)
  • Point Mass Rate Source – Release over a period of time (Ex. leaking pipeline)
  • Vertical Line Source – Release with a uniform distribution along the line and a two-dimensional Gaussian distribution in the plane perpendicular to the line (Ex. bucket dredge)

Feature Arcs

  • Horizontal Line Source – Release with a uniform distribution along the line and a two-dimensional Gaussian distribution in the plane perpendicular to the line
  • Horizontal Line Trap – Count particles crossing a line
  • Vertical Area Source – Under development

Feature Polygons

  • Horizontal Area Source – Release with a uniform distribution over the area and a Gaussian distribution perpendicular to the source
  • Horizontal Area Trap – Count particles entering an area

For more information on sources, see PTM Sources. For more information on traps, see PTM Traps.

PTM Model Check

The model check will warn you if it suspects a potential error has been made in creating the input files for PTM and suggest how to resolve the issue. The issues shown in the model checker may or may not cause problems, it is left to the modeler to decide if an issue will affect the results of their simulation.

Running the Model

The PTM Files are written automatically with the SMS project file or can be saved separately using the File | Save PTM or File | Save As menu commands. See PTM Files for more information on the files used for the PTM run.

PTM can be launched from SMS using the PTM | Run Model menu command. A check of some of the common problems called the Model Checker is done each time the model is launched, or by selecting the PTM | Model Check menu command.

PTM Menu

The following menu commands are available in the PTM Menu:

Command Functionality
New Simulation

Creates a new PTM simulation and adds it to the Project Explorer.

Model Check

Checks the active PTM simulation for common input errors.

Model Control

Opens the Model Control dialog (used to organize input files, specify model parameters, choose output options, etc.).

Run Model

Launches the PTM model using the active PTM simulation input files.