The parsing problems are due to the difference among COMTRADE standards, unreadable code in remote transmission and incompleteness of data in the power system. This paper presents an algorithm that can correctly parse the file in the Matlab format to the greatest extent. The algorithm includes the error pre-analysis part and the fault-tolerance parsing part. With the method of line-skipping parsing and validation, the error pre-analysis part can find all sorts of error that can influence the proper parsing and ultimately form an error information table. By inquiring the error information table and Matlab extension character table to parse the data file and obtain the validation information in advance, the fault tolerance parsing part reliably realizes fault-tolerance parsing of file in the Matlab format. Plentiful testing results of field data show that the new algorithm is practical and reliable, which can provide technical references to the development of any third-party transient data analysis software in a power system.This is an open access article licensed under the terms of the (https://creativecommons.org/licenses/by/4.0/legalcode), which permits unrestricted, non-commercial use, distribution and reproduction in any medium, provided the work is properly cited.
scite is a Brooklyn-based organization that helps researchers better discover and understand research articles through Smart Citations–citations that display the context of the citation and describe whether the article provides supporting or contrasting evidence. scite is used by students and researchers from around the world and is funded in part by the National Science Foundation and the National Institute on Drug Abuse of the National Institutes of Health.