开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育

Re: Where did the current go?


 

Hi John,

This is a PSUD2 problem rather than a mismatch in setups. Kirchoffs first law is quite clear, the currents going into a node should equal the currents coming out.

To speed up and simplify simulations, PSUD2 breaks Kirchoff's laws and, as such, has been broken as designed for over 20 years. Most of the time it's reasonably close, and can get away with it but there are times when something comes up that diverges to a really whacky result. Wasn't really expecting it on such as simple example as the one you've illustrated.

For your example above, all three currents should be identical at all times. Therefore, the mean/min/max should all be the same too.

The problem stems from the way PSUD2 tries to balance the network of components, so it's not fixable without a total rewrite, which is why I started on PSUD3. This uses a matrix solver which is similar to the SPICE family and will respect both of Mr Kirchoff's pearls of wisdom.

Unfortunately PSUD3 has taken a pause right now, I recently put out a beta to a half dozen participants to try it out. It needs more work in the way the user interface operates, and was messing up their installations in some instances which isn't acceptable. I'll get more time to work on it during the Christmas break so should be able to incorporate their feedback and introduce it to a wider audience. Will post on here when it's good to go.

Regards,
Duncan

Join [email protected] to automatically receive all group messages.