A General Parsing Scheme for Power Quality Data Interchange Format Files

谢康,林瑞星,王巍,杨洪耕,张逸
DOI: https://doi.org/10.3969/j.issn.1000-1026.2012.11.016
2012-01-01
Abstract:To solve the parsing program's compatibility issues caused by the different definitions of power quality data interchange format (PQDIF) between the manufacturers and provincial standards in the field of domestic power quality, a general parsing scheme for PQDIF files is proposed and implemented. By summarizing tag groups of the known PQDIF files and their corresponding power quality measurement types, the scheme structures a channel series definition table stored in the extensible markup language (XML) format. When parsing a PQDIF file, the Hash table is applied to quickly match the tag, groups with the known groups and corresponding measurement types in the channel series definition table, and at the same time differently match the unknown tag groups with the most similar groups. Without modifying the source code of the parsing program, not only the known PQDIF files which have different definition structures could be parsed quickly and correctly, but also the PQDIF files with unknown tag groups could be parsed through simple configurations made by users. The reliability and practicality of the parsing scheme are proved through applications in Sichuan power quality integrated data platform.
What problem does this paper attempt to address?