Aspen Touch Solutions ATM-123R Series Specifikace Strana 39

  • 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 38
Automation 2-25
2-25
contains the PengRobinson property package.
Component(s)
The Components object is accessed through the FluidPackage
object. Each FluidPackage can have its own unique set of
Components.
The example below, shows how to access the Components
object associated with a particular FluidPackage object. In this
example each component's normal boiling point is checked and
a tally of all the components whose boiling point is below 0°C is
Example: Property Package
Dim hyFluidPackages As FluidPackages
Dim hyFluidPackage As FluidPackage
Dim hyBasis As BasisManager
Dim hyPropPackage As PropPackage
Set hyBasis = hyCase.BasisManager
Set hyFluidPackages = hyBasis.FluidPackages
For Each hyFluidPackage In hyFluidPackages
If hyFluidPackage.PropertyPackageName = “PengRobinson” Then
MsgBox “PengRobinson Property Package is Present”
Set hyPropPackage = hyFluidPackage.PropPackage
End If
Next hyFluidPackage
Syntax for accessing components
From the BasisManager
SimulationCase.BasisManager.FluidPackages.Item(0).Components
From the Flowsheet
SimulationCase.Flowsheet.Components
Zobrazit stránku 38
1 2 ... 34 35 36 37 38 39 40 41 42 43 44 ... 373 374

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

Žádné komentáře