/// <summary> /// always SUPPLY /// </summary> /// <param name="space"></param> /// <returns></returns> public static void AssignACHRBasedOnCategory(Space space) { var spaceType = SpacePropertyService.GetSpaceTypeAsString(space); var achr = VentilationLookupService.GetACHRBasedOnOccupancyCategory(spaceType); space.SetParameterValue("ACHR", achr.ToString()); }
public static double CalculateCFMBasedOnSupplyACH(double area, double ceilingHeight, string category) { var supplyACH = VentilationLookupService.GetACHRBasedOnOccupancyCategory(category); var cfm = (supplyACH * area * ceilingHeight) / Time; return(cfm); }
public void ShouldReturnCorrectValueofSupplyACHForSpaceCategory(double expectedValue, string category) { var actual = VentilationLookupService.GetACHRBasedOnOccupancyCategory(category); Assert.AreEqual(expectedValue, actual); }