Error When Adding Heat Capacitor in Modelica Simulation – How to Debug?
Below is a simplified version of a model I’m working on. In this model, two parallel dynamic pipes exchange heat through convection with a flow composed of two dynamic pipes. The system has been simplified, and the values used are arbitrary to maintain confidentiality.
How to define pressure drop in complexe model?
I’m working on a very complex thermohydraulic model with parallel flows from more than three sources. In my current setup, I’m using the orifice component to define and scale the pressure drop.
Array dimensions must be known at compile time – Error Modelica
🙂
Why do I get this error from Modelica:
Is there a way to define Boundary_pT with a two-phase water?
I’m trying to study a two-phase flow problem where, at the source, I have a quantity x of the mass flow as vapor. From what I understand, the “fixed composition value” “X” can help define this, but in my code, if I apply 0.95 (95% of my flow as fluid), I get the following error:
Is it possible to model two-phase flow in a model with dynamic pipe?
Does anyone have an example of a two-phase flow model with dynamic pipe?
OMC in openmeodica outputs incorrect parameters in csv file
I wrote an oms script, but I am not getting correct output described by my script. In the script I wanted to save parameters (“building_load.p”, “grid.sou.S[1]”, “generator.P”) to a csv file, so I ran this script.
How to develop a 2D convection-diffusion component for mass transport
I am working on a kind of plug flow reactor in which I have an unidirectional flow (let’s say, from bottom to top), but there is also mass transfer due to diffusion on the sides with the adjacent components, as in the figure below.
How to parameterize a Modelica Block Connector
I’d like to parameterize the min and max attributes of a block connector.
Clarification of variableFilter in .OpenModelica.Scripting.simulate
I need a clarification about using variableFilter. I only need like 3 variables from my simulation. I want modelica to only output those variables as a csv file. I know the default is .* which outputs all the variables. I only need to select 3, so I was thinking of using variableFilter = x[.*]
. I am a little confused about the syntax, but would it be variableFilter = x[.* line1.C, cableTemp.T, commercialCable.l]
? Thank you for the help.
Compatibility of TRANSFORM library with OpenModelica
I wanted to know if TRANSFORM library is now compatible with OpenModelica ? And if yes, the degree of compatibility with OpenModelica. I’m running the test on this config: