def test_pmv(): """ Test the PMV function using the reference table from the ASHRAE 55 2017""" for row in data_test_pmv: assert (round( pmv(row["tdb"], row["tr"], row["vr"], row["rh"], row["met"], row["clo"]), 1, )) == row["pmv"]
def calculatePMV(self): vr = v_relative(self.relativeAirVelocity, self.metabolicRate) result = pmv(self.tempAir, self.tempRadiant, vr, self.relativeHumidity, self.metabolicRate, self.clothingInsulation, wme=0, standard='ASHRAE', units='SI') return result
def test_pmv(): """ Test the PMV function using the reference table from the ASHRAE 55 2017""" for row in data_test_pmv: assert (round( pmv(row['tdb'], row['tr'], row['vr'], row['rh'], row['met'], row['clo']), 1)) == row['pmv']