Finding equilibrium point of simhydraulics model

1 view (last 30 days)
Maximilian
Maximilian on 23 Jul 2014
Answered: Steve Miller on 12 Nov 2021
Hello,
I have an hydraulic actuated mechanism that is being driven by a set of motion profile equations that are a function of the simulation time. Is there a way to allow a dwell period in the beginning so the model can reach equilibrium before I send it motion commands? Or could I make the dwell a separate simulation and carry the states over to the next simulation?

Answers (1)

Steve Miller
Steve Miller on 12 Nov 2021
Both of the options you mention are possible:
> Allow a dwell period in the beginning so the model can reach equilibrium before I send it motion commands
Sure - just delay any changes to the inputs to your model until enough time has passed that the transients settle out.
> Or could I make the dwell a separate simulation and carry the states over to the next simulation?
This also works. You can save a Simscape Operating Point to set the initial conditions for the entire Simscape model to match the state it was in at a specific point you reached in another simulation. You can also use the Simulink feature to Save Final State and start from Initial State to have the entire model (physical system + controller) start from a pre-saved state.
--Steve

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by