It's a bit complicated, first you need to prepare a flowsheet in Aspen Plus simulation environment. For example if you want to simulate vapor compression in a Tank you need two stream (inlet and outlet) for tank, and two control valve which located on the outlet and inlet stream. Then you can go to the aspen plus dynamic environment and observe the changes in vapor pressure with varying pressure.