This is a model of the mechanical part of one cylinder of an expander. You need to add an external calculation of the pressure in the cylinder. This can be done with respect to the crank angle, the expander starts at top dead center (TDC) with 0 degrees.