In Spain, above and beyond the Integrated Environmental Authorisation requirements, at times additional quality control analyses are conducted on water upstream from hydroelectric generation facilities, with a view to improving, if necessary, the quality of this water once it has passed through the plant and is returned to the environment.