Skip to content

Commit

Permalink
Built site for gh-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
hurak committed Dec 6, 2024
1 parent 81ffb3d commit 335dafc
Show file tree
Hide file tree
Showing 49 changed files with 140,939 additions and 103,922 deletions.
2 changes: 1 addition & 1 deletion .nojekyll
Original file line number Diff line number Diff line change
@@ -1 +1 @@
9ce7609c
78582dc2
1,164 changes: 1,164 additions & 0 deletions classes_references 17.html

Large diffs are not rendered by default.

136 changes: 68 additions & 68 deletions classes_reset.html

Large diffs are not rendered by default.

1,107 changes: 1,107 additions & 0 deletions classes_software 20.html

Large diffs are not rendered by default.

58 changes: 29 additions & 29 deletions classes_switched.html

Large diffs are not rendered by default.

14,678 changes: 7,339 additions & 7,339 deletions classes_switched_files/figure-html/cell-2-output-1.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14,752 changes: 7,376 additions & 7,376 deletions classes_switched_files/figure-html/cell-4-output-1.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14,954 changes: 7,477 additions & 7,477 deletions classes_switched_files/figure-html/cell-5-output-1.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
30,382 changes: 15,191 additions & 15,191 deletions classes_switched_files/figure-html/cell-6-output-1.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1,267 changes: 1,267 additions & 0 deletions complementarity_constraints 17.html

Large diffs are not rendered by default.

1,105 changes: 1,105 additions & 0 deletions complementarity_references 21.html

Large diffs are not rendered by default.

1,098 changes: 593 additions & 505 deletions complementarity_simulations.html

Large diffs are not rendered by default.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1,377 changes: 1,377 additions & 0 deletions complementarity_systems 13.html

Large diffs are not rendered by default.

18 changes: 9 additions & 9 deletions complementarity_systems.html
Original file line number Diff line number Diff line change
Expand Up @@ -661,9 +661,9 @@ <h2 class="anchored" data-anchor-id="linear-complementarity-system-lcs">Linear c
<p>Having introduced the <em>complementarity constraints</em> and optimization problems with these constraints, we can now show how these constraints can be used to model a certain class of dynamical systems – <em>complementarity dynamical systems</em>. We start with linear ones, namely, linear complementarity systems (LCS). These are also called in the literature as Linear dynamical complementarity problems (LDCP).</p>
<p>Linear complementarity system is modelled by <span id="eq-linear-complementarity-system"><span class="math display">\boxed{
\begin{aligned}
\dot x(t) &amp;= A x(t) + Bu(t)\\
y(t) &amp;= C x(t) + Du(t)\\
0&amp;\leq u(t) \perp y(t) \geq 0.
\dot{\bm x}(t) &amp;= \mathbf A \bm x(t) + \mathbf B\bm u(t)\\
\bm y(t) &amp;= \mathbf C \bm x(t) + \mathbf D\bm u(t)\\
\mathbf 0&amp;\leq \bm u(t) \perp \bm y(t) \geq \mathbf 0.
\end{aligned}}
\tag{1}</span></span></p>
<div id="exm-electrical-circuit-as-LCS" class="theorem example">
Expand All @@ -676,12 +676,12 @@ <h2 class="anchored" data-anchor-id="linear-complementarity-system-lcs">Linear c
</div>
<p>Note the upside-down orientation of the voltage and the current for the capacitor – we wanted the diode current identical to the capacitor current.</p>
<p>Following the charge formalism within Lagrangian modelling, we can choose the generalized coordinates as <span class="math display">
q = \begin{bmatrix}
\bm q = \begin{bmatrix}
q_L \\ q_C
\end{bmatrix}.
</span></p>
<p>That this is indeed a sufficient number is obvious, but we can also check the classical formula <span class="math inline">B-N+1 = 4-3+1 = 2</span>. But we can also choose the state variables as <span class="math display">
x = \begin{bmatrix}
\bm x = \begin{bmatrix}
i_L\\ q_c
\end{bmatrix}.
</span></p>
Expand Down Expand Up @@ -778,9 +778,9 @@ <h2 class="anchored" data-anchor-id="linear-complementarity-system-lcs">Linear c
<p>The input <span class="math inline">u_1</span> corresponds to the reaction force of the hard stop applied to the left cart. Another input is <span class="math inline">u_2</span> that corresponds to the force exerted by the left cart onto the right cart.</p>
<p>The state equations are <span class="math display">
\begin{aligned}
\dot x_1(t) &amp;= x_3\\
\dot x_2(t) &amp;= x_4\\
\dot x_3(t) &amp;= -\frac{k_1+k_2}{m_1}x_1(t) + \frac{k_2}{m_1}x_2(t) + \frac{1}{m_1}u_1(t) - \frac{1}{m_1}u_2(t)\\
\dot x_1(t) &amp;= x_3,\\
\dot x_2(t) &amp;= x_4,\\
\dot x_3(t) &amp;= -\frac{k_1+k_2}{m_1}x_1(t) + \frac{k_2}{m_1}x_2(t) + \frac{1}{m_1}u_1(t) - \frac{1}{m_1}u_2(t),\\
\dot x_4(t) &amp;= \frac{k_2}{m_2}x_1(t) - \frac{k_2}{m_2} x_2(t) + \frac{1}{m_2}u_2(t).
\end{aligned}
</span></p>
Expand All @@ -790,7 +790,7 @@ <h2 class="anchored" data-anchor-id="linear-complementarity-system-lcs">Linear c
</span></p>
<p>This motivates us to define two output variables as <span class="math display">
\begin{aligned}
y_1(t) &amp;= x_1(t)\\
y_1(t) &amp;= x_1(t),\\
y_2(t) &amp;= x_2(t)-x_1(t).
\end{aligned}
</span></p>
Expand Down
Loading

0 comments on commit 335dafc

Please sign in to comment.