All Topics |
Topic: “Monthly climate projections”
Author | Message |
---|
Subject: Monthly climate projections
Posted: 10/18/2012 Viewed: 27704 times
I need some help programming a climatic scenario, I have 12 different temperature projections corresponding to each month for next 50 years (2010-2060), for example: in 2060 Jan will increase 1.3 °C from 2010 value, for Feb 1.5°C and so on.
I tried to interpolate those values but WEAP takes the last one from Dec 2010 and interpolate to Jan 2060. I need an interpolation between Jan 2010 to Jan 2060 only with Jan values, and that way for every month. I hope you can help me Best Regards, Andres Fernandez Quito Ecuador |
Subject: Re: Monthly climate projections
Posted: 10/18/2012 Viewed: 27691 times
The way to do this is to embed an Interp function for each month inside the MonthlyValues function.
For example, if the January temperature increases linearly from 5 C in 2010 to 6.3 C in 2060, and the February temperature increased from 7 to 8.5, here is the expression to use: MonthlyValues( Jan, Interp(2010, 5, 2060, 6.3), Feb, Interp(2010, 7, 2060, 8.5), Mar, Interp(2010, ...), ... ) Each month would have its own Interp function. Jack |
Topic: “Monthly climate projections”