Ticket #184 (closed defect: fixed)

Opened 11 years ago

Last modified 11 years ago

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

HDA.aprbkp (9.6 KB) - added by michelpons 11 years ago.
Aspen Properties input file
SetProp.fsd (15.8 KB) - added by michelpons 11 years ago.
COFE document
SetProp.olg (31.6 KB) - added by michelpons 11 years ago.
OATS log file

Change History

Changed 11 years ago by michelpons

Aspen Properties input file

Changed 11 years ago by michelpons

COFE document

Changed 11 years ago by michelpons

OATS log file

comment:1 Changed 11 years ago by michaelhalloran

  • Status changed from new to closed
  • Resolution set to fixed
  • Milestone set to 2.2

COLTT now reports that CompIds should be undefined in SetProp if it is defined. It is treated as a Warning.

Fixed with commit 288

Note: See TracTickets for help on using tickets.