Bernhard Thiele

Results 37 comments of Bernhard Thiele

Since you interested in a communication between Modelica and Unity for visualization, this issue might also be interesting for @tbellmann, who had thoughts whether one should work at a dedicated...

Yes, initially the ExternalDevices library included both aspects (visualization and device drivers). These two aspects were separated, leading to two internal DLR libraries. Later, one of these libraries evolved to...

Hm, the restrictions imposed on external objects seem quite arbitrarily to me. Things should compose in a language. It seems odd to me that this would not be allowed and...

People actually misused Integer to hold void*. That worked fine as long as Dymola code was 32 bit. Now, we still could have a hack using "doubles" to hold a...

I don't see it. Any example where things would go wrong?

I don't know how external objects are implemented in Dymola or OpenModelica. But a first idea would be to keep track at initialization whenever an external object is generated and...

Ok. That would need to be handled as a special case, similar to how the MLS proposes it: "External objects may be a protected component (or part of one) in...

Do you mean alias in the sense of ``` MyExternalObject obj = MyExternObject(); MyExternalObject alias = obj; ``` That wouldn't change anything. At simulation end or at simulation failure I...

Hm, this sounds like a tool optimization to look for variables that are only used at initialization time and discard them. If that optimization is performed, a tool might need...