Not very gamey, but does anyone have a link to a general-purpose algorithm
for solving arbitrary circuits? We've been using a simple Kirchoff Law
algorithm, but it only works for linear circuits (fixed resistance). We need
to be able to support diodes and bulbs that have resistance that varies with
voltage, and that's baffling me a bit. I've looked all over the place but
I'm having no luck, so I'd appreciate the help.
The circuits have no time element, so steady state only - no capacitors,
hysteresis effects etc.
Thanks
Danny
PS: I'm aware I only ever seem to post here with general algorithm questions
rather than specifically game-related ones. I'd be very happy to post them
somewhere else if someone wants to suggest a more appropriate list, but I've
always had more luck here than anywhere else.
|