ELEC · Practical Guide 14 — Explore functions and sensitivity in Mathematics Explorer
Compare two conditional predictions in Mathematics Explorer and inspect the separate model used to study sensitivity to pH.
ELEC project · Practical GX-TXT guide 14 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: Mathematics Explorer
Learning objective: Explore functions and sensitivity in Mathematics Explorer
Prerequisites / input: Saved two-function Workspace and separate pH model
Expected output: Two conditional predictions and inspection of the pH sensitivity model
Scientific background and reference results
Mathematics Explorer supports defining functions, evaluating them at selected times and publishing a comparison. First learn with two documented conditional predictions; then inspect the separate pH sensitivity model. Neither calculation creates new measurements.
Two nitrogen-free predictions at 100 rpm
Step-by-step procedure
- Open Mathematics Explorer in the Session copy. Historical Workspace
Conditional 100 rpm nitrogen-free predictionshas owneridoc_8676162010859903. Open it and save a newly named variant to follow its fields; alternatively create a separate Workspace. - Set the x axis in minutes and domain
2.3743325716139645–19.843825433296708 min. Declarep_hp=5.395265515034491 [g*m^-3*min^-1],p0=6.7784383472697565 [g*m^-3*min^-1]andk_hl=0.16632963477398346 [1/min]. Descriptions retain references to native results from which the parameters were transcribed. - Define two functions with output
g*m^-3:p_hp*xand-p0*expm1(-k_hl*x)/k_hl. The first represents H_P with no loss, the second H_L with effective loss. For each chooseexplicitand enter seven times:2.3743325716139645,4.803864691450635,7.3490888169938176,9.894312942536994,12.439537068080183,14.869069187916853,19.843825433296708min. - Use Plot / Refresh to inspect both branches, then Save model and Publish Graph with new identifiers. Historical Datasets have prefix
hal_100rpm_no_n_conditional_prediction_01and historical graph is p0022. These are seven theoretical query times, rather than chlorine measurements: lines connect samples without adding intermediate calculations.

Initial pH sensitivity
- Separately open
Initial pH formation sensitivity - 25 C, owneridoc_2643434209909857revision 7, and save a variant. The historical model contains nine native components, separate from the two functions in the preceding image. Check pH domain6–12,61samples, X unit1,k=3.07e6 [dm^3*mol^-1*s^-1],pKaC=7.537,pKaN=9.251and initial unchlorinated nitrogen10 [mg*dm^-3]. - Inspect functions and units with the retained field table. Use the saved configuration to see every definition before editing; publish any reproduced components under a new prefix. Historical prefix is
ph_formation_initial25c_sensitivity_01. Dedicated editable fraction plots were incomplete. - A
dm^3is exactly one litre. Converting10 mg N/Lto molarity uses nitrogen molar mass14.0067 g/molwith consistent units, rather than the whole NH₃ molecule’s mass. Scenarios γ=1 and γ=0.78 are distinct, rather than an uncertainty band. τ_F concerns free chlorine under frozen conditions, rather than N-signal removal time. Do not extrapolate the kinetic model beyond the declared domain.
Working materials
Figure 3 digitized datasets (CSV) · Model and constraint datasets (CSV) · ELEC working files (ZIP)
Other steps of this project
- ELEC 02 — Model hierarchy: effective kinetics, transfer and identifiability
- ELEC 03 — From fits to constraints: what does the chlorine balance reveal?
- ELEC 01 — What does the experiment measure? Nitrogen, chlorine and pH
- ELEC 07 — Sources, conclusions and tests that could distinguish the mechanisms
- ELEC 04 — Kinetics, speciation and transport: from local reaction to reactor response
- ELEC 06 — Where the numbers came from: GX-TXT, GNU Octave and reproducibility