劉平



摘? 要: 提出將電路圖描述為等電位點構成的群落及其相互關系的抽象模型的方法,并據此重點探討在電工教學仿真的特定環境下,通過在矢量繪圖軟件Visio的后臺進行二次開發,來實現電路圖上等電位點的搜索的方法。進而通過模型對比的方式,從功能層面判定Visio 所作電路圖與標準接法的一致性。
關鍵詞: Visio; 二次開發; 電工教學仿真; 拓撲; 等電位群
中圖分類號:TP391.9? ? ? ? ? 文獻標志碼:A? ? ?文章編號:1006-8228(2019)02-43-03
Application of Visio based topology operation in electrical engineering simulation
Liu Ping
(Guiyang Vocational and Technical College, Guiyang, Guizhou 550008, China)
Abstract: A simple and intuitive method is proposed to describe the circuit diagram as an abstract model of community composed of equipotential points and their relationships. On this basis, this paper mainly discusses a search method of equal potential point on the circuit diagram through the network topology operation of Visio software in the specific environment of electrical engineering teaching simulation. Then, through the model comparison, the consistency of the circuit diagram made by Visio and the standard approach is determined from the functional level.
Key words: Visio; secondary development; electrical engineering teaching simulation; topology; group of equipotential point
0 引言
Visio作為一款較為流行矢量的繪圖軟件,已經被廣泛運用于流程圖、工程圖的繪制等領域。它具有繪圖簡單、靈活和呈現效果好等優點,這里不再累述。多數使用者或許沒有注意到,由于該軟件與Word、Excel和PPT等同為Microsoft公司Office系列軟件,它同樣具有強大的后臺編程控制能力,甚至在這方面其功能明顯強于上述其姊妹軟件,例如其表單(Shapesheet)集成了頁面上所有圖形(或是圖形組合)的所有可用屬性,通過在對應的屬性欄填入相應的Formula(公式)就能簡單地改變圖元的形態、色彩以及位置等屬性。同時,在Visio后臺的VB編程環境下,則能夠實現對頁面中的圖元進行較為復雜的控制,例如時序控制,也包括本文將要用到的拓撲運算等。不僅如此,通過其OCX的植入,還能夠在C/C++以及.NET編程環境下實現對Visio繪圖的控制[1]。正是由于Visio軟件不僅有簡單、靈活的繪圖功能,還具備強大的后臺編程控制能力,所以Visio軟件可視化仿真方面的運用正逐步得到重視。
1 電氣仿真過程中電路接線正確難以判斷的問題及其解決方案……p>