Unit testing on Simbiology created model
显示 更早的评论
I am working in a university department where various PBPK models using Simbiology are created based upon a standard PBPK model template. I have been asked to look into the feasibility of performing unit testing on the standard adult human PBPK model template that is used as the bases of all models created and to apply these unit tests to the other PBPK models applications to check that modifications performed are only application specific. These units for example may be characteristics such as anatomy rules (weight, height, organ volumes ) which are less likey to be changed between models.
I understand that the are no unit testing features in the Simbiology desktop app but models can be exported in to theMATLAB environment where unit testing frameworks exist. However when exporting the Simbiology models into MATLAB, the models are exported as objects rather than as source code and the object data is returned as a character vector using commands such as getequations(). The returned data does not appear to be in a directly useable when trying to disect the overall model into small chunks (units) and check for expected and unexpected outputs when defined inputs are applied to that unit. The object commands available in MATLAB appear to be focussed on creating/modifying models and running full model simulations.
Overall, I am trying to assertain if there are any methods that enable Simbiology models to be broken down into smaller components and allow tesing to be done on those components only. We have a manual comparison tool for checking differences between the component files (parameters,species, compartments, rules, reactions etc) of two models but looking for a more robust and automated approach to checking models. I would appreciate any suggestions on how unit testing could be done on Simbiology models or any other approaches that I could utilise.
采纳的回答
更多回答(0 个)
社区
更多回答在 SimBiology Community
类别
在 帮助中心 和 File Exchange 中查找有关 Extend Modeling Environment 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!