PRO/II 9.2 CALL SRVSTR使用疑问
SRVSTR subroutineSyntax: 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:image/LINE08.gif
Type
Description
image/LINE08.gif
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
image/LINE08.gif
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)呢?
看看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) homingpigeon 发表于 2013-11-26 22:56
看看array的解释: Initial element of a calculator supplied array containing values to store as proper ...
哥们真心专业!!! 这个不会啊,需要继续学习。{:1106_361:}
页:
[1]