GASP IV: A combined continuous - discrete FORTRAN-based simulation language

Abstract
GASP IV is a FORTRAN-based simulation language which provides the framework for modeling systems involving both continuous and discrete phenomena. A general ization of the definition of "event" allows for time to be advanced in a next-event fashion while permit ting a step-wise evaluation of system state variables described by difference or differential equations. Subprograms are included in GASP IV to handle the details of state and event control (including state- variable integration when necessary), information storage and retrieval, collection and analysis of data on system performance, and generation of reports and plots. In this paper, the GASP IV philosophy and modeling approach are described. Descriptions of the subpro grams included in GASP IV and the required user- written subprograms are given. The types of applica tions that have utilized GASP IV are listed. A com panion paper (beginning on p. 71) presents a detailed example of the use of GASP IV for simulating a continuous reaction process involving discrete startups and shutdowns.