new developments in biowin 5 - wastewater process ...envirosim.com/whatsnewin51.pdf1 october 7, 2016...

9
1 October 7, 2016 New Developments in BioWin 5.1 The primary focus of this release has been to improve both steady state and dynamic simulation speed, particularly for (a) large flowsheets incorporating many elements; and (b) systems incorporating biofilm elements (e.g. media bioreactors in MBBR and IFAS configurations, submerged aerated filters, trickling filters, etc.). Speed Improvements - Steady State Simulation The basic methodology for steady state simulations remains unchanged. That is, BioWin uses a “hybrid” solver that combines a Decoupled Linear Search (DLS) method and a Modified Newton-Raphson (MNR) method. The solver typically starts with a few iterations of DLS, and then switches to MNR to finish. The MNR is much more efficient at obtaining solutions, but it is computationally intensive. For example, in previous versions of BioWin, the MNR could take up to several minutes per iteration for systems with large, complex flowsheets. Given that several iterations often are required, this translated into steady state solution times of 20-30 minutes for very large systems. In BioWin 5.1, the numerical engine underlying the MNR method has been replaced, resulting in huge gains for large flowsheets. For example, in our internal testing we have systems that were taking ~200 seconds per iteration reduce to ~4 seconds per iteration, i.e. 50 times faster! Speed Improvements - Dynamic Simulation BioWin 5.1 uses a new dynamic integration method known as BDF (Backwards Differentiation Formula). The BDF method is faster than the previous method for large, complex flowsheets and flowsheets incorporating biofilm-based elements. Our BioWin 5.1 testing has indicated: Large systems not incorporating biofilm reactors run 3 – 6 times faster Systems incorporating biofilm reactors run 10 – 50+ times faster If you open the Project > Current Project Options > Numerical parameters tab shown below, the BDF method should be selected as the default method – even for a file you created in a

Upload: hadang

Post on 30-May-2018

218 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: New Developments in BioWin 5 - Wastewater Process ...envirosim.com/WhatsNewin51.pdf1 October 7, 2016 New Developments in BioWin 5.1 The primary focus of this release has been to improve

1

October7,2016

NewDevelopmentsinBioWin5.1Theprimaryfocusofthisreleasehasbeentoimprovebothsteadystateanddynamicsimulationspeed,particularlyfor(a)largeflowsheetsincorporatingmanyelements;and(b)systemsincorporatingbiofilmelements(e.g.mediabioreactorsinMBBRandIFASconfigurations,submergedaeratedfilters,tricklingfilters,etc.).

SpeedImprovements-SteadyStateSimulationThebasicmethodologyforsteadystatesimulationsremainsunchanged.Thatis,BioWinusesa“hybrid”solverthatcombinesaDecoupledLinearSearch(DLS)methodandaModifiedNewton-Raphson(MNR)method.ThesolvertypicallystartswithafewiterationsofDLS,andthenswitchestoMNRtofinish.TheMNRismuchmoreefficientatobtainingsolutions,butitiscomputationallyintensive.Forexample,inpreviousversionsofBioWin,theMNRcouldtakeuptoseveralminutesperiterationforsystemswithlarge,complexflowsheets.Giventhatseveraliterationsoftenarerequired,thistranslatedintosteadystatesolutiontimesof20-30minutesforverylargesystems.InBioWin5.1,thenumericalengineunderlyingtheMNRmethodhasbeenreplaced,resultinginhugegainsforlargeflowsheets.Forexample,inourinternaltestingwehavesystemsthatweretaking~200secondsperiterationreduceto~4secondsperiteration,i.e.50timesfaster!SpeedImprovements-DynamicSimulationBioWin5.1usesanewdynamicintegrationmethodknownasBDF(BackwardsDifferentiationFormula).TheBDFmethodisfasterthanthepreviousmethodforlarge,complexflowsheetsandflowsheetsincorporatingbiofilm-basedelements.OurBioWin5.1testinghasindicated:

• Largesystemsnotincorporatingbiofilmreactorsrun3–6timesfaster• Systemsincorporatingbiofilmreactorsrun10–50+timesfaster

IfyouopentheProject>CurrentProjectOptions>Numericalparameterstabshownbelow,theBDFmethodshouldbeselectedasthedefaultmethod–evenforafileyoucreatedina

Page 2: New Developments in BioWin 5 - Wastewater Process ...envirosim.com/WhatsNewin51.pdf1 October 7, 2016 New Developments in BioWin 5.1 The primary focus of this release has been to improve

2

previousversionofBioWin.The“old”BioWinmethod(BWHeun)isalsostillavailablebecausethenewBDFmethodisnotyetavailableforsimulationofSBRsystems.

ModelChange–DiffusionofColloidalMaterialinBiofilmsBioWin’sbiofilmmodelhasalwaysincorporatedadiffusionrateforcolloidalmaterialintothebiofilmlayers.ThisparametercanbefoundontheProject>Parameters>Biofilm>Effectivediffusivitiestabshownbelow:

Page 3: New Developments in BioWin 5 - Wastewater Process ...envirosim.com/WhatsNewin51.pdf1 October 7, 2016 New Developments in BioWin 5.1 The primary focus of this release has been to improve

3

InpreviousversionsofBioWin,thedefaultvalueassignedfortheeffectivediffusivityofcolloidalmaterialwas5.0x10-12.Thisvalueisgreaterthantheoneassignedtoparticulatematerial(e.g.particulatedegradableCODhasavalueof5.0x10-14),butlowerthansolublematerial(e.g.solublereadilybiodegradableCODhasavalueof6.9x10-10).Thefateofcolloidalmaterialinbiofilmsystemsisdirectlyimpactedbythisparametervalue.Forexample,considerthesystembelowconsistingoffourmovingbedbioreactor(MBBR)unitsinseries:

Page 4: New Developments in BioWin 5 - Wastewater Process ...envirosim.com/WhatsNewin51.pdf1 October 7, 2016 New Developments in BioWin 5.1 The primary focus of this release has been to improve

4

Usingthedefaultdiffusivityparameters,thesolubleCODandBODprofilesareasfollows:

NotethatsolubleBODisnotsignificantlyreduceduntiltheendofthethirdMBBRunit(bottomchart).Thiscanbeexplainedbylookingatthetopchart.Althoughtheuptakeofsolublereadilybiodegradablematerialisnearlycompletebytheendofthesecondunit,theuptakeofcolloidalmaterialisnotasrapidandmuchofthesolubleBODleavingthesecondandthirdMBBRunitsisduetocolloidalmaterial.OurinvestigationsintoperformanceofsystemsliketheonepicturedabovesuggeststhatthesolubleBODisremovedtoagreaterextentbytheendofthesecondstage.Asaresult,inBioWin5.1thedefaultvalueassignedfortheeffectivediffusivityofcolloidalCODmaterialhasbeenincreasedto5.0x10-10.Thisvalueiscloserto,butslightlylessthan,thevalueassignedtosolublematerial(recallthatsolublereadilybiodegradableCODhasavalueof6.9x10-10).Thisresultsinmorecompleteremovalofcolloidalmaterialbytheendofthesecondstage,andgivesthesolubleBODprofileshownbelow:

Page 5: New Developments in BioWin 5 - Wastewater Process ...envirosim.com/WhatsNewin51.pdf1 October 7, 2016 New Developments in BioWin 5.1 The primary focus of this release has been to improve

5

ModelChange–DissolvedOxygenHalf-SaturationConstantforPhosphorusAccumulatingOrganismsInpreviousversionsofBioWin,thephosphorusaccumulatingorganisms(PAO)usedthesamedissolvedoxygen(DO)half-saturationmodelparameterastheordinaryheterotrophicorganisms(OHO).ThisreflectedconventionalwisdomwhichsuggestedthatPAOsdidnottakeupphosphoruseffectivelyatlowDOconcentrations.However,currentresearch(Jimenezetal.,2014)suggeststhatPAOsareinfactabletotakeupphosphoruseffectivelyatverylowDOconcentrations.Toreflectthesefindings,BioWinnowincorporatesaseparatedissolvedoxygen(DO)half-saturationmodelparameterforPAOs.Thisimprovesthemodel’sabilitytotrackbiologicalphosphorusremovalbehaviorinsystemsoperatingunderlowDO/simultaneousnitrification-denitrificationconditions.ThisparameterisfoundviatheProject>Parameters>Kinetic>Switchestabshownbelow:

Page 6: New Developments in BioWin 5 - Wastewater Process ...envirosim.com/WhatsNewin51.pdf1 October 7, 2016 New Developments in BioWin 5.1 The primary focus of this release has been to improve

6

ModelChange–CompressionSettlingofSolidsInBioWinuserscandefineasolidsconcentrationthatrepresentsthemaximumcompactabilityofsolidsinamodelsettlingtankunit(i.e.alimitonunderflowTSSconcentration).Inearlierversions,asthesolidsconcentrationinalayerofamodelsettlingtankapproachedthemaximumcompactabilityvalue,thatlayerwould“re-suspend”solidsintothelayerabove;inthiswaytheconstraintonmaximumcompactabilitywasmaintained.Thisapproachwasnotalwayssatisfactorybecause(a)undercertainconditionsitresultedinunstablebehavior,and(b)itdidnotproperlyreflectwhatphysicallyoccursassolidstransitionfromthehinderedsettlingregimetocompressionsettling.InBioWin5.1,theapproachformodellingsettlingbehaviorathighsolidsconcentrationsandimposingamaximumcompactabilityhaschanged.Thefollowingsectiondiscussesthenewapproachusedathighsolidsconcentrations,aswellastheapproachthathasalwaysbeenusedtomodelsettlingatlowconcentrations.SludgesettlingvelocityismodeledaccordingtotheVesilindequationforhinderedsettling.Thesettlingvelocityinagivenlayerisgivenby:

𝑉",$ = 𝑉&𝑒)*+, (1)where𝑉&=maximumsettlingvelocity(m/d),𝐾=hinderedsettlingparameter(m3/kgTSS),and𝑋$ =totalsuspendedsolids(TSS)concentration(kgTSS/m3)inlayeri.AcriticismofEq.1isthatitover-predictssettlingvelocitiesatlowconcentrations.Furthermore,thestandardVesilindequationdoesnotaccountforcompressionsettling.BioWinemploysswitchingfunctionstoswitchoffthesludgesettlingvelocityexpressionatverylowsolidsconcentrations,andalsoasthesolidsconcentrationapproachesthemaximumsolids

Page 7: New Developments in BioWin 5 - Wastewater Process ...envirosim.com/WhatsNewin51.pdf1 October 7, 2016 New Developments in BioWin 5.1 The primary focus of this release has been to improve

7

compactabilityinthelowerlayersofthesettlingtank.Thisprovidesasimplifiedmethodofmodelingthepoorlyflocculatingsolidsintheupperlayersofthesettlingtank,andcompressionsettinginthelowerlayers.Asthesolidsconcentrationintheupperlayersapproachesauser-definableconcentration(theupperlayersettlingvelocityswitch),thesettlingvelocityapproacheszero,andsolidsarecarriedupwardsbytheoverflowstream(resultinginsolidsinthesettlingtankeffluent).Asthesolidsconcentrationinthelowerlayersapproachestheuser-definablemaximumcompactability,thesettlingvelocityisquicklyandsmoothlyreducedtozero.ThecompletesettlingvelocityequationusedbyBioWinis:

𝑉",$ = 𝑉&𝑒)*+, ⋅𝑋$

𝐾" + 𝑋$⋅

11 + 𝑒)23456788$39"7::;$9<=6>98$:$39?>@:36⋅(+BCD)+,) (2)

WhereKSistheupperlayersettlingvelocityswitch,XMAXisthemaximumcompactability,andothervariablesarethesameasinEq.1.Theswitchingfunctioneffectatlowconcentrationsforagivencombinationofsettlingvelocityparametersisshowninthefigurebelow:

YoucanincreasethesuspendedsolidsconcentrationatwhichsettlingvelocityisdecreasedbyincreasingtheKSparameter.VaryingtheKSparameterisapossiblewaytovarythepredictedeffluentsuspendedsolids.Theswitchingfunctioneffectathighconcentrationsinthelowerlayersofthesettlingtankforagivencombinationofsettlingvelocityparametersisshowninthefigurebelow.LoweringtheXMAXparameterisawaytosimulatepoorlycompressiblebulkingsludge.

0

1

2

3

4

5

6

7

8

0 2 4 6

SE

TT

LIN

G V

EL

OC

ITY

(m/h

)

SOLIDS CONCENTRATION (kg/m3)

Traditional Vesilind

Modified Vesilind

Page 8: New Developments in BioWin 5 - Wastewater Process ...envirosim.com/WhatsNewin51.pdf1 October 7, 2016 New Developments in BioWin 5.1 The primary focus of this release has been to improve

8

OtherUsabilityImprovementsThefollowingminorfixeshavealsobeenimplementedinBioWin5.1:

• YoucanchoosewhetherornottheNoteswindowisdisplayedwhenyouopenaBioWinfile,bycheckingoruncheckingtheAutomaticallyshownotesafterloadingfileboxunderTools>Customize>General

• UsersofpreviousversionsofBioWinreporteda“sluggish”behaviorinBioWinfilesthatincorporatedverylargetablesintheBioWinAlbum.Thisisnolongerthecase,solongastheuserdoesnotsetBioWintoupdatetablescontinuallyduringsimulations.TheSteadystatesimulationtableupdatesandDynamicsimulationtableupdatescheckboxesshouldremainatthedefaultuncheckedstate.

0.00

0.05

0.10

0.15

0.20

0.25

8 10 12 14 16

SE

TT

LIN

G V

EL

OC

ITY

(m/h

)

SOLIDS CONCENTRATION (kg/m3)

Traditional Vesilind

Modified Vesilind

Page 9: New Developments in BioWin 5 - Wastewater Process ...envirosim.com/WhatsNewin51.pdf1 October 7, 2016 New Developments in BioWin 5.1 The primary focus of this release has been to improve

9

• AprogressbarnowshowsatthebottomofthesimulationcontrolboxwhileBioWinplacesnumericalseedvaluesinallflowsheetelements.Thiswillonlybereadilyevidentonlargeflowsheetswithmanyelements.

• Improvedplottingseriesnamingformulti-layerelements(e.g.SAF).

• ItisnowpossibletodisplayaRateswindowforaSAFelement.

• Tighternumericaladherencetosplitterswith“zero”fractionsandratesspecifiedforastream.

• Anaerobicdigestersandvariablevolumebioreactorsmaynowbesetto“constant”

volume.

• BiofilmdetailstablesintheAlbummaynowbecopiedtotheclipboardforexportingtoExcel.

• ThesoftwarepackagethatBioWinusesforitschartingengine(TeeChart)hasupdated

toanewversion.ThefunctionalityissimilartowhatitwasinpreviousBioWinversions,buttheinterfacehaschangedsomewhat.

ReferenceMainstreamNitrite-ShuntwithBiologicalPhosphorusRemovalattheCityofSt.PetersburgSouthwestWRF.Jimenez,J.,Wise,G.,Burger,G.,Du,W.andDold,P.ProceedingsoftheWaterEnvironmentFederation86thAnnualTechnicalExhibition&Conference,NewOrleans,Louisiana,USA,September27toOctober1,2014.