
simulink - Modelica vs Simscape - Stack Overflow
Sep 11, 2017 · However, Modelica isn't the only option here. There is also Simscape, using which you can combine physical ports (as in Modelica) with block-based modeling of Simulink. I …
modelica - How to use an initial equation to determine parameter …
Jun 27, 2024 · By default, parameters need to be computed when they are declared (=binding equation). There is a possibility though e.g. mentioned in Modelica Specification Section 4.4.3. …
modelica - OpenModelica water hammer model - result not what I …
Oct 30, 2024 · I'm trying to learn how to use OpenModelica. For a while, I have been trying to make a simple model to simulate the water hammer effect caused by a valve suddenly closing …
Trouble with relative (modellica://...) path names in Dymola
Dec 2, 2021 · with: [modelica-uri]: modelica:// [package]: Absolute class path to a currently loaded package /: the slash is vital. From the modelica spec: Any Modelica-scheme URI containing a …
modelica - Inversing a model with OpenModelica raises an error …
Oct 25, 2023 · I'm studying the motorization of the trolley of a boat loading gantry. The gantry consists of a frame that moves on rails on the port quay. The frame supports an M=32 ton …
modelica - How to assign some components value to a vector with …
Sep 30, 2024 · 0 I would like to know if it is possible to link some components of an object into a vector via a modelica loop or if I should pass through a python script. I have two applications …
modelica - Embedding externally generated C-code within …
Nov 10, 2022 · The code can be saved into a function that can be called from outside. What is the best way to embed this kind of external C-code into the rest of the Modelica model? How can …
fluid - How to add a fan with a fan curve to a set of air ducts in ...
Mar 23, 2023 · I am trying to model a network of pipes that will transport air in Openmodelica Fluid library. I tried the "Pump", "ControlledPump" and "PrescribedPump" from Fluid.Mac...
modelica - How do I fix the error, "Model is structurally singular ...
Mar 14, 2019 · This is one of the most common errors I receive when working with OpenModelica Software. I already understand how this error is usually triggered, when system ...
modelica - Redeclare model with "outer" parameters - Stack …
Nov 15, 2021 · I tried redeclare model that contain global (outer) parameter. Here simple example of my code: package tests model M0 inner parameter Real a = 1; end M0; model M1 extends …