-
Notifications
You must be signed in to change notification settings - Fork 480
Dimension Conversion Fails in Mixed Dimension Quantities #2072
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
Comments
second |
Hello, |
Interesting, I am not sure if this is a bug, a missing feature or a misconfiguration. However it would be nice to make it work. Do you have any ideas on how to solve this? |
Sorry, my fault. |
I haven't looked into your issue, however i note there's an example of doing this here |
Hi there,
Unfortunately I ran into a problem with converting mixed dimensions using contexts. I want to convert one dimension into another dimension in a mixed quantity like 1*[MyDimension]/[km] -->1.43*[MyOtherDimension]/[km]. If I only use my self defined dimensions 1*[MyDimension]] -->1.43*[MyOtherDimension], everything works as expected. However, if I mix the dimensions, the conversion fails. I have come up with the following minimal example:
This is the context of my definition file :unit_def_file.txt
I would like to use these conversions to implement inflation rates and different currencies, while also dealing with other units. A typical use case would be to convert €/l to $/gallon.
Is this a bug, have I misconfigured something or is the functionality just not implemented?Any help would be appreciated.
The text was updated successfully, but these errors were encountered: