[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6CX0WWADKMYY3Z8P7DJ6FKG":3,"skill-same:01M6CX0WWADKMYY3Z8P7DJ6FKG":58},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":22,"publishedAt":30,"linkOnly":31,"markdownContent":32,"markdownBody":33,"frontMatter":34,"refName":37,"commitSha":38,"skillDirectory":39,"forksCount":40,"repositoryHtmlUrl":41,"repositoryHomepageUrl":6,"ownerHtmlUrl":42,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":43,"install":44,"resources":57},"01M6CX0WWADKMYY3Z8P7DJ6FKG","chemical-engineering",null,"Chemical engineering fundamentals including reaction engineering, separation processes, thermodynamics, process control, and plant design","ffsshhttiikk\u002Fopencode-agents-skills","ffsshhttiikk","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F226346827?v=4","01M6CWD9RR3Y7VRQX3MXYC8FYH","01M6CWD9WVPYAZW0J82G1VKGHY",3,"MIT","https:\u002F\u002Fgithub.com\u002Fffsshhttiikk\u002Fopencode-agents-skills\u002Fblob\u002Fmain\u002Fengineering\u002Fchemical-engineering\u002FSKILL.md",[17],{"categoryNo":18,"categoryName":19,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000015","视觉设计","SCENARIO","使用场景",[23,24,25,26,27,28,29],"engineering","chemical engineering","chemical","design","process","opencode","thermodynamics","2026-11-10 10:12:30",false,"---\nname: chemical-engineering\ndescription: Chemical engineering fundamentals including reaction engineering, separation processes, thermodynamics, process control, and plant design\nlicense: MIT\ncompatibility: opencode\nmetadata:\n  audience: engineers\n  category: engineering\n---\n\n## What I do\n- Design chemical reactors and reaction systems\n- Calculate mass and energy balances\n- Design separation processes and equipment\n- Model thermodynamic properties and phase equilibria\n- Specify process equipment and piping\n- Design process control systems\n- Optimize chemical processes for efficiency\n\n## When to use me\nWhen designing chemical processes, reactors, separation systems, or any process involving chemical transformations and separations.\n\n## Core Concepts\n- Mass and energy balances\n- Chemical reaction kinetics and reactor design\n- Thermodynamics and phase equilibria\n- Heat and mass transfer\n- Separation processes (distillation, absorption, extraction)\n- Process control and instrumentation\n- Process safety and hazard analysis\n- Equipment sizing and selection\n- Process economics and optimization\n- Transport phenomena\n\n## Code Examples\n\n### Mass and Energy Balances\n```python\nfrom dataclasses import dataclass\nfrom typing import List, Tuple\nimport numpy as np\n\n@dataclass\nclass Stream:\n    name: str\n    mass_flow: float  # kg\u002Fhr\n    component: str\n    mass_fraction: float\n\ndef mass_balance(\n    inlet_streams: List[Stream],\n    outlet_streams: List[Stream]\n) -> Tuple[float, float]:\n    \"\"\"Calculate total inlet\u002Foutlet and component balances.\"\"\"\n    m_in = sum(s.mass_flow for s in inlet_streams)\n    m_out = sum(s.mass_flow for s in outlet_streams)\n    return m_in, m_out\n\ndef component_balance(\n    streams: List[Stream],\n    component: str\n) -> Tuple[float, float]:\n    \"\"\"Calculate component mass flow.\"\"\"\n    inlet = sum(s.mass_flow * s.mass_fraction \n                for s in streams if \"inlet\" in s.name.lower())\n    outlet = sum(s.mass_flow * s.mass_fraction \n                 for s in streams if \"outlet\" in s.name.lower())\n    return inlet, outlet\n\ndef combustion_air_requirement(\n    fuel_carbon: float,  # kg C\u002Fkg fuel\n    fuel_hydrogen: float,  # kg H\u002Fkg fuel\n    fuel_sulfur: float,  # kg S\u002Fkg fuel\n    excess_air: float = 0.15  # 15% excess\n) -> dict:\n    \"\"\"Calculate combustion air requirements.\"\"\"\n    O2_stoich = 2.67 * fuel_carbon + 8 * fuel_hydrogen + fuel_sulfur\n    O2_actual = O2_stoich * (1 + excess_air)\n    air_required = O2_actual \u002F 0.233\n    return {\n        \"stoich_air_kg\": O2_stoich \u002F 0.233,\n        \"actual_air_kg\": air_required,\n        \"flue_gas_kg\": air_required + 1 - fuel_carbon - fuel_hydrogen - fuel_sulfur\n    }\n\n# Example: Combustion calculation\nfuel = {\"C\": 0.85, \"H\": 0.10, \"S\": 0.02, \"O\": 0.03}\nair = combustion_air_requirement(fuel[\"C\"], fuel[\"H\"], fuel[\"S\"], 0.10)\nprint(f\"Stoichiometric air: {air['stoich_air_kg']:.2f} kg air\u002Fkg fuel\")\nprint(f\"Actual air required: {air['actual_air_kg']:.2f} kg air\u002Fkg fuel\")\n```\n\n### Reactor Design\n```python\n@dataclass\nclass Reaction:\n    A: float  # pre-exponential factor\n    Ea: float  # activation energy J\u002Fmol\n    dH: float  # heat of reaction J\u002Fmol\n    order: float\n\ndef arrhenius_rate(\n    T: float,  # K\n    A: float,\n    Ea: float,\n    R: float = 8.314\n) -> float:\n    \"\"\"Calculate rate constant using Arrhenius equation.\"\"\"\n    return A * np.exp(-Ea \u002F (R * T))\n\ndef cstr_design(\n    Fa_in: float,  # mol\u002Fhr\n    X: float,  # conversion\n    rA: float  # mol\u002Fhr\u002Fm³\n) -> float:\n    \"\"\"Calculate CSTR volume.\"\"\"\n    Fa_out = Fa_in * (1 - X)\n    Fa_avg = (Fa_in + Fa_out) \u002F 2\n    return Fa_in * X \u002F rA\n\ndef pfr_design(\n    Fa_in: float,\n    X1: float,\n    X2: float,\n    k: float,\n    order: int\n) -> float:\n    \"\"\"Calculate PFR volume using numerical integration.\"\"\"\n    from scipy.integrate import quad\n    \n    if order == 1:\n        def integrand(X):\n            return 1 \u002F (k * (1 - X))\n    else:\n        def integrand(X):\n            return 1 \u002F (k * (1 - X)**order)\n    \n    V, _ = quad(integrand, X1, X2)\n    return Fa_in * V\n\ndef adiabatic_reactor_temperature(\n    T_in: float,\n    X: float,\n    dH: float,\n    Cp_avg: float,\n    MW_avg: float\n) -> float:\n    \"\"\"Calculate outlet temperature for adiabatic reactor.\"\"\"\n    return T_in - X * dH * MW_avg \u002F Cp_avg\n\n# Example: CSTR design\nFa_in = 1000  # mol\u002Fhr\nX = 0.85\nT = 400  # K\nreaction = Reaction(A=1e6, Ea=50000, dH=-100000, order=1)\nk = arrhenius_rate(T, reaction.A, reaction.Ea)\nV = cstr_design(Fa_in, X, k * (1 - X) * 1000)\nprint(f\"Rate constant at 400K: {k:.6f} s⁻¹\")\nprint(f\"Required CSTR volume: {V:.2f} m³\")\n```\n\n### Distillation Design\n```python\ndef mccabe_thiele_stages(\n    xD: float,  # distillate purity\n    xB: float,  # bottoms purity\n    xF: float,  # feed composition\n    q: float,  # feed thermal condition\n    alpha: float,  # relative volatility\n    reflux_ratio: float\n) -> dict:\n    \"\"\"McCabe-Thiele stage calculation.\"\"\"\n    R = reflux_ratio\n    R_min = (xD - yF) \u002F (yF - xF) if alpha > 1 else float('inf')\n    yF = alpha * xF \u002F (1 + (alpha - 1) * xF)\n    N_min = np.log((xD \u002F (1 - xD)) * ((1 - xB) \u002F xB)) \u002F np.log(alpha)\n    stages = N_min * (R \u002F (R - R_min + 0.01)) if R > R_min else 1\n    return {\n        \"minimum_reflux_ratio\": R_min,\n        \"minimum_stages\": N_min,\n        \"actual_stages\": int(stages)\n    }\n\ndef heat_reboiler_duty(\n    L: float,  # kmol\u002Fhr\n    lambda_v: float,  # kJ\u002Fkmol\n) -> float:\n    \"\"\"Calculate reboiler heat duty.\"\"\"\n    return L * lambda_v\n\ndef diameter_column(\n    V: float,  # m³\u002Fhr\n    rho_v: float,  # kg\u002Fm³\n    rho_l: float,  # kg\u002Fm³\n    F_factor: float = 1.0\n) -> float:\n    \"\"\"Estimate column diameter using flooding velocity.\"\"\"\n    V_surf = V \u002F 3600 \u002F (np.pi \u002F 4)\n    D = np.sqrt(4 * V_surf \u002F (F_factor * np.sqrt(rho_v \u002F (rho_l - rho_v))))\n    return D\n\n# Example: Distillation column\ncolumn = mccable_thiele_stages(\n    xD=0.95, xB=0.05, xF=0.50, q=1.0, alpha=2.5, reflux_ratio=1.5\n)\nprint(f\"Minimum reflux: {column['minimum_reflux_ratio']:.3f}\")\nprint(f\"Required stages: {column['actual_stages']}\")\n```\n\n### Heat Exchanger Design\n```python\ndef lmtd(\n    Th_in: float,  # °C\n    Th_out: float,  # °C\n    Tc_in: float,  # °C\n    Tc_out: float  # °C\n) -> float:\n    \"\"\"Calculate log mean temperature difference.\"\"\"\n    dT1 = Th_in - Tc_out\n    dT2 = Th_out - Tc_in\n    if abs(dT1 - dT2) \u003C 0.01:\n        return (dT1 + dT2) \u002F 2\n    return (dT1 - dT2) \u002F np.log(dT1 \u002F dT2)\n\ndef heat_exchanger_area(\n    Q: float,  # W\n    U: float,  # W\u002Fm²K\n    lmtd: float\n) -> float:\n    \"\"\"Calculate heat exchanger area.\"\"\"\n    return Q \u002F (U * lmtd)\n\ndef overall_heat_transfer(\n    hi: float,\n    ho: float,\n    k: float,\n    t: float,\n    fouling: float = 0.0001\n) -> float:\n    \"\"\"Calculate overall U value.\"\"\"\n    return 1 \u002F (1\u002Fhi + fouling + t\u002Fk + fouling + 1\u002Fho)\n\ndef shell_and_tube_pressure_drop(\n    N: int,  # number of tube passes\n    L: float,  # m\n    V: float,  # m\u002Fs\n    rho: float,  # kg\u002Fm³\n    f: float = 0.02\n) -> float:\n    \"\"\"Estimate pressure drop in shell and tube exchanger.\"\"\"\n    return 4 * f * (L \u002F 0.0254) * (N * V**2 \u002F (2 * rho))\n\n# Example: Heat exchanger\nQ = 500e3  # W\nU = 500  # W\u002Fm²K\nLMTD = lmtd(120, 80, 30, 60)\nA = heat_exchanger_area(Q, U, LMTD)\nprint(f\"LMTD: {LMTD:.1f} °C\")\nprint(f\"Required area: {A:.1f} m²\")\n```\n\n### Process Safety Calculations\n```python\ndef relief_valve_sizing(\n    P_set: float,  # psig\n    P_atm: float,  # psig\n    A_required: float,  # in²\n    Kb: float = 1.0,\n    Kd: float = 0.975,\n    Kv: float = 1.0\n) -> float:\n    \"\"\"Calculate relief valve orifice area (API 520).\"\"\"\n    A = (m * Kb) \u002F (C * Kd * Kv * P_set) if P_set > P_atm else A_required\n    return A\n\ndef toxicity_limit(\n    LC50: float,  # ppm\n    exposure_time: float,  # hours\n    LCLo: float = LC50\n) -> float:\n    \"\"\"Calculate acceptable exposure limit (AEL).\"\"\"\n    return LC50 * (8 \u002F exposure_time)**0.5\n\ndef flammable_limit(\n    LFL: float,  # % volume\n    UFL: float,  # % volume\n    concentration: float\n) -> str:\n    \"\"\"Check if mixture is flammable.\"\"\"\n    if LFL \u003C= concentration \u003C= UFL:\n        return \"FLAMMABLE\"\n    elif concentration \u003C LFL:\n        return \"TOO LEAN\"\n    return \"TOO RICH\"\n\ndef tnt_equivalence(\n    mass: float,  # kg\n    efficiency: float = 0.05\n) -> float:\n    \"\"\"Calculate TNT equivalent for explosion.\"\"\"\n    return mass * efficiency * 4.184e6 \u002F 4.184e6\n\n# Example: Flammability check\nmixture = flammable_limit(LFL=1.0, UFL=10.0, concentration=5.0)\nprint(f\"Flammability status: {mixture}\")\n```\n\n## Best Practices\n- Always include safety factors in equipment sizing\n- Perform HAZOP analysis for new process designs\n- Consider environmental regulations in plant design\n- Use simulation software (Aspen, HYSYS) for complex calculations\n- Account for worst-case scenarios in relief system design\n- Consider operability and maintainability in equipment layout\n- Document all design basis and assumptions\n- Use standard equipment sizes to reduce costs\n- Consider energy integration and pinch analysis\n- Validate calculations with hand calculations and simulations\n","## What I do\n- Design chemical reactors and reaction systems\n- Calculate mass and energy balances\n- Design separation processes and equipment\n- Model thermodynamic properties and phase equilibria\n- Specify process equipment and piping\n- Design process control systems\n- Optimize chemical processes for efficiency\n\n## When to use me\nWhen designing chemical processes, reactors, separation systems, or any process involving chemical transformations and separations.\n\n## Core Concepts\n- Mass and energy balances\n- Chemical reaction kinetics and reactor design\n- Thermodynamics and phase equilibria\n- Heat and mass transfer\n- Separation processes (distillation, absorption, extraction)\n- Process control and instrumentation\n- Process safety and hazard analysis\n- Equipment sizing and selection\n- Process economics and optimization\n- Transport phenomena\n\n## Code Examples\n\n### Mass and Energy Balances\n```python\nfrom dataclasses import dataclass\nfrom typing import List, Tuple\nimport numpy as np\n\n@dataclass\nclass Stream:\n    name: str\n    mass_flow: float  # kg\u002Fhr\n    component: str\n    mass_fraction: float\n\ndef mass_balance(\n    inlet_streams: List[Stream],\n    outlet_streams: List[Stream]\n) -> Tuple[float, float]:\n    \"\"\"Calculate total inlet\u002Foutlet and component balances.\"\"\"\n    m_in = sum(s.mass_flow for s in inlet_streams)\n    m_out = sum(s.mass_flow for s in outlet_streams)\n    return m_in, m_out\n\ndef component_balance(\n    streams: List[Stream],\n    component: str\n) -> Tuple[float, float]:\n    \"\"\"Calculate component mass flow.\"\"\"\n    inlet = sum(s.mass_flow * s.mass_fraction \n                for s in streams if \"inlet\" in s.name.lower())\n    outlet = sum(s.mass_flow * s.mass_fraction \n                 for s in streams if \"outlet\" in s.name.lower())\n    return inlet, outlet\n\ndef combustion_air_requirement(\n    fuel_carbon: float,  # kg C\u002Fkg fuel\n    fuel_hydrogen: float,  # kg H\u002Fkg fuel\n    fuel_sulfur: float,  # kg S\u002Fkg fuel\n    excess_air: float = 0.15  # 15% excess\n) -> dict:\n    \"\"\"Calculate combustion air requirements.\"\"\"\n    O2_stoich = 2.67 * fuel_carbon + 8 * fuel_hydrogen + fuel_sulfur\n    O2_actual = O2_stoich * (1 + excess_air)\n    air_required = O2_actual \u002F 0.233\n    return {\n        \"stoich_air_kg\": O2_stoich \u002F 0.233,\n        \"actual_air_kg\": air_required,\n        \"flue_gas_kg\": air_required + 1 - fuel_carbon - fuel_hydrogen - fuel_sulfur\n    }\n\n# Example: Combustion calculation\nfuel = {\"C\": 0.85, \"H\": 0.10, \"S\": 0.02, \"O\": 0.03}\nair = combustion_air_requirement(fuel[\"C\"], fuel[\"H\"], fuel[\"S\"], 0.10)\nprint(f\"Stoichiometric air: {air['stoich_air_kg']:.2f} kg air\u002Fkg fuel\")\nprint(f\"Actual air required: {air['actual_air_kg']:.2f} kg air\u002Fkg fuel\")\n```\n\n### Reactor Design\n```python\n@dataclass\nclass Reaction:\n    A: float  # pre-exponential factor\n    Ea: float  # activation energy J\u002Fmol\n    dH: float  # heat of reaction J\u002Fmol\n    order: float\n\ndef arrhenius_rate(\n    T: float,  # K\n    A: float,\n    Ea: float,\n    R: float = 8.314\n) -> float:\n    \"\"\"Calculate rate constant using Arrhenius equation.\"\"\"\n    return A * np.exp(-Ea \u002F (R * T))\n\ndef cstr_design(\n    Fa_in: float,  # mol\u002Fhr\n    X: float,  # conversion\n    rA: float  # mol\u002Fhr\u002Fm³\n) -> float:\n    \"\"\"Calculate CSTR volume.\"\"\"\n    Fa_out = Fa_in * (1 - X)\n    Fa_avg = (Fa_in + Fa_out) \u002F 2\n    return Fa_in * X \u002F rA\n\ndef pfr_design(\n    Fa_in: float,\n    X1: float,\n    X2: float,\n    k: float,\n    order: int\n) -> float:\n    \"\"\"Calculate PFR volume using numerical integration.\"\"\"\n    from scipy.integrate import quad\n    \n    if order == 1:\n        def integrand(X):\n            return 1 \u002F (k * (1 - X))\n    else:\n        def integrand(X):\n            return 1 \u002F (k * (1 - X)**order)\n    \n    V, _ = quad(integrand, X1, X2)\n    return Fa_in * V\n\ndef adiabatic_reactor_temperature(\n    T_in: float,\n    X: float,\n    dH: float,\n    Cp_avg: float,\n    MW_avg: float\n) -> float:\n    \"\"\"Calculate outlet temperature for adiabatic reactor.\"\"\"\n    return T_in - X * dH * MW_avg \u002F Cp_avg\n\n# Example: CSTR design\nFa_in = 1000  # mol\u002Fhr\nX = 0.85\nT = 400  # K\nreaction = Reaction(A=1e6, Ea=50000, dH=-100000, order=1)\nk = arrhenius_rate(T, reaction.A, reaction.Ea)\nV = cstr_design(Fa_in, X, k * (1 - X) * 1000)\nprint(f\"Rate constant at 400K: {k:.6f} s⁻¹\")\nprint(f\"Required CSTR volume: {V:.2f} m³\")\n```\n\n### Distillation Design\n```python\ndef mccabe_thiele_stages(\n    xD: float,  # distillate purity\n    xB: float,  # bottoms purity\n    xF: float,  # feed composition\n    q: float,  # feed thermal condition\n    alpha: float,  # relative volatility\n    reflux_ratio: float\n) -> dict:\n    \"\"\"McCabe-Thiele stage calculation.\"\"\"\n    R = reflux_ratio\n    R_min = (xD - yF) \u002F (yF - xF) if alpha > 1 else float('inf')\n    yF = alpha * xF \u002F (1 + (alpha - 1) * xF)\n    N_min = np.log((xD \u002F (1 - xD)) * ((1 - xB) \u002F xB)) \u002F np.log(alpha)\n    stages = N_min * (R \u002F (R - R_min + 0.01)) if R > R_min else 1\n    return {\n        \"minimum_reflux_ratio\": R_min,\n        \"minimum_stages\": N_min,\n        \"actual_stages\": int(stages)\n    }\n\ndef heat_reboiler_duty(\n    L: float,  # kmol\u002Fhr\n    lambda_v: float,  # kJ\u002Fkmol\n) -> float:\n    \"\"\"Calculate reboiler heat duty.\"\"\"\n    return L * lambda_v\n\ndef diameter_column(\n    V: float,  # m³\u002Fhr\n    rho_v: float,  # kg\u002Fm³\n    rho_l: float,  # kg\u002Fm³\n    F_factor: float = 1.0\n) -> float:\n    \"\"\"Estimate column diameter using flooding velocity.\"\"\"\n    V_surf = V \u002F 3600 \u002F (np.pi \u002F 4)\n    D = np.sqrt(4 * V_surf \u002F (F_factor * np.sqrt(rho_v \u002F (rho_l - rho_v))))\n    return D\n\n# Example: Distillation column\ncolumn = mccable_thiele_stages(\n    xD=0.95, xB=0.05, xF=0.50, q=1.0, alpha=2.5, reflux_ratio=1.5\n)\nprint(f\"Minimum reflux: {column['minimum_reflux_ratio']:.3f}\")\nprint(f\"Required stages: {column['actual_stages']}\")\n```\n\n### Heat Exchanger Design\n```python\ndef lmtd(\n    Th_in: float,  # °C\n    Th_out: float,  # °C\n    Tc_in: float,  # °C\n    Tc_out: float  # °C\n) -> float:\n    \"\"\"Calculate log mean temperature difference.\"\"\"\n    dT1 = Th_in - Tc_out\n    dT2 = Th_out - Tc_in\n    if abs(dT1 - dT2) \u003C 0.01:\n        return (dT1 + dT2) \u002F 2\n    return (dT1 - dT2) \u002F np.log(dT1 \u002F dT2)\n\ndef heat_exchanger_area(\n    Q: float,  # W\n    U: float,  # W\u002Fm²K\n    lmtd: float\n) -> float:\n    \"\"\"Calculate heat exchanger area.\"\"\"\n    return Q \u002F (U * lmtd)\n\ndef overall_heat_transfer(\n    hi: float,\n    ho: float,\n    k: float,\n    t: float,\n    fouling: float = 0.0001\n) -> float:\n    \"\"\"Calculate overall U value.\"\"\"\n    return 1 \u002F (1\u002Fhi + fouling + t\u002Fk + fouling + 1\u002Fho)\n\ndef shell_and_tube_pressure_drop(\n    N: int,  # number of tube passes\n    L: float,  # m\n    V: float,  # m\u002Fs\n    rho: float,  # kg\u002Fm³\n    f: float = 0.02\n) -> float:\n    \"\"\"Estimate pressure drop in shell and tube exchanger.\"\"\"\n    return 4 * f * (L \u002F 0.0254) * (N * V**2 \u002F (2 * rho))\n\n# Example: Heat exchanger\nQ = 500e3  # W\nU = 500  # W\u002Fm²K\nLMTD = lmtd(120, 80, 30, 60)\nA = heat_exchanger_area(Q, U, LMTD)\nprint(f\"LMTD: {LMTD:.1f} °C\")\nprint(f\"Required area: {A:.1f} m²\")\n```\n\n### Process Safety Calculations\n```python\ndef relief_valve_sizing(\n    P_set: float,  # psig\n    P_atm: float,  # psig\n    A_required: float,  # in²\n    Kb: float = 1.0,\n    Kd: float = 0.975,\n    Kv: float = 1.0\n) -> float:\n    \"\"\"Calculate relief valve orifice area (API 520).\"\"\"\n    A = (m * Kb) \u002F (C * Kd * Kv * P_set) if P_set > P_atm else A_required\n    return A\n\ndef toxicity_limit(\n    LC50: float,  # ppm\n    exposure_time: float,  # hours\n    LCLo: float = LC50\n) -> float:\n    \"\"\"Calculate acceptable exposure limit (AEL).\"\"\"\n    return LC50 * (8 \u002F exposure_time)**0.5\n\ndef flammable_limit(\n    LFL: float,  # % volume\n    UFL: float,  # % volume\n    concentration: float\n) -> str:\n    \"\"\"Check if mixture is flammable.\"\"\"\n    if LFL \u003C= concentration \u003C= UFL:\n        return \"FLAMMABLE\"\n    elif concentration \u003C LFL:\n        return \"TOO LEAN\"\n    return \"TOO RICH\"\n\ndef tnt_equivalence(\n    mass: float,  # kg\n    efficiency: float = 0.05\n) -> float:\n    \"\"\"Calculate TNT equivalent for explosion.\"\"\"\n    return mass * efficiency * 4.184e6 \u002F 4.184e6\n\n# Example: Flammability check\nmixture = flammable_limit(LFL=1.0, UFL=10.0, concentration=5.0)\nprint(f\"Flammability status: {mixture}\")\n```\n\n## Best Practices\n- Always include safety factors in equipment sizing\n- Perform HAZOP analysis for new process designs\n- Consider environmental regulations in plant design\n- Use simulation software (Aspen, HYSYS) for complex calculations\n- Account for worst-case scenarios in relief system design\n- Consider operability and maintainability in equipment layout\n- Document all design basis and assumptions\n- Use standard equipment sizes to reduce costs\n- Consider energy integration and pinch analysis\n- Validate calculations with hand calculations and simulations\n",{"name":5,"license":14,"metadata":35,"description":7,"compatibility":28},{"audience":36,"category":23},"engineers","main","5f7a3e453c98261f93d19a6a7de44ad8f7b72d41","engineering\u002Fchemical-engineering",2,"https:\u002F\u002Fgithub.com\u002Fffsshhttiikk\u002Fopencode-agents-skills","https:\u002F\u002Fgithub.com\u002Fffsshhttiikk","2026-03-01 06:55:40",{"source":8,"skillName":5,"commands":45,"prompt":55,"zipAvailable":56},[46,49,52],{"tool":47,"command":48},"npx","npx skills add ffsshhttiikk\u002Fopencode-agents-skills --skill chemical-engineering",{"tool":50,"command":51},"bunx","bunx skills add ffsshhttiikk\u002Fopencode-agents-skills --skill chemical-engineering",{"tool":53,"command":54},"pnpm","pnpm dlx skills add ffsshhttiikk\u002Fopencode-agents-skills --skill chemical-engineering","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fffsshhttiikk\u002Fopencode-agents-skills\u002Fblob\u002Fmain\u002Fengineering\u002Fchemical-engineering\u002FSKILL.md",true,[],[59,70,80,89,99,108],{"skillNo":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":30},"01M6CXT9TXDF79BWJTMQAPB49G","xamarin","Xamarin cross-platform development","https:\u002F\u002Fgithub.com\u002Fffsshhttiikk\u002Fopencode-agents-skills\u002Fblob\u002Fmain\u002Fxamarin\u002FSKILL.md",[],[61,66,67,68,28,69],"platform","cross-platform","mobile","development",{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":30},"01M6CXT8AD04MFYDA32VW3FKAG","wrangling","Data wrangling fundamentals","https:\u002F\u002Fgithub.com\u002Fffsshhttiikk\u002Fopencode-agents-skills\u002Fblob\u002Fmain\u002Fwrangling\u002FSKILL.md",[],[72,77,28,78,79],"data wrangling","science","data",{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":30},"01M6CXT717GCN7SRRNPBDP4508","windows","Windows operating system administration and scripting","https:\u002F\u002Fgithub.com\u002Fffsshhttiikk\u002Fopencode-agents-skills\u002Fblob\u002Fmain\u002Fwindows\u002FSKILL.md",[],[82,87,28,88],"system","scripting",{"skillNo":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":30},"01M6CXT54K794NMEM3XAPZZDKT","wide-column","Wide-column data model","https:\u002F\u002Fgithub.com\u002Fffsshhttiikk\u002Fopencode-agents-skills\u002Fblob\u002Fmain\u002Fwide-column\u002FSKILL.md",[],[96,97,28,98,79],"wide column","databases","model",{"skillNo":100,"name":101,"nameZh":6,"description":102,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":103,"categories":104,"keywords":105,"publishedAt":30},"01M6CXT28FMT2P4V9GZE67WA8E","wide-column-stores","Wide-column database stores","https:\u002F\u002Fgithub.com\u002Fffsshhttiikk\u002Fopencode-agents-skills\u002Fblob\u002Fmain\u002Fwide-column-stores\u002FSKILL.md",[],[106,97,28,107],"wide column stores","database",{"skillNo":109,"name":110,"nameZh":6,"description":111,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":112,"categories":113,"keywords":114,"publishedAt":30},"01M6CXT0D0M0Q4T2N7C2RX7DSN","websockets","WebSocket implementation and best practices","https:\u002F\u002Fgithub.com\u002Fffsshhttiikk\u002Fopencode-agents-skills\u002Fblob\u002Fmain\u002Fwebsockets\u002FSKILL.md",[],[110,115,116,117,28,118,119],"websocket","real-time","time","best practices","implementation"]