Ticket #144 (closed enhancement: fixed)
Argument from CopyFromMaterial
Reported by: | michelpons | Owned by: | Michael Halloran |
---|---|---|---|
Priority: | minor | Milestone: | 2.2 |
Component: | COLoggers | Version: | Development |
Keywords: | CopyFromMaterial | Cc: | michaelhalloran |
Description
I am starting from a case file out of PRO/II 9.2 in which three material streams have been drawn and two defined with flow, composition, pressure and temperature. The CPP Ideal Thermo PPM and its nC6nC8 PP are used. The scenario calls for inserting the CPP Mixer/Splitter Example in the flowsheet, access its CAPE-OPEN settings, change the heat input to 1, then connect the ports to material streams and run the simulation. It gives the log attached.
At the beginning of the Calculate method, the UO calls CopyFromMaterial onto a Material Object. The Material Object is mentioned as Anonymous. Within this call, it is logged that COLTT accesses the get_ComponentName method of the ICapeIdentification interface of an Anonymous MO: S1 is returned. Then the UO goes on by getting the present phases on a MO still mentioned as Anonymous. The CopyFromMaterial method has one argument, source. I think it would be wise somehow to mention the pointer value to the source MO. Further information could be displayed if indeed the get_ComponentName call succeeds like it is succeeding here.
Attachments
Change History
Changed 12 years ago by michelpons
- Attachment Unconnected.prz added
Changed 12 years ago by michelpons
- Attachment proii_082212_073508.log added
Log file obtained with COLTT 2.1 build Aug 5, 2012
Case file in PRO/II 9.2