optimizing ventilation systems