Sage Modeling and Simulation Library

IModel Properties

The IModel type exposes the following members.

Properties


  Name Description
Public property Errors
An enumeration over all of the errors in the model.
Public property ErrorSummary
Provides a string that summarizes all of the errors currently active in this model.
Public property Executive
Provides access to the executive being used by this model.
Public property ExecutiveController
Gets the executive controller that governs the rate-throttling and frame-rendering event frequency of this model.
Public property IsCompleted
Gets or sets a value indicating whether this instance is completed.
Public property IsPaused
Gets or sets a value indicating whether this instance is paused.
Public property IsReady
Gets or sets a value indicating whether this instance is ready to be started.
Public property IsRunning
Gets or sets a value indicating whether this instance is running.
Public property ModelConfig
The ModelConfig is an object that holds the contents of the Sage section of the app.config file.
Public property ModelObjects
A dictionary of currently live IModelObjects. An IModelObject that is garbage- collected is automatically removed from this collection. Note that the object is not necessarily removed at the time of last release, but at the time of garbage collection. Code can call Remove(...) to explicitly remove the object.
Public property RandomSeed
Gets the random seed in use by this model.
Public property RandomServer
Gets the random server.
Public property StateMachine
Provides access to the state machine being used by this model. While the state machine can be set, too, this is an advanced feature, and should not be done unless the developer is sure what they are doing.
Public property Warnings
An collection of all of the warnings currently applicable to this model.