ConnectSystemModelComponents

ConnectSystemModelComponents[{"c1""comp1",},{"c1.a""c2.b",}]

creates a system model by connecting connector "a" of component "c1" with connector "b" of component "c2" etc.

Details and Options

Examples

open allclose all

Basic Examples  (2)

Create a simple electrical circuit:

In[1]:=
Click for copyable input
In[2]:=
Click for copyable input
In[3]:=
Click for copyable input
Out[3]=

Show the current and voltage in the inductor:

In[4]:=
Click for copyable input
Out[4]=

Use short naming to refer to the Abs and Sine components in Modelica.Blocks:

In[1]:=
Click for copyable input
In[2]:=
Click for copyable input
In[3]:=
Click for copyable input
Out[3]=
In[4]:=
Click for copyable input
Out[4]=

Scope  (4)

Generalizations & Extensions  (2)

Applications  (3)

Properties & Relations  (3)

Neat Examples  (1)

See Also

CreateSystemModel  SystemModel

Introduced in 2018
(11.3)