There are no such binding regulations. According to the consideration rule in the Swedish Environmental Code, practitioners should primarily use renewable sources when taking measures that would affect the environment. Nonetheless, the Swedish government set a goal that, by 2020, 50% of the total energy consumption should come from renewable energy sources. That goal had already been reached in 2012, when as much as 51% of the total energy consumption was based on renewable energy sources.