This paper presents a tool for managing, reusing and analysing C software code based on database techniques. The abstract information of entire software code is stored in a program database that is the conceptual sche...This paper presents a tool for managing, reusing and analysing C software code based on database techniques. The abstract information of entire software code is stored in a program database that is the conceptual scheme of the entire software, whereas the reuse component is a subscheme. Relational algebra can be conveniently used to manage, analyse and reuse C code. In the tool, we can manage, analyse and reuse any components in the program database and rapidly extract source code of any components or construct the program code of a new system. The rule system is introduced in reusing source code.展开更多
Hydrogen management is important for refineries to improve their business efficiency.Various approaches such as pinch analysis and mathematical programming have been employed in the management of hydrogen system.Howev...Hydrogen management is important for refineries to improve their business efficiency.Various approaches such as pinch analysis and mathematical programming have been employed in the management of hydrogen system.However,it is not easy for site engineers to implement these techniques,due to the complicated procedures.At this point,it is necessary to develop a software that can implement the proposed methodologies automatically,which is really the goal of this work.The presented refinery hydrogen system optimization software(RHO)is a web based system.It is developed in the Java Web environment,where the subroutines of mathematical model developed in GAMS software can be easily called.RHO can generate graphics of both the hydrogen pinch diagram and the hydrogen distribution network.The purifiers as well as the physical distances between units are considered in the optimization model.In addition,there is a special module for the calculation of membrane separation,which is very important in the hydrogen network.The functions and the interfaces of the software are illustrated via practical cases.Case studies show the effectiveness of the RHO software.展开更多
应用VC++与Matlab的混合编程方法可以充分发挥VC++和Matlab的各自优势,提高仿真和开发效率。介绍了VC++与Matlab混合编程的3种无缝集成方案,包括Matcom Add-in,Matlab Visual Studio Add-in和COM组件,这些方法具有操作简单、代码效率高...应用VC++与Matlab的混合编程方法可以充分发挥VC++和Matlab的各自优势,提高仿真和开发效率。介绍了VC++与Matlab混合编程的3种无缝集成方案,包括Matcom Add-in,Matlab Visual Studio Add-in和COM组件,这些方法具有操作简单、代码效率高、与VC++无缝集成等特点,被广泛应用于Matlab和VC++的交互领域;详细地阐述各种方案的具体实现步骤;最后,分析各种方案的优缺点。展开更多
文摘This paper presents a tool for managing, reusing and analysing C software code based on database techniques. The abstract information of entire software code is stored in a program database that is the conceptual scheme of the entire software, whereas the reuse component is a subscheme. Relational algebra can be conveniently used to manage, analyse and reuse C code. In the tool, we can manage, analyse and reuse any components in the program database and rapidly extract source code of any components or construct the program code of a new system. The rule system is introduced in reusing source code.
基金The financial support provided by the Project of National Natural Science Foundation of China(21822809&21978256)the National Science Fund for Distinguished Young(21525627)+1 种基金the Fundamental Research Funds for the Central Universities(2019XZZX004-03)Ningxia Collaborative Innovation Center for Value Upgrading of Coal-based Synthetic Resin(2017DC57)。
文摘Hydrogen management is important for refineries to improve their business efficiency.Various approaches such as pinch analysis and mathematical programming have been employed in the management of hydrogen system.However,it is not easy for site engineers to implement these techniques,due to the complicated procedures.At this point,it is necessary to develop a software that can implement the proposed methodologies automatically,which is really the goal of this work.The presented refinery hydrogen system optimization software(RHO)is a web based system.It is developed in the Java Web environment,where the subroutines of mathematical model developed in GAMS software can be easily called.RHO can generate graphics of both the hydrogen pinch diagram and the hydrogen distribution network.The purifiers as well as the physical distances between units are considered in the optimization model.In addition,there is a special module for the calculation of membrane separation,which is very important in the hydrogen network.The functions and the interfaces of the software are illustrated via practical cases.Case studies show the effectiveness of the RHO software.
文摘应用VC++与Matlab的混合编程方法可以充分发挥VC++和Matlab的各自优势,提高仿真和开发效率。介绍了VC++与Matlab混合编程的3种无缝集成方案,包括Matcom Add-in,Matlab Visual Studio Add-in和COM组件,这些方法具有操作简单、代码效率高、与VC++无缝集成等特点,被广泛应用于Matlab和VC++的交互领域;详细地阐述各种方案的具体实现步骤;最后,分析各种方案的优缺点。