Subject: Random variation in climate variables Posted: 7/13/2012 Viewed: 24208 times
I am simulating streamflow in a sub-basin of the Volta basin, and I am trying to simulated random variation in climate, using the Random function in WEAP.
I am trying to prescribe Monthly bounds for this random variation. For example, for temperature, each month has a different set of low and high bounds in which to randomly vary.
Does anyone know how to use expression builder, or something else, to develop this monthly random variation?
Mr. Jack Sieber
Subject: Re: Random variation in climate variables Posted: 7/13/2012 Viewed: 24181 times
The form of the Random function that you want is Random(LowerBound, UpperBound), where the lower and upper bounds will vary by month.
Note, however, that the Random function will give a uniform distribution of values between lower and upper bounds. This will mean that the lower and upper extremes will occur with the same frequency as the average. Depending on your choice of bounds (e.g,. historical min and max temperatures), this may give very unreasonable (extreme) values.
Dr. Patrick Keys
Subject: Re: Random variation in climate variables Posted: 7/13/2012 Viewed: 24172 times
I appreciate the quick reply, and this is very helpful.
The bounds refer to the 75th quantile of a dataset, so it is necessarily sampling the upper range of the data.
This is good to know about the uniform distribution as this may explain odd results when I run the simulation. At the very least however, knowing the distribution is important to understanding the assumptions I'm making.