Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Login


Options
Go to last post Go to first unread
Offline jmc  
#1 Posted : 19 November 2012 17:32:41(UTC)
jmc

Rank: Newbie

Groups: Registered
Joined: 19/11/2012(UTC)
Posts: 5
United Kingdom
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.

Wanna join the discussion?! Login to your SMath Studio Forum forum account. New Registrations are disabled.

Offline omorr  
#2 Posted : 20 November 2012 12:05:26(UTC)
omorr


Rank: Administration

Groups: Registered, Advanced Member
Joined: 23/06/2009(UTC)
Posts: 1,740
Man
Serbia

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!"
Offline jmc  
#3 Posted : 20 November 2012 14:19:40(UTC)
jmc

Rank: Newbie

Groups: Registered
Joined: 19/11/2012(UTC)
Posts: 5
United Kingdom
Location: Slough

I have prepared an example, see attached
File Attachment(s):
units problem.sm (25kb) downloaded 19 time(s).
Offline Davide Carpi  
#4 Posted : 20 November 2012 14:54:10(UTC)
Davide Carpi


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 13/01/2012(UTC)
Posts: 2,648
Man
Italy
Location: Italy

Was thanked: 1331 time(s) in 876 post(s)
Originally Posted by: jmc Go to Quoted Post
I have prepared an example, see attached


Hi hjmc8899 Offline ,

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):
A1.png
A2.png
B1.png
B2.png
If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects
Offline jmc  
#5 Posted : 20 November 2012 15:35:04(UTC)
jmc

Rank: Newbie

Groups: Registered
Joined: 19/11/2012(UTC)
Posts: 5
United Kingdom
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.
Users browsing this topic
Guest
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.