The work done is P(V'-V) vaporisation process require energy L so energy loss is P(V'-V)+L