Method of continuousTimeMdss.
Integrate a non-hybrid tensor-train (TTTensor)
mdss model as a DAE with ode15i.
Source:
src/simulator/@continuousTimeMdss/simulateNonHybridTT.m
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
with MATLAB’s fully-implicit ode15i. The solver state is
.
The consistent initial point
comes from eventTotalDerivativeTT;
it is retried once if the first attempt returns NaN.
odeHandle returns
at the current
with the inputs linearly interpolated; jacobiHandle returns
the state and state-derivative Jacobian blocks the fully-implicit solver
needs (the
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.
| Argument | Description |
|---|---|
sim |
The continuousTimeMdss object (its
mtiModel is TT-backed), with the initial state, input
trajectory and solver options set. |
| Output | Description |
|---|---|
sim |
The same object with time and
variableTrajectory filled in (eventTime empty
— no events). |
continuousTimeMdss
· simulateNonHybrid
· eventTotalDerivativeTT
· TTTensor
MyToolbox Documentation | Generated automatically by CI/CD pipeline