% dermal
% 8 hours/day, 5 days/week, 3 weeks exposure
% BW = 69 kg, even distribution of exposure over the entire body surface area

% something is wrong with the mass balance in this one

prepare @clear @all

human_parameters 	    % read in default human parameters
TSTOP=504;      			 % Simulation duration = 21 days (504 hr)
sex = 1;							 % Female
BWSW = 1;   	 				% Switch for age (set =0) or set (set =1) if bwt provided
BWST= 69;   	 				% kg
SAF = 1;							 % Fraction of skin in contact with malathion
FAD = 1;               % fraction dose absorbed
DERM = 500000;				% dermal dose (ug/kg/day)
TCHNG = 480; 					% Total exposure duration - h 
DZONE = 1;						 % Turning dermal exposures on/off
KPL=2.35e-06;          % Bogen & Singhal 2017
PSKL=2000; 

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


prepare @all

start @nocallback

plot(_time,_cbl,"-", 'MAL_blood_dermal.aps')
plot(_time,_cblo,"-",'oxon_blood_dermal.aps')
plot(_time,_rbcce,"-",'percent_RBC_AChE_inhib_dermal.aps')
plot(_time,_bce,"-",'percent_brain_AChE_inhib_dermal.aps')
plot(_time,_blbes,"-",'percent_plasma_BuChE_inhib_dermal.aps')