The paper deals with the use of biological life support systems, initially created for long-duration space flights [1, 2], for the solution of problems with the sustainability of metropolitan cities, which must meet the requirements of decrease of environmental load. Motivated by applications in issues of design of water purification stations for new generation of high-rise buildings ''Sky City'' this research considers the questions of the simulation and control of artificial ecosystems. As mathematical formalism to describe and control the processes in a bio purification station, we use the general form of conservation laws of matter in the form of the Reaction-Convection-Diffusion Equation System [3, 4, 5] and optimisation problems for it. The main types of schemes of life support systems for space stations have been discussed. Much attention has been paid to the question of creating bioreactors, which can be used for water purification within residential building. The simulation and control of artificial ecosystems has been discussed.