[go: up one dir, main page]
More Web Proxy on the site http://driver.im/ skip to main content
A "less-procedural" methodology and supporting framework for simulation programming
Publisher:
  • The University of Utah
Order Number:AAI8402170
Pages:
90
Reflects downloads up to 10 Dec 2024Bibliometrics
Skip Abstract Section
Abstract

An interesting, discrete simulation model tends to contain numerous nontrivial interactions among its components. When writing such a simulation in an event-based language (in this discussion, Simula), one must "engineer" these interactions by event scheduling. Unfortunately, scheduling operations (such as Simula's ACTIVATE, CANCEL, and HOLD) are, in essence, low-level start and stop commands.

A methodology is presented for constructing a discrete simulation which is "less-procedural" than a traditional Simula-style simulation. By "less-procedural," we mean that our methodology emphasizes the cause and effect aspects of the model and "camouflages" the underlying control details inherent in such low-level process coordination. In our approach, the model is developed in terms of a production rule system (PS) whose working store contains facts about the state of the model and whose rules describe the behavior of the components (including delay information representing consumption of simulated time). The model is augmented by a notion of "roles" for components. Roles provide a simple behavior inheritance mechanism as well as a priority scheme which is used to resolve "incompatibilities" among component actions.

An "operational framework" is also described which elicits the appropriate behavior from the PS-based model. This framework employs a second PS whose working store contains "meta-facts" about the state of the model's actions and whose rules are "meta-rules" (synthesized from a static "dependency analysis" of the user-supplied rules). These meta-rules serve as constraints that coordinate the invocation, interruption, and resumption of the modeled components' actions. In addition, a "local agenda" is associated with each component to allow multiple component actions. The resulting framework can be mapped onto Simula's conventional process class and sequencing set (SQS). A working prototype has been implemented in Utah Portable Standard Lisp (PSL). The system is illustrated with an "office modeling" example.

Contributors
  • The University of Utah
Please enable JavaScript to view thecomments powered by Disqus.

Recommendations