以梦为马,不负韶华

搜索
查看: 1368|回复: 3
收起左侧

Aspen custom modeler模型导出问题

[复制链接]
 楼主| 发表于 1970-1-1 08:00:00 显示全部楼层 |阅读模式

我在Aspen custom modeler里面建立了一个简单闪蒸模型,在ACM里运行没问题也有结果,导入到Aspen Plus里显示警告:总流股为0和质量不守恒。我的问题可能会出在哪里呢?以下是代码,大家帮忙看看,谢谢啦!



Model flashyy

ht as temperature;
hp as pressure;

lin as input mainport;
vout as output mainport;
lout as output mainport;

ht=lin.t;
hp=lin.p;

zinflash(componentlist) as molefraction;
zinflash=lin.z;

vfr(componentlist) as molefraction;
lfr(componentlist) as molefraction;

y(componentlist) as molefraction (description:"vapor phase mole fraction");
x(componentlist) as molefraction (description:"liquid phase mole fraction");
vf as vapfraction (description:"molar vapor phase fraction");
hv as enth_mol_vap (description:"vapor phase molar enthalpy");
hl as enth_mol_liq (description:"liquid phase molar enthalpy");
call(y,x,vf,hv,hl)=pFlash(ht,hp,zinflash);
vfr=y;
lfr=x;



lout.f=(1-vf)*Lin.f;
lout.z=lfr;
lout.T=hT;
lout.P=hP;


vout.f=vf*Lin.f;
vout.z=vfr;
vout.T=hT;
vout.P=hP;

End

发表于 1970-1-1 08:00:00 显示全部楼层
ACM都是纯粹联立方程法。

点评

那导入到Aspen Plus为什么会有问题啊,能方便解答一下吗  详情 回复 发表于 2022-11-24 09:40
[发帖际遇]: hgw04044217 发帖时在路边捡到 3 个 韶华币,偷偷放进了口袋. 幸运榜 / 衰神榜
回复 支持 反对

使用道具 举报

 楼主| 发表于 1970-1-1 08:00:00 显示全部楼层
hgw04044217 发表于 2022-11-24 09:28
ACM都是纯粹联立方程法。

那导入到Aspen Plus为什么会有问题啊,能方便解答一下吗
回复 支持 反对

使用道具 举报

不想打字就选择快捷回复吧
您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|以梦为马,不负韶华

GMT+8, 2025-2-13 05:32

Powered by 以梦为马,不负韶华

© 2024-2099 Meng.Horse

快速回复 返回顶部 返回列表