I'm simulating a tractor in combination with an implement. I'm using simscape multibody in combination with simscape hydraulics. In multibody the physical parts are modelled e.g. cylinders and in hydraulics I'm modelling the hydraulic pump and oil flow to and in the cylinders.
Everything seems to work. The problem is that the simulation computes very slow even though I already optimised the controllers for the cylinder position. Simulation time = 10s vs. computation time = more than an hour...
Any suggestions how to resolve this issue?
Many thanks in advance.