Skip to content

Commit 8e555b8

Browse files
committed
Updated the composite modeling doc.
Improved the screen-dumps.
1 parent e302e12 commit 8e555b8

File tree

6 files changed

+17
-22
lines changed

6 files changed

+17
-22
lines changed
-130 Bytes
Loading
-16.5 KB
Loading
-3.48 KB
Loading
-8.63 KB
Loading
31.3 KB
Loading

UsersGuide/source/tlmcosimulation.rst

Lines changed: 17 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -27,35 +27,24 @@ provides the following general functionalities:
2727

2828
Co-Simulating an Existing Composite Model
2929
-----------------------------------------
30-
This section demonstrates how to load an existing double pendulum
31-
composite model,co-simulate it, and look at the results using OMEdit.
30+
This section demonstrates how to load an existing composite model,
31+
co-simulate it, and look at the results using OMEdit.
3232

3333
Loading a Composite Model for Co-Simulation
3434
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
3535

36-
We will use the "Double pendulum" composite model which is a multibody system that
37-
consists of three sub-models: Two OpenModelica **Shaft** sub-models (**Shaft1**
38-
and **Shaft2**) and one **SKF/BEAST bearing** sub-model that together build a
39-
double pendulum. The **SKF/BEAST bearing** sub-model is a simplified model with
40-
only three balls to speed up the simulation. **Shaft1** is connected with a
41-
spherical joint to the world coordinate system. The end of **Shaft1** is
42-
connected via a TLM interface to the outer ring of the BEAST bearing model. The
43-
inner ring of the bearing model is connected via another TLM interface to
44-
**Shaft2**. Together they build the double pendulum with two **shafts**, one
45-
spherical OpenModelica joint, and one BEAST bearing.
46-
47-
To load the double pendulum composite model, select **File > Open Composite Model(s)** from the
48-
menu and select pendulum.xml.
36+
To load the composite model, select **File > Open Composite Model(s)** from the
37+
menu and select compositemodel.xml.
4938

5039
OMEdit loads the composite model and show it in the **Libraries
5140
Browser**. Double-clicking the composite model in the **Libraries Browser** will display
52-
the double pendulum composite model as shown below in
41+
the composite model as shown below in
5342
:numref:`tlm-double-pendulum-compositemodel`.
5443

5544
.. figure :: media/tlm-double-pendulum-compositemodel.png
5645
:name: tlm-double-pendulum-compositemodel
5746
58-
Double Pendulum Composite Model.
47+
Composite Model with 3D View.
5948
6049
Co-Simulating the Composite Model
6150
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -136,6 +125,17 @@ as shown below in :numref:`tlm-loaded-external-models-library-browser`.
136125
Creating a New Composite Model
137126
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
138127

128+
We will use the "Double pendulum" composite model which is a multibody system that
129+
consists of three sub-models: Two OpenModelica **Shaft** sub-models (**Shaft1**
130+
and **Shaft2**) and one **SKF/BEAST bearing** sub-model that together build a
131+
double pendulum. The **SKF/BEAST bearing** sub-model is a simplified model with
132+
only three balls to speed up the simulation. **Shaft1** is connected with a
133+
spherical joint to the world coordinate system. The end of **Shaft1** is
134+
connected via a TLM interface to the outer ring of the BEAST bearing model. The
135+
inner ring of the bearing model is connected via another TLM interface to
136+
**Shaft2**. Together they build the double pendulum with two **shafts**, one
137+
spherical OpenModelica joint, and one BEAST bearing.
138+
139139
To create a new composite model select **File > New Composite Model** from the menu.
140140

141141
Your new composite model will appear in the in the **Libraries Browser** once created.
@@ -148,11 +148,6 @@ includes the composite model XML elements and the default simulation parameters.
148148
149149
New composite model text view.
150150
151-
Saving the Composite Model
152-
^^^^^^^^^^^^^^^^^^^^^^^^^^
153-
154-
155-
156151
Adding Submodels
157152
^^^^^^^^^^^^^^^^
158153

0 commit comments

Comments
 (0)