Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unit change when writing mathematical expression as input #2201

Open
nikal14 opened this issue Feb 26, 2024 · 0 comments
Open

Unit change when writing mathematical expression as input #2201

nikal14 opened this issue Feb 26, 2024 · 0 comments

Comments

@nikal14
Copy link

nikal14 commented Feb 26, 2024

Describe the bug
When writing a value in input: pressure, in for example "C-type Pressure Source", as a mathematical expression the unit changes to Pa without changing the input value.

To Reproduce

  1. Add a C_type_Pressure_Source
  2. Change the unit for "input: pressure" to MPa
  3. Set the value of "input: pressure" to "20-7" or "20/100" and press apply, then ok
  4. The unit for pressure will change back to Pa without changing the input value

Expected behavior
The component should keep the unit as stated by the user or change the input value with the correct prefix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant