Lawmakers in Pennsylvania have introduced new legislation that will require the US state to devise a plan for transitioning to 100% renewable energy by 2050.