Reported by ahaumer on 20 Nov 2015 18:29 UTC
I wonder whether it could be possible to propagate parameters via the bus (expandable connector); simple rule: one participant may set the parameter, all participants can get it. Would be a smart feature.
expandable connector Bus
parameter Real p;
end Bus;
model A
parameter Real p;
Bus bus(p=p);
end A;
model B
parameter Real p=bus.p;
Bus bus;
end B;
model C
A a(p=1);
B b;
equation
connect(a.bus, b.bus);
end C;
Migrated-From: https://trac.modelica.org/Modelica/ticket/1841
Reported by ahaumer on 20 Nov 2015 18:29 UTC
I wonder whether it could be possible to propagate parameters via the bus (expandable connector); simple rule: one participant may set the parameter, all participants can get it. Would be a smart feature.
Migrated-From: https://trac.modelica.org/Modelica/ticket/1841