宋汉江, 孙玲, 孙锋. 船舶轴系设计中校验评估的配置化实现方法[J]. 中国舰船研究, 2021, 16(增刊 1): 1–7. doi: 10.19693/j.issn.1673-3185.02407
引用本文: 宋汉江, 孙玲, 孙锋. 船舶轴系设计中校验评估的配置化实现方法[J]. 中国舰船研究, 2021, 16(增刊 1): 1–7. doi: 10.19693/j.issn.1673-3185.02407
SONG H J, SUN L, SUN F. The realization method with configuration idea for verification and evaluation in the shafting design of ship[J]. Chinese Journal of Ship Research, 2021, 16(Supp 1): 1–7. doi: 10.19693/j.issn.1673-3185.02407
Citation: SONG H J, SUN L, SUN F. The realization method with configuration idea for verification and evaluation in the shafting design of ship[J]. Chinese Journal of Ship Research, 2021, 16(Supp 1): 1–7. doi: 10.19693/j.issn.1673-3185.02407

船舶轴系设计中校验评估的配置化实现方法

The realization method with configuration idea for verification and evaluation in the shafting design of ship

  • 摘要:
      目的  传统船舶轴系设计等软件中的校验评估模块存在着修改调整周期长、校验规则扩展性差等问题,需要予以解决。
      方法  为此,采用配置化开发思想,对轴系设计中的评估指标类型进行模式划分,然后基于这些模式分析设计一套以表达式配置、计算结果配置式提取、计算表达式动态替换、设计结果校验评估为主线的校验评估实现方法。
      结果  构建的设计类软件校验评估模块可以灵活地修改及扩展,并实现了支持该方法的通用表达式解析器。
      结论  实际船舶轴系设计软件项目应用验证表明,所提方法可以在不修改程序源代码的情况下支持用户自定义校验评估规则,并能推广应用至设计类软件开发,提高相关工作的效率和灵活性。

     

    Abstract:
      Objective  The calibration evaluation module of traditional shafting design software for ships has some problems, such as long modification and adjustment period and poor expansibility of calibration rules, which need to be solved.
      Method  Using the idea of configuration development, the type of evaluation indexes in shafting design was divided into different patterns. Based on these patterns, a set of implementation methods for verification evaluation was designed, which took the expression configuration, the configuration extraction for calculation results, the dynamic replacement for calculation expressions, and the verification evaluation for design results as the mainline.
      Result  The verification and evaluation module of design software can be modified and extended flexibly, and a general expression parser supporting this method was implemented.
      Conclusion  The application verification of ship shafting design software shows that the proposed method can support user-defined verification and evaluation rules without modifying the program source code, and can be extended to design software development, such method can improve the efficiency and flexibility of related work.

     

/

返回文章
返回