Initialization of state variables.


Thread Starter

Gary Benson

When simulating any system using packages like MATLAB/Simulink, it is often desirable to set the state variables such that the simulation starts with the model in steady state.

Simulink does this with its `trim' function, which "...starts from an initial point and searches, using a sequential quadratic programming algorithm, until it finds the nearest trim point."

I have an idea for a direct solution method which will be able to find trim points of complex nonlinear systems without iteration, but I'd like to see what other methods are available to make sure I'm not wasting my time with it.