8000 flahax mix: interactive batch planning for growers and agronomists, any material by formula or analysis by rafatahmed · Pull Request #94 · rafatahmed/Flahax · GitHub
[go: up one dir, main page]

Skip to content

flahax mix: interactive batch planning for growers and agronomists, any material by formula or analysis - #94

Merged
rafatahmed merged 17 commits into
mainfrom
feat/interactive-mix
Oct 22, 2026
Merged

rafatahmed merged 17 commits into
mainfrom
feat/interactive-mix

Conversation

@rafatahmed
Copy link
Copy Markdown
Owner

Opens FlahaX to growers and agronomists. The workflow is always:

Enter data → fertilizer recipe → calculated pH → acid-adjusted recipe → A/B stocks

What a user gets

  • flahax mix: five steps (specification, water analysis, crop formula, fertilizers available, pH requirement), answers saved and reused (flahax mix sessions/<name> asks nothing). Lab reports typed in their own units; Enter = not measured, 0 = measured zero, <0.02 = below detection; missing alkalinity flagged at entry.
  • Batch sheet by depth: grower (tank A and B cards with prepared litres and grams, acid container, checks); agronomist (adds target / from water / required / achieved / final / difference, limits, pH path); developer and manager (adds the full report). Tomato in RO, 20 L tanks at 100:1: calcium nitrate 1,860.7 g in tank A; nitric 60 % 46.8 mL per 1,000 L, 93.7 mL into the 20 L acid container.
  • Any material, not only the catalogue: a compound by its formula or ions (MKP = KH2PO4), a blend by its data-sheet analysis (NPK 20-20-20 + TE), your own label values for a catalogue chemical. A material list with no catalogue names gives the same recipe, pH and acid dose as the catalogue. A name alone stops with material_undefined and says what to give.

Owner decisions (2026-10-22)

  • Two tanks: magnesium sulfate with the phosphates in tank B (waiver of Yara p. 65, named on the report); any compound containing phosphate goes to tank B; acid on its own container and injector.
  • Ammonium (Workflow drops the default ammonium maximum when re-assessing incidentals, so first fit and pH refit disagree #92, option c+): keep the 10 % allowance, assess it once everywhere, and name its source ("from calcium nitrate, not in formula"). A target-0 trial changed 42/52 benchmark recipes and cost calcium, so it was not adopted.
  • Materials are defined by what they put in the water, not by catalogue name.

Fixes

Unchanged

Every catalogue product converts bit for bit as before (5 doses each); the 26 packaged formulas in RO give identical recipes, pH and reagent decisions; PHREEQC comparisons unchanged.

Not done here, needs the owner

Validation

501 tests with live PHREEQC required; strict Sphinx build clean; tools/verify_distribution.py PASS; LF only outside benchmark snapshots; sheets viewed at phone and desktop widths.

…utrient units, data-sheet notes and a status-led terminal summary
@read-the-docs-community
Copy link
Copy Markdown

Documentation build overview

📚 Flahax | 🛠️ Build #35339299 | 📁 Comparing 49d6410 against latest (a4483c1)

  🔍 Preview build  

5 files changed · ± 5 modified

± Modified

@rafatahmed
rafatahmed merged commit 2e0545f into main Oct 22, 2026
6 checks passed
@rafatahmed
rafatahmed deleted the feat/interactive-mix branch October 22, 2026 23:22
@rafatahmed rafatahmed self-assigned this Oct 23, 2026
rafatahmed added a commit that referenced this pull request Nov 7, 2026
flahax mix: interactive batch planning for growers and agronomists, any material by formula or analysis
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant

0