sharpie7 / circuitjs1

Electronic Circuit Simulator in the Browser
GNU General Public License v2.0
2.29k stars 633 forks source link

current profile #688

Closed JonasForssell closed 2 years ago

JonasForssell commented 2 years ago

Apologies if this feature already exist.

Is there a way to create a current source with a defined profile?

time(s), current(A) 0,0;0.1,100,10,100;100,0

etc...

JonasForssell commented 2 years ago

Correcting myself. I guess a CCCS or VCCS can be used with the Pwl function.

pfalstad commented 2 years ago

Yes, exactly.

https://tinyurl.com/yxmabln3