/PP32

Page 57

APPENDIX

u(44)+u(88); %Nsol,org,effl = N,sol,org,in including Snd 0 (u(46)+u(91))*thin_factor_Mem %Spart,effl 0 u(48) %HS-S u(49)*thin_factor_Mem %K_part 0 0 %element 51 0 0 0 %the temporary Spart,inert is added to Spart 0 0 0 0 0 0 0 %element 61 0 0 0 0 0 0 0 0 0 0 %element 71 0 0 0 u(75) %CODsol,bio,effl = CODsol,bio,in u(76) %CODsol,inert,effl = CODsol,inert,in (u(85)+(u(86)+u(87))*(1-spMBRMemPAR(10)))*thin_factor_Mem %CODpart,bio,effl = CODpart,substrate+fraction of biomass ending up as substrate (u(78)+(u(86)+u(87))*spMBRMemPAR(10))*thin_factor_Mem %CODpart,inert,effl = CODpart,inert+fraction of biomass ending up as inerts u(79) %PO4effl = PO4in (u(80)+u(90))*thin_factor_Mem %Ppart,effl including Xpd (u(81)+u(89))*thin_factor_Mem %Npart,effl including Xnd u(82) %temp,effl = temp,in 0 %how to calculate exergy change? 0 %how to calculate exergy change? ]; % calculate BOD7effl once the biodegradable COD is known %y1(6) = spMBRMemPAR(5)*(y1(75)+y1(77)); % can be done on concentrations, all flow terms cancel out y1(6) = u(6)*(y1(75)+y1(77))/(u(75)+u(77)); %no biological reactions, BOD out proportional to BOD:COD_bio ratio in % calculate VSeffl once the COD is known y1(7) = spMBRMemPAR(6)*(y1(75)+y1(77)) + spMBRMemPAR(7)*(y1(76)+y1(78)); % calculate Ntot,effl once the different N-fractions are known y1(23) = y1(24) + y1(26) + y1(44) + y1(81); % calculate Stot,effl once the different S-fractions are known y1(28) = y1(29) + y1(46) + y1(48); % calculate Ptot,effl once the different P-fractions are known y1(30) = y1(79) + y1(80); % calculate CODtot,effl once the different COD-fractions are known y1(43) = y1(75) + y1(76) + y1(77) + y1(78); % vector for wastage flow from the AS settler y2 = [ 0 %element 1 0 0 0 0 NaN %BOD7 is calculated below once the concentrations of biodegradable COD is known by use of conversion factor NaN %VS is calculated below once the COD concentrations are known by use of a conversion factor (spASDissolvedTSIn*1e6/spASVolumeFlowIn + u(42)*thick_factor_Mem)*Qw*365/1000; %transform TS,wastage into kg/y, maintain dissolved TS, total volume constant 0 0 0 %element 11 0 0 0 0 0 0 0 0 0 0 %element 21 (Qw*1000 - (spASDissolvedTSIn*1e6/spASVolumeFlowIn + u(42)*thick_factor_Mem)*Qw/1000)*365; %transform H2Owastage into kg/y, maintain dissolved TS, total volume constant NaN %Ntot,out = sum of all N fractions, calculated below once these are known u(24) %NH4wastage = NH4in 0 u(26) %NO3wastage = NO3in 0 NaN %Stot,wastage = sum of all S fractions, calculated below once these are known u(29) %SO4wastage = SO4in NaN %Ptot,wastage = sum of all P fractions, calculated below once these are known 0 %element 31 u(32)-u(49)+u(49)*thick_factor_Mem %Kwastage,tot 0

- 49 ______________________________________________________________________________


Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.