Solar radiation
Solar radiation functions.
get_height_weight_factor(height_dom, dominant_fact, suppressed_fact, number_species)
Height domimance weight factor.
Height dominance weighing factor calculated as a linear interpolation between dominant and suppressed species for radiation interception between species.
height_dom: Species dominance factor based on height
dominant_fact: Dominant weighing factor
suppressed_fact: Suppressed weighing factor
number_species: number of species
References:
Camargo, G.G.T. 2015. Ph.D. Dissertation. Penn State University.
Examples:
>>> res = get_height_weight_factor(height_dom=0.75, dominant_fact=1.52,
... suppressed_fact=0.56, number_species=3)
>>> assert res == 0.89
>>> get_height_weight_factor(1.5, 1.52, 0.56, 3)
1.13
Source code in environmental_biophysics/solar_radiation.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 |
|
get_optical_air_mass(atm_press, solar_zenith_angle)
Optical air mass.
Return optical air mass, or the ratio of slant path length through the atmosphere to zenith path length.
atm_press: [kPa]
solar_zenith_angle: [deg]
References:
Campbell, G. S., and J. M. Norman. 1998. Introduction to environmental
biophysics. Springer, New York. Eq. 11.12
Examples:
>>> get_optical_air_mass(100, 50)
1.5357589603755304
>>> get_optical_air_mass(91.6, 30)
1.0441319774485631
Source code in environmental_biophysics/solar_radiation.py
60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 |
|
get_solar_beam_fraction(atm_press, solar_zenith_angle, atm_transmittance)
Return radiation beam fraction.
atm_press: [kPa]
solar_zenith_angle: [deg]
atm_transmittance: atmospheric transmittance - 0.75 for clear sky
Examples:
>>> get_solar_beam_fraction(101.3, 0, 0.75)
0.75
>>> get_solar_beam_fraction(101.3, 50, 0.45)
0.2892276326469122
References:
Campbell, G. S., and J. M. Norman. 1998. Introduction to environmental
biophysics. Springer, New York. Ch. 11
Source code in environmental_biophysics/solar_radiation.py
178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 |
|
get_solar_diffuse_fraction(atm_press, solar_zenith_angle, atm_transmittance)
Return radiation diffuse fraction.
atm_press: [kPa]
solar_zenith_angle: [deg]
atm_transmittance: 0.75 for clear sky
References:
Campbell, G. S., and J. M. Norman. 1998. Introduction to environmental
biophysics. Springer, New York. Ch. 11
Examples:
>>> get_solar_diffuse_fraction(101.3, 0, 0.75)
0.075
>>> get_solar_diffuse_fraction(101.3, 50, 0.45)
0.10606799311188815
Source code in environmental_biophysics/solar_radiation.py
212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 |
|
get_solar_radiation_extinction_coeff_black_beam(solar_zenith_angle, x_area_ratio)
Solar radiation extinction coefficient of a canopy of black leaves.
Return solar radiation extinction coefficient of a canopy of black leaves with an ellipsoidal leaf area distribution for beam radiation.
solar_zenith_angle: rad
x_area_ratio: average area of canopy elements projected on to the horizontal
plane divided by the average area projected on to a vertical plane
References:
Campbell, G.S., Norman, J.M., 1998. Introduction to environmental biophysics.
Springer, New York. page 251. Eq. 15.4
Examples:
>>> get_solar_radiation_extinction_coeff_black_beam(0.087, 0)
0.055576591963547875
>>> get_solar_radiation_extinction_coeff_black_beam(0.087, 2)
0.7254823957447912
Source code in environmental_biophysics/solar_radiation.py
94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 |
|
get_solar_radiation_extinction_coeff_black_diff(x_area_ratio, leaf_area_index)
Solar radiation extinction.
Return solar radiation extinction coefficient of a canopy of black leaves for diffuse radiation.
x_area_ratio: average area of canopy elements projected on to the horizontal
plane divided by the average area projected on to a vertical plane
leaf_area_index: leaf area index [m3/m3]
References:
Campbell, G.S., Norman, J.M., 1998. Introduction to environmental biophysics.
Springer, New York. Eq. 15.5
Examples:
>>> get_solar_radiation_extinction_coeff_black_diff(2, 0.1)
0.9710451784887358
>>> get_solar_radiation_extinction_coeff_black_diff(0, 0.1)
0.9099461266386164
Source code in environmental_biophysics/solar_radiation.py
129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 |
|
get_solar_radiation_interception_sub_daily(atm_transm, atm_press, leaf_transm, leaf_area_index, x_sp1, x_sp2, angles_deg)
Return sub daily radiation interception for two species.
atm_transm: atmospheric transmission [0-1]
atm_press: atmospheric pressure
leaf_transm: leaf transmission [0-1]
leaf_area_index: leaf area index array
x_sp1: average area of canopy elements projected on to the horizontal plane
divided by the average area projected on to a vertical plane for species 1
x_sp2: average area of canopy elements projected on to the horizontal plane
divided by the average area projected on to a vertical plane for species 2
angles_deg: angles range in degrees
References:
Campbell, G. S., and J. M. Norman. 1998. Introduction to environmental
biophysics. Springer, New York.
Source code in environmental_biophysics/solar_radiation.py
248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 |
|
rad_intercpt_cycles(crop_list)
Return solar radiation intercepted on each species.
crop_list: list of species characteristics with three items:
radiation extinction coefficients
leaf area index [m2/m2]
plant height [m]
References:
Camargo, G.G.T. 2015. Ph.D. Dissertation. Penn State University.
https://etda.libraries.psu.edu/files/final_submissions/10226
Examples:
>>> rad_intercpt_cycles(([0.5,1,1],[0.5,1,2],[0.5,1,1]))
array([0.23758411, 0.30170163, 0.23758411])
>>> rad_intercpt_cycles(([0.5,1,0.5],[0.6,1.2,1],[0.7,1.4,1.5]))
array([0.13822214, 0.29363746, 0.45733724])
Source code in environmental_biophysics/solar_radiation.py
368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 |
|