- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » How to prevent flow from reversing?
How to prevent flow from reversing?
How to prevent flow from reversing?
Hello everyone,
I have two connectors with the same declaration; i.e one flow and one potential variables
Connector1
flow SI.MassFlowRate Qm;
SI.Pressure p;
End Connector1;
Connector2
flow SI.MassFlowRate Qm;
SI.Pressure p;
End Connector2
Except the name of the connectors (connector1 as incoming and connector2 as leaving flow), the rest is the same in both cases.
Since the flow is reversing while simulating, despite I followed the signe convention (sume of in and out is zero), I tried also using input and output for the flow in each connector. The flow still reversing at some junctions.
Can anyone help me what I should consider in this situation?
PS: I am in the learning curve to apply modelica for a real project.
Thanks
Re: How to prevent flow from reversing?
The forum is still active but most of our developers are in holidays. I'm glad you found a solution.
Also, this is a modeling questions and maybe is better to ask these kind of questions on:
http://stackoverflow.com/questions/tagged/modelica
as we're mostly into compiler development and don't know that much about modeling.
Cheers,
Adrian Pop/
- adrpo
- 885 Posts
- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » How to prevent flow from reversing?