ELEC · Practical Guide 13 — Build a conditional budget in Scientific Worksheet

by Giux Electrochemistry, GX-TXT 3 min read

Build a chemical budget from six nitrogen observations at 0 rpm. Record the assumptions, check units, and publish the resulting worksheet data.

ELEC project · Practical GX-TXT guide 13 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: Scientific Worksheet

Learning objective: Build a conditional budget in Scientific Worksheet

Prerequisites / input: Six 0 rpm N centres and declared constants

Expected output: Six-row conditional budget Workbook and published Dataset

Scientific background and reference results

The budget compares the equivalent chlorine source with two stoichiometric demands derived from the N response. It does not directly measure nitrogen fate. Work in a Session copy and create a Workbook and Dataset with new names.

Step-by-step procedure

  1. Open Scientific Worksheet and choose Data → Bind Dataset. Select hal_fig3a_0rpm_six_interior_unweighted.measurement_1.curves, variables x and y, destination A1, six rows. A contains time in minutes, B the operational nitrogen-basis response in mg/L, rather than chlorine concentration.
  2. Under Data → Columns / Ranges assign names and units to the first-row constants: M1 10 [mg/L] initial N; N1 0.5124310708631978 [1]; O1 0.12 [A]; P1 96485.33212 [A*s/mol]; Q1 0.0002 [m^3]; R1 70.906 [g/mol] Cl₂ molar mass; S1 14.0067 [g/mol] N molar mass. Use decimal points in English controls.
  3. Enter these formulas in row 1:
Cell Formula Meaning
C1 =$N$1*$O$1*$R$1*A1/(2*$P$1*$Q$1) transferred source f₀
D1 =1.5*$R$1/$S$1*($M$1-B1) demand ν=1.5
E1 =4*$R$1/$S$1*($M$1-B1) demand ν=4
F1 =C1-D1 margin f₀, ν=1.5
G1 =C1-E1 margin f₀, ν=4
H1 =$O$1*$R$1*A1/(2*$P$1*$Q$1) ceiling f=1
I1 =H1-D1 margin f=1, ν=1.5
J1 =H1-E1 margin f=1, ν=4
  1. Select C1:J6 and use Edit → Fill down, retaining absolute $ references and leaving A/B and M:S unchanged. Ratio R/S converts from nitrogen basis to Cl₂ equivalents; native units handle minutes and seconds without another factor of 60. Retain negative margins too. C–J are in g/m³, numerically equal to mg Cl₂/L on the stated basis.
Budget workbook
Historical Workbook: six times and responses with calculated columns; constants are farther right. · 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
  1. Save the named Workbook. Under Data → Publish Dataset choose X=A, Y=B–J, rows 1–6 and a new ID; historical Dataset is hal_fig3a_conditional_chlorine_budget_01. In Curve Viewer add this Dataset and choose x and, as separate series, y2, y3, y4 and y7. Response y1 is on a nitrogen basis and must not be presented as chlorine concentration. Save the Workspace and publish a separate Graph.
  2. For a subsequent rate ratio use Data → Bind Dataset… and the pmax produced by Dataset Expression: hal_chlorine_current_ceiling_pmax_01, variable pmax, destination Y, first row 1, maximum 1. Dataset Expression remains the producer of ceiling M*I/(2*F*V), rather than this Workbook.

The comparison is conditional on declared coefficients and assumptions. Observations are six unweighted digitized centres; margins must not be turned into gas measurements.

Working materials

Figure 3 digitized datasets (CSV) · Model and constraint datasets (CSV)

#Electrochemistry #GX-TXT #mass balance #Scientific Worksheet

Other steps of this project