以梦为马,不负韶华

搜索
查看: 2603|回复: 0
收起左侧

[讨论] PRO/II 9.2 CALL SRVSTR使用疑问

[复制链接]
发表于 2013-11-9 19:05:34 显示全部楼层 |阅读模式
SRVSTR subroutine
Syntax: nn CALL SRVSTR (type, array, sid, i, j)

Use this call to store a range of values representing component stream properties from a calculator array into a stream. The parameters for the subroutine are:

type: The component property to be stored in the stream. The following table lists all the available options:

                               
登录/注册后可看大图
Type
Description

                               
登录/注册后可看大图
SCMRmolar rate of component in stream
SCWR
weight rate of component in stream
SCLVR
component standard of liquid volume rate
SCGVR
component standard gas volume rate

                               
登录/注册后可看大图

array: Initial element of a calculator supplied array containing values to store as properties of components in a stream.

sid: Identifier of the stream in which the property has to be stored. It may be any stream identifier selected in the calculator Stream Sequence Table , or an element of IS in the form ISn

i, j: Component id numbers. They indicate the first and last components of the stream, respectively, for which property is stored.

Example: CALL SRVSTR( SCMR, V(3), STRM1, 2, 5 )

The values of elements V(3) - V(6) are stored as the molar flow rates of components 2 - 5 in stream STRM1.

在最后的示例中,怎么知道的是V(3) - V(6)呢?

评分

参与人数 1韶华币 +1 收起 理由
xgjxgj1985 + 1 积极发表议题

查看全部评分

 成长值: 38650

发表于 2013-11-9 19:05:34 显示全部楼层
看看array的解释: Initial element of a calculator supplied array containing values to store as properties of components in a stream.

这个例子中的V(3)就是数组中即将用到流股的第一个数值,范例中提到了需要对从第二个到第五个组分(2,5)进行流量赋值,那么说明使用数组的数据就是V(3)到V(6)

点评

哥们真心专业!!!  详情 回复 发表于 2013-11-26 23:03

评分

参与人数 1韶华币 +10 收起 理由
longkui1990 + 10 我很同意你的看法

查看全部评分

回复 支持 反对

使用道具 举报

 楼主| 发表于 2013-11-9 19:05:34 显示全部楼层
homingpigeon 发表于 2013-11-26 22:56
看看array的解释: Initial element of a calculator supplied array containing values to store as proper ...

哥们真心专业!!!
回复 支持 反对

使用道具 举报

发表于 2013-11-9 19:05:34 显示全部楼层
这个不会啊,需要继续学习。{:1106_361:}
回复 支持 反对

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-4-13 21:28

Powered by 以梦为马,不负韶华

© 2024-2099 Meng.Horse

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