Convergence failed
Hi Please find an issue on circuit with message convergence failed
https://www.falstad.com/circuit/circuitjs.html?ctz=CQAgjCAMB0l3BWK0CcAWAHAdiwZgRrgGz4YIBMRIaaISCkdApgLRhgBQutAWkwHZMATgB0Azrmi5xANSjhoWMGnzkMYFGrDxyrLPPIgiUqBwBeIVZeKWKIcuVq4QfQaIlTZHAOa3DuGytiDHlIDgB3OjVwTWpMGMMwoSiQ8ixDIkd7dPlteCS-Iyc7B1pGMAYOADcQLCIQgKo61IQqRkY0crBoBCR25AQIwsbLDCcbMMi0-0C7EcnsjOKl006IClTIEMzaci3wEAxxCvE2BGP8uHFjbjBCe4xyAIRcLHEEaDQsOFwMSE0sCgwPgiEQLvkoOI9uDLvBwOICjRtrQkQl5F84EMdvZ9tjpqYpjkRhoZm0OGAsCj4iTqEQnHsDnk4MgiHcQgAlJhiACWYgALgBDfgAYyYQ1RI0wjHmQwQYFJRiJEyGVjpcWRpgpISwYyKtV1yloVAgMESsGIFMgmTSuDU5AoKGQkCQTLhMEghjyToqTud4CGOqNtAwKCoaoWRByNPS5ViCzlK2x4fFf3srWoqZlkQT1ioUtzBJS9iyG0WhdLpVGuyyYQAJorPbFIytDLWmAAzAUAVwANnysTk1TG9WEajTibFDaFqOVUG1Qj0OPWaVOaWrWx3u33xfFbR1d8rIs001R1FR7WTImeCyGqDKAA6HMDn9PXkbOdocR-49dKu+hDg9n0W89RAik8xAABlAB7IQ+W5JhxAAFQASQAWSGECRhAi9C2PbDnwLBZAz1LA7GTPkjCyPZthyGj5DYZBlEcYhIHwVpn1aR4QBYchoHIDQKCtf4yMgOoiBdZk207Xt+2SJMjWo-ZpXgLEsjVZsRwDOwpzIxtEgDepwBoWojPoiM6PUv9C00kZ8MPQpK1+asyh3BpAl1B8qxPbz3wAyI0HXdN81whZUTVHNk0JFY11cx8c1wnM-M-bNohpBL0wKY96OyzLwDCZ9DGHIcGSnDcZL7FgeyYZdp3dThkmHXTSrjfLMSPBkh3I1yjx02ImrjDhoPkcMZxQR1tCdPp7HkZwzAEYQhroEdwHwCkkAZd0XRmpBcCW9gVs6cacV9SBBNweUNpmg7nAAeS7PlxGFaCAFt7yWlYOn+Cb2lgeAUDqVp7UsGb-BAABRfg+SEJhELEAUe25F6uBCJAADETVyJBGJkaC+wFbwxV+bIQAx6dlB4iBcfxwmOCAA
? I tried it and I don't get a "Convergence failed" message...
Please try again with this link. I try on both Edge and chrome and same message [image: image.png]
https://www.falstad.com/circuit/circuitjs.html?ctz=CQAgjCAMB0l3BWc0AsBmAnGLA2SGEwUMAODNEFFEJBSGgUwFowwAoNagLQYDsGATgB0AzmmhpRANSjIA7ETQIATCWyqw8ZczmzlIHBKhsAXiCX60aHOZUhly6hR79hYidLYBzW5eu-zHBJZSDYAdxpVcAx9KmD1YwFI4OU5fRxHezTZTXhQpIsDJzsHanowOjYANxA5IPN-OpSEG3p6FHpDCjaoaARwgKsbNBInf1CI1L9huyHjSeycYvSytg6IFRTIYIzqZW3wEBJRCtEWBBO8uFEunDBRnBxrOTo0IlE5PpIMhAIMFDkJBaKGOIly8Cgon2lyueXAonylBBRSR8RisgBcAGu3sBxxU3mWWm0WJoTAcmocRJlCW5n2h3BbWgeDIsKuEAASgwRABLEQAFwAhrwAMYMAZUuYg+hzCY0MDEnDZWUDQq0qm0smA2qjFGA6hEag2CAwfQwRAIFBgEYICmODAYDLBc1IRlwXqQfS5D0VD2QJBy-Uosg2TXY7IJNLldFywgrAyZMMRaX2FqUEgy8YDOMNGwplURTb2TJFgmxqKlcy6yuhAAmBgj6KV8f0tYYADNBQBXAA2-PD8ajKNCNQScwShpClHKYGgGCnMH69YnVGptNbHe7fYlyLQ9MlWYiTVTNjUNmUablZ9zR0dN9CAAcjmBz2nr3NusYnwT18r-J-Qn2XQQ2DO9yTzEAAGUAHsBH5HkGFEAAVABJABZAYQLmECL1aAZj2wl973w3VaReeNQn5BM9jxbJ9mdEAWAMWBIEeBA6ApR0cBaCAmBgR4SGUTgljgLiEBIChvTbTte37JIcVpfEDhleBsUTI1FlWI87EncjqUDepdPqejCWbYsNNJAcbwIw8AkrEY9kyOUD2GXUVSfByTyrMZhhCCV1zTFNcMJDVqBzJMiRRBIwyfHNgpzD8-MLKIEjiy82CSY8TKyy9wDJDJanpMj6UnDcZL7JgewYZcF1gdhMpK1chwScpVKPIrqD0iK9MjEqYzYaDZE1acHTyj0A3sWQKBMPhBAGmhh3AJRySQekXUOfQkDQebWEWjpRrWljIGwBA3gvSavQgCgAHku35UQRWggBbB95ookb500P1RLqFpzoofRLBAABRXh+QEBhEJEQUex5J6OGCJAADETRyJAmKkaC+0FLxxRGLIQBRqciEYiBMex3G2CAA
Le mer. 20 nov. 2024 à 19:55, Paul Falstad @.***> a écrit :
? I tried it and I don't get a "Convergence failed" message...
— Reply to this email directly, view it on GitHub https://github.com/pfalstad/circuitjs1/issues/124#issuecomment-2489326536, or unsubscribe https://github.com/notifications/unsubscribe-auth/BNC63NK7YF77COHQ24S3OB32BTLJJAVCNFSM6AAAAABSEW5TP2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOBZGMZDMNJTGY . You are receiving this because you authored the thread.Message ID: @.***>
I see the Convergence failed! message in the bottom left and the simulation is unable to run:
(Using either link)
And did you find the reason? Is it a bug or a problem in the circuit ?
Le ven. 6 déc. 2024 à 21:21, Martin @.***> a écrit :
I see the Convergence failed! message in the bottom left and the simulation is unable to run:
image.png (view on web) https://github.com/user-attachments/assets/3d8d817b-b992-4e4e-be71-82c3625765d3
— Reply to this email directly, view it on GitHub https://github.com/pfalstad/circuitjs1/issues/124#issuecomment-2524087798, or unsubscribe https://github.com/notifications/unsubscribe-auth/BNC63NNLZLSBKKJ4EFL5F532EIBL7AVCNFSM6AAAAABSEW5TP2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMRUGA4DONZZHA . You are receiving this because you authored the thread.Message ID: @.***>
Ok I see it on windows.
I put a delay buffer after the comparator and that seems to fix it. I'm still not sure if the circuit is working properly though.
https://tinyurl.com/29pzewaw
The comparator in this simulator is infinitely fast which is not very realistic and can cause convergence issues.