What question does the balance answer?

The first task is to describe the same batch within the same boundary, rather than drawing an especially smooth growth curve. How much substrate actually arrived? How much remained unused in the reactor? How much biomass formed, how much left in samples, and how much remains available for harvest? These questions have different answers despite using the same observations.

A useful analysis starts when feeding begins. The preceding batch phase supplies opening inventories; it must neither disappear nor be counted again as feed-phase production. The chosen boundary contains well-mixed reactor liquid. The feed bottle, sample tubes and exhaust system are outside it. Variable line hold-up would require another inventory if it changed materially during the interval.

The case represents a hypothetical microbial culture using dry mass as its biomass basis. Applying it to viable cell counts and IVCD requires a different measurement definition. Additional grams of dry matter do not automatically represent additional reproductively competent cells.

Measurement, event and reporting times

The CSV contains seven states from 0 to 12 hours. Concentrations describe the sample immediately before each 50 mL withdrawal. Analytical results become available 30 minutes later. A biological trajectory uses collection time; a reconstruction of the information available to an operator uses reporting time. Retaining both avoids inventing retrospective real-time knowledge.

Each two-hour interval starts after the preceding sample and ends before the next. The final sample is still included in total removal. A feed counter is cumulative: the difference between two valid readings gives an interval amount. Resets, container replacements or corrected tare values require an event log. Interpolating across these changes can manufacture apparent material transfer.

Also record time zone, daylight-saving changes, clock synchronisation and timestamp meaning: acquisition, averaging-window end or database arrival. A correct measurement assigned to the wrong time can produce an incorrect causal explanation.

Reconstruct liquid volume first

The teaching case assumes additive liquid volumes and neglects contraction. Starting with 10.00 L, adding 2.70 L feed and 0.12 L base, and removing 0.06 L evaporated water plus 0.30 L samples leaves 12.46 L. The final concentration measurement describes the state before the final withdrawal: 12.51 L. Multiplying it by the wrong volume shifts the inventory.

V_end = V_start + V_feed + V_base − V_evaporation − V_samples

The assumed feed density is 1.15 kg/L and its composition is 400 g glucose per litre of solution. A cumulative feed mass of 3.105 kg therefore corresponds to 2.700 L and 1,080 g glucose. The 3.105 kg is neither pure glucose nor 3.105 L liquid. If a specification instead gives a mass fraction in kg/kg, use solution mass directly; applying another density conversion would be incorrect.

Evaporation removes only water in this example. That assumption does not automatically apply to ethanol or another volatile product. Reactor weighing also registers net gas uptake, CO₂ release and external tubing forces. It is therefore not automatically equivalent to a liquid-volume measurement.

Translate concentrations into inventories

For every valid state, calculate biomass M_X = X·V, substrate M_S = S·V and product M_P = P·V. X, S and P are in g/L, volume is in L and inventories are in g. Removing representative, well-mixed liquid leaves concentration unchanged while reducing the amount present.

The first interval receives 80 g glucose and consumes 78 g in the synthetic dataset. The opening 2 g therefore becomes 4 g before sampling. An assumed observed biomass yield of 0.45 g/g gives 35.1 g additional biomass, leaving 85.1 g before withdrawal. Volume is then 10.21 L and biomass concentration approximately 8.335 g/L. The 50 mL sample removes about 0.417 g biomass and 0.0196 g glucose.

The calculation proceeds interval by interval. A global endpoint comparison becomes meaningful once all withdrawals are known. This approach also reveals precisely where a borrowed equation would overlook a sample loss.

Close the complete batch balance

The feed phase produces 451.800 g biomass. Including the opening inventory, 494.944 g remains after the final sample, while samples have removed 6.856 g. The check is 50 + 451.800 = 494.944 + 6.856 g. Omitting sample correction underestimates formation and lowers the apparent yield.

For substrate, the 2 g opening inventory plus 1,080 g feed equals 1,004 g consumption, 77.122 g remaining and 0.878 g removed in samples. The balance closes at 1,082 g. The product case gives 27.000 g formation, 26.672 g remaining and 0.328 g sample removal. Product formation and available harvest inventory are explicitly different performance measures.

Perfect closure is designed into this case. Real observations have uncertainty and may omit streams. Report a closure discrepancy first as an amount, a clearly defined relative quantity and an uncertainty question. Adjusting every observation until the balance reaches exactly 100% would conceal the finding.

Interval rates and appropriate denominators

An interval-average consumption rate is substrate consumed divided by elapsed time, in g/h here. A volumetric rate needs a documented volume basis. A specific rate uses the biomass actually present throughout the interval: q̄_S = ΔM_S,consumed / ∫M_X(t)dt, in g substrate per g biomass per hour.

The dataset provides endpoints rather than a continuously observed biomass trajectory. The worked solution assumes exponential inventory growth within each interval. Hence μ = ln(M_X,end/M_X,start)/Δt and ∫M_Xdt = (M_X,end−M_X,start)/μ. Near zero μ, use the limit M_X,start·Δt. Reporting many decimal places does not turn this interpolation assumption into a measurement.

Compare the result with trapezoidal integration. During accelerating growth the difference may be appreciable. Shorter sampling intervals reduce interpolation dependence but increase sample losses and workload. Choose the resolution to suit the decision.

What the dataset does not prove biologically

Residual substrate increases especially during 6–8 h because 200 g enters while only 170 g is consumed. This proves accumulation within the specified boundary. It proves neither oxygen limitation, substrate inhibition nor pump failure; those causes require independent observations. Feeding can follow its programme exactly while exceeding current biological demand.

Product formation was specified independently as a synthetic input. The dataset asserts no particular product stoichiometry, so product mass alone does not support an additional elemental balance. Use the separate carbon and redox case for an explicitly defined stoichiometry.

An experimental study of foaming fed-batch cultures shows that biomass concentration in removed foam can differ from reactor concentration. Equating every outflow to X·F therefore requires verification. It is assumed for the representative samples here, rather than being universal. See Guez and colleagues: modelling an overflowing fed-batch culture, section 3.

Exercises and solution criteria

Exercise 1: Calculate overall yield with and without sample correction. The appropriate formation yield is 451.8/1,004 = 0.45 g/g. Using only inventory increase gives approximately 0.4432 g/g. Withdrawals caused the difference; no changed maintenance metabolism was required.

Exercise 2: Mistakenly assign every glucose result to its reporting time. What apparent delay appears? The whole offline series shifts by 0.5 h. Interpreting that shift as biological response time would be unjustified without further information.

Exercise 3: Replace feed density 1.15 kg/L with 1.00 kg/L. For the same weighed feed, calculated glucose delivery is overestimated by 15%. Could an apparently poorer substrate efficiency be explained entirely by this error? Do not also apply the error to reference volume without explaining the measurement chain.

The next investigation should distinguish a specific alternative. Independent feed weighing examines material transfer; repeating an assay does not automatically examine the line. Continue with diagnosing feed deviations.

Agree the data meaning before writing formulas

A reliable export starts with one unambiguous record for each observed state. Cultivation records need at least a batch identifier, sample identifier, collection time, result time, measured quantity, numerical value, unit and status. A number alone is insufficient: a column labelled “glucose” may describe the original culture, a diluted laboratory sample or an already corrected result. The dilution factor and the point where it was applied must remain traceable. Otherwise a later correction can apply the same factor twice.

Separate raw values, reviewed values and derived quantities. A laboratory report might contain 0.420 g/L for a sample diluted tenfold; the reactor concentration is then 4.20 g/L if that dilution has not already been included in the reported result. Both numbers may be retained, but they need distinct field names. If a dilution error is subsequently discovered, issue a new calculation version with a reason for the change. Preserve the earlier association. A retrospectively tidied spreadsheet may look plausible while losing the information required to reconstruct its results.

Missing, not measured and below the quantification limit are different states. An empty field does not mean zero consumption. For a concentration bounded by analytical capability, an interval calculation may be more informative than an invented point value. If S lies between 0 and 0.10 g/L in 12 L, the corresponding substrate inventory lies between 0 and 1.20 g. The resulting consumption interval follows directly from the balance. These bounds are assumptions of this exercise, not a general performance specification for an analytical method.

Also identify which observations are genuinely independent. A volume calculated from the feed balance is not a second confirmation of feed mass. A biomass concentration subsequently normalised using that same volume may carry the same error again. A short measurement-chain record should therefore answer three questions for every reported quantity: which raw observation enters, which conversion is applied, and which additional assumption is required? Only then is a batch comparison interpretable. The chapter on measurement uncertainty explains how shared sources of error differ from independent scatter.

Read concentration and inventory separately. Inventory = concentration × the corresponding culture volume. Points precede their assigned sample withdrawal; the balance accounts for sampling separately.
Inventory = concentration × the corresponding culture volume. Points precede their assigned sample withdrawal; the balance accounts for sampling separately. Scroll sideways on small screens or open to enlarge.

Calculate a feed change with different concentration bases

A feed change is a useful test of whether an analysis distinguishes solution mass from the substrate it contains. Consider an additional, explicitly synthetic two-stage case. Vessel A supplies 1.20 kg of solution containing 300 g glucose per kilogram of solution, at an assumed density of 1.10 kg/L. Vessel B supplies 0.80 kg containing 500 g glucose per litre of solution, at 1.20 kg/L. The specifications look similar but use different denominators. Density is unnecessary for calculating the glucose mass from A, but necessary for B.

A supplies 1.20 × 300 = 360 g glucose in 1.20/1.10 = 1.0909 L. B supplies 0.80/1.20 × 500 = 333.333 g glucose in 0.6667 L. Together they supply 693.333 g glucose and 1.7576 L solution. The concentration of the combined input is approximately 394.483 g/L if volumes are additive. It is not the arithmetic mean of 300 and 500, since those values already have different reference quantities. An unweighted average of two correctly converted g/L values would also be wrong for these unequal volumes.

Suppose the reactor balance shows a 24 g increase in glucose inventory during the same window and 3 g glucose removed in samples. Consumption is then 693.333 − 24 − 3 = 666.333 g, provided there are no other inputs or outputs. Formation of 300 g new biomass would give an observed yield of 0.4502 g/g. The calculation does not establish the biological cause of that yield. It first demonstrates that the feed change can be balanced without inventing an undocumented average feed specification.

The inventory inside the tubing also matters during a real change. If old solution remains between the supply vessel and reactor, the bottle-change time differs from the concentration-change time at the inlet. A balance covering the complete emptied tubing system can still close, whereas a short-term rate analysis needs the correct timing. Record the physical location represented by every signal. The chapter on line inventory and feed diagnosis develops this distinction as a separate diagnostic case.

Recognise when a short consumption interval is unresolved

Consumption often appears as the difference between larger quantities. Consequently, individually reasonable measurements may still be inadequate for a very short interval balance. In a synthetic example, initial inventory is 40 g, substrate input is 20 g and final inventory is 55 g, with no sample withdrawal. Calculated consumption is 5 g. If independent standard uncertainties of 2 g, 0.4 g and 2.5 g are assumed for these quantities, combined standard uncertainty is √(2² + 0.4² + 2.5²) = 3.23 g. Consumption is therefore much less certain than the individual inventory values might suggest.

This calculation assumes independent inputs and a linear balance. Shared calibration factors can change the uncertainty of a difference. A common concentration factor in the initial and final samples behaves differently from two independent sample errors. Covariance terms are required for coupled quantities. It would therefore be incorrect to describe a simple sum-of-squares formula as always conservative without examining the measurement chain. Repeated measurements also cannot remove a consistently wrong unit conversion.

The appropriate response depends on the decision. If the question is whether substrate was consumed over a complete four-hour period, a longer interval may improve the ratio of consumption to inventory uncertainty. If the purpose is to investigate the immediate response to a feed change, combining intervals would hide the dynamics of interest. Better time alignment, more precise inventory measurements or an additional independent observation would then be more useful. Reporting extra decimal places solves none of these problems.

A negative calculated consumption is initially a balance result. It may describe genuine release of the substance being considered, but may also arise from missing inputs, incorrect volume, sample misidentification or uncertainty in differences. State the alternatives rather than automatically truncating the value at zero. Truncation systematically shifts the mean rate upwards and makes later comparison with an untruncated series more difficult. A bounded result with explicit assumptions is more informative and usually more useful when designing the next measurement.

Balance reconciliation needs independent information

A balance that fails to close can tempt the analyst to adjust whichever measurement appears least accurate. Formal reconciliation can be useful when the measurement model, uncertainties and constraints are known. It remains different from obtaining additional experimental evidence. First report the unadjusted residual: initial inventory plus input minus final inventory minus output minus assumed conversion. Then document which quantities were measured and which were calculated from those same observations. A residual that is zero by definition does not test an independent statement.

Consider a simple counterexample. If biomass formation is calculated as a fixed yield multiplied by glucose consumption, and then converted back into glucose using the same fixed yield, the original consumption is necessarily recovered. Perfect agreement validates neither the glucose assay nor the yield. An independent dry-mass measurement would provide another information channel, provided its volume basis and sample association are not wholly derived from the same calculation. Independence therefore concerns measurement methods and error sources, rather than the mere existence of a second column.

A transparent correction should show original values, proposed adjustments, weights and remaining residuals together. A measurement assigned a small uncertainty is held more tightly than a less certain one. However, if the apparently precise observation belongs to the wrong sample, the procedure may distribute its error across several other measurements. A statistically tidy adjusted table does not exclude this gross error. Counter resets, incorrect sample names and omitted supply vessels should therefore be investigated before more detailed numerical reconciliation.

No reconciliation is needed for the present dataset, because its synthetic inventories were generated from the same disclosed balance model. Instead, deliberately alter one input and calculate the resulting residual. For example, increasing recorded feed mass by 0.10 kg while retaining the same composition adds an apparent 34.783 g glucose. That amount must not be interpreted as unexplained metabolism while the intentional data alteration provides its complete explanation.

Compare batches using the same denominator

Before ranking batches, establish a common question. Is the comparison about biological yield, available harvest mass, volumetric productivity or equipment occupancy? One batch can perform better on one measure and worse on another. Use separate reported quantities with explicit numerators and denominators. Final titre describes concentration. Harvest mass includes the usable volume. Average productivity additionally requires a time basis, while an equipment measure may include cleaning and changeover.

Consider two fictional batches, each forming 30 g product. At harvest A contains 27 g in 10 L and occupies the equipment for 20 h including preparation. B contains 29 g in 12 L and occupies it for 24 h. A has the higher harvest titre, 2.7 g/L compared with 2.417 g/L. B nevertheless provides 2 g more usable product. Relative to total occupancy, their outputs are 1.35 g/h for A and 1.208 g/h for B. These statements are consistent because they answer different questions. Without additional quality attributes they also cannot establish that both harvests are equally suitable for use.

The phrase “overall yield” is particularly ambiguous. Does it mean biomass formed per substrate consumed, biomass harvested per substrate supplied, or isolated product after downstream processing? The feed case separates these levels. A sample does not remove evidence that biomass was biologically formed, but it is a real loss from the available harvest inventory. Downstream recovery has its own boundary and should not silently be equated with fermentation yield.

A concise batch report therefore states the balance window, measurement basis, data versions and three to five decision-relevant performance measures. Add one unusual finding, a plausible alternative explanation, and the next investigation that can distinguish that alternative. This turns a collection of numbers into a useful basis for action. The chapters on harvest windows and campaigns and capacity bottlenecks extend these material and time balances into subsequent processing.

Worked case: investigate a discrepant final inventory

An independent report gives biomass formation of 444.944 g for the existing synthetic batch, while the complete reference calculation gives 451.800 g. Before assuming a different biological yield, examine the report's calculation steps. The table shows how an apparently small discrepancy can be traced to another reference quantity.

Additional synthetic case: quantities and interpretation
QuestionCalculation or findingMeaning for the decision
Initial inventory50.000 g biomass is correctly recorded.Starting inventory does not explain the discrepancy.
Final inventory494.944 g after the final sample is correctly recorded.The endpoint belongs to the post-withdrawal state and must retain that label.
Calculated difference494.944 − 50.000 = 444.944 g.This is retained inventory increase rather than complete formation.
Missing outputSamples removed 6.856 g biomass.Adding this output completes formation without introducing a new metabolic assumption.
Corrected formation444.944 + 6.856 = 451.800 g.Any display rounding is not a real process loss.
Available harvest494.944 g remains the available final quantity.Correcting formation does not create extra biomass in the reactor.

A useful correction changes the affected quantity's name and derivation rather than altering measured endpoints without evidence. The original report may contain a correct inventory increase merely mislabelled as formation. This matters for subsequent modelling: fitting a changed maintenance or yield parameter to the uncorrected quantity would give a biological interpretation to a reporting error. The complete balance avoids that unnecessary explanation. For a real batch, still examine sample representativeness and any other missing outputs.

Data and calculation

Every observation in this case is explicitly synthetic. These files do not describe a real culture or prescribe operating conditions. They can be analysed locally; the website sends no calculation to an external server.

The Python script uses only the standard library. It regenerates the datasets from stated assumptions and checks the material balances. The solution file also contains numerical results. Rounding differences in displayed tables are not process losses.

The supplementary short cases can be recalculated separately: Python, CSV, JSON, explanatory notes.

Terms in this chapter

40 terms explained in the glossary