
Automation 2-33
2-33
If you have specified TargetValue then specify TargetPFDif as
-32767.
A Petroleum Assay name (specified as szAssayName) must exist
in the Petroleum Assay Manager. This assay must use the same
fluid package as the stream.
Example:
feed.ShiftPropIFace "Arab Light", 2004, -32767, 250
The above function specifies the feed stream molecular weight
(property key = 2004) as 250. This function will use the initial
property of the assay “Arab Light”.
ShiftPropCurveIFace
This function shifts the property value to a specified value by
using the property curve specified by user.
ShiftPropCurveIFace (myPropKey As Long, numOfData As
Long, vtTemp As Variant, vtProp As Variant, bulkVal As
Double)
Input Arguments:
Example:
Dim vtTargetTemps(6) As Double
Dim vtTargetYields(6) As Double
Dim sulKey As Integer
Dim sulBulk As Double
vtTemp1(0) = 273.15
vtTemp1(1) = 573.15
vtTemp1(2) = 773.15
vtTemp1(3) = 973.15
vtTemp1(4) = 1073.15
myPropKey Property Key
numOfData Number of property curve data points
vtTemp An array of TBP end points (in Kelvin)
vtProp An array of Property values corresponding to
TBP end points
bulkVal Bulk Value of property (Aspen HYSYS Petroleum
Refining, default units)
Comentários a estes Manuais