The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.
chemdose_ph
chemicals: CaOCl2, CaSO4, HNO3, KMnO4,
NaF, and Na3PO4dissolve_cu
predicts the concentration of
copper given pH, DIC, and phosphate based on the empirical model
described in Lytle et al. (2018). dissolve_cu_once
can also
predict copper for waters in a data frame.chemdose_dbp
can now input custom fitting coefficients
as a data framechemdose_ph_once
and chemdose_toc_once
are
back and only return relevant waters slots in its output.decarbonate_ph
: function to remove CO2 (H2CO3) from a
water and determine the new pH (and division of ions)modify_water
: function to modify individual slots in a
water that handles unit conversionsapplied_treatment
slot removed from water. Was not
providing any benefit and added complexity. Should be the responsibility
of the user to track.h2co3
slot added to water
class calculated
based on {H} and total carbonate.chemdose_ph
warns when ion water slots aren’t updated
due to NA slots.solvedose_ph
updated search range to allow for more
water qualities without erroring. Updated search process results in
slightly different outputs._toc
functions are DOC-based and previously assumed no
particulate TOC removal. In reality, virtually all particulate TOC is
removed with other particulates, so models have been updated to return
TOC = DOCchemdose_toc
custom coeff now accepts a data frame
instead of a named listwater
class.calculate_corrosion
now outputs a data frame with the
corrosion indices as columns. calculate_corrosion_chain
removed because the base function has a numeric output.calculate_corrosion
updated CCPP search range to allow
for more water qualities without erroring.solvect_o3
and solveresid_o3
now return
zero instead of NaN when the input dose is zerochemdose_chloramine
warnings.calculate_corrosion
expanded CCPP search range (fewer
errors)_chain
and _once
)
behavior change: can now specify column name unquoted (eg, alum =
AlumDose)_once
) helper functions because the
desired output is almost never all water slots as columns. Refer to
pluck_water(parameter = "all")
for same behavior.pac_toc
now constrained to accept a smaller range of
doses and times. The form of the equation was allowing negative TOC
outputs.define_water
, chemdose_ph
,
blend_waters
, and other pH related functions slightly
impacted by a fix in concentration vs activity. Previous code assumed pH
= 10^-[H+], code has been corrected to pH = 10^-{H+}define_water
convert_units
chemdose_chloramine
: chloramine formation model given
chlorine, ammonia, timechemdose_chlordecay
now has argument,
use_chlorine_slot
. Function can now use chlorine dose
and/or free_chlorine or combined_chlorine slots.chemdose_chlordecay
combined_chlorine
, nh2cl
, nhcl2
,
ncl3
solvemass_solids
separates functionality from
solvecost_solids
to solve lb/daybiofilter_toc
, chemdose_chlordecay
,
ozonate_bromate
, and solvect
helpers now
available.chemdose_ct
renamed solvect_chlorine
ozonate_ct
renamed solvect_o3
tot_ocl
slot in water renamed
free_chlorine
define_water
argument changes: tot_ocl
changed to free_chlorine
, added
combined_chlorine
_chain
and _once
)
behavior change: if multiple values are specified for multiple
arguments, all combinations are used.plan
define_water
now has arguments for “ca” and “mg” and no
longer has “ca_hard”.summarize_dbp
and summarize_corrosion
removed. summarize_wq
now takes arguments to summarize
general, ions, dbps, or corrosionchemdose_toc
and
matching _chain
and _once
helper
functions.chemdose_dbp
. No helper
functions yet except summarise_dbp
calculate_corrosion
and summarise_corrosion
with helper functions.dissolve_pb
with helper
functions.pluck_water
to pull one slot from a
water
column in a data frame.water
class and define_water
to handle more water quality parameters.balance_ions
and
chemdose_ph
_chain
and _once
for
applying models to data frames.These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.