How AGL lost nearly $2 billion from its early push into wind farms

How did AGL manage to lose nearly $2 billion on its early wind farm investments? And can it avoid a repeat as it manages the survival and exit of its coal and gas assets.