1:3.5.2 Generated Daily Value
The triangular distribution used to generate daily relative humidity values requires four inputs: mean monthly relative humidity, maximum relative humidity value allowed in month, minimum relative humidity value allowed in month, and a random number between 0.0 and 1.0.
The maximum relative humidity value, or upper limit of the triangular distribution, is calculated from the mean monthly relative humidity with the equation:
RhUmon=Rhmon+(1−Rhmon)∗exp(Rhmon−1) 1:3.5.4
where RhUmon is the largest relative humidity value that can be generated on a given day in the month, and Rhmon is the average relative humidity for the month.
The minimum relative humidity value, or lower limit of the triangular distribution, is calculated from the mean monthly relative humidity with the equation:
RhLmon=Rhmon∗(1−exp(−Rhmon)) 1:3.5.5
where RhLmon is the smallest relative humidity value that can be generated on a given day in the month, and Rhmon is the average relative humidity for the month.
The triangular distribution uses one of two sets of equations to generate a relative humidity value for the day. If rnd1≤(RhUmon−RhLmonRhmon−RhLmon) then
Rh=Rhmon∗Rhmon,meanRhLmon+[rnd1∗(RhUmon−RhLmon)∗(Rhmon−RhLmon)]0.5 1:3.5.6
If rnd1>(RhUmon−RhLmonRhmon−RhLmon) then
Rh=Rhmon∗Rhmon,meanRhUmon−(RhUmon−Rhmon)∗[RhUmon−RhmonRhUmon(1−rnd1)−RhLmon(1−rnd1)]0.5 1:3.5.7
where Rh is the average relative humidity calculated for the day, rnd1 is a random number generated by the model each day, Rhmon is the average relative humidity for the month, RhLmon is the smallest relative humidity value that can be generated on a given day in the month, RhUmon is the largest relative humidity value that can be generated on a given day in the month, and Rhmon,mean is the mean of RhLmon,Rhmon, and RhUmon.
Last updated