Compare commits

..

No commits in common. "f083f694140dc90df8917c751cf38be0f5aa36b7" and "6d374b5fb3a370d1211dc9cd20c2cee636b386d6" have entirely different histories.

2 changed files with 0 additions and 87 deletions

66
.gitignore vendored
View File

@ -1,66 +0,0 @@
### Python
# Byte-compiled files
__pycache__/
*.py[cod]
*$py.class
# C extensions
*.so
# Distribution / packaging
build/
dist/
*.egg-info/
*.egg
# dotenv environment variable files
.env
# Virtual environments
.venv
env/
venv/
# Unit test / coverage reports
htmlcov/
.tox/
.nox/
.coverage
.coverage.*
.pytest_cache/
# Type checkers
.mypy_cache/
# Jupyter Notebook
.ipynb_checkpoints
# pyenv
# .python-version
### Windows
# Windows thumbnail cache files
Thumbs.db
# Folder config file
[Dd]esktop.ini
# Recycle Bin used on file shares
$RECYCLE.BIN/
# Windows shortcuts
*.lnk
### VS Code
# VSCode settings (keep shared configuration)
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
# Local History for Visual Studio Code
.history/
# Built Visual Studio Code Extensions
*.vsix

View File

@ -15,27 +15,6 @@ Target CYG (saltwater) = Current FC / 0.05
## Alkalinity Raising ## Alkalinity Raising
Pounds of Sodium Bicarbonate (BP100) = [Desired TA Increase (ppm) * 1.4] / (Pool Gallons / 10,000) Pounds of Sodium Bicarbonate (BP100) = [Desired TA Increase (ppm) * 1.4] / (Pool Gallons / 10,000)
## Lowering pH (or readjusting pH after raising alkalinity)
3 options: Muriatic Acid, Acid Blue, Sodium Bisulfate/Lo N Slo
### 31.45% Muriatic Acid
Fluid Ounces of Muriatic = [10 fl oz * (Desired pH Drop / 0.2)] / (10,000 / pool gallons)
### Acid Blue
Fluid Ounces of Acid Blue = [10 fl oz * (Desired pH Drop / 0.2)] / (10,000 / pool gallons)
### Dry Acid or Lo N Slo
Ounces (by Weight) of Dry Acid = [13 oz * (Desired pH Drop / 0.2)] / (10,000 / pool gallons)
## Increase pH
Ounces (by weight) of Soda Ash (Balace Pak 200) = [6oz * (Desired pH Rise / 0.2)] / (10,000 / pool gallons)
## Adjusting pH Down after raising Alkalinity
Gemini says this should be done with a Matrix or Dynamic Algorithm, and the Algorithm sounds like the best option. However, instead of a "dynamic algorithm" like Gemini probably intended, I think several formulas might work fine.
Simply put, we first check the input Total Alkalinity (as provided by ALEX), and see whether it's above, below, or inside the target range. If the input is below, we would run the formula to determine how much Alk. Increaser is needed to reach the target range, preferably as close to the middle as possible, and "log" that number, which is our new TA.
Next, we need to figure out how to adjust for pH. We start with a simple formula:
Base Dose (fl oz) = [Pool Gallons / 10,000] * ([Current pH - Target pH]/ 0.2) * 10
## TA Lowering ## TA Lowering