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

Dividing by temperatures #113

Open
deisner opened this issue Jan 12, 2021 · 1 comment
Open

Dividing by temperatures #113

deisner opened this issue Jan 12, 2021 · 1 comment

Comments

@deisner
Copy link

deisner commented Jan 12, 2021

In some cases it is necessary to 'divide with temperatures'. For example, the SI unit for thermal conductivity is watts per meter-kelvin, i.e. W/(m*K). But I get an exception when I try to construct such a quantity:

> Qty(0.2, 'W m^-1 temp-K^-1')
Uncaught Error: Cannot divide with temperatures

Is there a way to represent such a quantity?

@rage-shadowman
Copy link
Contributor

There are 2 separate temperature references. One is absolute temperature (ex: "tempK") which you cannot divide with. The other is relative degrees (ex: "degK") which you should be able to divide with.

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

2 participants