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

            space.SetParameterValue("PRESSURIZATION_REQ", press.ToString());
        }
Exemplo n.º 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());
        }
Exemplo n.º 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());
        }
Exemplo n.º 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());
        }