Simbiology Sensitivity analysis on dummy variable assigned through a repeatedAssignment Rule

조회 수: 1 (최근 30일)
Hello,
The title pretty much covers my question: I'm trying to use the 'Calculate sensitivities' Task in SimBiology desktop on a dummy variable whose value is enforced through a repeatedAssignment rule in my model, but I get the error:
'An input or output cannot be the left-handside variable of a repeated assignment rule'
I understand what the error is, but I'm wondering if there are any tricks/strategies around this restriction in the sensitivity calculator?
Thanks in advance!

채택된 답변

Arthur Goldsipe
Arthur Goldsipe 2019년 2월 18일
One approach is to analytically differentiate the repeated assignment rule, and figure out how to calculate the desired sensitivity in terms of other sensitivities you can get from simulations. For example, if the repeated assigment rule is A = B + C, then then sensitivity of A would be the sensitivity of B plus the sensitivity of C.

추가 답변 (0개)

커뮤니티

더 많은 답변 보기:  SimBiology Community

카테고리

Help CenterFile Exchange에서 Perform Sensitivity Analysis에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by