検索対象:     
報告書番号:
※ 半角英数字
 年 ~ 
 年

工学系モデリング言語としての次世代解析システムの開発,5; 二階層システム移行のための既存コード再構築手法の検討

Development of next generation code system as an engineering modeling language, 5; Investigation on restructuring method of conventional code into two-layer system

横山 賢治   

Yokoyama, Kenji

従来の解析システムを再利用して段階的に二階層システムに再構築するための手法(インクリメンタル法)を検討した。再構築の検討対象としては有限差分法に基づく3次元XYZ体系の拡散計算機能と従来システムの断面積データファイルの入力機能を選定した。モジュール結合度とMcCabeの循環的複雑度を導入してモジュール設計の品質及びプログラム制御の複雑さを定量化した。再構築前は結合度6$$sim$$7のモジュールが多く存在したが、ほとんどのモジュールの結合度を4以下にまで小さくできた。また、結合度を4以下にすることで、二階層システムのための異言語間結合が容易になることがわかった。一方、再構築前のモジュールの循環的複雑度については20を超えるものも多く50を超えるものもあったが、ほとんどのモジュールを10以下にまで小さくできた。これは誤修正率を20$$sim$$40%から5$$sim$$10%に低減できたことに相当する。循環的複雑度の合計は約2分の1に低減できた。さらに再構築した機能と既開発の機能を使って解析ツールをシステム化し、高速炉実験炉「常陽」MK-Iの臨界性解析に適用してシステムの実用性を確認した。また、機能追加テストを実施して、ユーザが通常利用できる範囲の操作だけを使って機能拡張できること(ユーザ拡張)及び既存のプログラムを書き換えることなく機能拡張できること(開放/閉鎖原則)を満たした状態で実現可能であることを確認した。

A proposed method for gradually restructuring to the two-level system of next generation analysis system by reusing the conventional analysis system, called "incremental method", was applied and evaluated. The following functions were selected for the evaluation of the restructuring: Neutron diffusion calculation for the three-dimensional XYZ system based on finite differential method, and input utilities of the cross-section data file. In order to evaluate the effect of the restructuring, "Module Coupling Index(MCI)" and "McCabe's Cyclomatic Complexity (MCC)" were used for quantifying the quality of the modular design and the complexity of the program sequence. The incremental method could reduce MCIs from 6$$sim$$7 degrees to under 4 degrees in most module. And, it is found that the modules under 4 degrees of MCI can be easily combined with different programming languages. In the meantime, MCCs in most module before restructuring wereover 20 and some were over 50. The incremental method could reduce them to under 10 in most module. It is correspondent to reduction of the error frequency from 20$$sim$$40% to 5$$sim$$10%. The total number of MCC was able to be reduced to 1/2. By using the restructured functions in the present study and some previously developed functions, a reactor analysis tool was systematized and applied to criticality analysis of the Experimental Fast Reactor "JOYO" MK-I. In addition, it is confirmed that additional functionality expansions were carried out satisfying the condition that one can extend it only with input data and functions fornormal users (the user extendibility) and one can extend it without any modifications of existing programs (the open-closed principle).

Access

:

- Accesses

InCites™

:

Altmetrics

:

[CLARIVATE ANALYTICS], [WEB OF SCIENCE], [HIGHLY CITED PAPER & CUP LOGO] and [HOT PAPER & FIRE LOGO] are trademarks of Clarivate Analytics, and/or its affiliated company or companies, and used herein by permission and/or license.