CE_Inorganic_Ions_Analyzer
CE Inorganic Ions Analyzer
Lumex QC URS & FS input.csv output.json rule-based LIMS-ready capillary electrophoresis
Open selectionUtility description: CE Inorganic Ions Analyzer
CE Inorganic Ions Analyzer — Analysis of Inorganic Ions by Capillary Electrophoresis ℹ️ Utility checks content of key inorganic anions and cations: • Chlorides (Cl-): ≤50.0 ppm (example) • Sulfates (SO4 2-): ≤50.0 ppm (example) • Nitrates (NO3-): ≤10.0 ppm (example) • Phosphates (PO4 3-): ≤5.0 ppm (example) • Sodium (Na+): ≤20.0 ppm (example) ⚠️ CRITICAL: Exceedance of ion content may indicate water or raw material contamination. CE with Conductivity Detector (C4D) provides high sensitivity without derivatization. Usage: CE_Inorganic_Ions_Analyzer.exe → demo mode (console output) CE_Inorganic_Ions_Analyzer.exe input.csv output.json → evaluate your data Input format: BatchNumber,ChloridePPM,SulfatePPM,NitratePPM,PhosphatePPM,SodiumPPM Example: WATER-CE-2026-001,5.0,2.0,1.0,0.5,10.0 — WHY IS THIS NEEDED? Control of inorganic impurities is critical for purified water, water for injections, and pharmaceutical substances. • Capillary Electrophoresis (CE) with indirect conductometric detection (C4D) is an effective alternative to ion chromatography. • The method allows simultaneous determination of anions (Cl-, SO4 2-, NO3-, PO4 3-) and cations (Na+, K+, Ca2+, Mg2+) in one analysis (using two capillaries or sequential runs). • High separation efficiency and low reagent consumption make CE a cost-effective method. • Compliance with pharmacopoeial requirements (USP <621>, Ph. Eur. 2.2.47) for separation techniques. ⚠️ CRITICAL: • Purity of buffer and water for solution preparation is critical due to high concentrations of background ions. • Migration time stability depends on temperature and capillary condition. • Quantitative analysis requires use of internal standards or external standard calibration. • Limits are set by specific monograph or specification for water/substance. Key features: • Simultaneous control of main inorganic ions. • Support for data from CE systems with C4D detectors (e.g., Lumex Capel). • Automatic compliance check against established limits. Critical parameters: • Chloride: <= 50.0 ppm • Sulfate: <= 50.0 ppm • Nitrate: <= 10.0 ppm • Phosphate: <= 5.0 ppm • Sodium: <= 20.0 ppm 💡 Usage tips: 1. Use chromate or benzoate buffers for indirect anion detection. 2. For cations, use acidic buffers (e.g., histidine or acetic acid). 3. Regularly condition the capillary for result reproducibility. 4. Filter all solutions through 0.45 µm or 0.22 µm membranes. 5. Monitor buffer pH as it affects electroosmotic flow and migration time. ⚠️ Note: Unlike ion chromatography, CE has no column that can degrade. However, capillary surface may change over time, requiring regular check of separation efficiency (theoretical plate count).
input.csv
BatchNumber,Cl_ppm,SO4_ppm,NO3_ppm,PO4_ppm,Na_ppm WATER-CE-2026-001,5.0,2.0,1.0,0.5,10.0 SUBST-CE-2026-002,15.0,10.0,2.0,1.0,50.0 FAIL-CE-2026-003,60.0,55.0,15.0,8.0,25.0
Utility description
CE Inorganic Ions Analyzer — Analysis of Inorganic Ions by Capillary Electrophoresis ℹ️ Utility checks content of key inorganic anions and cations: • Chlorides (Cl-): ≤50.0 ppm (example) • Sulfates (SO4 2-): ≤50.0 ppm (example) • Nitrates (NO3-): ≤10.0 ppm (example) • Phosphates (PO4 3-): ≤5.0 ppm (example) • Sodium (Na+): ≤20.0 ppm (example) ⚠️ CRITICAL: Exceedance of ion content may indicate water or raw material contamination. CE with Conductivity Detector (C4D) provides high sensitivity without derivatization. Usage: CE_Inorganic_Ions_Analyzer.exe → demo mode (console output) CE_Inorganic_Ions_Analyzer.exe input.csv output.json → evaluate your data Input format: BatchNumber,ChloridePPM,SulfatePPM,NitratePPM,PhosphatePPM,SodiumPPM Example: WATER-CE-2026-001,5.0,2.0,1.0,0.5,10.0 — WHY IS THIS NEEDED? Control of inorganic impurities is critical for purified water, water for injections, and pharmaceutical substances. • Capillary Electrophoresis (CE) with indirect conductometric detection (C4D) is an effective alternative to ion chromatography. • The method allows simultaneous determination of anions (Cl-, SO4 2-, NO3-, PO4 3-) and cations (Na+, K+, Ca2+, Mg2+) in one analysis (using two capillaries or sequential runs). • High separation efficiency and low reagent consumption make CE a cost-effective method. • Compliance with pharmacopoeial requirements (USP <621>, Ph. Eur. 2.2.47) for separation techniques. ⚠️ CRITICAL: • Purity of buffer and water for solution preparation is critical due to high concentrations of background ions. • Migration time stability depends on temperature and capillary condition. • Quantitative analysis requires use of internal standards or external standard calibration. • Limits are set by specific monograph or specification for water/substance. Key features: • Simultaneous control of main inorganic ions. • Support for data from CE systems with C4D detectors (e.g., Lumex Capel). • Automatic compliance check against established limits. Critical parameters: • Chloride: <= 50.0 ppm • Sulfate: <= 50.0 ppm • Nitrate: <= 10.0 ppm • Phosphate: <= 5.0 ppm • Sodium: <= 20.0 ppm 💡 Usage tips: 1. Use chromate or benzoate buffers for indirect anion detection. 2. For cations, use acidic buffers (e.g., histidine or acetic acid). 3. Regularly condition the capillary for result reproducibility. 4. Filter all solutions through 0.45 µm or 0.22 µm membranes. 5. Monitor buffer pH as it affects electroosmotic flow and migration time. ⚠️ Note: Unlike ion chromatography, CE has no column that can degrade. However, capillary surface may change over time, requiring regular check of separation efficiency (theoretical plate count).
URS & FS — User Requirements and Functional Specification
This document describes the controlled interface, user requirements and functional behaviour of CE_Inorganic_Ions_Analyzer. The utility is intended for automated verification of laboratory, pharmacopoeial, analytical or manufacturing QC parameters using input.csv and producing a structured output.json result.
Domain limits and critical parameters
Before production use, all limits must be verified against the approved specification, registration dossier, pharmacopoeial monograph, validated method and local SOPs.
- • Capillary Electrophoresis (CE) with indirect conductometric detection (C4D) is an effective alternative to ion chromatography.
- • The method allows simultaneous determination of anions (Cl-, SO4 2-, NO3-, PO4 3-) and cations (Na+, K+, Ca2+, Mg2+) in one analysis (using two capillaries or sequential runs).
- • High separation efficiency and low reagent consumption make CE a cost-effective method.
- • Compliance with pharmacopoeial requirements (USP <621>, Ph. Eur. 2.2.47) for separation techniques.
- • Purity of buffer and water for solution preparation is critical due to high concentrations of background ions.
- • Migration time stability depends on temperature and capillary condition.
- • Quantitative analysis requires use of internal standards or external standard calibration.
- • Limits are set by specific monograph or specification for water/substance.
- • Simultaneous control of main inorganic ions.
- • Support for data from CE systems with C4D detectors (e.g., Lumex Capel).
- • Automatic compliance check against established limits.
- • Chloride: <= 50.0 ppm
- • Sulfate: <= 50.0 ppm
- • Nitrate: <= 10.0 ppm
- • Phosphate: <= 5.0 ppm
- • Sodium: <= 20.0 ppm
URS — User Requirements Specification
| ID | Requirement | Criticality | Acceptance criterion |
|---|---|---|---|
| URS-001 | The utility shall accept an input.csv file with exact headers defined in the data contract. | High | The file is processed without manual header editing. |
| URS-002 | The utility shall perform deterministic evaluation for CE Inorganic Ions Analyzer using input values, approved limits and domain rules. | High | Each row receives a PASS / WARNING / FAIL status. |
| URS-003 | The utility shall validate mandatory fields, data types, numeric ranges, units and domain plausibility. | High | Schema, format and conversion errors are explicitly reported. |
| URS-004 | The utility shall identify critical deviations for parameters stated in the method description and specification. | High | A critical deviation causes FAIL or a dedicated critical finding. |
| URS-005 | The utility shall generate output.json with machine-readable results, source values, warnings and failures. | High | JSON is suitable for LIMS/ELN/MES integration, QA/QC review and archival. |
| URS-006 | The result shall not depend on machine learning or undocumented heuristics. | Medium | All decisions are based on explicit rules, thresholds and input values. |
| URS-007 | The system shall preserve traceability between batch/sample, input data, applied rules and final status. | High | The output contains the batch/sample identifier and checked parameters. |
| URS-008 | The documentation shall support IQ/OQ/PQ preparation and inspection discussion. | Medium | URS, FS, CSV/JSON contract and test scenarios are supplied with the utility. |
| URS-009 | The utility shall support batch processing of multiple input.csv rows. | Medium | Each row is evaluated independently; errors in one row do not mask errors in others. |
| URS-010 | The utility shall support a simple operating model: demo mode and execution with input/output files. | Medium | The CLI scenario is reproducible in test and production environments. |
input.csv contract
| # | Field | Type | Sample | Purpose |
|---|---|---|---|---|
| 1 | BatchNumber | string | WATER-CE-2026-001 | Batch or lot identifier used for traceability, review and deviation investigation. |
| 2 | Cl_ppm | decimal | 5.0 | Controlled input parameter used by deterministic QC rules and traceable result generation. |
| 3 | SO4_ppm | decimal | 2.0 | Controlled input parameter used by deterministic QC rules and traceable result generation. |
| 4 | NO3_ppm | decimal | 1.0 | Controlled input parameter used by deterministic QC rules and traceable result generation. |
| 5 | PO4_ppm | decimal | 0.5 | Controlled input parameter used by deterministic QC rules and traceable result generation. |
| 6 | Na_ppm | decimal | 10.0 | Controlled input parameter used by deterministic QC rules and traceable result generation. |
BatchNumber,Cl_ppm,SO4_ppm,NO3_ppm,PO4_ppm,Na_ppm WATER-CE-2026-001,5.0,2.0,1.0,0.5,10.0 SUBST-CE-2026-002,15.0,10.0,2.0,1.0,50.0 FAIL-CE-2026-003,60.0,55.0,15.0,8.0,25.0
FS — Functional Specification
| ID | Function | Implementation |
|---|---|---|
| FS-001 | CSV import | Read input.csv in UTF-8/CSV-compatible format and validate the header and expected columns. |
| FS-002 | Schema validation | Check mandatory fields, column count, critical missing values and row structure. |
| FS-003 | Type conversion | Convert numeric, flag and text values; invalid formats are recorded as row-level errors. |
| FS-004 | Domain rule engine | Apply domain rules for CE Inorganic Ions Analyzer, including limits from the utility description and approved specification. |
| FS-005 | Status aggregation | Produce final status: FAIL for critical failure, WARNING for non-critical deviation, PASS for conformance. |
| FS-006 | JSON export | Write output.json with detailed checks, source values, warnings, failures and critical findings. |
| FS-007 | Audit support | Keep the result structure suitable for review, deviation investigation, calculation reproduction and IQ/OQ/PQ preparation. |
| FS-008 | Integration contract | Support the production scenario: LIMS/ELN/MES creates input.csv, the utility returns output.json, and the portal displays description and documentation. |
| FS-009 | Error handling | Report errors unambiguously and do not substitute missing values with calculated values unless the rule is explicitly defined. |
| FS-010 | Version control support | Document the utility version, input contract, executable checksum and rule application date. |
Example output.json
{
"utilityId": "ce-inorganic-ions-analyzer",
"utilityName": "CE_Inorganic_Ions_Analyzer",
"overallStatus": "PASS|WARNING|FAIL",
"sourceFile": "input.csv",
"checks": [
{
"parameter": "BatchNumber",
"value": "WATER-CE-2026-001",
"status": "PASS|WARNING|FAIL",
"message": "Rule-based check result"
},
{
"parameter": "Cl_ppm",
"value": "5.0",
"status": "PASS|WARNING|FAIL",
"message": "Rule-based check result"
},
{
"parameter": "SO4_ppm",
"value": "2.0",
"status": "PASS|WARNING|FAIL",
"message": "Rule-based check result"
},
{
"parameter": "NO3_ppm",
"value": "1.0",
"status": "PASS|WARNING|FAIL",
"message": "Rule-based check result"
},
{
"parameter": "PO4_ppm",
"value": "0.5",
"status": "PASS|WARNING|FAIL",
"message": "Rule-based check result"
},
{
"parameter": "Na_ppm",
"value": "10.0",
"status": "PASS|WARNING|FAIL",
"message": "Rule-based check result"
}
],
"criticalFindings": [],
"warnings": [],
"generatedFor": "QA/QC review and LIMS integration"
}
Traceability matrix
| URS | FS | OQ/PQ coverage |
|---|---|---|
| URS-001, URS-003 | FS-001, FS-002, FS-003 | OQ-001/OQ-002/OQ-003 |
| URS-002, URS-004 | FS-004, FS-005 | OQ-004/PQ-001 |
| URS-005, URS-007 | FS-006, FS-007 | OQ-005/PQ-002 |
| URS-008, URS-010 | FS-008, FS-010 | IQ-001/OQ-006 |
OQ/PQ test scenarios
| ID | Scenario | Expected result |
|---|---|---|
| OQ-001 | Valid sample row | PASS or acceptable WARNING according to the rules. |
| OQ-002 | Mandatory column missing | Schema error or FAIL. |
| OQ-003 | Non-numeric value in numeric field | Type-conversion error. |
| OQ-004 | Critical parameter outside limit | FAIL and critical finding. |
| OQ-005 | Multiple rows with different statuses | Independent row-level evaluation. |
| PQ-001 | User real batch/sample | Reviewed result with retained input/output files. |
QA/QC and change control
- Do not rename columns without updating the validator, documentation and test set.
- Retain
input.csv,output.json, executable version, documentation and checksum. - Before production use, perform IQ/OQ/PQ or equivalent CSV/CSA verification.
- Critical limits must be verified against the approved specification, local SOPs and registration dossier.
Included in packages
Lumex QC Suite
A single Lumex package combining the former Lumex and Lumex2 sets: instrumental and general pharmaceutical QC, AAS/ICP, CE, HPLC, NIR/PAT, stability, dissolution, content uniformity, system suitability and statistical control.
Open