Non-isentropic study of a closed-circuit oscillating-water-column wave energy converter