Example #1
0
        public static void AssignRequiredPressurization(RevitSpace space)
        {
            var spaceType = SpacePropertyService.GetSpaceTypeAsString(space);
            var press     = VentilationLookupService.GetRequirePressurizationBasedOnOccupancy(spaceType);

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

            space.SetParameterValue("OAACHR", oaachr.ToString());
        }
Example #3
0
        public static void AssignModeledPressurization(RevitSpace space)
        {
            var factory   = new SpaceConversionFactory();
            var spaceType = SpacePropertyService.GetSpaceTypeAsString(space);
            var dSpace    = factory.Create(space);
            var press     = VentilationCalculationService.CalculateModeledPressurization(dSpace);

            space.SetParameterValue("PRESSURIZATION_MOD", press.ToString());
        }
Example #4
0
        public static void AssignOAACHMBasedOnCategory(RevitSpace space)
        {
            var factory   = new SpaceConversionFactory();
            var spaceType = SpacePropertyService.GetSpaceTypeAsString(space);
            var dSpace    = factory.Create(space);
            var oaachm    = VentilationCalculationService.CalculateCFMBasedOnSupplyACH(dSpace);

            space.SetParameterValue("OAACHM", oaachm.ToString());
        }