B. Csukas et al., DYNAMIC SIMULATION BY ALGORITHMIC GENERATED STRUCTURAL MODELS .2. PROLOG IMPLEMENTATION OF THE MODEL GENERATOR, Hungarian journal of industrial chemistry, 24(2), 1996, pp. 117-130
The proposed model generator represents a completely new approach in t
he dynamic simulation of process units in chemical engineering. Using
this tool, instead of the manifold transformation of the model through
the mathematical constructs and the numerical algorithm, the process
unit is automatically mapped onto an executable Prolog program. Starti
ng from the knowledge of the user-defined decomposition pattern and fr
om the actual prototypes of the physical and chemical changes, the res
pective balance elements and elementary transitions are algorithmicall
y generated in the form of properly classified PROLOG clauses. The cal
culation itself is simply carried out by the consecutive execution of
the ranked elementary transitions. The user can communicate with the s
ystem either through a user-friendly interface or directly via the gen
erating database. The core definitions of the generating and executing
metainterpreter can be supplemented by the user defined prototypes of
the given field. In the second part of the paper the Prolog implement
ation and the application of the model generator will be illustrated.