Alph - A Little Process Helper

This is the completed case for part 6 of the Alph Tutorial.

Loading this case into Alph

Browse this page with the web browser on your iPhone. Tap and hold in the gray area below to select the whole region and and then tap the copy button that appears. Run Alph and use the Load Case command to load this case from the paste board.

{
 "SelectedFluidIndex" : 7,
 "PropPkg" : "APRNGL",
 "Tools" : [
   {
     "Type" : "Hydrate",
     "HydrateVariable" : "P",
     "name" : "hydrate",
     "DiagramX" : 93,
     "DiagramY" : 3,
     "Feed" : "feed"
   },
   {
     "Source" : "feed.v",
     "QualityLineSpec" : "1. 0.75 0.5 .95",
     "name" : "envelope",
     "DiagramX" : 185,
     "Type" : "Phase Envelope",
     "DiagramY" : 11,
     "StartPressure" : "500 kPa"
   },
   {
     "minInnerStep" : 0.0001,
     "Pressures" : [
       {
         "Spec" : "700 kPa",
         "Stage" : 0
       },
       {
         "Spec" : "750 kPa",
         "Stage" : -1
       }
     ],
     "ovhdFormula" : "140 kgmole/h",
     "DiagramX" : 211.6708,
     "Feeds" : [
       {
         "Stage" : 4,
         "Fluid" : "feed.l"
       },
       {
         "Stage" : 7,
         "Fluid" : "lts.l"
       }
     ],
     "maxOuterError" : 0.0001,
     "viewPage" : 2,
     "maxOuterLoops" : 20,
     "nStages" : 15,
     "refluxRatio" : "1.0",
     "attemptRestart" : false,
     "dampingFactor" : 1,
     "maxInnerLoops" : 50,
     "name" : "stab",
     "Description" : "liquid stabilizer",
     "Type" : "Tower",
     "Draws" : [],
     "Energies" : [
       {
         "Spec" : "(@vpcheck.t -{fromunit \"f\" \"t\" 100}) / 500",
         "Stage" : 0
       },
       {
         "Stage" : -1
       }
     ],
     "Temperatures" : [
       {
         "Spec" : "20 C",
         "Stage" : 0
       },
       {
         "Spec" : "150 C",
         "Stage" : -1
       }
     ],
     "DiagramY" : 204.5386,
     "maxInnerError" : 0.0001
   },
   {
     "name" : "c3comp",
     "Description" : "Propane Compressor",
     "Feed" : "c3comp",
     "DiagramX" : 295.5243,
     "outP" : "@c3jt + $dp",
     "Type" : "Compressor/Expander",
     "efficiency" : "75",
     "DiagramY" : 347.4706
   }
 ],
 "diagramX" : 0,
 "SelectedToolIndex" : 3,
 "Program" : "Alph",
 "NextFluidNumber" : 13,
 "Fluids" : [
   {
     "CompFormula" : "[ 70,20,10,9,8,7,6,5 ]",
     "Retrograde" : false,
     "FlowFormula" : "10 mmscfd",
     "SecondPropFormula" : "4000 kPa",
     "name" : "feed",
     "DiagramX" : 12,
     "TwoLiquids" : false,
     "SumCompForFlow" : false,
     "FirstPropType" : "T",
     "SecondPropType" : "P",
     "DiagramY" : 52,
     "FirstPropFormula" : "10 C"
   },
   {
     "CompFormula" : "@feed.v",
     "Retrograde" : false,
     "FlowFormula" : "@feed.v",
     "SecondPropFormula" : "@feed - 2 * $dp",
     "name" : "lts",
     "DiagramX" : 126,
     "TwoLiquids" : false,
     "SumCompForFlow" : false,
     "FirstPropType" : "T",
     "SecondPropType" : "P",
     "DiagramY" : 50,
     "FirstPropFormula" : "-10 C"
   },
   {
     "CompFormula" : "@lts.v",
     "Retrograde" : false,
     "FlowFormula" : "@lts.v",
     "SecondPropFormula" : "1",
     "name" : "dewpt",
     "DiagramX" : 227,
     "TwoLiquids" : false,
     "SumCompForFlow" : false,
     "FirstPropType" : "P",
     "SecondPropType" : "Vf",
     "DiagramY" : 40,
     "FirstPropFormula" : "800 psig"
   },
   {
     "CompFormula" : "@lts.v",
     "Retrograde" : false,
     "FlowFormula" : "@lts.v",
     "SecondPropFormula" : "@lts - $dp",
     "name" : "salesgas",
     "DiagramX" : 211,
     "TwoLiquids" : false,
     "SumCompForFlow" : false,
     "FirstPropType" : "T",
     "SecondPropType" : "P",
     "DiagramY" : 84,
     "FirstPropFormula" : "@feed - $dt"
   },
   {
     "FlowFormula" : "@feed.v",
     "SumCompForFlow" : false,
     "DiagramX" : 96.12356,
     "Retrograde" : false,
     "FirstPropType" : "P",
     "CompFormula" : "@feed.v",
     "SecondPropType" : "H",
     "FirstPropFormula" : "@feed - $dp",
     "TwoLiquids" : false,
     "SecondPropFormula" : "(@feed.v.Q - $ggduty) / @feed.v.F",
     "name" : "chillfeed",
     "Description" : "Chiller Feed",
     "DiagramY" : 314.2448
   },
   {
     "FlowFormula" : "#stab.0.v.f",
     "SumCompForFlow" : false,
     "DiagramX" : 288.5555,
     "Retrograde" : false,
     "FirstPropType" : "P",
     "CompFormula" : "#stab.0.v.x",
     "SecondPropType" : "Vf",
     "FirstPropFormula" : "#stab.0.p",
     "TwoLiquids" : true,
     "SecondPropFormula" : "1",
     "name" : "stabovhd",
     "Description" : "Stabilizer Overheads",
     "DiagramY" : 189.5869
   },
   {
     "FlowFormula" : "#stab._1.l.f",
     "SumCompForFlow" : false,
     "DiagramX" : 286.1607,
     "Retrograde" : false,
     "FirstPropType" : "P",
     "CompFormula" : "#stab._1.l.x",
     "SecondPropType" : "Vf",
     "FirstPropFormula" : "#stab._1.p",
     "TwoLiquids" : false,
     "SecondPropFormula" : "0",
     "name" : "stabbtms",
     "Description" : "Stabilizer Bottoms",
     "DiagramY" : 230.2954
   },
   {
     "FlowFormula" : "@stabbtms",
     "SumCompForFlow" : false,
     "DiagramX" : 219.4816,
     "Retrograde" : false,
     "FirstPropType" : "P",
     "CompFormula" : "@stabbtms",
     "SecondPropType" : "Vf",
     "FirstPropFormula" : "1 atm",
     "TwoLiquids" : false,
     "SecondPropFormula" : "0",
     "name" : "vpcheck",
     "Description" : "Check vapour pressure of stabilizer bottoms",
     "DiagramY" : 267.5058
   },
   {
     "FlowFormula" : "@c3jt",
     "SumCompForFlow" : false,
     "DiagramX" : 206.6817,
     "Retrograde" : false,
     "FirstPropType" : "T",
     "CompFormula" : "[0,0,1,0,0,0,0,0]",
     "SecondPropType" : "Vf",
     "FirstPropFormula" : "@lts - $dt",
     "TwoLiquids" : false,
     "SecondPropFormula" : "1",
     "name" : "c3comp",
     "Description" : "Propane to Compressor",
     "DiagramY" : 359.4185
   },
   {
     "FlowFormula" : "(@chillfeed.Q - @lts.Q) / (@c3comp.H - @c3jt.H)",
     "SumCompForFlow" : false,
     "DiagramX" : 207.1787,
     "Retrograde" : false,
     "FirstPropType" : "T",
     "CompFormula" : "@c3comp",
     "SecondPropType" : "Vf",
     "FirstPropFormula" : "45 C",
     "TwoLiquids" : false,
     "SecondPropFormula" : "0",
     "name" : "c3jt",
     "Description" : "Propane to JT Valve",
     "DiagramY" : 416.8507
   },
   {
     "FlowFormula" : "#c3comp",
     "SumCompForFlow" : false,
     "DiagramX" : 304.53,
     "Retrograde" : false,
     "FirstPropType" : "P",
     "CompFormula" : "#c3comp",
     "SecondPropType" : "H",
     "FirstPropFormula" : "#c3comp",
     "TwoLiquids" : false,
     "SecondPropFormula" : "#c3comp",
     "name" : "c3cond",
     "Description" : "Propane to condenser",
     "DiagramY" : 403.6384
   }
 ],
 "Hypotheticals" : [],
 "diagramY" : 7,
 "CompoundNames" : [
   "METHANE",
   "ETHANE",
   "PROPANE",
   "n-BUTANE",
   "n-PENTANE",
   "n-HEXANE",
   "n-HEPTANE",
   "n-OCTANE"
 ],
 "SelectedVariableIndex" : 2,
 "Variables" : [
   {
     "PropertyType" : "DeltaP",
     "name" : "dp",
     "DiagramX" : 10,
     "DiagramY" : 92,
     "PropertyFormula" : "50 Kpa"
   },
   {
     "PropertyType" : "DeltaT",
     "name" : "dt",
     "DiagramX" : 12,
     "DiagramY" : 137,
     "PropertyFormula" : "5 C"
   },
   {
     "PropertyType" : "Q",
     "name" : "ggduty",
     "DiagramX" : 209,
     "DiagramY" : 123,
     "PropertyFormula" : "@salesgas - @lts.v"
   }
 ],
 "CaseName" : "tutorial6",
 "CurrentUnitSet" : 1,
 "NextVariableNumber" : 8,
 "Version" : 1.101,
 "diagramScale" : 0.7882897,
 "DisplayedProperties" : {
   "-4" : "y",
   "8" : "y",
   "-2" : "y",
   "-1" : "y",
   "10001" : "y",
   "-6" : "y",
   "9" : "y"
 }
}