ELEC · Practical Guide 05 — Define dataset variables and units

by Giux Electrochemistry, GX-TXT 2 min read

Give time, pH, and concentration columns meaningful names, units, and chemical bases. Save conversions as separately identifiable working copies.

ELEC project · Practical GX-TXT guide 5 of 16.

Reproduction target: GX-TXT DEV112-P013. The original screenshots and recorded results document the historical ELEC session. A rerun on P013 has yet to be verified.

Module: Dataset Variables / Worksheet

Learning objective: Give Dataset variables meaning and units

Prerequisites / input: pH Dataset and concentration-column copy

Expected output: Meaningful schema and converted working copy

Scientific background and reference results

A numerical column becomes usable for comparison when its origin, units and meaning are known. In particular, mg/L and g/m^3 have the same numerical concentration value, but chemical bases mg N/L and mg Cl₂/L are not interchangeable. Work on a copy and preserve original data.

Step-by-step procedure

  1. Open Dataset → Variables for hal_fig3b_100rpm_bulk_ph_n_present_01.measurement_1.curves. Identify x and y: the former is time in min, the latter pH with unit 1. Compare with the figure and caption, rather than relying on column names.
  2. Set x’s semantic role to elapsed_time and use Save Schema. Repeat for the nitrogen-free trace. Schema editing leaves numerical payloads unchanged and does not turn pH into time.
  3. Open Curve Viewer → New 2D, add both Datasets using Add source… → Choose canonical Dataset and select x/y. Both sources can now be compared on the time axis while retaining their different conditions.
  4. For a separate conversion exercise open a new Scientific Worksheet and use Data → Bind Dataset for hal_fig3e_0rpm_no_added_n_total_chlorine.measurement_1.curves, x/y in A/B, nine rows. Here B is chlorine in mg/L, rather than pH. To convert a column copy, create, for example, =B1 in E1, use Fill Down on E1:E9 and select only E1:E9. Under Data → Convert Unit… choose g/m^3 for the copy initially in mg/L.
  5. Conversion materializes the copy. If B changes, clear only the converted copy, restore the empty column’s unit to mg/L, recreate and fill the formula, then convert again. Preserve raw values rather than changing them to suit the graph.
Two pH Datasets on the same time axis
The historical graph shows two ten-point series: the time role applies to x, while y remains dimensionless pH. · Retained original GX-TXT/ELEC documentation image; source and hash in metadata. Atrashkevich et al. (2025), DOI 10.1016/j.watres.2025.123732 for any publication pixels. View at full resolution

To convert elemental nitrogen concentration into molarity use nitrogen’s molar mass 14.0067 g/mol and explicitly state the N basis: do not apply NH₃’s molar mass directly to an input already expressed as N. Reproduction on P013 has not been run.

Working materials

Figure 3 digitized datasets (CSV)

#Datasets #Electrochemistry #GX-TXT #units of measurement

Other steps of this project