Alph Hydrate Inhibitor Example

Note - this case requires the optional hydrate control compounds.

This example uses the Hydrate Tool and the Function Solver Tool to determine how much ethylene glycol is required to reduce a wet gas stream's hydrate temperature to desired value. See the more detailed description.

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" : 1,
  "PropPkg" : "APRNGL",
  "Tools" : [
    {
      "name" : "hydT",
      "Description" : "hydrate T of mixture",
      "Feed" : "mixed",
      "DiagramX" : 109.6255,
      "Type" : "Hydrate",
      "HydrateVariable" : "T",
      "DiagramY" : 72.35458
    },
    {
      "Type" : "Mixer",
      "name" : "mixer",
      "DiagramX" : 113.4103,
      "DiagramY" : 28.00001,
      "inputPaths" : [
        "feed",
        "eg"
      ]
    },
    {
      "Enabled" : "y",
      "name" : "solver",
      "DiagramX" : 157.3187,
      "Type" : "Function Solver",
      "type0" : "Vf",
      "f0" : "#hydT - $hydSpecT",
      "DiagramY" : 133.2948
    }
  ],
  "diagramX" : 48.35059,
  "SelectedToolIndex" : 0,
  "Program" : "Alph",
  "NextFluidNumber" : 4,
  "Fluids" : [
    {
      "CompFormula" : "[ 70,20,10,9,8,7,6,5,4,3,2 ]",
      "Retrograde" : false,
      "FlowFormula" : "1 mmscfd",
      "SecondPropFormula" : "4000 kPa",
      "name" : "Feed",
      "DiagramX" : 10,
      "TwoLiquids" : true,
      "SumCompForFlow" : true,
      "FirstPropType" : "T",
      "SecondPropType" : "P",
      "DiagramY" : 10,
      "FirstPropFormula" : "15 C"
    },
    {
      "FlowFormula" : "1.5 ^ #solver.0",
      "SumCompForFlow" : false,
      "DiagramX" : 12.44622,
      "Retrograde" : false,
      "FirstPropType" : "T",
      "CompFormula" : "[ 0,0,0,0,0,0,0,0,0,0,0,1 ]",
      "SecondPropType" : "P",
      "FirstPropFormula" : "@feed",
      "TwoLiquids" : false,
      "SecondPropFormula" : "@feed",
      "name" : "eg",
      "Description" : "inhibitor",
      "DiagramY" : 56.47808
    },
    {
      "FlowFormula" : "#mixer",
      "SumCompForFlow" : false,
      "DiagramX" : 219.1992,
      "Retrograde" : false,
      "FirstPropType" : "P",
      "CompFormula" : "#mixer",
      "SecondPropType" : "H",
      "FirstPropFormula" : "#mixer",
      "TwoLiquids" : true,
      "SecondPropFormula" : "#mixer",
      "name" : "mixed",
      "Description" : "feed + inhibitor",
      "DiagramY" : 26.04383
    }
  ],
  "Hypotheticals" : [],
  "diagramY" : -3.836653,
  "CompoundNames" : [
    "METHANE",
    "ETHANE",
    "PROPANE",
    "ISOBUTANE",
    "n-BUTANE",
    "ISOPENTANE",
    "n-PENTANE",
    "n-HEXANE",
    "n-HEPTANE",
    "n-OCTANE",
    "WATER",
    "ETHYLENE GLYCOL"
  ],
  "SelectedVariableIndex" : 0,
  "Variables" : [
    {
      "PropertyFormula" : "-10 C",
      "PropertyType" : "T",
      "name" : "hydSpecT",
      "Description" : "desired hydrate temperature",
      "DiagramX" : 21.88446,
      "DiagramY" : 129.5299
    }
  ],
  "CaseName" : "inhibitor",
  "CurrentUnitSet" : 1,
  "NextVariableNumber" : 5,
  "Version" : 1.3,
  "diagramScale" : 2.345794,
  "DisplayedProperties" : {
    "-4" : "y",
    "8" : "y",
    "-2" : "y",
    "-1" : "y",
    "10001" : "y",
    "-6" : "y",
    "9" : "y"
  }
}