ICape Flowsheet Monitoring Old Interface
This interface provides information
about error that result from values that are outside of their bounds. It can be raised
to indicate that the value of either a method argument or the value of a object
parameter is out of range.
Definition
Namespace: CapeOpen
Assembly: CapeOpen (in CapeOpen.dll) Version: 1.0.0.0 (1.0.0.0)
Assembly: CapeOpen (in CapeOpen.dll) Version: 1.0.0.0 (1.0.0.0)
C#
[ComImportAttribute]
[ComVisibleAttribute(false)]
[GuidAttribute("2CC8CC79-F854-4d65-B296-F8CD3344A2CD")]
public interface ICapeFlowsheetMonitoringOldVB
<ComImportAttribute>
<ComVisibleAttribute(false)>
<GuidAttribute("2CC8CC79-F854-4d65-B296-F8CD3344A2CD")>
Public Interface ICapeFlowsheetMonitoringOldRemarks
Moniting object should implement:
- ICapeIdentification
- IPersistStream or IPersistStreamInit in case of persistence implementation
- ICapeUtilities for parameter collection and Edit and for accepting an ICapeSimulationContext
- CAPE-OPEN error handling interfaces (ECape...)
Monitoring objects can possibly access the following interface via the ICapeSimulationContext interface:
- ICapeCOSEUtilities - for named values
- ICapeDiagnostic - for logging and popping up messages
- ICapeMaterialTemplateSystem - for accessing material templates and creation of material objects
- ICapeFlowsheetMonitoring - for accessing collections of streams and unit operations
Monitoring object are NOT SUPPOSED to change flowsheet configuration by:
- modifying unit operation paramaters
- connecting or disconnecting streams to unit operations
- calculating unit operations
- modifying streams by setting values
- any other action that will change the flowsheet state
Monitoring object can:
- obtain stream information
- obtain unit operation information
- duplicate material objects of streams for performing thermodynamic calculations
- create material objects via the ICapeMaterialTemplateSystem for creating thermodynamic calculations
- ...
In addition to the CAPE-OPEN object caterogy ID, monitoring objects should expose the Monitoring Object category ID:
CATID_MONITORING_OBJECT = 7BA1AF89-B2E4-493d-BD80-2970BF4CBE99
Properties
| ValStatus | Check whether the flowsheet is valid. |
Methods
| GetStreamCollection | Get the collection of streams. |
| GetUnitOperationCollection | Get the collection of unit operations. |
| IsSolved | Check whether the flowsheet is currently solved. |