Engineering of environmental systems