Analysis method and monitoring method for C language simulation model
A simulation model, C language technology, applied in the field of computer simulation, can solve problems such as unnecessary and repetitive work, and achieve the effect of complete content and simple implementation process
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0033] Embodiment 1 of the present invention provides an analysis method of a C language simulation model. Before executing the method, a C code analysis method class is generated from a grammar file in advance. The C code analysis method class includes a syntax analysis module, a lexical analysis module, and a syntax tree. build module, figure 1 It is a flow chart of the analysis method provided by the embodiment of the present invention, the method includes:
[0034] S11: calling the lexical analysis module in the C code analysis method class to analyze the lexical content of the imported C language simulation model to form a token flow;
[0035] S12: call the grammatical analysis module in the C code analysis method class, and analyze the grammatical structure of the imported C language simulation model according to the token flow;
[0036] S13: calling the syntax tree generating module in the C code analysis method class to generate a corresponding syntax tree according t...
Embodiment 2
[0061] Embodiment 2 of the present invention provides a monitoring method of a C language simulation model, image 3 A flowchart of a monitoring method provided by an embodiment of the present invention, the method includes:
[0062] S31: The host computer simulation management software calls the C language compiler to compile the imported C language simulation model, and compiles and generates an executable application program;
[0063] S32: The host computer simulation management software analyzes the imported C language simulation model using the analysis method of the C language simulation model in Embodiment 1;
[0064] S33: The upper computer simulation management software downloads the executable application program to the simulation lower computer to perform real-time calculation of the model;
[0065] S34: The host computer simulation management software displays the variable information in the model information file obtained through the analysis method of Embodiment...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com