Source code automatic generation technology can improve software development’s quality and productivity significantly. However, the existing code generators cannot satisfy nuclear power software development demand. This paper analyzes development feature of scientific computing software and develops a FORTRAN Code Generator (FCG) using C# language. FCG can generate program variables definition FORTRAN source code automatically according to input metadata. FCG also can generate memory allocation source code for dynamic variables in program. Besides, FCG can generate data access interface for global variables in code. Right now, FCG has been applied to source code development of COSINE (Core and System Integrated Engine for design and analysis) software package. Development practice has proved that FCG can improve development efficiency of nuclear power software greatly.
- Power Division
Code Automation Technology Based COSINE Software Development
- Views Icon Views
- Share Icon Share
- Search Site
Ren, H, Mo, W, Liu, S, Li, D, Sun, Y, & Zhao, G. "Code Automation Technology Based COSINE Software Development." Proceedings of the ASME 2013 Power Conference. Volume 2: Reliability, Availability and Maintainability (RAM); Plant Systems, Structures, Components and Materials Issues; Simple and Combined Cycles; Advanced Energy Systems and Renewables (Wind, Solar and Geothermal); Energy Water Nexus; Thermal Hydraulics and CFD; Nuclear Plant Design, Licensing and Construction; Performance Testing and Performance Test Codes. Boston, Massachusetts, USA. July 29–August 1, 2013. V002T12A005. ASME. https://doi.org/10.1115/POWER2013-98109
Download citation file: