
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. By adding …
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 would like to …
modelica - OpenModelica water hammer model - result not what I am ...
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 in a system of …
modelica - Mole fraction of mixed gas - Stack Overflow
Mar 21, 2025 · (1)Modelica.Fluid.Sensors.MassFractions (2)Modelica.Media.Interfaces.PartialMixtureMedium.massToMoleFractions It would be helpful if you …
modelica - Inversing a model with OpenModelica raises an error when ...
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 overhead crane …
modelica - How to assign some components value to a vector with a …
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 cases to share …
modelica - Expose parameters of subcomponent in the parameter …
Apr 23, 2025 · how can I show/display by default the parameters of subcomponent(s) directly in the parameter panel of the main component? Let's consider the following example: package …
modelica - Usage for ExternalMedia in Dymola - Stack Overflow
Jan 2, 2023 · Start Dymola and change the default Modelica library version under File > Options > Version. The user manual also suggests to tick Force upgrade of models to this version, but I am not …
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 - Medium model fails with negative pressure and …
Jan 21, 2025 · In your medium model, you have given cp_const and cv_const negative values. Is this on purpose? Besides, if you replace the pipe models with Modelica.Fluid.Pipes.StaticPipe, the model …