| 1 | model TestConnection
|
|---|
| 2 | Modelica.Electrical.Analog.Basic.Resistor resistor annotation(
|
|---|
| 3 | Placement(visible = true, transformation(origin = {0, 0}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
|---|
| 4 | Modelica.Thermal.HeatTransfer.Components.HeatCapacitor capacitor annotation(
|
|---|
| 5 | Placement(visible = true, transformation(origin = {30, 22}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
|---|
| 6 | equation
|
|---|
| 7 | connect(resistor.n, capacitor.port) annotation(
|
|---|
| 8 | Line(points = {{10, 0}, {30, 0}, {30, 12}, {30, 12}}, color = {0, 0, 255}));
|
|---|
| 9 |
|
|---|
| 10 | annotation(
|
|---|
| 11 | uses(Modelica(version = "3.2.3")));end TestConnection;
|
|---|