Search found 31 matches

by Tjalling
Fri Sep 16, 2022 9:56 am
Forum: Toxicokinetic (TK) modelling
Topic: How to retrieve simulation data
Replies: 10
Views: 147

Re: How to retrieve simulation data

The reason I asked for acquiring simulation data is because I am wondering if the BYOM could do some reverse dosimetry work? For example, I could measure the concentration of a chemical in one-compartment (i.e. blood), then I could predict the external concentration (i.e. the chemical concentration...
by Tjalling
Thu Sep 15, 2022 1:16 pm
Forum: Toxicokinetic (TK) modelling
Topic: How to retrieve simulation data
Replies: 10
Views: 147

Re: How to retrieve simulation data

Ah, you are using sim_and_plot ... then this does not work. There is no easy way to get the data out, as plotting is done ‘on the fly’ so that it’s kind of animated. You could use a regular script file (the ones that fit), and simply don’t fit anything. There’s an option for that ... I will have to ...
by Tjalling
Wed Sep 14, 2022 6:28 pm
Forum: Toxicokinetic (TK) modelling
Topic: How to retrieve simulation data
Replies: 10
Views: 147

Re: How to retrieve simulation data

instead of the ..., put the code that was there before ;) . Or better, just put Xall= before the call to calc_and_plot.
by Tjalling
Tue Sep 13, 2022 8:36 pm
Forum: Toxicokinetic (TK) modelling
Topic: How to retrieve simulation data
Replies: 10
Views: 147

Re: How to retrieve simulation data

What is the error you got? If your call to calc_and_plot runs without error (and produces a plot), I don’t see how adding an output variable could produce an error ...
by Tjalling
Fri Sep 09, 2022 12:09 pm
Forum: Toxicokinetic (TK) modelling
Topic: How to retrieve simulation data
Replies: 10
Views: 147

Re: How to retrieve simulation data

The trick is to call calc_and_plot with an output: Xall = calc_and_plot(...); The variable Xall will then contain the same values as shown in the plot. It will be a cell array, so you'll have to figure out what is what. I think that Xall{1} will contain a matrix for the first state variable, with ti...
by Tjalling
Mon Aug 22, 2022 3:10 pm
Forum: Announcements
Topic: BYOM v6.0 officially launched + stdDEB package
Replies: 3
Views: 1246

Re: BYOM v6.0 officially launched + stdDEB package

22 Aug. 2022, update to v. 6.3 due to a silly mistake in the parameter-space algorithm. See viewtopic.php?t=257
by Tjalling
Sat Aug 20, 2022 6:05 pm
Forum: Software for modelling (e.g., BYOM)
Topic: Silly error in BYOM parameter-space explorer
Replies: 0
Views: 103

Silly error in BYOM parameter-space explorer

I found an error in calc_parspace, in the 'extra sampling' code block. This section is run when the profiling step indicates a poor coverage of the sample: it should resample in the problem areas. Due to the error, it just duplicated the sample sets that were selected as starting points, so this ste...
by Tjalling
Tue Jun 28, 2022 9:12 pm
Forum: Announcements
Topic: BYOM v6.0 officially launched + stdDEB package
Replies: 3
Views: 1246

Re: BYOM v6.0 officially launched + stdDEB package

27 June another update to v 6.2. Mainly repair of a few errors in the calculation of ECx and EPx when using parameters that differ between data sets. Also extended the functionality of the “zero variate data” so that it can be used to make simple predictions (with CI) as well. See also http://board....
by Tjalling
Thu May 19, 2022 12:29 pm
Forum: Software for modelling (e.g., BYOM)
Topic: CI Output for BCF, ku and ke (TK)
Replies: 4
Views: 845

Re: CI Output for BCF, ku and ke (TK)

Well, it turned out to be not too complex to modify the functionality for zero-variate data points. So BYOM will now automatically plot CIs on the model prediction for the zero-variate data point, when it is available. This is only done when using the function calc_and_plot, and only when it is call...
by Tjalling
Thu Apr 28, 2022 10:48 am
Forum: Software for modelling (e.g., BYOM)
Topic: CI Output for BCF, ku and ke (TK)
Replies: 4
Views: 845

Re: CI Output for BCF, ku and ke (TK)

A standard 1-compartment TK model has 2 parameters, so you cannot change the model in BYOM to make it 3. You have a choice which 2 parameters to use (ke and ku, or ke and BCF, or even ku and BCF). The third variable will then be a model output. So, technically, you would need to propagate the uncert...