JoeyDelp / JoSIM

Superconductor Circuit Simulator
MIT License
73 stars 33 forks source link

add nonlinear inductor #88

Open serpagano opened 1 year ago

serpagano commented 1 year ago

Hi Joey

many thanks for your fantastic JoSIM. I am using it to simulate JTWPA. It would be very nice to have the possibility to simulate nonlinear inductors of the type L(I) = Lo (1 + a I^2), to include kinetic inductance effects. Do you think it is feasible?

many thanks

Sergio

JoeyDelp commented 1 year ago

Hi,

Thanks. Regarding the non-linear inductor, I suppose it is possible to implement this functionality. It will, however, have a rather large performance impact since the A matrix would need to be updated on every time step to accommodate the changing L value. This is already done when the JJ changes its non-linear resistance, though not at every time step.

Keeping track of the equation for each inductance value is another challenge since this would need to remain symbolic, being parsed into a value at each timestep, which also affects the throughput speed.

I will put it on my list of TODO things.

Joey