Filter löschen
Filter löschen

Dimensional analysis issue because of the function 'log' in the rule

2 Ansichten (letzte 30 Tage)
Hi!
When I run a simulation in my model developed in Simbiolog, I received the following warning message:
"Unable to perform dimensional analysis for rule 'PrameterA = ParameterB*log(mass1/mass2)' because of the function 'log' in the rule. Because UnitConversion is on, correct simulation results will depend on this expression being dimensionally correct. Additionally, SimBiology simulates the model in a unit system determined at runtime. The units are determined by the units used in the model and the model's configset. Unless the inputs and outputs to the function are dimensionless, results may change due to configset option changes, changes to the model, or version changes in SimBiology. It is recommended that input and output arguments to functions be dimensionless to ensure correct results."
ParameterA and ParameterB have the same unit and mass1 and mass2 have the same unit. I don't find where is the problem.Could you please help me to solve the issue?
Thanks

Akzeptierte Antwort

Arthur Goldsipe
Arthur Goldsipe am 26 Mär. 2024
Since your expression is dimensionally correct, you can safely ignore this warning.
Note that is an informational warning (as oppoosed to an error). SimBiology is warning you that the software cannot guarantee the dimensional validity of the mathematical expression, so you need to inspect it manually. Once you manually verify the expression, you can ignore the warning.

Weitere Antworten (0)

Kategorien

Mehr zu Perform Sensitivity Analysis finden Sie in Help Center und File Exchange

Produkte


Version

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by