Version 1 of Network Theoretical Elements in Bwise

Updated 2008-05-10 09:04:06 by theover

by Theo Verelst

Network theory in the Electrical Engineering sense is the theory of electrical networks, like the practice is electronical networks with actual voltage supplies, resistors, capacitors, etc. Electrical network elements are like Platonic concepts of the electronical counterparts, where the main elements are sources (voltage or current), resistive elements, and complex resistive elements, inductances and capacitors.

Bwise is kind of inviting to use the Tk canvas to draw not blocks but network elements, and so to play with virtual electronics. In fact, when I worked at university I came up with the foundation of BWise for amoung other things such reason. I was Master of Science (close to getting a PhD) in Network Theory Section, and computers were getting good enough to use for complex networks being graphically respresented (as we know the father of tcl/tk, J. Oesterhout, invented the language amoung other reasons for yet another EE purpose: chip layer design).

Bwise normally uses rectangular blocks as elements of its graph structure, in this case I want to adapt the routine for creating such blocks to create on the canvas another graphical representation, to begin with of a resistor, which is in fact also a rectangle, in two possible directions, so that shouldn't be too hard. Trying this with bwise by typing with the interactive command composer or in the console window

 newproc {} R p1 p2 50 18 {} 100 300

we see the graphics are not automcatically appealing:

http://82.171.148.176/Wiki/netw1.png

So we have to make a new create command for bwise, which calls newblock with other parameters, or we should create a new procedure for newblock, to be able to use other colors and such.


enter categories here