Simulation model file analysis method and device, electronic equipment and storage medium

The invention relates to a simulation model file analysis method and device, electronic equipment and a storage medium. The method comprises the following steps: acquiring a simulation model file and a parser interface corresponding to the simulation model file, then calling a lexical analyzer and a...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: ZHENG JIANGUO, LU YONG, BAO GANGQIANG
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention relates to a simulation model file analysis method and device, electronic equipment and a storage medium. The method comprises the following steps: acquiring a simulation model file and a parser interface corresponding to the simulation model file, then calling a lexical analyzer and a syntactic analyzer associated with the parser interface, generating a file parser according to the lexical analyzer and the syntactic analyzer, and performing data parsing processing on the simulation model file by adopting the file parser, and obtaining a target data structure corresponding to the data analysis processing, inputting the target data structure into a preset electromagnetic solver, and obtaining analysis data for the simulation model file. According to the scheme provided by the invention, the data analysis effect can be optimized, and the maintainability and expansibility of the data analyzer can be improved. 本申请涉及一种仿真模型文件的解析方法、装置、电子设备及存储介质。该方法包括:获取仿真模型文件以及与仿真模型文件对应的解析器接口,然后调用与解析器接口关联的词法分析器和语法分析器,根