SMath Studio Forum
»
SMath Studio
»
Bugs & Problems
»
Inequality with units says incompatibe units if the units are the same
Rank: Newbie
Groups: Registered
Joined: 19/11/2012(UTC) Posts: 5 Location: Slough
|
I can't find a concise reson for this, it seems to depend on what unit is used.
If I have to evaluations (by this I mean equations without = in them) both of which contain units (here called E1 and E2) both of which evaluate to the same units. I then create an in inequlaity, e.g. E1>E2= , the result being integer 0 or 1 (boolean) then about 50% of the time it says "Units don't match" even though they clearly do.
One equation that results in Hz works fine, another in Farad does not. If I multiply both sides by the unit, e.g. pF then it works.
|
|
|
|
Rank: Administration Groups: Registered, Advanced Member Joined: 23/06/2009(UTC) Posts: 1,740 Was thanked: 318 time(s) in 268 post(s)
|
Hello,
Just make a problematic file and attached it to the post here, please.
Regards, Radovan |
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!" |
|
|
|
Rank: Newbie
Groups: Registered
Joined: 19/11/2012(UTC) Posts: 5 Location: Slough
|
I have prepared an example, see attached
|
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 13/01/2012(UTC) Posts: 2,648 Location: Italy Was thanked: 1331 time(s) in 876 post(s)
|
Originally Posted by: jmc I have prepared an example, see attached Hi
hjmc8899
, I can confirm the issue. Seem related to SMath unit simplification... refreshing the sheet I can see an alternate behavior (see the attachment) regards, w3b5urf3r Edited by user 20 November 2012 14:55:48(UTC)
| Reason: Not specified Davide Carpi attached the following image(s): |
If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects |
|
|
|
Rank: Newbie
Groups: Registered
Joined: 19/11/2012(UTC) Posts: 5 Location: Slough
|
I noticed that if I right click and change Optimisation from numeric to symbolic and back the output sometimes changes, though I can't really get a handle on how to guarantee this to occur.
|
|
|
|
SMath Studio Forum
»
SMath Studio
»
Bugs & Problems
»
Inequality with units says incompatibe units if the units are the same
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.