I don’t know what this is. There’s not a single example on the landing page. There’s not a single example on any of the main links from the landing page. But the landing page does have a merch store so you can buy mugs and hoodies and look at huge company logos of “organizational members”, whatever that is. You made something. Show me what you made. I’m probably not going to spend more than 30 seconds trying to figur…
Modelica
91–100 of 118 posts
Re: Modelica
#92Earlier quoted context omitted.
Does MATLAB also compete in the same field?
MATLAB/Simulnk is imperative. They have signal flow/causal approach. So you should know ahead of time which variable causes another variable to change i.e. which is defined first. Modelica is acausal. You define the variables and how they are related (equations). The compiler handles variable dependencies and resolution internally. There are pros & cons of each. Both are used for simulating cyber-physical systems.
So what is really the meaning of "acausal" in this context?
Re: Modelica
#93+1 for ModelingToolkit.jl, it took the lessons from Modelica and is a joy to work with.
Re: Modelica
#94Earlier quoted context omitted.
Sounds like Simulink to me, which is one of the major MATLAB programming environments. ETA: Apparently MathWorks has Simscape in this category.
And Mathematica has this: https://www.wolfram.com/system-modeler/
Re: Modelica
#95Earlier quoted context omitted.
Ah! You're the author of Modelica by example?
Yes. And "Introduction to Physical Modeling with Modelica". I also built the Modelica Playground (which I deliberately didn't link to because a thundering herd of HN readers would have crashed it).
Re: Modelica
#96Earlier quoted context omitted.
MATLAB/Simulnk is imperative. They have signal flow/causal approach. So you should know ahead of time which variable causes another variable to change i.e. which is defined first. Modelica is acausal. You define the variables and how they are related (equations). The compiler handles variable dependencies and resolution internally. There are pros & cons of each. Both are used for simulating cyber-physical systems.
I seem to have a problem understanding "acausal". Is its meaning "not causal"? To me that wouldn't make much sense and sounds like another buzzword. The software still runs inside a computer. Everything inside of it is causal. And nust because the compiler decides in what order to do what, that also doesn't make it not causal, since surely the compiler follows some well known rules that _cause_ it to decide this way…
Re: Modelica
#97Earlier quoted context omitted.
"Modelica is an object oriented language to model cyber-physical systems." Literally the first sentence.
There's a big difference between showing and telling. GP wants a demo that makes it clear that something interesting has been produced.
Re: Modelica
#98Earlier quoted context omitted.
MATLAB/Simulnk is imperative. They have signal flow/causal approach. So you should know ahead of time which variable causes another variable to change i.e. which is defined first. Modelica is acausal. You define the variables and how they are related (equations). The compiler handles variable dependencies and resolution internally. There are pros & cons of each. Both are used for simulating cyber-physical systems.
I seem to have a problem understanding "acausal". Is its meaning "not causal"? To me that wouldn't make much sense and sounds like another buzzword. The software still runs inside a computer. Everything inside of it is causal. And nust because the compiler decides in what order to do what, that also doesn't make it not causal, since surely the compiler follows some well known rules that _cause_ it to decide this way…
This makes modeling much easier because causality doesn't compose. Adding a new component to a model can totally change what the optimal causalization is, so using an acausal framework the compiler will figure that out, but in a causal framework the user has to re-derive the causality of their model.
Re: Modelica
#99This is a pretty niche acausal language, and is used extensively in Motorsports (F1, NASCAR) for real-time simulation on the driver simulator. The language spec is open source but there many commercial compilers, Dymola is the most popular. I code in this language extensively and its acausal nature is extremely powerful. It makes your models highly composable, you can basically assemble a mechanical system like a bun…
Re: Modelica
#100Any idea if that's the case?