Effacer les filtres
Effacer les filtres

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

3 vues (au cours des 30 derniers jours)
Day
Day le 26 Mar 2024
Commenté : Day le 26 Mar 2024
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

Réponse acceptée

Arthur Goldsipe
Arthur Goldsipe le 26 Mar 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.

Plus de réponses (0)

Catégories

En savoir plus sur Perform Sensitivity Analysis dans Help Center et File Exchange

Produits


Version

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by