Changeset 4577 for palm/trunk/SOURCE/biometeorology_mod.f90
- Timestamp:
- Jun 25, 2020 9:53:58 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/biometeorology_mod.f90
r4540 r4577 26 26 ! ----------------- 27 27 ! $Id$ 28 ! further re-formatting concerning Fortran parameter variables 29 ! 30 ! 4540 2020-05-18 15:23:29Z raasch 28 31 ! file re-formatted to follow the PALM coding standard 29 32 ! … … 187 190 ! 188 191 !-- Declare all global variables within the module (alphabetical order) 192 REAL(wp), PARAMETER :: bio_fill_value = -9999.0_wp !< set module fill value, replace by global fill value as soon as available 193 REAL(wp), PARAMETER :: human_absorb = 0.7_wp !< SW absorbtivity of a human body (Fanger 1972) 194 REAL(wp), PARAMETER :: human_emiss = 0.97_wp !< LW emissivity of a human body after (Fanger 1972) 195 189 196 INTEGER(iwp) :: bio_cell_level !< cell level biom calculates for 190 197 … … 209 216 210 217 REAL(wp) :: bio_output_height !< height output is calculated in m 211 212 REAL(wp), PARAMETER :: bio_fill_value = -9999.0_wp !< set module fill value, replace by global fill value as soon as available213 REAL(wp), PARAMETER :: human_absorb = 0.7_wp !< SW absorbtivity of a human body (Fanger 1972)214 REAL(wp), PARAMETER :: human_emiss = 0.97_wp !< LW emissivity of a human body after (Fanger 1972)215 218 216 219 REAL(wp), DIMENSION(:), ALLOCATABLE :: mrt_av_grid !< time average mean … … 2270 2273 ! 2271 2274 !-- Parameters for standard "Klima-Michel" 2272 REAL(wp), PARAMETER :: actlev = 134.6862_wp !< Workload by activity per standardized surface 2273 !< (A_Du) 2275 REAL(wp), PARAMETER :: actlev = 134.6862_wp !< Workload by activity per standardized surface (A_Du) 2274 2276 REAL(wp), PARAMETER :: eta = 0.0_wp !< Mechanical work efficiency for walking on flat 2275 2277 !< ground (compare to Fanger (1972) pp 24f) 2276 2278 ! 2277 2279 !-- Type of program variables 2280 REAL(wp), PARAMETER :: eps = 0.0005 !< Accuracy in clothing insulation (clo) for evaluation the root of Fanger's PMV (pmva=0) 2281 2278 2282 INTEGER(iwp) :: ncount !< running index 2279 2283 INTEGER(iwp) :: nerr_cold !< error number (cold conditions) … … 2281 2285 2282 2286 LOGICAL :: sultrieness 2283 2284 REAL(wp), PARAMETER :: eps = 0.0005 !< Accuracy in clothing insulation (clo) for evaluation the2285 !< root of Fanger's PMV (pmva=0)2286 2287 2287 2288 REAL(wp) :: clon !< clo for neutral conditions (clo) … … 2504 2505 !-- Type of program variables 2505 2506 INTEGER(iwp), PARAMETER :: max_iteration = 15_iwp !< max number of iterations 2507 2508 REAL(wp), PARAMETER :: guess_0 = -1.11e30_wp !< initial guess 2509 2506 2510 INTEGER(iwp) :: j !< running index 2507 2508 REAL(wp), PARAMETER :: guess_0 = -1.11e30_wp !< initial guess2509 2511 2510 2512 REAL(wp) :: clo_lower !< lower limit of clothing insulation (clo) … … 2788 2790 REAL(wp) :: dtmrt !< difference mean radiation to air temperature 2789 2791 REAL(wp) :: pa !< vapor pressure (hPa) with hard bounds 2790 REAL(wp) :: pa_p50 !< ratio actual water vapour pressure to that of relative humidity of 2792 REAL(wp) :: pa_p50 !< ratio actual water vapour pressure to that of relative humidity of 2791 2793 !< 50 % 2792 2794 REAL(wp) :: pmv !< temp storage og predicted mean vote … … 2973 2975 ! 2974 2976 !-- Additional output variables of argument list: 2975 REAL(wp), INTENT ( OUT ) :: dperctm !< Mean deviation perct (classical gt) to gt* (rational 2977 REAL(wp), INTENT ( OUT ) :: dperctm !< Mean deviation perct (classical gt) to gt* (rational 2976 2978 !< gt calculated based on Gagge's rational PMV*) 2977 2979 REAL(wp), INTENT ( OUT ) :: dperctstd !< dperctm plus its standard deviation times a factor … … 3039 3041 ! 3040 3042 !-- Type of output argument 3041 INTEGER(iwp), INTENT ( OUT ) :: nerr !< Error indicator: 0 = o.k., +1 = denominator for 3043 INTEGER(iwp), INTENT ( OUT ) :: nerr !< Error indicator: 0 = o.k., +1 = denominator for 3042 3044 !< intersection = 0 3043 3045 3044 REAL(wp), INTENT ( OUT ) :: dpmv_cold_res !< Increment to adjust pmva according to the 3046 REAL(wp), INTENT ( OUT ) :: dpmv_cold_res !< Increment to adjust pmva according to the 3045 3047 !< results of Gagge's 2 node model depending on the input 3046 3048 ! … … 3344 3346 ! 3345 3347 !-- Internal variables 3348 REAL(wp), PARAMETER :: eps = 0.0005_wp 3349 REAL(wp), PARAMETER :: eta = 0.0_wp 3350 3346 3351 INTEGER(iwp) :: ncount 3347 3352 INTEGER(iwp) :: nerr_cold … … 3349 3354 3350 3355 LOGICAL :: sultrieness 3351 3352 REAL(wp), PARAMETER :: eps = 0.0005_wp3353 REAL(wp), PARAMETER :: eta = 0.0_wp3354 3356 3355 3357 ! REAL(wp) :: acti … … 3639 3641 ! 3640 3642 !-- Internal variables 3643 REAL(wp), PARAMETER :: time_equil = 7200.0_wp 3644 3641 3645 INTEGER(iwp) :: i !< running index 3642 3646 INTEGER(iwp) :: niter !< Running index 3643 3644 REAL(wp), PARAMETER :: time_equil = 7200.0_wp3645 3647 3646 3648 REAL(wp) :: adjustrate !< Max storage adjustment rate … … 3661 3663 REAL(wp) :: ws !< wind speed (m/s) 3662 3664 REAL(wp) :: z1 !< Empiric factor for the adaption of the heat 3663 !< ballance equation to the psycho-physical scale 3665 !< ballance equation to the psycho-physical scale 3664 3666 !< (Equ. 40 in FANGER) 3665 3667 REAL(wp) :: z2 !< Water vapour diffution through the skin … … 4087 4089 IF ( eswdif <= 0.0_wp ) esw = eswpot !< Limit is evaporation 4088 4090 IF ( eswdif > 0.0_wp ) esw = eswphy !< Limit is sweat production 4089 IF ( esw > 0.0_wp ) esw = 0.0_wp !< Sweat can't be evaporated, no more cooling 4091 IF ( esw > 0.0_wp ) esw = 0.0_wp !< Sweat can't be evaporated, no more cooling 4090 4092 !< effect 4091 4093 !
Note: See TracChangeset
for help on using the changeset viewer.