|Last Updated||Ratings||Unique User Downloads||Download Rankings|
|2010-05-31 (6 years ago)||Not yet rated by the users||Total: 254||All time: 7,405 This week: 802|
|nodal-analysis 1||Artistic License||5.0||PHP 5, Physics|
This class can be used to perform nodal analysis of linear circuit networks.
Q:What will this class do? A:It will attempt to solve a simple linear DC electrical network using the nodal analysis method. For more information about nodal analysis please check wikipedia. Keep in mind though this script was made quickly in a single afternoon and went through almost no testing. As it is the result of a small contest/challenge. The goal was to write a script that could use the nodal voltage method to solve the network seen in the example. So it most likely contains some serious errors and you really shouldn't use it for anything important. If you wish to actually get a reliable result use software like Multisim. The only reason this is being published is cause I couldn't find anybody else that ever bothered to write anything similar in PHP and release the source code. The comments and example should explain how it works. If there is enough response I will rewrite the class and actually bother to do extensive testing. If you find an error feel free to contact me at bart [dot] plovie [at] gmail [dot] com. And now the license (Short version: Give credit, and don't use it for commercial goals): This work is licenced under the Creative Commons Attribution-Non-Commercial 2.0 Belgium License. To view a copy of this licence, visit http://creativecommons.org/licenses/by-nc/2.0/be/ or send a letter to Creative Commons, 171 Second Street, Suite 300, San Francisco, California 94105, USA.
|Version Control||Unique User Downloads||Download Rankings|