@@ -40,7 +40,7 @@ def hsu(rainfall, cleaning_threshold, tilt, pm2_5, pm10,
40
40
Concentration of airborne particulate matter (PM) with
41
41
aerodynamicdiameter less than 10 microns. [g/m^3]
42
42
43
- depo_veloc : dict, default {'2_5': 0.4 , '10': 0.09 }
43
+ depo_veloc : dict, default {'2_5': 0.0009 , '10': 0.004 }
44
44
Deposition or settling velocity of particulates. [m/s]
45
45
46
46
rain_accum_period : Timedelta, default 1 hour
@@ -69,15 +69,15 @@ def hsu(rainfall, cleaning_threshold, tilt, pm2_5, pm10,
69
69
70
70
# never use mutable input arguments
71
71
if depo_veloc is None :
72
- depo_veloc = {'2_5' : 0.004 , '10' : 0.0009 }
72
+ depo_veloc = {'2_5' : 0.0009 , '10' : 0.004 }
73
73
74
74
# accumulate rainfall into periods for comparison with threshold
75
75
accum_rain = rainfall .rolling (rain_accum_period , closed = 'right' ).sum ()
76
76
# cleaning is True for intervals with rainfall greater than threshold
77
77
cleaning_times = accum_rain .index [accum_rain >= cleaning_threshold ]
78
78
79
79
horiz_mass_rate = pm2_5 * depo_veloc ['2_5' ]\
80
- + np .maximum (pm10 - pm2_5 , 0. ) * depo_veloc ['10' ]
80
+ + np .maximum (pm10 - pm2_5 , 0. ) * depo_veloc ['10' ] * 3600
81
81
tilted_mass_rate = horiz_mass_rate * cosd (tilt ) # assuming no rain
82
82
83
83
# tms -> tilt_mass_rate
0 commit comments