Units do not match

Units do not match - Not sure how to make unit match - Сообщения

#1 Опубликовано: 15.10.2015 10:19:11
Isai Delarca

Isai Delarca

0 сообщений из 1 понравились пользователям.

Группа: User

I am new to using SMATH and could use assistance getting it to work for me. I am not sure what I am doing wrong. Attached is a screenshot of the variables and equations, unfortunately I can never get a result for Q1 and RV. I keep getting "units do not match", but don't know how to fix the problem. The results should be in inches and acre-feet.

Please let me know if you can help? Thanks in advance.


Runoff Calculations.sm (13 КиБ) скачан 35 раз(а).
#2 Опубликовано: 15.10.2015 10:51:51
Davide Carpi

Davide Carpi

1416 сообщений из 2873 понравились пользователям.

Группа: Moderator

Hi idelarca1,

hold the mouse pointer over Q.1yrpre, you can see that the sum is not possible, because S.pre is dimensionless while P is a length.

You have used "Ignore units", but this feature works fine only using direct assignments inside the function (look here)

Therefore you have to use the classic approach: modify Q.1yrpre to add a unit to S.pre or made P dimensionless.
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений