Energy transformations in a nuclear power plant