pre-big change

This commit is contained in:
2026-03-09 18:27:26 +01:00
parent fbc61e9fb2
commit 1312baa41d
14 changed files with 905 additions and 304 deletions

17
test1d.mo Normal file
View 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;