Mathematical expressions: expressing mathematical equations in Simile

## Cycles

Tue, 12/02/2008 - 16:06 — jonathanmMany environmental factors vary on a daily or an annual basis: e.g. temperature, radiation, evapotranspiration. It is desirable to be able to capture this if you want to capture the effect of the factor on the behaviour of your modelled system, and if the time-scale is appropriate.

Let’s assume that your time unit is the month (i.e. all your rates are expressed per month, and that simulation time is shown in month).

- Read more about Cycles
- Log in or register to post comments

## Sketch graphs

Tue, 12/02/2008 - 16:00 — jonathanmWe can combine the use of the time function with the sketched graph. This is very useful when you have a historical record for some external factor, e.g. rainfall or temperature: the graph you sketch is a copy of the historical record.

- Read more about Sketch graphs
- Log in or register to post comments

## Using functions of time

Tue, 12/02/2008 - 15:56 — jonathanmIt is often useful to be able to use current simulation time in your model: for example, you may want to incorporate a gradual increase in some external variable such as temperature. For this purpose, a special function called *time* is provided in Simile.

- Read more about Using functions of time
- Log in or register to post comments

## Multipliers

Tue, 12/02/2008 - 15:42 — jonathanmMany ecological processes are influenced by several factors together. For example, plant growth may be influenced by temperature, radiation, and soil water content. It is often difficult to know how to combine the effect of these factors.

- Read more about Multipliers
- Log in or register to post comments

## Conditional expressions

Tue, 12/02/2008 - 15:40 — jonathanmSometimes, the usual mathematical expressions aren’t enough. For example, although it’s easy to say that one variable is proportional to another, by multiplying it by a constant, it’s much harder to say that the value of a variable depends on whether another variable is above or below a threshold value. Simile’s equation language provides *if...then* statements as a way of handling these either / or situations.

- Read more about Conditional expressions
- Log in or register to post comments

## Differential equations

Tue, 12/02/2008 - 15:38 — jonathanmAt heart, many Systems Dynamics models consist of differential equations, each one represented by a compartment / flow structure, though you don’t need to know this to set up the model. On the other hand, if you’re given the differential equations, it is very straightforward to enter these into the model.

For example, given the differential equation:

d*x*/dt = *x*/20 - *x*^{2}/2000

you know two things:

- Read more about Differential equations
- Log in or register to post comments