Duke posts loss declining value of power plants