So, in this I have started to create the basis of the software within the last 2 weeks. I'm starting (for the most part) from scratch. My last version was simply able to handle transient analysis for Resistors/Capacitors/Inductors/Current Source/Voltage Source.
This new version will handle this plus everything else.
Up to this point, I have the following elements in there first versions:
- Complex Numbers and Parser:
- The parser can parse directly to a complex number or can separate the equation into an expression tree. I will explain this in another post.
- Can handle all variations of complex number and functions including hyperbolic functions.
- Matrices:
- A number of matrix classes have been created. Namely, a string matrix, complex constant matrix, and an expression tree matrix.
- Complex Constant Matrix and Expression Tree Matrix can be inverted along with determinants. The simple things
Secondly, having the invertability of the Expression Tree Matrix allows for inversion to only occur once and then evaluate the inverse matrix directly without having to perform the inverse at each time step.
Taking the time to develop these algorithms will show great improvement in performance down the road.
Hopefully I can keep you guys up to date more often. Any questions, feel free to email me.
---------------------
Justin Coulston
justin.coulston@gmail.com
No comments:
Post a Comment