pre-big change
This commit is contained in:
17
test1d.mo
Normal file
17
test1d.mo
Normal file
@@ -0,0 +1,17 @@
|
||||
model test1d
|
||||
BondGraph.J1 j1(N = 3, s = {-1, -1, 1}) annotation(
|
||||
Placement(transformation(extent = {{-10, -10}, {10, 10}})));
|
||||
BondGraph.R r1(R = 1) annotation(
|
||||
Placement(transformation(origin = {0, 40}, extent = {{-10, -10}, {10, 10}})));
|
||||
BondGraph.R r2(R = 1) annotation(
|
||||
Placement(transformation(origin = {0, -40}, extent = {{-10, -10}, {10, 10}})));
|
||||
BondGraph.Se se(e0 = 1) annotation(
|
||||
Placement(transformation(origin = {-40, 0}, extent = {{-10, -10}, {10, 10}})));
|
||||
equation
|
||||
connect(j1.P[1], r1.p) annotation(
|
||||
Line(points = {{0, 0}, {0, 40}}, color = {0, 0, 127}));
|
||||
connect(j1.P[2], r2.p) annotation(
|
||||
Line(points = {{0, 0}, {0, -40}}, color = {0, 0, 127}));
|
||||
connect(se.p, j1.P[3]) annotation(
|
||||
Line(points = {{-32, 0}, {0, 0}}, color = {0, 0, 127}));
|
||||
end test1d;
|
||||
Reference in New Issue
Block a user