21 CalculationsTable(
double Se,
double HeterBio,
double CellDeb,
double InterVes,
double MLVSS,
double MLSS,
22 double BiomassProd,
double SludgeProd,
double SolidProd,
double Effluent,
double IntentWaste,
23 double OxygenRqd,
double FlowMgd,
double NRemoved,
double NRemovedMgl,
double NitO2Dem,
24 double O2Reqd,
double EffNH3N,
double EffNo3N,
double TotalO2Rqd,
double WAS,
25 double EstimatedEff,
double EstimRas,
double FmRatio,
double Diff_MLSS,
double SRT)
26 : Se(Se), HeterBio(HeterBio), CellDeb(CellDeb), InterVes(InterVes), MLVSS(MLVSS), MLSS(MLSS),
27 BiomassProd(BiomassProd), SludgeProd(SludgeProd), SolidProd(SolidProd), Effluent(Effluent),
28 IntentWaste(IntentWaste), OxygenRqd(OxygenRqd), FlowMgd(FlowMgd), NRemoved(NRemoved),
29 NRemovedMgl(NRemovedMgl), NitO2Dem(NitO2Dem), O2Reqd(O2Reqd), EffNH3N(EffNH3N), EffNo3N(EffNo3N),
30 TotalO2Rqd(TotalO2Rqd), WAS(WAS), EstimatedEff(EstimatedEff), EstimRas(EstimRas), FmRatio(FmRatio),
31 Diff_MLSS(Diff_MLSS), SRT(SRT) {}
60 std::vector<double> getArray() {
61 std::vector<double> array {Se, HeterBio, CellDeb, InterVes, MLVSS, MLSS,
62 BiomassProd, SludgeProd, SolidProd, Effluent, IntentWaste, OxygenRqd,
63 FlowMgd, NRemoved, NRemovedMgl, NitO2Dem, O2Reqd, EffNH3N,
64 EffNo3N, TotalO2Rqd, WAS, EstimatedEff, EstimRas, FmRatio,
72 Output(
double TotalAverageDailyFlowRate,
double VolumeInService,
double InfluentBOD5Concentration,
73 double InfluentBOD5MassLoading,
double SecWWOxidNLoad,
double SecWWTSSLoad,
double FM_ratio,
74 double SolidsRetentionTime,
double MLSS,
double MLVSS,
double TSSSludgeProduction,
75 double TSSInActivatedSludgeEffluent,
double TotalOxygenRequirements,
double TotalOxygenReqWDenit,
76 double TotalOxygenSupplied,
double MixingIntensityInReactor,
double RASFlowRate,
77 double RASRecyclePercentage,
double WASFlowRate,
double RASTSSConcentration,
78 double TotalSludgeProduction,
double ReactorDetentionTime,
double VOLR,
double EffluentCBOD5,
79 double EffluentTSS,
double EffluentAmmonia_N,
double EffluentNO3_N,
double EffluentNO3_N_W_Denit,
81 double AeEnergy,
double AeCost,
double FieldOTR, std::vector<CalculationsTable> calculationsTable)
82 : TotalAverageDailyFlowRate(TotalAverageDailyFlowRate), VolumeInService(VolumeInService),
83 InfluentBOD5Concentration(InfluentBOD5Concentration), InfluentBOD5MassLoading(InfluentBOD5MassLoading),
84 SecWWOxidNLoad(SecWWOxidNLoad), SecWWTSSLoad(SecWWTSSLoad), FM_ratio(FM_ratio),
85 SolidsRetentionTime(SolidsRetentionTime), MLSS(MLSS), MLVSS(MLVSS),
86 TSSSludgeProduction(TSSSludgeProduction), TSSInActivatedSludgeEffluent(TSSInActivatedSludgeEffluent),
87 TotalOxygenRequirements(TotalOxygenRequirements), TotalOxygenReqWDenit(TotalOxygenReqWDenit),
88 TotalOxygenSupplied(TotalOxygenSupplied), MixingIntensityInReactor(MixingIntensityInReactor),
89 RASFlowRate(RASFlowRate), RASRecyclePercentage(RASRecyclePercentage), WASFlowRate(WASFlowRate),
90 RASTSSConcentration(RASTSSConcentration), TotalSludgeProduction(TotalSludgeProduction),
91 ReactorDetentionTime(ReactorDetentionTime), VOLR(VOLR), EffluentCBOD5(EffluentCBOD5),
92 EffluentTSS(EffluentTSS), EffluentAmmonia_N(EffluentAmmonia_N), EffluentNO3_N(EffluentNO3_N),
93 EffluentNO3_N_W_Denit(EffluentNO3_N_W_Denit), AeEnergy(AeEnergy), AeCost(AeCost), FieldOTR(FieldOTR),
94 calculationsTable(calculationsTable) {}
96 double TotalAverageDailyFlowRate;
97 double VolumeInService;
98 double InfluentBOD5Concentration;
99 double InfluentBOD5MassLoading;
100 double SecWWOxidNLoad;
103 double SolidsRetentionTime;
106 double TSSSludgeProduction;
107 double TSSInActivatedSludgeEffluent;
108 double TotalOxygenRequirements;
109 double TotalOxygenReqWDenit;
110 double TotalOxygenSupplied;
111 double MixingIntensityInReactor;
113 double RASRecyclePercentage;
115 double RASTSSConcentration;
116 double TotalSludgeProduction;
117 double ReactorDetentionTime;
119 double EffluentCBOD5;
121 double EffluentAmmonia_N;
122 double EffluentNO3_N;
123 double EffluentNO3_N_W_Denit;
128 std::vector<CalculationsTable> calculationsTable;
133 OutputWithoutTable(
double TotalAverageDailyFlowRate,
double VolumeInService,
double InfluentBOD5Concentration,
134 double InfluentBOD5MassLoading,
double SecWWOxidNLoad,
double SecWWTSSLoad,
double FM_ratio,
135 double SolidsRetentionTime,
double MLSS,
double MLVSS,
double TSSSludgeProduction,
136 double TSSInActivatedSludgeEffluent,
double TotalOxygenRequirements,
137 double TotalOxygenReqWDenit,
double TotalOxygenSupplied,
double MixingIntensityInReactor,
138 double RASFlowRate,
double RASRecyclePercentage,
double WASFlowRate,
139 double RASTSSConcentration,
double TotalSludgeProduction,
double ReactorDetentionTime,
140 double VOLR,
double EffluentCBOD5,
double EffluentTSS,
double EffluentAmmonia_N,
141 double EffluentNO3_N,
double EffluentNO3_N_W_Denit,
143 double AeEnergy,
double AeCost,
double FieldOTR)
144 : TotalAverageDailyFlowRate(TotalAverageDailyFlowRate), VolumeInService(VolumeInService),
145 InfluentBOD5Concentration(InfluentBOD5Concentration), InfluentBOD5MassLoading(InfluentBOD5MassLoading),
146 SecWWOxidNLoad(SecWWOxidNLoad), SecWWTSSLoad(SecWWTSSLoad), FM_ratio(FM_ratio),
147 SolidsRetentionTime(SolidsRetentionTime), MLSS(MLSS), MLVSS(MLVSS),
148 TSSSludgeProduction(TSSSludgeProduction), TSSInActivatedSludgeEffluent(TSSInActivatedSludgeEffluent),
149 TotalOxygenRequirements(TotalOxygenRequirements), TotalOxygenReqWDenit(TotalOxygenReqWDenit),
150 TotalOxygenSupplied(TotalOxygenSupplied), MixingIntensityInReactor(MixingIntensityInReactor),
151 RASFlowRate(RASFlowRate), RASRecyclePercentage(RASRecyclePercentage), WASFlowRate(WASFlowRate),
152 RASTSSConcentration(RASTSSConcentration), TotalSludgeProduction(TotalSludgeProduction),
153 ReactorDetentionTime(ReactorDetentionTime), VOLR(VOLR), EffluentCBOD5(EffluentCBOD5),
154 EffluentTSS(EffluentTSS), EffluentAmmonia_N(EffluentAmmonia_N), EffluentNO3_N(EffluentNO3_N),
155 EffluentNO3_N_W_Denit(EffluentNO3_N_W_Denit), AeEnergy(AeEnergy), AeCost(AeCost), FieldOTR(FieldOTR) {}
157 double TotalAverageDailyFlowRate;
158 double VolumeInService;
159 double InfluentBOD5Concentration;
160 double InfluentBOD5MassLoading;
161 double SecWWOxidNLoad;
164 double SolidsRetentionTime;
167 double TSSSludgeProduction;
168 double TSSInActivatedSludgeEffluent;
169 double TotalOxygenRequirements;
170 double TotalOxygenReqWDenit;
171 double TotalOxygenSupplied;
172 double MixingIntensityInReactor;
174 double RASRecyclePercentage;
176 double RASTSSConcentration;
177 double TotalSludgeProduction;
178 double ReactorDetentionTime;
180 double EffluentCBOD5;
182 double EffluentAmmonia_N;
183 double EffluentNO3_N;
184 double EffluentNO3_N_W_Denit;
225 double OxidizableN,
double Biomass,
double InfluentTSS,
double InertInOrgTSS,
226 double EffluentTSS,
double RASTSS,
double MLSSpar,
double FractionBiomass,
double BiomassYeild,
227 double HalfSaturation,
double MicrobialDecay,
double MaxUtilizationRate,
double MaxDays,
228 double TimeIncrement,
double OperatingDO,
double Alpha,
double Beta,
double SOTR,
229 double Aeration,
double Elevation,
double OperatingTime,
int TypeAerators,
double Speed,
230 double EnergyCostUnit,
double DefinedSRT = 1)
231 : Temperature(Temperature), So(So), Volume(Volume), FlowRate(FlowRate), InertVSS(InertVSS),
232 OxidizableN(OxidizableN), Biomass(Biomass), InfluentTSS(InfluentTSS), InertInOrgTSS(InertInOrgTSS),
233 EffluentTSS(EffluentTSS), RASTSS(RASTSS), MLSSpar(MLSSpar), FractionBiomass(FractionBiomass),
234 BiomassYeild(BiomassYeild), HalfSaturation(HalfSaturation), MicrobialDecay(MicrobialDecay),
235 MaxUtilizationRate(MaxUtilizationRate), MaxDays(MaxDays), TimeIncrement(TimeIncrement),
236 OperatingDO(OperatingDO), Alpha(Alpha), Beta(Beta), SOTR(SOTR), Aeration(Aeration), Elevation(Elevation),
237 OperatingTime(OperatingTime), TypeAerators(TypeAerators), Speed(Speed), EnergyCostUnit(EnergyCostUnit),
238 DefinedSRT(DefinedSRT) {};