英文:
How can I mix petroleum and natural gas in Modelica/SystemModeler?
问题
I am trying to simulate petroleum gas lift like in the image below:
在下面的图像中,我尝试模拟石油气举:
Here, gas will be injected through the valve and mix with oil. The problem is that Modelica always gives an error when the medium in one component differs from the medium in the other. I am not sure how to make them mix together.
在这里,气体将通过阀门注入并与油混合。问题在于,当一个组件中的介质与另一个组件中的介质不同时,Modelica总是会出错。我不确定如何使它们混合在一起。
I would like to mix natural gas with petroleum and be able to control the gas injection rate to control the production of petroleum. Any ideas on how to make gas and petroleum mix in Modelica/ SystemModeler?
我想将天然气与石油混合,并能够控制气体注入速率以控制石油的生产。有关如何在Modelica/SystemModeler中混合气体和石油的任何想法吗?
Thanks
谢谢
I tried this, but I can't mix different media:
我尝试了这个,但无法混合不同介质:
英文:
I am trying to simulate petroleum gas lift like in the image below:
enter image description here
Here, gas will be injected through the valve and mix with oil. The problem is that Modelica always gives an error when the medium in one component differs from the medium in the other. I am not sure how to make them mix together.
I would like to mix natural gas with petroleum and be able to control the gas injection rate to control the production of petroleum. Any ideas on how to make gas and petroleum mix in Modelica/ SystemModeler?
Thanks
I tried this, but I can't mix different media:
答案1
得分: 3
你需要定义一个新的中型模型,描述了气体和石油混合物的行为。这是一个非常棘手的问题,你想要建模。我建议先进行一些研究,找到描述这种现象在一维情况下的文献,以便找到如何在Modelica中描述它的方法。
英文:
You have to define a new Medium model that describes the behavior of the mixture of gas and petroleum. It's a very tricky problem that you want to model. I suggest to do some research first to find literature describing this phenomenon in 1D in order to find a way how to describe it in Modelica.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论