Jump to content

Parameter Expression Note


Bertrand Kim

Recommended Posts

Helo everyone

This post is a Searchable note for Prameter Expression

 

Arithmetic Operator

1) equal, same, identical, matching ==

2) above, grather than, exceeding, over : >

3) under, below, less than : <

4) more than, not less than : >=

5) less, not exceeding, not more than : <=

 

Kim

Edited by Bertrand Kim
Link to comment
Share on other sites

image.png.d5607fdbc2814c352853a264b3422569.png

Suppression parameter Value 0 = Unsuppress

Suppression parameter Value 1 = Suppress

Edited by Bertrand Kim
Link to comment
Share on other sites

  • 1 month later...

image.png.835856e45311a590e832a1369732bbf3.png

Edited by Bertrand Kim
Link to comment
Share on other sites

Kim, default units in the parameter table is meters, if you specify a unit then it will use that unit for that particular variable. The units column is the display units for the evaluated expression. Scalar values are unitless and as such are converted to default units (meters) before addition or subtraction are performed.

Link to comment
Share on other sites

Hi ASPEER

Thank you for the reply

There is someting confusing me every seconds

 

In test11

1 + 1mm = 1001 mm ( I understand it as your explaination )

In test13

If I entered 1 * 1mm, it should be 1000 like in test11

In test14

I entered 1 / 1 mm, the result is 1000000 like in test34

 

It is understandable that it can not be fixed becuase the customer's previous works. But it's clear that I can not remember these rules.

Maybe I should go back to elementary school B)

 

Kim

Link to comment
Share on other sites

For test 13, that is working as it should, you are multiplying a scalar (unitless) by a length.

For test 14, that is a bit odd, however I suspect it is because they expect the numerator to always have units. The result is exactly as expected for 1m/1mm=Xmm if you consider the conversions done, ie 1m/0.001m=1000m * 1000=1 000 000mm.

Link to comment
Share on other sites

Hi ASPEER,

Yes I understand for test 14 

But look at test24

The parameter name [One] is 1 Millimeter

So the Expression and the result in test24 must be "1mm / 1mm = 1"

However the value was 1000

And the value of 1mm / 1mm is 1000 too

image.png.c8f99562699219d704b98914189a98ca.png

 

Kim

Link to comment
Share on other sites

  • 7 months later...

I still don't get it perfectly, and I'll give my missile to the first person who explains test24 to me in a way that makes logical sense. 

 

Kim

Link to comment
Share on other sites

Kim, it looks like the issue is with the units. Test23 has units of mm2 but it looks like the conversion from default units (m) to mm only accounted for linear units (m => mm) rather than area units (m2 => mm2). Test24 is unitless and has been converted to mm.

Link to comment
Share on other sites

Great ASPEER! I've sent a missile!

Link to comment
Share on other sites

Join the conversation

You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...