Aspen Touch Solutions ATM-123R Series Specifikace Strana 146

  • 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 145
3-62 Extension Unit Operations
3-62
Do While WorkFluid.FluidPhases.Count = 1
Count = Count + 1
Set WorkFluid =
hyFeedStrm.DuplicateFluid
WatFluid.MolarFlowValue =
WorkFluid.MolarFlowValue * (Count / 20)
WorkFluid.AddFluid WatFluid
WorkFluid.TPFlash
hyFeedStrm.TemperatureValue,
hyFeedStrm.PressureValue
Loop
Determine water stream flow required to
saturate feed stream.
While the number of phases in the feed
stream is still one, increase the molar
flow of the water stream. Add the feed
and water streams and reflash the
stream at the feed stream’s temperature
and pressure.
MoleFl =
WorkFluid.HeavyLiquidPhase.MolarFlowsValue
Set MoleFl to the values of the
component molar flows of the heavy
liquid phase of the fluid object WorkFluid.
Temp = WatFluid.MolarFlowValue -
MoleFl(H2O)
If Temp < 0 Then Temp = 0
hyWatStrm.MolarFlow.Calculate Temp
Set the variable Temp to be the difference
between the flow rate of the water
stream and component molar flow rate of
water in the heavy liquid phase of the
saturated stream. If the difference is
negative (i.e., no water is required), set
the molar flow rate of the water fluid to
zero.
EndCalcs:
Begin the end calculations procedure.
WorkFluid.Erase
WatFluid.Erase
Erase contents of the fluid.
With hyProdStrm
.Pressure.Erase
.Pressure.Calculate
hyFeedStrm.PressureValue
.Temperature.Erase
.Temperature.Calculate
hyFeedStrm.TemperatureValue
End With
Set product stream temperature and
pressure values.
If hyFeedStrm.MolarFlowValue = 0 Then
hyProdStrm.ComponentMolarFraction.Calculate
hyFeedStrm.ComponentMolarFractionValue
hyProdStrm.MolarFlow.Calculate
hyFeedStrm.MolarFlowValue
If feed stream molar flow is 0 then
calculate product stream as feed stream.
Else
Set Streams(0) = hyFeedStrm
Set Streams(1) = hyWatStrm
Set Streams(2) = hyProdStrm
hyContainer.Balance btMoleBalance, 2,
Streams
End If
If feed stream molar flow is not 0, then
perform a mole balance.
Code Explanation
Zobrazit stránku 145
1 2 ... 141 142 143 144 145 146 147 148 149 150 151 ... 373 374

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

Žádné komentáře