- Index
- » Users
- » bearda
- » Profile
Posts
Posts
Dear Rene,
thank you so much for the fast and useful feedback!
Twan.
Hello,
I am trying to make a simple model where water with a small fraction of dry matter is diluted with pure water. With some effort I am now able to run simulations. The only problem is that the mass fractions of water and dry matter do not make sense. They even vary across single components, for example for a mass flow meter:
port_a.m_flow=-1 kg/s; port_a.Xi_outflow[1] = 1kg/kg
port_b.m_flow=1kg/s; port_b.Xi_outflow[1]=0.5kg/kg
I find it strange that the simulation runs without error messages even though for e.g. the mass flow meter I find the following equation
port_a.Xi_outflow = inStream(port_b.Xi_outflow);
port_b.Xi_outflow = inStream(port_a.Xi_outflow);
What is wrong in my model? It may well be a simple mistake because I am new to modelica - but I just don't see it.
Twan2.mo
Kind regards,
Twan.
Thank you! Looking forward!
Hello,
I was trying to use DynamicSelect to increase the linewidth of connector lines - in an attempt to make some simple Sankey diagrams. So far I had no success. I have tried to find information, but I did not find much. Is it correct that DynamicSelect is currently only possible for icons?
Kind regards,
Twan.
- Index
- » Users
- » bearda
- » Profile