"jski" wrote in message
news:fe9efe09-90a1-483d...@h4g2000yqk.googlegroups.com...
--------------------------------dk responds----------------------------
In effect, you are looking at something that may be routine in electrical
power engineering- a combination of circuit analysis and matrix methods
setting up state space equations. Now you consider non -linear behaviour.
You may have a set of non-linear differential equations to deal with-you
will need an iterative approach- as in the case of power system load flows.
Define your problem and look at some of the electrical analogies that are
available.
Concentrate on the methods to deal with the problem. Yes, it may involve
solving a set of state equations and using the result to solve another set
(linear or otherwise set of simultaneous equations, and iterating. This is
very similar to consideration of power system stability analysis. Both parts
can be handled well by APL but possibly even better by J.
{example a load flow program can be written in APL as less than 20-25
lines - of which the core calculations take 5 -8 lines- the rest is
comment or iteration control. J can shave this a bit and can inherently
make use of sparse matrices).
Don Kelly
cross out to reply