Closed yalinli2 closed 4 months ago
POUChlorination
on NaClO dose, the way it's written, NaClO dose will keep doubling. Will explain more in a meetingPOU_UV
on lamp_life_span
and UV_LED
on LED_life_span
, need to look at how the power utility is used@yalinli2 I agree with your edit for pou_disinfection. Good catch on that.
I will follow up with you on the other two points.
More explanation
I'm referring to the household size distribution in the bwaise
module,
# Household size
b = bw.household_size
# 1.8/((844/4%)^0.5) is for standard error of a mean,
# standard deviation divided by the square root of the population size,
# 844 and 4% from Trimmer et al., changed from the distribution used in Trimmer et al.
D = shape.Trunc(shape.Normal(mu=b, sigma=0.012), lower=1)
@param(name='Household size', element=Toilet, kind='coupled', units='cap/household',
baseline=b, distribution=D)
def set_household_size(i):
bw.household_size = i
The sigma
value was reduced because how we used the household_size
. We used it in the sense of an "average household size" to calculate how many toilets would be needed for a community:
number of toilets = total community population/household size/number of households served by one toilet
So the sigma
should be adjusted.
Also note that the average household size does not have true uncertainty, i.e., if we survey the entire community, we can reduce the uncertainty to 0 because we'd know the how many households there are and calculate the average household size.
But for an individual household, true uncertainty exists - i.e., even if we survey the entire community, if we pick one household from the community, we still are not sure of its household size. If we don't use the household size in an average sense, e.g., assume we assign one toilet for one household (rather than calculating it from the total population), we should use the individual household distribution with the larger sigma
value (i.e., 1.8).
For POU chlorination, polyethylene in the container and for the Cl bottle should be counted together (otherwise they'll have different distributions in uncertainty analysis)
AgNP_lifetime
is set to 3 in the datasheet, but is defined otherwise in the script, which one is correct? Legacy parameters shouldn't be in the datasheet (will affect uncertainty/sensitivity analyses, drag down simulation time, cause confusion)F_vol
is in m3 so the previous calculation was off by 1000, but the impacts on results were <1%All tasks done, closing this issue!
@lsrowles Working on updating the POU disinfection module (see
pou_disinfection
branch), listing the potential bugs to be confirmed, because your original codes aren't on GitHub, I have to use screenshots here:[x] This has been fixed
Instead, you should do this: