How to define observables units in simbiology Model Builder?

3 ビュー (過去 30 日間)
Rebeca Hannah Oliveira
Rebeca Hannah Oliveira 2023 年 3 月 17 日
コメント済み: Arthur Goldsipe 2023 年 4 月 3 日
I want to simulate an observable which is dimensionless (eg: [S]/max [S]) , and I am using dimensional analysis in Simbiology app. Where on Simbiology Model Builder/Analyzer can I set the dimensions for an observable? This is the error that I am getting for the observables:
Units are not defined for some model components. Define the units for all compartments, species, parameters, and active observables, or turn off unit conversion. Select all unitless components using the following command: unitlessObjects = sbioselect(modelObj, 'Units', '') where modelObj is the model object. To use dimensionless parameters with unit conversion, set their Units property to 'dimensionless'.\n

採用された回答

Jeremy Huard
Jeremy Huard 2023 年 3 月 17 日
Hi Rebeca,
you can define their units in the property editor (far-right panel of Model Builder) once you click on the observable in the Browser (far-left panel):

その他の回答 (1 件)

Nicky
Nicky 2023 年 3 月 31 日
Hello,
What are the observables functions ? So far I get AUC =trapz() and Cmax = max(). I am looking to calculate Cavg, Ctrough
  1 件のコメント
Arthur Goldsipe
Arthur Goldsipe 2023 年 4 月 3 日
Hi Nicky,
I'm not 100% sure I understand your question. If you'd like to learn more about observables, I recommend reading this page. If you're asking how to define observables for Cavg and Ctrough, then I would say this is a modeling question. You need to decide exactly how you want to calculate the average or the trough and write equations appropriately. For example, you might define Cavg as AUC/(total time). I'm not sure Ctrough can be easily modeled with an observable. It would likely depend on the details of your model and simulations. But I think it would be fairly easy determine Ctrough as a separate step after you simulate using a bit of MATLAB code.
Also, you've posted this question in the "answers" section of someone else's question. In the future, I suggest posting your question as a brand new questions or adding your follow-up questions as comments to the question or the specific answers, as appropriate. One advantage of posting as a new question is that we can more easily track when your question gets answered.

サインインしてコメントする。

コミュニティ

その他の回答  SimBiology コミュニティ

カテゴリ

Help Center および File ExchangeImport Data についてさらに検索

製品


リリース

R2022a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by