Messages from list : cormas@cirad.fr

Choose a topic among the following archives :

RE: changing variables over time

New Message Reply Date view Thread view Subject view Author view

Subject: RE: changing variables over time
From: Erasmus L (lerasmus@sun.ac.za)
Date: Sun Sep 21 2003 - 14:24:12 CEST

Hello Jakin

That's very easy. There are 2 ways of doing this.
Firstly you need to add an attribute to the environment called rainfall
or something. Set your time step to one month.

Then you change the monthly values by
1. Use an equation to simulate rainfall. Since rainfall is usually
periodic of nature you can use a periodic equation (using sine, cosine
or pi) that describes the real rainfall pattern to calculate the monthly
rainfall values. Your equation must have a period of 12 months and your
x-value will be one month. Y value is of course the rainfall for that
month. You can also add a random variability to it.

2. You can use real data and read the monthly rainfall from a file.

Let me know if you need help with the equations.

Best wishes,

Louise Erasmus
 
Residential address:
Biocomplexity Research Group
Department of Zoology
University of Stellenbosch
Stellenbosch
7602
South Africa
 
Tel. + 27 - 21 - 808 2604
 
Affiliation address:
Conservation Planning Unit
Department of Zoology and Entomology
University of Pretoria
Pretoria
0002
South Africa
 
Tel. +27 - 12 - 420 4048
e-mail: lerasmus@zoology.up.ac.za
 
Please use the residential address
 

-----Original Message-----
From: Jakin Ravalico [mailto:jakin.ravalico@adelaide.edu.au]
Sent: 21 September 2003 11:21 AM
To: cormas@cirad.fr
Subject: changing variables over time

I am having trouble changing variables in Cormas over a time period, for

example using different monthly averages to simulate rainfall within the
model.
Could anyone help with how to do this?

Jakin Ravalico

New Message Reply Date view Thread view Subject view Author view
 

Back to home