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

How to measure voltage and current in pyspice #252

Open
huszing opened this issue Aug 24, 2020 · 1 comment
Open

How to measure voltage and current in pyspice #252

huszing opened this issue Aug 24, 2020 · 1 comment

Comments

@huszing
Copy link

huszing commented Aug 24, 2020

hi,everybody!

I've built a memristor model in Pspice,The model can run .I wanted it to run in pyspice, but there was an error.

In PSpice, the following statement is OK :
Emem plus aux value={-I(Emem)V(x)(1000-10)}

But in pyspice,An error occurred.

NameError: name 'V' is not defined

The reason is that V (x) and I (EMEM) have problems.How can I solve this problem?

Thank you very much!

Environment (windows10, Python 3.2, PySpice 1.4.3, NGspice)

Expected Behaviour

Actual Behaviour

Steps to reproduce the behaviour

@huszing
Copy link
Author

huszing commented Aug 28, 2020

thanks

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

2 participants