为了让反应系统与流程模拟软件的耦合度更低、代码可复用性更高,基于CAPE-OPEN标准开发了反应组件:按照接口标准实现了反应对象、反应包管理器和一个反应包,反应包中包含了对平衡反应和幂次方动力学反应的定义和计算;将各部分对接,形成一个完整的反应求解组件;最后使用支持CAPE-OPEN标准的模拟器进行调用,将计算结果与常用模拟软件进行对比和分析,结果表明该组件计算准确。
To isolate the reaction module from the system, reduce the coupling degree between the reaction component and the simulator, and promote the reusability of the code, A reaction module has been developed based on CAPE-OPEN standard. According to the interface standard, a reaction object, a reaction package manager and a reaction package was implemented, the reaction package includes the definition and calculation of equilibrium reactions and power law kinetic reactions; by combining the component together, forming a reaction module. A simulator supporting CAPE-OPEN standard was used to invoke the module, and comparison and analysis of the module with common simulator has been accomplished. The results show that the reaction module has the ability to calculate accurately.