Ticket #184 (closed defect: fixed)
Logging CompIds for SetProp of scalar mixture property
Reported by: | michelpons | Owned by: | Michael Halloran |
---|---|---|---|
Priority: | major | Milestone: | 2.2 |
Component: | COLoggers | Version: | Development |
Keywords: | SetProp | Cc: | michaelhalloran |
Description
It appears that COLTT does not log the CompIds argument in a SetProp for a scalar mixture property. It should.
I have encountered an issue with this argument with the following scenario:
Take Aspen Properties HDA PP under OATS. Open COFE and select the OATS/ HDA Aspen Properties PP. In the COFE view “Flowsheet configuration”, where you will see “Aspen Properties 28.0/HDA” listed, click on “Material types”. There untick the boxes on the left of Hydrogen, methane and diphenyl. That way the Material Objects defined by COFE will carry only benzene and toluene as compounds. Close the Flowsheet configuration view. Go to Flowsheet/Calculator. As property select enthalpy. As phase select Vapor. As temperature enter 500 K. As pressure enter 100000 Pa. For the mole fraction of C6H6 enter 0.5 (the diphenyl mole fraction will be set to 0.5 automatically).
While you are entering these pieces of information, error messages will appear in the bottom part of the COFE screen. This is OK. COFE attempts to make the calculation requested even before all the necessary pieces of information have been provided. However take notice of the last error message: “Failed to calculate property enthalpy for phase vapor (calType mixture): CalcProp failed: The following errors showed on calling AspenCalcProp[]: Failed to ICapeThermoMaterialObject > SetProp[].
COLTT does not report that compIds contains \"C6H6\" and \"TOLUENE\" while it should be UNDEFINED for a scalar mixture property. In order to pinpoint sucn an error with COLTT, COLTT should display the CompIds even for that kind of property.
Attachments
Change History
Changed 11 years ago by michelpons
- Attachment HDA.aprbkp added
Aspen Properties input file