Aspen Touch Solutions ATM-123R Series Especificações Página 57

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 374
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 56
Automation 2-43
2-43
flashed without interfering with the simulation case.
The example below, shows how to create a Fluid off of a stream
and use the Fluid to perform a flash calculation. The
DuplicateFluid method returns a Fluid object. A variety of flashes
could have been performed, but in this case a pressure-vapour
fraction flash is run with the desired pressure and vapour
fraction used as arguments to the method.
FluidPhase(s)
The FluidPhases collection object is derived from the Fluid
object. Each FluidPhase in the collection contains a set of
properties and methods that are similar to the Fluid itself except
that the properties correspond to a specific phase of the Fluid.
The PhaseType property of the FluidPhase objects can be
Syntax for creating a fluid
SimulationCase.Flowsheet.MaterialStreams(“streamname”).DuplicateFluid
Example: Fluid
Public Sub FluidExample(pressureval As Double)
Dim hyFluid As Fluid
Dim hyStream As ProcessStream
Set hyStream = hyCase.Flowsheet.MaterialStreams.Item(0)
Set hyFluid = hyStream.DuplicateFluid
hyFluid.PVFlash pressureval, 0
MsgBox “Bubble Point Temperature = “ & hyFluid.TemperatureValue
End Sub
PhaseTypes (constants):
ptUnknownPhase
ptCombinedLiquidPhase
ptCombinedPhase
•ptLiquid2Phase
ptLiquidPhase
•ptPolymerPhase
ptSolidPhase
•ptVapourPhase
Vista de página 56
1 2 ... 52 53 54 55 56 57 58 59 60 61 62 ... 373 374

Comentários a estes Manuais

Sem comentários