% Food exposure 
% Once daily oral exposure, dose that will result in 10% AChE inhibition in RBC
% Female adult, Body weight set to 72.9 kg
% Cecilia Tan
% August 24, 2015

prepare @clear @all
% Setting model parameters
start @NoCallback
use human_parameters_MRP
use preg_female_parameters

BWSW=1;		% Set to 1 if BWT is provided
BWST=72.9;	% Initial BW in kg
PREG=0;
TSTOP= 504	% Exposure duration in hrs (21 days)

%21-day exposure
DT = xlsRead("Food1.xls", "POD", "A1:A22"); % Dosing Times
DORAL=xlsRead("Food1.xls", "POD", "B1:B22"); % Dose in ug/kg 
prepare time rbcce cv urinetcpy
start@nocallback

mytable = [_time _rbcce _urinetcpy _cv*350.6]; %conc unit = ug/L
save mytable @file='food_POD_M.txt' @format=ascii