simulateNonHybridTT

Method of continuousTimeMdss.

Integrate a non-hybrid tensor-train (TTTensor) mdss model as a DAE with ode15i.

Source: src/simulator/@continuousTimeMdss/simulateNonHybridTT.m

What is solved

simulateNonHybridTT is the tensor-train counterpart of simulateNonHybrid: it integrates a non-hybrid model (no binaries, no inequalities) whose tensor is a TTTensor as a plain index-1 differential-algebraic system

F(ẋ,x,u(t),y)=0, F(\dot x, x, u(t), y) = 0,

with MATLAB’s fully-implicit ode15i. The solver state is [x;y][x;\,y].

Consistent initial conditions

The consistent initial point (ẋ0,y0,ẏ0)(\dot x_0, y_0, \dot y_0) comes from eventTotalDerivativeTT; it is retried once if the first attempt returns NaN.

Residual and Jacobian handles

odeHandle returns FF at the current (ẇ,w,u(t))(\dot w, w, u(t)) with the inputs linearly interpolated; jacobiHandle returns the state and state-derivative Jacobian blocks the fully-implicit solver needs (the ẏ\dot y block being zero, since algebraic variables are not differentiated). The handles are referenced directly, not through anonymous wrappers, so the Jacobian reports nargout == 2 as ode15i requires.

After applySolverOptions, solve runs over the input time span and the trajectory is stored in sim.time and sim.variableTrajectory; sim.eventTime is empty since there are no events.

Input arguments

Argument Description
sim The continuousTimeMdss object (its mtiModel is TT-backed), with the initial state, input trajectory and solver options set.

Output arguments

Output Description
sim The same object with time and variableTrajectory filled in (eventTime empty — no events).

See also

continuousTimeMdss · simulateNonHybrid · eventTotalDerivativeTT · TTTensor


MyToolbox Documentation | Generated automatically by CI/CD pipeline