Modelica Sliding mass valve implementing a “hard stop” for min and max displacement
I am trying to create a model for a poppet valve with a mass element that is held down by a spring and opens when the pressure force on the inlet side is greater than the sum of the spring force and outlet side pressure force.
Modelica Sliding mass valve implementing a “hard stop” for min and max displacement
I am trying to create a model for a poppet valve with a mass element that is held down by a spring and opens when the pressure force on the inlet side is greater than the sum of the spring force and outlet side pressure force.
Modelica Sliding mass valve implementing a “hard stop” for min and max displacement
I am trying to create a model for a poppet valve with a mass element that is held down by a spring and opens when the pressure force on the inlet side is greater than the sum of the spring force and outlet side pressure force.
Using CombiTable1Ds to define temperature dependant material properties
I created a material library where each material is a CombiTable1Ds with a different “table” variable (type Real).
The first column is temperature and the following columns are different properties for ex: y[1] is thermal conductivity and y[2] is density
How to Debug ‘Matrix Nearly Singular’ error and simulation stuck at 0% in OpenModelica ?”
In the model below, I am simulating a flow that separates into two streams. This is part of a complex model that transitions the inlet flow from 0.25 kg/s to 0.002 kg/s. The simulation consists of three phases:
Error when applying 3D vector Constant source to WorldForce (any Multibody.Forces) model
I’m having trouble applying a Constant source with a 3D vector to a WorldForce model. When I try to set the constant k to a 3D vector, I get the following error:
Modelling hoist with wire rope in OpenModelica
Is there a way to model pulleys and cables similar to the solutions incorporated in Maplesoft and Simscape in OpenModelica?
Passing the model check but failed in compilation. How can I debug the issue?
I am a beginner in OpenModelica and currently focusing on thermo-hydraulic systems. As I am trying to build a district heating system, the model has passed the model checkout phase, yet failed in compilation with an error “no member named ‘nominal’ in ‘struct INTEGER_ATTRIBUTE'”.
How to use initial equations in open modelica?
I am trying to declare a table that is correlated to another one. My goal is to declare a table with dimensions (nlines, 2) and then create another table that starts with a given value and evolves in the same manner as the first table. To achieve this, I use initial equations because I want the correlated data to be ready before the simulation starts.
How to use convertPackageToLibrary function?
I’d like to understand when and how to use the function OpenModelica.Scripting.convertPackageToLibrary
. I think the documentation on this is very sparse and I am not successful trying to use it in any way.