Air quality has a significant impact on both health and human performance and productivity. In the urban environment, where there are such polluting factors as road transport, industrial enterprises and dense buildings, air quality issues are most acute. One of the most promising methods of air purification, currently, is the method of membrane gas separation. Installations based on membrane technology have the following advantages: compact and light weight, relatively low operating costs, the ability to work in a wide range of gas pressure, ease of installation and maintenance, quick start and stop, as well as a long service life. In this paper, we consider an air conditioning system based on membrane technology that can control the following parameters of indoor air: oxygen and carbon dioxide concentrations. The system operation was modeled and the efficiency of using the membrane method for removing carbon dioxide generated during human activity from the premises was shown.