Without knowing more about the system, it would be difficult to provide much advice on the implementation of the Simscape model.
The following documentation page provides a list of the various hydraulic cylinder blocks that could be used to implement the system:
Additionally, this documentation page contains numerous examples of how to utilize hydraulic cylinders in Simscape models: