Change to PK model structure:
-Remove hardcoded AUC computation and replace with a new model.
-Benefit: user is free to choose any PK variable for integration on MAP VARIABLES page
In Map Variables: Allow user to select variables for AUC computation (AUC for all C variables
AUC target for all CT variables)
Create new Page, Secondary Parameters directly after Simulation:
As for MAP VARIABLES page, provide a list with all C and AUC variables w/ multiple selection
Provide an Add Time Interval button, user provided lower and upper time values per defined Time Interval
The user defined time values are added to the time vector for simulations (current auto-step size for ODE solver)
Cmax and Cmin are the min and max values in the defined time intervals
AUC in the time interval = AUC(upper) – AUC(lower) of the time interval
Time above threshold: Next to C variables, provided text field for user input of threshold concentration (also provide units selection). Compute the time, the defined variables exceeds the threshold concentration.