摘要
[目的]传统船舶轴系设计等软件中的校验评估模块存在修改调整周期长、校验规则扩展性差等问题,需要予以解决。为此,[方法]采用配置化开发思想,对轴系设计中的评估指标类型进行模式划分,然后基于这些模式分析设计一套以表达式配置、计算结果配置式提取、计算表达式动态替换、设计结果校验评估为主线的校验评估实现方法。[结果]构建的设计类软件校验评估模块可以灵活地修改及扩展,并实现了支持该方法的通用表达式解析器。[结论]实际船舶轴系设计软件项目应用验证表明,所提方法可以在不修改程序源代码的情况下支持用户自定义校验评估规则,并能推广应用至设计类软件开发,提高相关工作的效率和灵活性。
[Objective] The verification evaluation module of traditional shafting design software for ships has several problems which need to be solved, such as a long modification and adjustment period, and poor expansibility of verification rules. [Method]Using the idea of configuration-based development, the types of evaluation indexes in shafting design are divided into different patterns. Based on these patterns, a set of implementation methods for verification evaluation is designed which takes the expression configuration, configuration extraction for calculation results, dynamic replacement for calculation expressions, and verification evaluation for design results as the mainline. [Result]The verification evaluation module of the design software can be modified and extended flexibly, and a general expression parser supporting this method is implemented. [Conclusion] The application verification of ship shafting design software shows that the proposed method can support user-defined verification evaluation rules without modifying the program source code, and can be extended to design software development. As such, this method can improve the efficiency and flexibility of the related work.
作者
宋汉江
孙玲
孙锋
SONG Hanjiang;SUN Ling;SUN Feng(Naval Research Academy,Beijing 100161,China;China Ship Development and Design Center,Wuhan 430064,China)
出处
《中国舰船研究》
CSCD
北大核心
2021年第S01期114-120,共7页
Chinese Journal of Ship Research
基金
国家自然科学基金资助项目(51839005)。
关键词
轴系设计
评估校验
配置化开发
shafting design
verification and evaluation
configuration-based development