Skip to content

Commit 09cc274

Browse files
committed
draft parametric problems tutorial
1 parent 431c1b5 commit 09cc274

File tree

2 files changed

+276
-1322
lines changed

2 files changed

+276
-1322
lines changed

docs/source/tutorials/inputs.ipynb

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@
422422
"source": [
423423
"We will use a {class}`opinf.basis.PODBasis` to reduce the dimension of the snapshot training data, which approximates the discretized state vector as $\\q(t) \\approx \\Vr\\qhat(t)$ for some $\\Vr\\in\\RR^{n\\times r}$ with orthonormal columns and $\\qhat(t)\\in\\RR^{r}$, with and $r\\ll n$.\n",
424424
"Input training data are *not* typically compressed with dimensionality reduction or subjected to other pre-processing routines.\n",
425-
"Because the FOM {eq}`eq_inputs_fom` has the linear-time invariant form $\\ddt\\q(t) = \\A\\q(t) + \\B u(t)$, we seek a ROM with the structure, i.e.,\n",
425+
"Because the FOM {eq}`eq_inputs_fom` has the linear-time invariant form $\\ddt\\q(t) = \\A\\q(t) + \\B u(t)$, we seek a ROM with the same structure, i.e.,\n",
426426
"\n",
427427
"$$\n",
428428
"\\begin{aligned}\n",
@@ -432,7 +432,19 @@
432432
"\\end{aligned}\n",
433433
"$$\n",
434434
"\n",
435-
"Data for the time derivative $\\ddt\\qhat(t)$ are estimated in this example with sixth-order finite differences using {class}`opinf.ddt.UniformFiniteDifferencer`."
435+
"Data for the time derivative $\\ddt\\qhat(t)$ are estimated in this example with sixth-order finite differences using {class}`opinf.ddt.UniformFiniteDifferencer`.\n",
436+
"The underlying least-squares problem to determine $\\Ahat$ and $\\Bhat$ is given by\n",
437+
"\n",
438+
"$$\n",
439+
"\\begin{aligned}\n",
440+
" \\min_{\\Ahat,\\Bhat}\n",
441+
" \\sum_{j=0]^{k-1}\\left\\|\n",
442+
" \\Ahat\\qhat_{j} + \\Bhat\\u_j - \\dot{\\qhat}_j\n",
443+
" \\right\\|_{2}^{2},\n",
444+
"\\end{aligned}\n",
445+
"$$\n",
446+
"\n",
447+
"where $\\qhat_j = \\qhat(t_j)\\in\\RR^{r}$ and $u_j = u(t_j)\\in\\RR$ are the state snapshots and input data, respectively, and $\\dot{\\qhat}_j \\approx \\ddt\\qhat(t)|_{t=t_j}\\in\\RR^{r}$ are the estimated time derivatives."
436448
]
437449
},
438450
{

0 commit comments

Comments
 (0)