public static void AssignModeledPressurization(Space 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()); }
public static void AssignOAACHMBasedOnCategory(Space 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()); }