You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+48-6Lines changed: 48 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,9 +10,38 @@
10
10
11
11
of large-scale port-Hamiltonian (pH) models. The model class of pH systems enables energy-based modeling and a flexible coupling of models across different physical domains. This makes them well-suited for the simulation and control of complex technical systems.
12
12
13
-
### The *phs* class
13
+
##Port-Hamiltonian systems
14
14
15
-
In **MORpH**, pH models are represented as objects of the *phs* class. They can be created in the following way:
15
+
In **MORpH**, we work with pH models of the following form:
16
+
17
+
$$
18
+
\begin{align*}
19
+
Ex(t) &= (J-R)Qx(t) + (G-P)u(t), \\
20
+
y(t) &= (G+P)^TQx(t) + (S+N)u(t),
21
+
\end{align*}
22
+
$$
23
+
24
+
where $E,Q,J,R \in \mathbb{R}^{n \times n}$, $G,P \in \mathbb{R}^{n \times m}$, $S,N \in \mathbb{R}^{m \times m}$ fulfill the following constraints:
with reduced state vector $\hat{x} \in \mathbb{R}^{r}$ such that (i) $r \ll n$, (ii) $\hat{y} \approx y$ for certain $u$ and (iii) the reduced model fulfills the pH structural constraints.
67
+
68
+
**MORpH** offers different algorithms to reduce large-scale pH models with an intuitive user interface.
29
69
For example, we can reduce our created pH model ```sys``` with the IRKA-PH algorithm (see [[1]](https://doi.org/10.1016/j.automatica.2012.05.052)) to a system with dimension ```redOrder``` via
30
70
```
31
71
redSys = irkaPH(sys, redOrder, Opts);
32
72
```
33
73
The ```Opts``` struct can be used to configure the algorithm's parameters.
34
-
An overview of the implemented algorithms is given [HERE](src/MOR/README.md). For a more detailed description of the different algorithms, pleases have a look at the [DEMO](/demos) files.
74
+
An overview of the implemented algorithms is given [here](src/MOR/README.md). For a more detailed description of the different algorithms, pleases have a look at the [demos](/demos).
35
75
36
76
37
77
## Installation
38
78
39
79
After downloading **MORpH**, change to the installation directory in MATLAB and run the script `setup_morph.m`.
40
80
It also assists with the installation of third-party software that may be required for some functionalities within **MORpH**.
41
81
42
-
### Toolbox structure
82
+
## Getting started
83
+
You successfully installed **MORpH**? Great! The best way to get familiar with the toolbox is the [demo for creating pH models](demos/demo_phs_class.mlx). After you created your first pH model, you can analyze your model with the functions provided [here](src/@phs). Next, you can have a look [here](src/MOR/README.md) for an overview of the different MOR methods.
84
+
43
85
The toolbox is structured as follows:
44
86
45
87
**MORpH** (main folder)
@@ -74,4 +116,4 @@ For more information on how to contribute, please look [HERE](/CONTRIBUTING.md).
74
116
75
117
## Copyright
76
118
This toolbox is developed by [MORLab](https://www.epc.ed.tum.de/en/rt/research/model-order-reduction/), the model reduction lab at the [Chair of Automatic Control](https://www.epc.ed.tum.de/en/rt/home/) at [TUM](https://www.tum.de/en/).
0 commit comments