Aspen Touch Solutions ATM-123R Series Specifikace Strana 43

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 374
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 42
Automation 2-29
2-29
Below is an example on creating an assay.
Blend(s)
Blends are created through the BasisManager and can be
completed by specifying at least one assay. Multiple assays can
be used in a blend as long as flow rates for each of the assays is
specified. A large number of blend properties for the
hypocomponents created can be viewed.
The example below, creates a blend, assigns one assay to the
blend, and then prints out the TBP values for the blend. The
Example: Creating Assays
Dim hyAssay As AssayTBP
Dim hyBasis As BasisManager
Set hyAssay = hyBasis.OilManager.Assays.Add(“AssayName”, “TBP”)
With hyAssay
.Basis = ab_LiquidVolumeFraction
.BulkMolecularWeight = 300
.BulkMassDensity.SetValue 783, “API”
Dim hyValue As Variant
Dim hyPercent As Variant
hyPercent = Array(0,10,20,30,40,50,60,70,80,90,98)
hyValue =
Array(26.67,123.89,176.11,221.11,275,335,399,490.56,590.56,691.67,
795.56)
.AssayPercentForBoilingTemperature = hyPercent
.BoilingTemperatureValue = hyValue
.Calculate
End With
Syntax for Blends
Referencing a Collection
Set hyBlends = hyCase.BasisManager.OilManager.Blends
Referencing a Member
Set hyBlend = hyCase.BasisManager.OilManager.Blend.Item(“blendname”)
Adding Assay to Blend
HyBlend.AddAssay “AssayName
Installing to a ProcessStream
hyBlend.InstallIntoStream “StreamName
Zobrazit stránku 42
1 2 ... 38 39 40 41 42 43 44 45 46 47 48 ... 373 374

Komentáře k této Příručce

Žádné komentáře