Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

membrane-ro-fundamentals

БесплатноБез исполняемых скриптовНе проверен

Reverse Osmosis (RO) and Electrodeionization (EDI) process fundamentals — formulas (recovery, rejection, NDP, osmotic pressure, TCF, NPF/NSP), authoritative…

claude-dev-suiteот claude-dev-suite★ 51 звезда на GitHub

Об этом скилле

RO & EDI Process Fundamentals

Reference for water-treatment expertise: formulas, normative standards, vendor design envelopes, water chemistry, and bilingual terminology.

Convention markers used throughout the membrane skills:

  • ⚠️ — likely bug or incorrect numerical approximation in calling code; highest priority
  • 💡 — enhancement opportunity (new KPI, new model field, refined threshold)

§1 — RO Process Fundamentals

All formulas in SI (LMH, bar, °C) with US field-unit (GFD, psi, °F) variant noted. Variables: Qf feed flow, Qp permeate, Qc concentrate, Cf/Cp/Cc concentrations, Am membrane area, T temperature.

1.1 Recovery (Water Recovery / Recupero)

Y = Qp / Qf

Typical ranges (vendor-dependent):

  • SWRO single-pass: 35–50 %
  • BWRO: 70–85 %
  • BWRO high-recovery (w/ antiscalant): 90 %+
  • Double-pass RO+RO overall: 70–80 %

Source: ASTM D6161-19; DuPont 45-D01504; Hydranautics TSB 107.

1.2 Concentration Factor (CF)

CF_ideal = 1 / (1 - Y)                          # for R = 1
CF_real  = (1 - Y·(1 - R)) / (1 - Y)            # for rejection R

At Y = 0.75 and R = 0.99: CF_ideal = 4.00, CF_real ≈ 3.97 (error < 1 %), so the ideal form is acceptable for SWRO/BWRO design.

Source: DuPont 45-D01591 (Design Equations).

1.3 Salt Rejection — three definitions

Variant Symbol Formula When used
Observed (apparent) R_obs 1 − Cp/Cf What instruments measure
System (log-mean) R_sys 1 − Cp / mean(Cf, Cc) Standard reporting
Intrinsic (at wall) R_int 1 − Cp / (β · mean(Cf, Cc)) Corrected for polarization

Concentration polarization factor:

β = Cwall / Cbulk = exp(0.7 · Y_element)

where Y_element is per-element recovery. FilmTec design limit: β ≤ 1.2 → Y_element ≤ 18 % (the 18 % per-element rule). Hydranautics is more conservative at 15 %.

⚠️ A code path that confuses R_obs with R_sys will under-report rejection by 5–15 % at high recovery. Always specify which definition the calculator returns.

Sources: DuPont 45-D01591; Hydranautics Terms and Equations of RO.

1.4 Permeate Flux (Jw)

Jw = A · NDP · TCF · FF                          # vendor model
Jw = Qp / Am                                     # operational

A = water permeability (LMH/bar), FF = fouling factor (0.85 design / 0.70 EOL).

Unit conversion: 1 GFD = 1.6987 LMH (≈ 1.70).

Typical design flux windows (vendor consensus):

Application GFD LMH
SWRO open intake (SDI 3–5) 7–9 12–15
SWRO beach well (SDI < 2) 8–10 14–17
BWRO well (SDI < 3) 14–18 24–30
BWRO surface (SDI 3–5) 10–14 17–24
RO permeate / 2nd pass 20–30 34–51

⚠️ A hard-coded flux_max = 25 LMH threshold is incorrect for SWRO (well above limit) and conservative for BWRO well (well below limit). Threshold must be water-source-aware.

Sources: DuPont 45-D01695 Rev 14 (Feb 2026); Hydranautics TSB 105; AMTA Optimum Flux Rates.

1.5 Salt Flux (Js)

Js = B · (mean(Cf,Cc) − Cp) ≈ B · mean(Cf,Cc)
Cp = Js / Jw                                     # key inverse relation

B is temperature-dependent but pressure-independent (unlike A). At cold feed temperature, Jw drops while Js is relatively unchanged → Cp rises → permeate quality degrades. Cold-water permeate TDS spikes are explained by this relation.

Source: DuPont 45-D01591; Hydranautics Terms and Equations.

1.6 Net Driving Pressure (NDP)

NDP = (Pf + Pc)/2 − Pp − (πw − πp)
    = mean_feed_pressure − permeate_pressure − osmotic_differential_at_wall

with πw = β · π_mean(Cf,Cc) (osmotic pressure at membrane wall, corrected for polarization).

Source: ASTM D4516-19a §6; DuPont 45-D01591.

1.7 Osmotic Pressure (π)

Rigorous Van't Hoff:

π = i · M · R · T                                # i ≈ 1.8–2.0 for NaCl
                                                 # R = 0.08314 L·bar/(mol·K)
                                                 # T in Kelvin

Engineering shortcut (industry standard at 25 °C):

π [psi] ≈ 0.0085 · TDS [ppm]
π [bar] ≈ 0.000586 · TDS [ppm]

Shortcut accuracy:

  • ±3 % for NaCl-dominated brackish (1 000–10 000 ppm)
  • ±5 % for seawater (32 000–40 000 ppm) — agrees with Pitzer model up to 70 g/L NaCl
  • Diverges > 10 % for sulfate-rich or hardness-dominated brines — use OLI/PHREEQC instead

Seawater rule of thumb: 35 000 ppm → π ≈ 25–28 bar bulk; ≈ 32–35 bar at wall with β = 1.15.

⚠️ A formula returning π ≈ 8 bar for seawater under-estimates by 3–4× — verify constants and unit handling. The correct order of magnitude for seawater is 25–35 bar.

Source: Pitzer comparison (Tandfonline 2019); Stark-Water RO Working Principle Guide; FilmTec 45-D01591.

1.8 Temperature Correction Factor (TCF)

ASTM D4516-19a normalizes flux to a 25 °C reference. General exponential form:

TCF = exp[ Ke · (1/298 − 1/(273 + T)) ]

Membrane-chemistry constants (Hydranautic

Полный SKILL.md на GitHub

Установить membrane-ro-fundamentals в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл membrane-ro-fundamentals?

Reverse Osmosis (RO) and Electrodeionization (EDI) process fundamentals — formulas (recovery, rejection, NDP, osmotic pressure, TCF, NPF/NSP), authoritative standards reference (ASTM/ISO/USP/Ph.Eur./WHO/EN), vendor design windows (DuPont, Hydranautics, Toray, Suez, LANXESS), water chemistry, EDI quick reference, IT/EN glossary. Use when working on RO/EDI plant code, KPI calculations, or normative citations.

Как установить скилл membrane-ro-fundamentals?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл membrane-ro-fundamentals запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить membrane-ro-fundamentals с