circuitjs1 icon indicating copy to clipboard operation
circuitjs1 copied to clipboard

DPDT Switches configured in a Parallel Setup Results in "Singular Matrix!" Error

Open michaelgotanco-web opened this issue 1 month ago • 4 comments

I'm not sure if it is a known bug, but this is the first time I've used this online applet, which I discovered by chance. I think I could better explain clearly with the link below.

In summary, I configured four DPDT switches in a 3-way setup. Each half of the 3-way setup is configured to turn on its respective load, while the other half is configured both as a 3-way and connected in parallel to a common load. When either one of the switches is turned ON, the common load remains continuously ON. Common load is OFF only when both switches are off (i.e., it's in an OR switch setup).

The problem now is that when both switches for each separate load are ON, the circuit stops with a "Singular Matrix!" error displayed. That is, the switch connected in parallel seems to elicit a "complaint" from the simulator.

This is a circuit I'd want to show hopefully for the client to play around with, for him to see how the switches to be installed would behave. In this case, I'm afraid I won't be able to show this to him, though.

Appreciate any feedback. Thank you very much, and you have a very useful app for short-term occasional users like me.

Mike G.

========

https://www.falstad.com/circuit/circuitjs.html?ctz=CQAgjCAMB0l3BWEAmAbNBBOBrUOZKgMxgIJEgDsALCEgpHQKYC0YYAUNcpuJaiFS1klZINqMIAMwCGAGwDOTFFx4giADlrsxIsTqiHZi5clW8w-FNUZ7rjSSGNKV3XpuEaNKUSi+HGZ1MOAHc+AWR-SwibKA4wDQgEMDEhOhTwSMM0aiIMSGTMMEhkdkgNSjoUAihYCBhITgSkjMjvZLEifEMiOFgGSFEE5B4iXCqRhzraxo4ABxBqNOjFtORYiggt+B2OAHN0-SyO8GoJdX3V4Vil4Rwey5OusSetB+a6VEkrHFtY2yEeQYuEoGlQKX4vCQkxm9TqoSu4U+3wEkARv3siPWDgRtyRHiRaLCBIMJKsRPUbxWBOxcQWbAEBgZmM24HAO3gl2ZtO5vkYRHmizAAjS1GFmW8rO2HLRBzFjKy8tO5wFxLeovFaQpSrSJy1gqVbSFAme6jZ0o5lyVputb35CJp-kN-gpJyNzu8aIASiA2FYmSsVo4vuoMg5aggEcyA-6wwiVstY2IKdGMoG42F0-orLS0UA

Let me know if you need more info.

michaelgotanco-web avatar Nov 09 '25 05:11 michaelgotanco-web

Yes, the simulator doesn't like wire loops. If you insert a resistance somewhere to break the loop, it will fix it.

pfalstad avatar Nov 09 '25 06:11 pfalstad

Thanks a lot for that. Will do then. Appreciate it.

Edit: Done.

bit.ly/3LB5RfA

michaelgotanco-web avatar Nov 09 '25 16:11 michaelgotanco-web

https://tinyurl.com/2xhpmd2k

deo9001 avatar Nov 26 '25 13:11 deo9001

Thank you, but I have already SOlVeD IT myself as per Falstad's suggestions.

bit.ly/3LB5RfA

On Wed, Nov 26, 2025 at 9:42 PM deo9001 @.***> wrote:

deo9001 left a comment (sharpie7/circuitjs1#1025) https://github.com/sharpie7/circuitjs1/issues/1025#issuecomment-3581384172

https://tinyurl.com/2xhpmd2k

— Reply to this email directly, view it on GitHub https://github.com/sharpie7/circuitjs1/issues/1025#issuecomment-3581384172, or unsubscribe https://github.com/notifications/unsubscribe-auth/BZ5EZJFWBSU4BQKMXZK2IU336WU4VAVCNFSM6AAAAACLR7NQUKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTKOBRGM4DIMJXGI . You are receiving this because you authored the thread.Message ID: @.***>

-- Rgds,

Mike G.

michaelgotanco-web avatar Nov 26 '25 16:11 michaelgotanco-web