public static void AssignRequiredPressurization(Space space)
        {
            var spaceType = SpacePropertyService.GetSpaceTypeAsString(space);
            var press     = VentilationLookupService.GetRequirePressurizationBasedOnOccupancy(spaceType);

            space.SetParameterValue("PRESSURIZATION_REQ", press.ToString());
        }
        /// <summary>
        /// Always VENT
        /// </summary>
        /// <param name="space"></param>
        public static void AssignOAACHRBasedOnCategory(Space space)
        {
            var spaceType = SpacePropertyService.GetSpaceTypeAsString(space);
            var oaachr    = VentilationLookupService.GetOAACHRBasedOnOccupancyCategory(spaceType);

            space.SetParameterValue("OAACHR", oaachr.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 static double CalculateCFMBasedOnVentACH(double area, double ceilingHeight, double percentageOutsideAir, string category)
        {
            // find ventACH based on lookup
            //double ventACH = _lookupService.GetOAACHRBasedOnOccupancyCategory(category);
            double ventACH = VentilationLookupService.GetOAACHRBasedOnOccupancyCategory(category);

            var temp = (ventACH * area * ceilingHeight) / Time;

            double finalCFM = temp / percentageOutsideAir;

            return(finalCFM);
        }