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

Cant define diode #73

Open
sakibmohammad opened this issue Feb 10, 2020 · 1 comment
Open

Cant define diode #73

sakibmohammad opened this issue Feb 10, 2020 · 1 comment

Comments

@sakibmohammad
Copy link

Hi,

I am making a solar cell model in ahkab. So, I need to insert a diode which I am having trouble with. This is my code:
image

Can someone please tell me what I am doing wrong?

Thanks.
Sakib Mohammad

@nazish-qamar
Copy link

Hi.
you need to first define your 'diode_1' model as below:
solar_cell.add_model("diode", "diode_1", {} )

You can refer the documentation of add_model for more details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants