Skip to content
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

Insert Equation #83

Closed
jleitch2013 opened this issue Mar 14, 2022 · 5 comments
Closed

Insert Equation #83

jleitch2013 opened this issue Mar 14, 2022 · 5 comments
Assignees
Milestone

Comments

@jleitch2013
Copy link

Qucs- 0.0.23:

Using the Transient simulation and also inserting equations.

The simulation runs, however, the equation simulation does not seem to be sending the results of the equations to the data output for display.

@ra3xdh
Copy link
Owner

ra3xdh commented Mar 14, 2022

Please provide more details. I have tested equations before the releasing and didn't found problems. Also the equation may have the syntax incompatible with SPICE. What backend are using? If you are using Xyce the equations will not work, because the Xyce has no postprocessor.

@ianloic
Copy link

ianloic commented Mar 18, 2022

When I run the ngspice/Distortion.sch example with ngspice as the simulator the first diagram isn't displaying anything:
distortion

Also, when I go to add a new diagram the value K defined in the equation Eqn1 isn't available:
distortion-data

@ianloic
Copy link

ianloic commented Mar 18, 2022

Okay, and now playing around and reading the ngspice output I'm realizing that I was just using this wrong.

@ra3xdh ra3xdh added this to the 0.0.24 milestone Mar 18, 2022
@ra3xdh ra3xdh self-assigned this Mar 18, 2022
@ra3xdh
Copy link
Owner

ra3xdh commented Mar 18, 2022

It's becoming clearer now. It is not a bug. The gain calculation will not work with the distortion simulation. The equation in the example may mislead user and need to be corrected.

ra3xdh added a commit that referenced this issue Mar 20, 2022
ra3xdh added a commit that referenced this issue Mar 20, 2022
@ra3xdh
Copy link
Owner

ra3xdh commented Mar 20, 2022

Distortion example is fixed on the current branch by 0b30f80

@ra3xdh ra3xdh closed this as completed Mar 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants