how to simulate hydraulic cylinder in motion?

While I have used FEA in the past I have never worked with Motion until now. I have an assembly (a glorified 4 bar linkage) that needs to move using a hydraulic cylinder and while I can get it to move manualy, I need to do a motion analsys on it. How do I replicate the hydraulic cylindedr for the study? I would like to toss it into Simulation for a FEA run after I am done. I have included a rough assembly of what I am attempting.

Thank you

Jim Steinmeyer

SolidworksMotion Studies