% drinking water--oxon
% 21 days

prepare @clear @all

human_parameters      % Loads in default human parameters
TSTOP=600; 					 % Exposure duration in hrs 
SEX =1;							 % Female
BWSW=1;   						% Set = 1 if bwt provided
BWST=4.8; 					   % Body Weight in kg
ORALMAL=0.0;          % dose in ug/kg
FA=1.0; 




VOLUME=0.688557;  %L/day
EVENTS=6;         %events/day
DT = xlsRead("drinking_water.xls", "child", "A1:A26"); % Dosing Times
AMTODOSE=xlsRead("drinking_water.xls", "child", "B1:B26")*VOLUME/EVENTS; % Dose in ug/L
%ODOSEO=xlsRead("drinking_water.xls", "child", "B1:B121")*VOLUME/EVENTS; % Dose in ug/L

prepare @clear @all 
start@nocallback

plot(_time,_rbcce,"-",'RBC_AChE_drinking_water.aps')

min(_rbcce) 				% display peak AChE inhibition
