The following code occurs in 8 class. It could be converted into a function that is used in all organs.
// GrowthRespiration with unit CO2
// GrowthRespiration is calculated as
// Allocated CH2O from photosynthesis "1 / dMCE", converted
// into carbon through (12 / 30), then minus the carbon in the biomass, finally converted into
// CO2 (44/12).
double growthRespFactor = ((1.0 / dMCE) * (12.0 / 30.0) - 1.0 * carbonConcentration.Value()) * 44.0 / 12.0;
The following code occurs in 8 class. It could be converted into a function that is used in all organs.