We are trying to build a two compartment absorption model with several delay compartment. We want to figure out how to code delay compartment in differential using if loop.
Basically, the scheme is like the file I upload. Since the NLME module is expired,we want to see if it can work in WNL.
Hi Mengjie, it seems you had problem attaching your file, if you want you can edit your post and try and attach it again, or just email it to me. (apologies in general for a few quirks on the forum at the moment, looking into getting these addressed soon I hope).
Secondly I’m confused by your request to use ASCII to code this since if you have a WNL license, the PML of the phoenix model engine is still avaiable to you, even without an NLME license, you just won’t be able to code/model for random effects.
We had a detailed discussion on Transit comp in this forum, please follow the discussion under Transit comp modelling under Modelling and Simulation group, it should help you
The question is if we have 10 individuals and each individual have more than 5 transit comps, we need to replicate DZ(3) to DZ(6) many times. As their structures are the same, I’m wondering can we simplify it like an array as
DZ(i)=(Z(i-1)-Z(i))*Ktr.
Mengjie, i don’t think you shoudl have to replicate for different subjects if you’ve used the right sort key, but I still don’t understand why you think you can’t use the Phoenix model engine? As you know it’s much better for handling all sort sof common issues, multiple doses, simualtion etc. much more easily and it’s available within the base WNL license.
We are able to use ASCII code now. My question is how to sort in WNL so we don’t have to replicate for different subjects? I’ve attached our sorting as followings.