Units of Measure Confusion #538
NCJazzMan65
started this conversation in
General
Replies: 1 comment 3 replies
-
@NCJazzMan65 At the moment, you can use the Pyomo |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
As a fairly new user, I'm still struggling with understanding the units of measure for calculated quantities such as work and heat. As an example, say I have a Pressure Changer (compressor in this case) on my flowsheet and my property package defines the following units: time=pyunits.s, length=pyunits.m, mass=pyunits.kg, amount=pyunits.mol (I assume this is g-mol), and temperature=pyunits.K. Further, say my property package is using equations from the NIST webbook. When I run the flowsheet, my Pressure Changer reports a calculated amount of work. Based on the magnitude of the work number in relation to my flow conditions, I'm guessing the units are Watts. But how do I know for sure? I tried figuring it out from the base units I set and the reported units for the NIST properties (enthalpy, specific heat, etc.) but I'm struggling with it. How do I figure this out?
I know the underlying PYOMO framework is unit agnostic but, surely, something better can be done to represent and report units on values in IDAES; especially on calculated values like work and heat.
Beta Was this translation helpful? Give feedback.
All reactions