# CSMP III

CSMP III, or Continuous System Modelling Program IlI is an early scientific computer software designed for modelling and solving differential equations numerically. This enables real-world systems to be simulated and tested with a computer.[1]

## Purpose

Since the early 1960s computer systems have been able to simulate real-world dynamic situations, such as the interaction between people in a public building such as an airport terminal. Models can be used to test the stresses imposed on an engineering structure without risk or construction cost. Modern uses include weather systems analysis and the effect on our planet Earth due to global warming. CSMP and its various versions were used extensively in the past when this software was first developed.[2]

## Structure

Like all computer programs its analytical and simulation programs are constructed from three general types of statements:[3]

• Structural statements, which define the model. They consist of FORTRAN-like programming language statements, and functional blocks of program code (procedures) designed for repeat operations that frequently occur in a model definition.
• Data statements, which assign numerical values to various changing parameters, constants, and initial conditions.
• Control statements, which specify options in assembly and execution of the program, and the choice of output of the results of the calculations performed.

Structural statements can make use of the operations of addition, subtraction, multiplication, division, and exponentiation, using the same notation and syntax rules as are used in FORTRAN.[4] If, for example, the model includes the equation

$X=6Y/W+(Z-2)^2$

the following statement will be used to define the variables and calculus performed:

x=6.0*Y/W+(Z-2.0)**2.0

## Randomisation

Random variation to values can be added to some parts of the model to simulate unpredictable behaviour patterns in dynamic wind-loaded structures, such as high-rise buildings or aircraft wing designs.[2]

## Modern variations

The earlier CSMP III text-based programming language has been superseded by variations such as APL and object oriented computer-language modelling versions of CSMP such as OOSCMP.[5]

## References

1. ^ "Implicit integration for CSMP III and the problem of stiffness". Advanced Applications Group IBM (UK) February 1976. Retrieved 13 February 2011.
2. ^ a b "Continuous-system simulation languages: A state-of-the-art survey". Elsevier Science Publishers B. V. Amsterdam 1 January 1974. Retrieved 13 February 2011.
3. ^ "Basic programming". Tech Warehouse company - date undisclosed. Retrieved 20 February 2011.
4. ^ "Summary of Fortran 77 statements". National Supercomputer Centre Linköping University Linköping SWEDEN 1999. Retrieved 20 February 2011.
5. ^ "Compiling a simulation language in APL". Spanish Interdepartmental Commission of Science and Technology (CICYT). Retrieved 13 February 2011.