In the analysis and design of information systems, computer-based simulatio
n models are often used ns cost-effective alternatives to mathematical syst
em analysis approaches due to the high complexity of the systems. However,
the process of development a correct simulation program is a difficult and
time-consuming task, even ii specialized simulation languages. In order to
reduce development time, to reduce requirements for knowledge of simulation
methodology and programming language, and also to increase program standar
dization, an automatic code generation system was developed and implemented
. This code generation process is based on a Petri net model of the informa
tion system, fr om which simulation programs in the target language GPSS ar
e automatically produced. Automation of the code generation process require
d the adoption of certain conventions for Petri net models and the adoption
of a tabular internal computer representation. We describe the design deci
sions that were made in order to implement a working system. Extensions to
the development of automatic code generation systems into other target lang
uages are also discussed.