Method of continuousTimeMdss.
Consistent initial derivatives for a tensor-train
(TTTensor) mdss model.
Source:
src/simulator/@continuousTimeMdss/eventTotalDerivativeTT.m
eventTotalDerivativeTT is the tensor-train counterpart
of eventTotalDerivative’s
initial solve, for the non-hybrid path (no binaries). Given a state
and the current input value and slope
,
it produces a consistent initial point for ode15i.
First it solves the implicit equality system for the state derivative and the algebraic signals ,
with lsqnonlin (Levenberg–Marquardt) using the analytic
Jacobian. It then back-solves a consistent algebraic slope
from the equality Jacobian for the fully-implicit solver; if that
back-solve is not finite,
is returned as zeros.
An empty yGuess defaults to zeros.
| Argument | Description |
|---|---|
sys |
The continuousTimeMdss simulation object (its
mtiModel is TT-backed). |
x0 |
Current state values. |
yGuess |
Initial guess for the algebraic variables; [] defaults
to zeros. |
u0 |
Input values at this time. |
du0 |
Input time-derivatives at this time. |
| Output | Description |
|---|---|
xp0 |
Consistent state derivatives . |
y0 |
Solved algebraic variables. |
dy0 |
Consistent algebraic slopes (zeros if the back-solve is non-finite). |
continuousTimeMdss
· eventTotalDerivative
· simulateNonHybridTT
· TTTensor
MyToolbox Documentation | Generated automatically by CI/CD pipeline