Skip to content

ValueError for certain cases of PDSim #75

@caskandavor

Description

@caskandavor

Hi all,

I have been using PDSim to better understand scroll compressors, but something has been bugging me for a while. For some cases (typically for high discharge pressures, around 15 bar), there is a ValueError (options.p is not valid in saturation_T_pure_1D_P). As seen in the screenshot below, this seems to come from CoolProp, as we try to get a pressure from a non valid temperature (here $T = -303.394 K$).

Note that this happens at the very beginning of the run (not even the first computing iteration is completed).

Changing the radial and flank gaps can help sometimes. Since these control the mass flows in and out of the control volumes and are therefore present in the conservation equations (mass and energy), I figured that perhaps they are not well handled in some cases.

There are also cases where the error is p is not a valid number.

Have you encountered such cases as well ?

Thank you!

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions