1 | | =HTCM example setup= |
2 | | |
3 | | |
4 | | HTCM can easily be tested by making small modifications to [browser:palm.muk.uni-hannover.de/mosaik/wiki/internal/testing#no1 the generic "test_urban" setup]. |
| 1 | [wiki:doc/tec/biomet/ return to HTCM overview][[BR]] |
| 2 | |
| 3 | |
| 4 | = HTCM example setup = |
| 5 | |
| 6 | |
| 7 | HTCM can easily be tested by making small modifications to [https://palm.muk.uni-hannover.de/mosaik/wiki/internal/testing the generic "test_urban" setup]. The modifications required are indicated below.[[BR]] |
| 8 | |
| 9 | HTCM can be enabled by adding the indicated lines to the test_urban_p3d file located in the INPUT folder. |
| 10 | |
| 11 | |
| 12 | {{{#!fortran |
| 13 | !------------------------------------------------------------------------------- |
| 14 | !-- INITIALIZATION PARAMETER NAMELIST |
| 15 | ! Documentation: https://palm.muk.uni-hannover.de/trac/wiki/doc/app/inipar |
| 16 | !------------------------------------------------------------------------------- |
| 17 | &initialization_parameters |
| 18 | |
| 19 | ! |
| 20 | !-- Grid |
| 21 | !------------------------------------------------------------------------------ |
| 22 | nx = 19, |
| 23 | ny = 19, |
| 24 | nz = 60, |
| 25 | |
| 26 | dx = 2.0, |
| 27 | dy = 2.0, |
| 28 | dz = 2.0, |
| 29 | |
| 30 | ! |
| 31 | !-- Numerics |
| 32 | !------------------------------------------------------------------------------ |
| 33 | fft_method = 'fftw', |
| 34 | |
| 35 | ! |
| 36 | !-- Mode |
| 37 | !------------------------------------------------------------------------------ |
| 38 | humidity = .T., |
| 39 | |
| 40 | ! |
| 41 | !-- Initialization |
| 42 | !------------------------------------------------------------------------------ |
| 43 | initializing_actions = 'set_constant_profiles', !'inifor', |
| 44 | |
| 45 | pt_surface = 293.15, |
| 46 | ug_surface = 1.0, |
| 47 | vg_surface = 0.0, |
| 48 | |
| 49 | day_of_year_init = 202, |
| 50 | time_utc_init = 43200.0, |
| 51 | |
| 52 | ! |
| 53 | !-- Wall/soil spinup |
| 54 | !------------------------------------------------------------------------------ |
| 55 | spinup_time = 86400.0, |
| 56 | spinup_pt_mean = 293.15, |
| 57 | spinup_pt_amplitude = 15.0, |
| 58 | dt_spinup = 120.0, |
| 59 | data_output_during_spinup = .T., |
| 60 | |
| 61 | ! |
| 62 | !-- Topography |
| 63 | !------------------------------------------------------------------------------ |
| 64 | topography = 'read_from_file', |
| 65 | |
| 66 | ! |
| 67 | !-- Physics |
| 68 | !------------------------------------------------------------------------------ |
| 69 | longitude = 13.4, |
| 70 | latitude = 52.5, |
| 71 | |
| 72 | / ! end of inipar namelist |
| 73 | |
| 74 | |
| 75 | !------------------------------------------------------------------------------- |
| 76 | !-- RUNTIME PARAMETER NAMELIST |
| 77 | ! Documentation: https://palm.muk.uni-hannover.de/trac/wiki/doc/app/d3par |
| 78 | !------------------------------------------------------------------------------- |
| 79 | &runtime_parameters |
| 80 | |
| 81 | ! |
| 82 | !-- Run steering |
| 83 | !------------------------------------------------------------------------------ |
| 84 | end_time = 86400.0, |
| 85 | create_disturbances = .T., |
| 86 | |
| 87 | ! |
| 88 | !-- Run-control/timeseries output settings |
| 89 | !------------------------------------------------------------------------------ |
| 90 | dt_run_control = 60.0, |
| 91 | dt_dots = 60.0, |
| 92 | |
| 93 | ! |
| 94 | !-- Profile output settings |
| 95 | !------------------------------------------------------------------------------ |
| 96 | skip_time_dopr = 0.0, |
| 97 | dt_dopr = 3600.0, |
| 98 | averaging_interval_pr = 3600.0, |
| 99 | dt_averaging_input_pr = 0.0, |
| 100 | |
| 101 | data_output_pr = '#u', 'u*2', 'wu', 'w*u*', 'w"u"', |
| 102 | '#v', 'v*2', 'wv', 'w*v*', 'w"v"', |
| 103 | 'w', 'w*2', |
| 104 | '#pt', 'pt*2', 'wpt', 'w*pt*', 'w"pt"', |
| 105 | 'e', 'e*', '#km', '#l', |
| 106 | '#t_soil', '#m_soil', |
| 107 | ! |
| 108 | !-- 2D/3D output settings |
| 109 | !------------------------------------------------------------------------------ |
| 110 | do3d_at_begin = .T., |
| 111 | do2d_at_begin = .T., |
| 112 | |
| 113 | dt_data_output = 3600.0, |
| 114 | averaging_interval = 3600.0, |
| 115 | dt_averaging_input = 0.0, |
| 116 | |
| 117 | section_xy = 0, |
| 118 | |
| 119 | data_output = 'u', 'u_av', |
| 120 | 'v', 'v_av', |
| 121 | 'w', 'w_av', |
| 122 | 'pt', 'pt_av', |
| 123 | 'e', 'e_av', |
| 124 | 'p', 'p_av', |
| 125 | 'm_soil', 'm_soil_av', |
| 126 | 't_soil', 't_soil_av', |
| 127 | 'shf*_xy', 'shf*_xy_av', |
| 128 | 'ghf*_xy', 'ghf*_xy_av', |
| 129 | 'u*_xy', 'z0*_xy', |
| 130 | 't*_xy', |
| 131 | 'm_liq*_xy', |
| 132 | 'r_s*_xy', 'r_a*_xy', |
| 133 | 'rad_net*_xy', |
| 134 | 'qsws*_xy', 'qsws*_xy_av', |
| 135 | 'tsurf*_xy', 'tsurf*_xy_av', |
| 136 | 'pcm_lad', 'pcm_heatrate', |
| 137 | 'kc_PM10', 'kc_PM25', |
| 138 | 'usm_t_surf_roof', |
| 139 | 'usm_t_wall_roof', 'usm_t_wall_north', 'usm_t_wall_east', 'usm_t_wall_south', 'usm_t_wall_west', |
| 140 | 'usm_t_green_roof', 'usm_t_green_north', 'usm_t_green_east', 'usm_t_green_south', 'usm_t_green_west', |
| 141 | 'usm_t_window_roof', 'usm_t_window_north', 'usm_t_window_east', 'usm_t_window_south', 'usm_t_window_west', |
| 142 | !-- HTCM |
| 143 | 'bio_perct*_xy', ! Perceived Temperature based on instantaneous input conditions |
| 144 | 'bio_pet*_xy', ! Physiologically Equivalent Temperature, instantaneous |
| 145 | 'bio_utci*_xy', ! Universal Thermal Climate Index, instantaneous |
| 146 | 'bio_perct*_xy_av', ! Perceived Temperature based on time-averaged input parameters |
| 147 | 'bio_pet*_xy_av', ! PET with time-averaged input |
| 148 | 'bio_utci*_xy_av', ! UTCI with time-averaged input |
| 149 | 'bio_mrt', ! The mean radiant temperature used as input for the thermal comfort calculations (3D) |
| 150 | 'bio_mrt_av', ! Mean radiant temperature, time-averaged, 3D |
| 151 | 'bio_mrt_xy', ! Mean radiant temperature, instantaneous, 2D |
| 152 | 'bio_mrt_xy_av', ! Mean radiant temperature, time-averaged, 2D |
| 153 | |
| 154 | / ! end of d3par namelist |
| 155 | |
| 156 | |
| 157 | !------------------------------------------------------------------------------- |
| 158 | !-- RADIATION MODEL PARAMETER NAMELIST |
| 159 | ! Documentation: https://palm.muk.uni-hannover.de/trac/wiki/doc/app/radpar |
| 160 | !------------------------------------------------------------------------------- |
| 161 | &radiation_parameters |
| 162 | |
| 163 | radiation_scheme = 'clear-sky', |
| 164 | albedo_type = 5, |
| 165 | constant_albedo = .F., |
| 166 | |
| 167 | dt_radiation = 60.0, |
| 168 | |
| 169 | split_diffusion_radiation = .T., |
| 170 | surface_reflections = .T., |
| 171 | nrefsteps = 2, |
| 172 | mrt_factors = .F., |
| 173 | |
| 174 | / |
| 175 | |
| 176 | |
| 177 | !------------------------------------------------------------------------------- |
| 178 | !-- LAND SURFACE MODEL PARAMETER NAMELIST |
| 179 | ! Documentation: https://palm.muk.uni-hannover.de/trac/wiki/doc/app/lsmpar |
| 180 | !------------------------------------------------------------------------------- |
| 181 | &land_surface_parameters |
| 182 | |
| 183 | constant_roughness = .T., |
| 184 | aero_resist_kray = .T., |
| 185 | |
| 186 | vegetation_type = 2, |
| 187 | soil_type = 3, |
| 188 | conserve_water_content = .T., |
| 189 | |
| 190 | root_fraction = 0.49, 0.26, 0.25, 0.0, 0.0, 0.0, 0.0, 0.0, |
| 191 | soil_temperature = 293.5, 293.6, 293.1 293.1, 293.1, 293.1 293.1, 293.1, |
| 192 | deep_soil_temperature = 293.1, |
| 193 | |
| 194 | / ! end of lsm_par namelist |
| 195 | |
| 196 | |
| 197 | !------------------------------------------------------------------------------- |
| 198 | !-- URBAN SURFACE MODEL PARAMETER NAMELIST |
| 199 | ! Documentation: https://palm.muk.uni-hannover.de/trac/wiki/doc/app/usmpar |
| 200 | !------------------------------------------------------------------------------- |
| 201 | &urban_surface_parameters |
| 202 | |
| 203 | usm_material_model = .T., |
| 204 | |
| 205 | / ! end of urban_surface_par namelist |
| 206 | |
| 207 | |
| 208 | !------------------------------------------------------------------------------- |
| 209 | !-- PLANT CANOPY MODEL PARAMETER NAMELIST |
| 210 | ! Documentation: https://palm.muk.uni-hannover.de/trac/wiki/doc/app/canpar |
| 211 | !------------------------------------------------------------------------------- |
| 212 | &plant_canopy_parameters |
| 213 | |
| 214 | canopy_mode = 'read_from_file_3d', |
| 215 | canopy_drag_coeff = 0.3, |
| 216 | |
| 217 | / ! end of canopy_par namelist |
| 218 | |
| 219 | |
| 220 | !------------------------------------------------------------------------------- |
| 221 | !-- CHEMISTRY MODEL PARAMETER NAMELIST |
| 222 | ! Documentation: https://palm.muk.uni-hannover.de/trac/wiki/doc/app/chempar |
| 223 | !------------------------------------------------------------------------------- |
| 224 | &chemistry_parameters |
| 225 | |
| 226 | chem_gasphase_on = .F., |
| 227 | |
| 228 | surface_csflux_name = 'PM10','PM25', |
| 229 | surface_csflux = 0.75, 0.375, |
| 230 | cs_name = 'PM10','PM25', |
| 231 | cs_surface = 2.0, 1.0, |
| 232 | bc_cs_b = 'neumann', |
| 233 | bc_cs_t = 'neumann', |
| 234 | emiss_factor_main = 1.667, |
| 235 | emiss_factor_side = 0.334, |
| 236 | |
| 237 | main_street_id = 12, |
| 238 | side_street_id = 8, |
| 239 | max_street_id = 19, |
| 240 | |
| 241 | / ! end of chemistry_par namelist |
| 242 | |
| 243 | !------------------------------------------------------------------------------- |
| 244 | !-- BIOMETEOROLOGY MODULE PARAMETER NAMELIST |
| 245 | ! Documentation: https://palm.muk.uni-hannover.de/trac/wiki/doc/app/biomet |
| 246 | !------------------------------------------------------------------------------- |
| 247 | &biometeorology_parameters |
| 248 | thermal_comfort = .T., ! This parameter is optional: It will automatically be set if omitted but thermal comfort output specified in data_output. |
| 249 | / ! end of biometeorology_parameters namelist |
| 250 | |
| 251 | !------------------------------------------------------------------------------- |
| 252 | |
| 253 | }}} |