JoeyDelp / JoSIM

Superconductor Circuit Simulator
MIT License
73 stars 33 forks source link

Question about AREA of junction. #79

Closed Mengfei-Zhao closed 2 years ago

Mengfei-Zhao commented 2 years ago

Dear Joey,

Thank you for making josim. I don't quite understand what AREA means when using junction. Consider the following netlist statement.

.model jjmit jj(rtype=1, vg=2.8mV, cap=0.07pF, r0=160, rn=16, icrit=0.1mA)
B1 node1 node2 jjmit area=1.5

I know that AREA is a modifier of icrit, which means $Ic{jj}=area \cdot icrit$. But is AREA just a modifier of icrit? what about cap, r0 and rn? Is AREA still a modifier of cap, r0 and rn? That is to say $Cap{jj}=area \cdot cap, \quad r0{jj}=area \cdot r0{model}, \quad rn{jj}=area \cdot rn{model}$.

Thank you.

Best Regards

Mengfei Zhao

JoeyDelp commented 2 years ago

Hi Mengfei,

Area is purely a scalar value of that scales the model for the junction instance. Yes, it affects all those values.

Please see the model.cpp source file for a detailed view on what the area parameter alters.

Best regards, Joey

Mengfei-Zhao commented 2 years ago

image

JoeyDelp commented 2 years ago

Yes that is correct. My apologies, I meant to say jj.cpp, but was answering from my phone since I was AFK.

Mengfei-Zhao commented 2 years ago

Yes that is correct. My apologies, I meant to say jj.cpp, but was answering from my phone since I was AFK.

That's ok. Thank you very much. I suggest you can mention the detailed information about AREA in your Documentation.

JoeyDelp commented 2 years ago

Thank you for the suggestion, I will update the documentation accordingly