Skip to content

Wrong Units on HAPropsSI #39

Description

@aksdyall

HAPropsSI("D", "T", 300u"K", "P", 101325u"Pa", "W", 0.01)

returns 287.12981890840064 kg m^-3 instead of 287.12981890840064 K

The number is right, but the units are wrong. I think it might have something to do with the fact that "D" is used for density in the regular PropsSI function (with units of kg m^-3), but it's used for dew point temperature in HAPropsSI (with units of K). The correct units are displayed when using "Tdp" instead:

HAPropsSI("Tdp", "T", 300u"K", "P", 101325u"Pa", "W", 0.01) returns 287.12981890840064 K

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions