/// <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);
        }
Example #3
0
        public void ShouldReturnCorrectValueofSupplyACHForSpaceCategory(double expectedValue, string category)
        {
            var actual = VentilationLookupService.GetACHRBasedOnOccupancyCategory(category);

            Assert.AreEqual(expectedValue, actual);
        }