Your ideas about a Reporting Common Interface
Posted: 14 December 2017, 10:34
The Unit Operation interface specification includes an ICapeUnitReport interface that lets a Unit Operation be asked to provide a report to the PME, for example for inclusion in the general report that a PME is delivering to the Flowsheet User.
In the way it was designed this interface could in fact be implemented on any PMC (a Property Package, a Flowsheet Monitoring Component) but since this is not stated in the interface description, this was never done and anyway no PME would know about the presence of such an interface on a PMC which is not a Unit Operation.
This makes the case for having a common interface dedicated to reporting and available for implementation on any type of PMC.
The ICapeUnitReport interface may be seen as a bit limited in scope, especially with respect to the format of reports that can be provided by the PMC and taken care of by the PME. A kind of workaround was devised through the NamedValues feature of SimulationContext in order to let know to a Unit Operation that a PME accepts a format such as HTML. It seems necessary to get rid of this workaround and to include in a new Common interface specification on reporting a better coverage of the format issue.
The CO-LaN community has been asked to provide feedback on this proposal which is sketched above. Any views of necessary features of a Reporting Common interface are welcome through this forum.
In the way it was designed this interface could in fact be implemented on any PMC (a Property Package, a Flowsheet Monitoring Component) but since this is not stated in the interface description, this was never done and anyway no PME would know about the presence of such an interface on a PMC which is not a Unit Operation.
This makes the case for having a common interface dedicated to reporting and available for implementation on any type of PMC.
The ICapeUnitReport interface may be seen as a bit limited in scope, especially with respect to the format of reports that can be provided by the PMC and taken care of by the PME. A kind of workaround was devised through the NamedValues feature of SimulationContext in order to let know to a Unit Operation that a PME accepts a format such as HTML. It seems necessary to get rid of this workaround and to include in a new Common interface specification on reporting a better coverage of the format issue.
The CO-LaN community has been asked to provide feedback on this proposal which is sketched above. Any views of necessary features of a Reporting Common interface are welcome through this forum.