System analysis of environmental quality