View source: R/calcSolarGain.r
calcSolarGain | R Documentation |
Function to calculate effective radiant field and delta mean radiant temperature.
calcSolarGain(solAlt, solAzi, solRadDir, solTrans,
fSvv, fBes, asw=0.7, posture="seated", floorRef=0.6)
solAlt |
a numeric value presenting solar altitude, degrees from horizontal in [degree C] |
solAzi |
a numeric value presenting solar azimuth, degrees clockwise from North in [degree C] |
solRadDir |
a numeric value presenting direct-beam solar radiation [W/m2] |
solTrans |
a numeric value presenting total solar transmittance. Ranges from 0 to 1. |
fSvv |
a numeric value presenting fraction of sky vault exposed to body. Ranges from 0 to 1. |
fBes |
a numeric value presenting fraction of the possible body surface exposed to sun. Ranges from 0 to 1. |
asw |
a numeric value presenting the average short-wave absorptivity of the occupant. |
posture |
a list of available options 'standing', 'supine' or 'seated'. |
floorRef |
a numeric value presenting floor reflectance. Usually assumed to be constant and equal to 0.6. |
An array of two values
First values represents erf
- Net energy flux to or from the human body using the Effective Radiant Field [W/m2]
Second value represents delMrt
- Delta mean radiant temperature, the increase
in radiant temperature required without solar radiation [Degree C]
Code implemented in to R by Shaomi Rahman. Further contribution by Marcel Schweiker.
Original code in Python by Tartarini & Schiavon (2020) <doi:10.1016/j.softx.2020.100578>
see also calcComfInd
calcSolarGain(0, 120, 800, 0.5, 0.5, 0.5, asw=0.7, posture="seated") # Returns [42.9, 10.3]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.