Font Size: a A A

Research Into The Reasoning Rules Of SDG-HAZOP Software Based On Python

Posted on:2010-11-06Degree:MasterType:Thesis
Country:ChinaCandidate:G Q WangFull Text:PDF
GTID:2178360278980365Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
As people to pay more attention to the safety issues, Safety Assessment has become an indispensable element in the process industry. In all the kinds of safety analysis methods, SDG-HAZOP method is the most widely used safety analysis approach in the process system. SDG-HAZOP is a kind of qualitative process of hazard identification; it combines the SDG inference and HAZOP analysis mechanism, and then finishes the computer-aided HAZOP study of the SDG model. The combination makes the results much more accurate and complete.However, there is a prominent problem while using the existing software platform for modeling, the conventional inference only relies on the intrinsic rules provided by the system. In the process of traditional software development, developers have to redo the whole process of coding, compiling and publishing if new rules have to be added according to the actual situation. Because of those, the system is not flexible enough, and lack of exchange with the user, it also increased the difficulty of software development and maintenance. To solve the problem, a development method based on Python was presented in this paper. This method use Python as an embedded script to support the host application written in C++, it allows developers to build the system without changing the structure of original object model. By embedding scripting language into the application, users can add new rules and calculation formulas to the SDG model. It is helpful in enhancing the flexibility and extensibility of the system.At last, Microsoft Visual C++ 6.0 has been used to realize an Integrated Develop Environment for Python. The users can run and debug the scripts they wrote for the system.
Keywords/Search Tags:Python, Script, embed, SDG
PDF Full Text Request
Related items