-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SpiceSharp.Algebra.SingularException : The matrix was found to be singular when eliminating row 3. #58
Comments
I can already venture a guess here. In the first iteration, v(OUT) = 0, so this means that the resistor has i = V(OUT)^2 with 0 for all derivatives, which makes the matrix singular. So the question is then, how can we fix this... Maybe I should make some minimum (GMIN) value for derivatives to make sure that a behavioral component always produces something... |
Looks like that. Following test passed:
|
Hey Marcin, does LTSpice generate some kind of warning messages (like adding a GMIN resistor to ground somehwere)? EDIT: Reason I ask is because depending on the situation, this might be an issue for Spice# and not Spice#.Behavioral... |
It's little funny but there was some error in the SPICE Error log: However it was only about using of curly braces.
doesn't generate any warnings. |
Could you please check why there is the exception: "SpiceSharp.Algebra.SingularException : The matrix was found to be singular when eliminating row 3." for circuit:
The circuit works in LTSpice:
The text was updated successfully, but these errors were encountered: