% inhalation exposure scenarios
% worker (mixer loader): 21 days, P2 = 8 h/day, 5 days/week, BW = 69 kg, breathing rate = 1 m3/hr (16.7 L/min) 
% worker (applicator): 21 days, P2 = 8 h/day, 5 days/week,BW = 69 kg, breathing rate = 0.5 m3/hr (8.3 L/min)
% worker (PHED combination): 21 days, P2 = 8 h/day, 5 days/week, BW = 69 kg, breathing rate = 1.73 m3/hr (28.8 L/min)
% residential handler: 21 days, P2 = 1 h/day, 7 days/week, BW = 69 kg, breathing rate = 0.64 m3/hr (10.7 L/min)
% residential post-app (aerial mosquitocide): 21 days, P2 = 1.5 h/day, 7 days/week, BW = 69 kg, breathing rate = 0.64 m3/hr (10.7 L/min)
% residential post-app (aerial mosquitocide): 21 days, P2 = 1.5 h/day, 7 days/week, BW = 11 kg, breathing rate = 0.33 m3/hr (5.5 L/min)
% residential post-app (ground mosquitocide): 21 days, P2 = 1.5 h/day, 7 days/week, BW = 69 kg, breathing rate = 0.64 m3/hr (10.7 L/min)
% residential post-app (ground mosquitocide): 21 days, P2 = 1.5 h/day, 7 days/week, BW = 11 kg, breathing rate = 0.33 m3/hr (5.5 L/min)

prepare @clear @all

human_parameters    	 % human parameters
TSTOP=528;      			 % Simulation duration (hr)
sex = 1;							 % Female
BWSW = 1;   	 				% Switch for age (set =0) or set (set =1) if bwt provided
BWST= 69;   	 				% kg
BREATHERATE = 28.8       % breathing rate, L/min					
TCHNG1 = 504;					% Total exposure duration (hr); 21 days	
CONCMGM = 25.0;				 % Inhalation concentration, mg/m3
%CONCMGMO = 0.0;        % inhalation concentration, mg/m3 (oxon)

PLAIR = 7.6e5;          %lung:air PC

W3 = 21; 
D3 = 5; 
P3 = 8; 


prepare @clear @all 
start@nocallback

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

min(_rbcce) 				% display peak AChE inhibition