{'fraction_non_alphanumeric': 0.01293103448275862, 'fraction_numerical': 0.0, 'mean_word_length': 5.8698224852071, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Logical pattern based modeling: Diagram automatic generation and applications

Traditional diagrams in distribution system are manually generated and maintained according to the information provided by Geographical Information Systems (GIS), which is very time consuming and error prone. Diagram automatic generation has been developed to solve such problems. However, these methods focus on the layout and auto-mapping of devices without distinction and classification which may degrade their efficiency and clarity in distribution system management and control. In this paper, we proposed a logical pattern based modeling method which was applied to diagram automatic generation for distribution system. Based on the logical patterns, the devices and information presented in the diagram were filtered and classified which could provide better perspectives and conveniences for systematic management and operation. An associated integrative application framework was also founded to achieve efficient operation and control with the generated diagrams. The work has been applied in demonstration projects and some results are presented to show its advantages.