0% found this document useful (0 votes)
706 views

Advantages of Simulation Languages

1. Simulation languages provide features needed for simulation modeling like random number generation, time advancement, and data collection which decreases programming time. Errors are also better detected since common errors are automatically checked for. 2. General purpose languages are more widely available on different computers while simulation languages may not be, and an efficiently written general purpose program could require less execution time since it can be tailored specifically to the application instead of using generic building blocks like in a simulation language.

Uploaded by

bathinsreenivas
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
706 views

Advantages of Simulation Languages

1. Simulation languages provide features needed for simulation modeling like random number generation, time advancement, and data collection which decreases programming time. Errors are also better detected since common errors are automatically checked for. 2. General purpose languages are more widely available on different computers while simulation languages may not be, and an efficiently written general purpose program could require less execution time since it can be tailored specifically to the application instead of using generic building blocks like in a simulation language.

Uploaded by

bathinsreenivas
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 1

ADVANTAGES OF SPECIAL PURPOSE LANGUAGES

1. Simulation languages provide most (if not all) of the features needed in programming a simulation model resulting in a decrease in programming time which can often be significant. Generating random numbers, that is U (0,1) random variables. Generating random variables from a specified distribution. Advancing simulated time. etermining the ne!t event from the event list Adding records to, or deleting records from, a list. "ollecting and anal#$ing data. %eporting the results. etecting error conditions.

&. Simulation models are generall# easier to change when written in a simulation language. '. (he# provide better error detection because man# potential t#pes of errors have been identified and are chec)ed for automaticall#. Since fewer lines of code have to be written, the chance of ma)ing an error will probabl# be smaller. ("onversel#, errors in a new version of a simulation language itself ma# be difficult for a user to find.)

ADVANTAGES OF GENERAL PURPOSE LANGUAGES


1. *ost modelers alread# )now a general+purpose language, but this is often not the case with a simulation language. &. General purpose languages are available on virtual1# ever# computer, but a particular simulation language ma# not be accessible on the computer that the anal#st wants to use. '. An efficientl# written general purpose program ma# re,uire less e!ecution time than the corresponding program written in a simulation language. (his is because a simulation language is designed to model a wide variet# of s#stems with one set of building bloc)s, whereas general purpose program can be tailored to the particular application. -. General+purpose languages allow greater programming fle!ibilit# than certain simulation languages. .or e!ample, complicated numerical calculations are not eas# in G/SS.

You might also like