New model concept to control the energy and mass transfer in a three-dimensional imperfectly mixed ventilated space