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: SCMR | molar 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)呢?
|