{
  "version": 1,
  "topic": "RF04",
  "title": "Calculate radial pressure drop with skin included",
  "createdAt": "2026-10-24",
  "case": {
    "title": "Steady-State Radial Liquid Flow Rate",
    "premise": "Fixed controls: k = 100 mD; h = 50 ft; p_e = 3000 psi; p_wf = 2500 psi; mu_o = 2 cP; B_o = 1.2 bbl/STB; r_e = 1000 ft; r_w = 0.328 ft. s is varied as shown.",
    "formula": "q_o = 0.00708 k h (p_e - p_wf) / (mu_o B_o (ln(r_e / r_w) + s))",
    "variables": "k: Permeability (mD). h: Net Pay Thickness (ft). p_e: External Boundary Pressure (psi). p_wf: Flowing Bottom-Hole Pressure (psi). mu_o: Oil Viscosity (cP). B_o: Oil Formation Volume Factor (bbl/STB). r_e: Drainage Radius (ft). r_w: Wellbore Radius (ft). s: Skin Factor (dimensionless).",
    "steps": [
      {
        "label": "Define the baseline",
        "calculation": "Skin Factor (dimensionless) = 2",
        "explanation": "Fixed controls: k = 100 mD; h = 50 ft; p_e = 3000 psi; p_wf = 2500 psi; mu_o = 2 cP; B_o = 1.2 bbl/STB; r_e = 1000 ft; r_w = 0.328 ft. s is varied as shown."
      },
      {
        "label": "Select the relation",
        "calculation": "q_o = 0.00708 k h (p_e - p_wf) / (mu_o B_o (ln(r_e / r_w) + s))",
        "explanation": "k: Permeability (mD). h: Net Pay Thickness (ft). p_e: External Boundary Pressure (psi). p_wf: Flowing Bottom-Hole Pressure (psi). mu_o: Oil Viscosity (cP). B_o: Oil Formation Volume Factor (bbl/STB). r_e: Drainage Radius (ft). r_w: Wellbore Radius (ft). s: Skin Factor (dimensionless)."
      },
      {
        "label": "Substitute the values",
        "calculation": "k = 100; h = 50; p_e = 3000; p_wf = 2500; mu_o = 2; B_o = 1.2; r_e = 1000; r_w = 0.328; s = 2 → q_o = 735.844574 STB/day",
        "explanation": "Retain intermediate precision. The displayed values are rounded only after evaluation."
      },
      {
        "label": "Read the result",
        "calculation": "q_o (STB/day) = 735.844574",
        "explanation": "Positive skin adds resistance at fixed drawdown; it is not a unique diagnosis of damage."
      }
    ],
    "result": "q_o (STB/day) = 735.844574",
    "interpretation": "Positive skin adds resistance at fixed drawdown; it is not a unique diagnosis of damage.",
    "control": "Skin Factor (dimensionless)",
    "columns": [
      "Skin Factor (dimensionless)",
      "q_o (STB/day)"
    ],
    "rows": [
      [
        0,
        919.2898478304793
      ],
      [
        1,
        817.4012184446572
      ],
      [
        2,
        735.844574171605
      ],
      [
        4,
        613.4333018281667
      ],
      [
        8,
        460.29030451419516
      ]
    ],
    "baseline": 2,
    "rowNotes": [
      "Skin Factor (dimensionless) = 0. q_o (STB/day): 919.289848.",
      "Skin Factor (dimensionless) = 1. q_o (STB/day): 817.401218.",
      "Skin Factor (dimensionless) = 2. q_o (STB/day): 735.844574.",
      "Skin Factor (dimensionless) = 4. q_o (STB/day): 613.433302.",
      "Skin Factor (dimensionless) = 8. q_o (STB/day): 460.290305."
    ],
    "provenance": "Replayed with the same equation record and calculation engine as /calculators/steady-state-radial-liquid-flow-rate. Original synthetic inputs; engine outputs are saved in the downloadable record.",
    "questions": [
      {
        "question": "Reproduce the baseline q_o (STB/day) without rounding intermediate values.",
        "answer": "k = 100; h = 50; p_e = 3000; p_wf = 2500; mu_o = 2; B_o = 1.2; r_e = 1000; r_w = 0.328; s = 2 → q_o = 735.844574 STB/day. q_o (STB/day) = 735.844574. Positive skin adds resistance at fixed drawdown; it is not a unique diagnosis of damage."
      },
      {
        "question": "Compare the first and last recorded scenarios. Which input changes?",
        "answer": "Skin Factor (dimensionless) changes from 0 to 8. Other controls remain as stated in the premise. q_o (STB/day) changes from 919.289848 to 460.290305."
      },
      {
        "question": "What would be needed to apply this example to a different physical system?",
        "answer": "Replace the synthetic controls with compatible documented inputs and check the relation's assumptions. k: Permeability (mD). h: Net Pay Thickness (ft). p_e: External Boundary Pressure (psi). p_wf: Flowing Bottom-Hole Pressure (psi). mu_o: Oil Viscosity (cP). B_o: Oil Formation Volume Factor (bbl/STB). r_e: Drainage Radius (ft). r_w: Wellbore Radius (ft). s: Skin Factor (dimensionless). Positive skin adds resistance at fixed drawdown; it is not a unique diagnosis of damage."
      }
    ]
  },
  "recorded": {
    "kind": "scalar",
    "equation": "steady-state-radial-liquid-flow-rate",
    "parameter": "s",
    "inputs": {
      "k": "100",
      "h": "50",
      "p_e": "3000",
      "p_wf": "2500",
      "mu_o": "2",
      "B_o": "1.2",
      "r_e": "1000",
      "r_w": "0.328",
      "s": "2"
    },
    "values": [
      0,
      1,
      2,
      4,
      8
    ],
    "outputs": [
      {
        "expression": "(0.00708 * k * h * (p_e - p_wf)) / (mu_o * B_o * (ln(r_e / r_w) + s))",
        "intermediates": {},
        "inputs": {
          "k": 100,
          "h": 50,
          "p_e": 3000,
          "p_wf": 2500,
          "mu_o": 2,
          "B_o": 1.2,
          "r_e": 1000,
          "r_w": 0.328,
          "s": 0
        },
        "target": "q_o",
        "unit": "STB/day",
        "value": 919.2898478304793
      },
      {
        "expression": "(0.00708 * k * h * (p_e - p_wf)) / (mu_o * B_o * (ln(r_e / r_w) + s))",
        "intermediates": {},
        "inputs": {
          "k": 100,
          "h": 50,
          "p_e": 3000,
          "p_wf": 2500,
          "mu_o": 2,
          "B_o": 1.2,
          "r_e": 1000,
          "r_w": 0.328,
          "s": 1
        },
        "target": "q_o",
        "unit": "STB/day",
        "value": 817.4012184446572
      },
      {
        "expression": "(0.00708 * k * h * (p_e - p_wf)) / (mu_o * B_o * (ln(r_e / r_w) + s))",
        "intermediates": {},
        "inputs": {
          "k": 100,
          "h": 50,
          "p_e": 3000,
          "p_wf": 2500,
          "mu_o": 2,
          "B_o": 1.2,
          "r_e": 1000,
          "r_w": 0.328,
          "s": 2
        },
        "target": "q_o",
        "unit": "STB/day",
        "value": 735.844574171605
      },
      {
        "expression": "(0.00708 * k * h * (p_e - p_wf)) / (mu_o * B_o * (ln(r_e / r_w) + s))",
        "intermediates": {},
        "inputs": {
          "k": 100,
          "h": 50,
          "p_e": 3000,
          "p_wf": 2500,
          "mu_o": 2,
          "B_o": 1.2,
          "r_e": 1000,
          "r_w": 0.328,
          "s": 4
        },
        "target": "q_o",
        "unit": "STB/day",
        "value": 613.4333018281667
      },
      {
        "expression": "(0.00708 * k * h * (p_e - p_wf)) / (mu_o * B_o * (ln(r_e / r_w) + s))",
        "intermediates": {},
        "inputs": {
          "k": 100,
          "h": 50,
          "p_e": 3000,
          "p_wf": 2500,
          "mu_o": 2,
          "B_o": 1.2,
          "r_e": 1000,
          "r_w": 0.328,
          "s": 8
        },
        "target": "q_o",
        "unit": "STB/day",
        "value": 460.29030451419516
      }
    ]
  }
}
