Rankine cycle analysis using a neural network