RHO_MATERIAL
This function returns the tabulated density of a building, insulation, or refractory material. A direct material ID can be provided, or a search string can be used to resolve the nearest matching material entry.
Density is mass per unit volume:
\rho = \frac{m}{V}
The result is reported in kg/m^3 and is taken as a lookup-table property without temperature dependence.
Excel Usage
=RHO_MATERIAL(ID)
ID(str, required): Material ID or search term (dimensionless).
Returns (float): Density of the material (kg/m^3).
Example 1: Asbestos cement board density
Inputs:
| ID |
|---|
| Board, Asbestos/cement |
Excel formula:
=RHO_MATERIAL("Board, Asbestos/cement")
Expected output:
1900
Example 2: Copper density
Inputs:
| ID |
|---|
| Metals, copper |
Excel formula:
=RHO_MATERIAL("Metals, copper")
Expected output:
8900
Example 3: Soda lime glass density
Inputs:
| ID |
|---|
| Glass, soda lime |
Excel formula:
=RHO_MATERIAL("Glass, soda lime")
Expected output:
2500
Example 4: Fused silica density
Inputs:
| ID |
|---|
| Fused silica |
Excel formula:
=RHO_MATERIAL("Fused silica")
Expected output:
1940
Python Code
Show Code
from ht.insulation import rho_material as ht_rho_material
def rho_material(ID):
"""
Return density for an insulating or building material.
See: https://ht.readthedocs.io/en/latest/ht.insulation.html
This example function is provided as-is without any representation of accuracy.
Args:
ID (str): Material ID or search term (dimensionless).
Returns:
float: Density of the material (kg/m^3).
"""
try:
result = ht_rho_material(ID)
return float(result)
except Exception as e:
return f"Error: {str(e)}"Online Calculator
Material ID or search term (dimensionless).