# Bottles are 500 mL, substrate is wastewater sludge.
# Assume we want no more than 250 mL reacting volume (~250 g)
# First try setting ISR and total mass.
# VS concentrations: 20 g/kg in inoculum, 70 g/kg for substrate, ISR = 2.
planBMP(vs.inoc = 20, vs.sub = 70, isr = 2, m.tot = 250)
# Get 31 g substrate, 220 g inoculum.
# After setup, we can check final values.
planBMP(vs.inoc = 18, vs.sub = 72, m.sub = 32, m.inoc = 218)
# We didn't quite meet our target in this case--next time use more inoculum to be sure
# We can alternatively specify substrate VS mass
planBMP(vs.inoc = 20, vs.sub = 70, isr = 2, m.vs.sub = 2)
# Some options
planBMP(vs.inoc = 20, vs.sub = 70, isr = 2, m.vs.sub = 2, nice = FALSE)
# Perhaps we want to use three different ISRs
planBMP(vs.inoc = 20, vs.sub = 70, isr = 2:4, m.vs.sub = 2, nice = FALSE)
Run the code above in your browser using DataLab