Condensation calculator - [source code]
Use this component to calculate the Dew Point, Relative Humidity and Condensation on each layer of a wall. It accounts the air films (internal and external). Sources: http://andrew.rsmas.miami.edu/bmcnoldy/Humidity.html http://www.ajdesigner.com/phphumidity/dewpoint_equation_dewpoint_temperature.php#ajscroll http://forums.finehomebuilding.com/breaktime/energy-heating-insulation/dewpoint-spreadsheet -
Inputs
cnstrName [Required]
EnergyPlus construction namesurfaceType [Optional]
An integer value from 0 to 3 that represents one of the following surface types: 0 - Exterior Wall/Window 1 - Exterior Roof 2 - Exposed FloorinternalTemp [Required]
Indoors temperature of roomoutTemp [Required]
Outdoors temperature of roominternalRelativeHumidity [Required]
Indoors relative humiditybasePoint [Default]
An optional point with which to locate the 3D chart in the Rhino Model. The default is set to the Rhino origin at (0,0,0).scale [Default]
The scale of the surface type section. The default is set to 1.bakeIt [Optional]
An integer that tells the component if/how to bake the bojects in the Rhino scene. The default is set to 0. Choose from the following options: 0 (or False) - No geometry will be baked into the Rhino scene (this is the default). 1 (or True) - The geometry will be baked into the Rhino scene as a colored hatch and Rhino text objects, which facilitates easy export to PDF or vector-editing programs. 2 - The geometry will be baked into the Rhino scene as colored meshes, which is useful for recording the results of paramteric runs as light Rhino geometry.
Outputs
readMe!
...materials
List of materials (from outside to inside). Includes film Air layers. Ordered from Inside to Outside layers. They include Air Films.comments
Comments for each layer of materials if any. Ordered from Inside to Outside layersrWall
rWalltempWall
temperature for each layer in wall (outter edge of layer). Ordered from Inside to Outside layersrhWall
relative humdity for each layer in wall (outter edge of layer). Ordered from Inside to Outside layersdewPointWall
Dew Point for each layer in wall (outter edge of layer). Ordered from Inside to Outside layerscondensationWall
State the status of condensation on wall (Yes or No). Ordered from Inside to Outside layerslayersWallGeo
layersWallGeoresultLines
resultLinesresultLinesColors
resultLinesColorsscaleRH_TempGeo
scaleRH_TempGeoallLabels
allLabelsfinalJoinedMesh
finalJoinedMeshlegend
legendallLabels
Script variable HB_CondensationCalculatorwallLegendCoord
wallLegendCoordallDataCurves
allDataCurvestextSize
textSizedecimalPlaces
decimalPlaces