Airflow rates within a ventilation system are controlled using motor speed or torque and motor electric current or pressure. Fan speed or torque may be varied to compensate for differing restriction in ductwork, and may provide a constant airflow rate over a range of varying airflow restriction. Air handlers or air conditioning units may be mass produced in common configurations, and installed in different buildings or structures with different ductwork configurations. Methods operate a fan motor at a present speed or torque, sample speed or torque, sample current of the fan motor or pressure within the ventilation system, calculate a present airflow rate within the ventilation system, calculate a new input setting using the present airflow rate and a target airflow rate, change the speed or torque to the new input setting, and repeat these steps to converge on the target airflow rate, often avoiding overshoot.