% inhalation
% 8 hours/day, 5 days/week, 3 weeks exposure
% BW = 69 kg, Inhalation rate = 29 L/min from HED Pesticide Exposure Database

prepare @clear @all

human_parameters    	% read in default human parameters
TSTOP=504;      			 % Simulation duration = 21 days
sex = 1;							 % Female
BWSW = 1;   	 				% Switch for age (set =0) or set (set =1) if bwt provided
BWST= 69;   	 				% kg
QALV = 29*60*0.7			% Inhalation rate, L/h					
TCHNG1 = 480;					% Total exposure duration (hr)			
CONCMGM = 1.0;				 % Inhalation concentration, mg/m3
CONCMGMO = 0.0;        % inhalation concentration, mg/m3 (oxon)

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

MAXT=0.01;       %maximum time step
MINT=1.0e-3;      %minimum time step


prepare @all 
start@nocallback

plot(_time,_cbl,"-", 'MAL_blood_inhalation.aps')
plot(_time,_cblo,"-",'oxon_blood_inhalation.aps')
plot(_time,_rbcce,"-",'percent_RBC_AChE_inhib_inhalation.aps')
plot(_time,_bce,"-",'percent_brain_AChE_inhib_inhalation.aps')