% dermal expsoure scenarios
% worker:  21 days, 8 h/day, 5 days/week, BW = 69 kg, SAF = 1
% residential handler: 21 days, 1 hr/day, 7 days/week, BW = 69 kg, SAF = 0.5
% residential post-app (gardens): 21 days, 2.2 hr/day, 7 days/week, BW = 69 kg, SAF = 0.5
% residential post-app (gardens): 21 days, 1.1 hr/day, 7 days/week, BW = 32 kg, SAF = 0.5
% residential post-app: 21 days, 5 hr/day, 7 days/week, BW = 69 kg, SAF = 0.5
% residential post-app: 21 days, 1.9 hr/day, 7 days/week, BW = 32 kg, SAF = 0.5
% residential post-app (aerial mosquitocide): 21 days, 1.5 hr/day, 7 days/week, BW = 69 kg, SAF = 0.5
% residential post-app (aerial mosquitocide): 21 days, 1.5 hr/day, 7 days/week, BW = 11 kg, SAF = 0.5
% residential post-app (ground mosquitocide): 21 days, 1.5 hr/day, 7 days/week, BW = 69 kg, SAF = 0.5
% residential post-app (ground mosquitocide): 21 days, 1.5 hr/day, 7 days/week, BW = 11 kg, SAF = 0.5
% residential post-app: 21 days, 24 hr/day, 7 days/week, BW = 69 kg, SAF = 0.5

prepare @clear @all

human_parameters 	   % human parameters
TSTOP=528      			 % Simulation duration
sex = 1							 % Female
BWSW = 1   	 				% Switch for age (set =0) or set (set =1) if bwt provided
BWST= 69   	 				% kg
SAF = 0.5						 % Fraction of skin in contact with malathion
FAD = 1							 % Fraction of dose absorbed
DERM = 100000				 % dermal dose (ug/kg/day)
TCHNG = 504 					% Total exposure duration (21 days)
DZONE = 1						 % Turning dermal exposures on/off

W2 = 21;               %days exposed per year
D2 = 7;                %days exposed per week
P2 = 5;                %hours exposed per day

KPL=2.35e-06;
PSKL=2000;


prepare @clear @all 
start@nocallback

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

min(_rbcce) 				% display peak AChE inhibition