Administer simultaneously different doses to different compartment in Simbiology
4 ビュー (過去 30 日間)
古いコメントを表示
Zinnia Parra-Guillen
2021 年 11 月 3 日
回答済み: Syed Imran Ali shah
2021 年 11 月 18 日
Is it possible to administer two different dose objects (each one one to a different compartment) simultaneously using sbiosimulate in Simbiology? Or do I need to create a simulation scenario combining them. If so, could you share some code?
Thanks a lot!
Zinnia
0 件のコメント
採用された回答
Jeremy Huard
2021 年 11 月 3 日
Hi Zinnia,
yes, you can administer different doses with different targets at the same time during a simulation. You can do this with sbiosimulate or a SimFunction.
Here is an example with sbiosimulate:
% Create a two compartment model
pkm = PKModelDesign;
pkc= addCompartment(pkm, 'Central', 'DosingType', 'Bolus', ...
'EliminationType', 'linear-clearance', ...
'HasResponseVariable', true);
pkp = addCompartment(pkm, 'Peripheral', 'DosingType', 'Bolus', ...
'EliminationType', 'linear-clearance');
modelObj = pkm.construct;
% Create dose
dC = adddose(modelObj,'DoseC');
dC.Amount = 10;
dC.TargetName = 'Central.Drug_Central';
dP = adddose(modelObj,'DoseP');
dP.Amount = 20;
dP.TargetName = 'Peripheral.Drug_Peripheral';
dP.Interval = 5;
dP.RepeatCount = 1;
% Run Simulation
results = sbiosimulate(modelObj,[dC,dP]);
% Plot result
sbioplot(results);
set(gca, 'XLimitMethod','padded','YLimitMethod','padded');
grid on;
I hope it helps.
Best regards,
Jérémy
その他の回答 (3 件)
Syed Imran Ali shah
2021 年 11 月 5 日
Modeling the Pharmacokinetic Effect of Phenobarbital on Neonates (using SimBiology Desktop)
0 件のコメント
Syed Imran Ali shah
2021 年 11 月 18 日
https://www.mathworks.com/matlabcentral/answers/428116-do-simfunctions-support-parameterized-dosing?s_tid=answers_rc1-1_p1_Topic
0 件のコメント
コミュニティ
その他の回答 SimBiology コミュニティ
参考
カテゴリ
Help Center および File Exchange で Perform Sensitivity Analysis についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!