Relative humidity is required by SWAT+ when the Penman-Monteith equation is used to calculate potential evapotranspiration. It is also used to calculate the vapor pressure deficit on plant growth. Daily average relative humidity values are calculated from a triangular distribution using average monthly relative humidity. This method was developed by J.R. Williams for the EPIC model (Sharpley and Williams, 1990).
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:
1:3.5.4
where is the largest relative humidity value that can be generated on a given day in the month, and 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:
1:3.5.5
where is the smallest relative humidity value that can be generated on a given day in the month, and 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 then
1:3.5.6
If then
1:3.5.7
where is the average relative humidity calculated for the day, is a random number generated by the model each day, is the average relative humidity for the month, is the smallest relative humidity value that can be generated on a given day in the month, is the largest relative humidity value that can be generated on a given day in the month, and is the mean of and .
Relative humidity is defined as the ratio of the actual vapor pressure to the saturation vapor pressure at a given temperature:
1:3.5.1
where is the average relative humidity for the month, is the actual vapor pressure at the mean monthly temperature (kPa), and is the saturation vapor pressure at the mean monthly temperature (kPa). The saturation vapor pressure, , is related to the mean monthly air temperature with the equation:
1:3.5.2
where is the saturation vapor pressure at the mean monthly temperature (kPa), and is the mean air temperature for the month (°C). The mean air temperature for the month is calculated by averaging the mean maximum monthly temperature, , and the mean minimum monthly temperature, .
The dew point temperature is the temperature at which the actual vapor pressure present in the atmosphere is equal to the saturation vapor pressure. Therefore, by substituting the dew point temperature in place of the average monthly temperature in equation 1:3.5.2, the actual vapor pressure may be calculated:
1:3.5.3
where is the actual vapor pressure at the mean month temperature (kPa), and is the average dew point temperature for the month (°C).
To incorporate the effect of clear and overcast weather on generated values of relative humidity, monthly average relative humidity values can be adjusted for wet or dry conditions.
The continuity equation relates average relative humidity adjusted for wet or dry conditions to the average relative humidity for the month:
1:3.5.8
where is the average relative humidity for the month, are the total number of days in the month, is the average relative humidity for the month on wet days, are the number of wet days in the month, is the average relative humidity of the month on dry days, and are the number of dry days in the month.
The wet day average relative humidity is assumed to be greater than the dry day average relative humidity by some fraction:
1:3.5.9
where is the average relative humidity of the month on wet days, is the average relative humidity of the month on dry days, and is a scaling factor that controls the degree of deviation in relative humidity caused by the presence or absence of precipitation. The scaling factor, , is set to 0.9 in SWAT+.
To calculate the dry day relative humidity, equations 1:3.5.8 and 1:3.5.9 are combined and solved for :
1:3.5.10
To reflect the impact of wet or dry conditions, SWAT+ will replace with on wet days or on dry days in equations 1:3.5.4 through 1:3.5.7.
Table 1:3-5: SWAT+ input variables that pertain to generation of relative humidity.
Definition | Source Name | Input Name | Input File |
---|---|---|---|
Relative humidity input: 'sim' for simulated or gage name
hgage
hmd
: average minimum air temperature for month (°C)
tmpmn
tmp_min_ave
: average maximum air temperature for month (°C)
tmpmx
tmp_max_ave
: average dew point temperature for month (°C)
dewpt
dew_ave
: average number of days of precipitation in month
pcpd
pcp_days