sharpie7 / circuitjs1

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

Feature request: activated (blown) fuse simulation #444

Closed jamison-io closed 4 years ago

jamison-io commented 4 years ago

Is it possible to simulate failure modes such as a fuse blowing from too much current? If not, I would like to request that as a feature. I found one thread from 2016 that mentions it, but I do not believe anything came of it.

pfalstad commented 4 years ago

Yes, there's a fuse under "Passive Components"

jamison-io commented 4 years ago

Yes, I saw that, thank you. When I increased the amperage through it to a very high level, it didn’t blow. Are you saying that the simulation will show the fuse activated and the circuit will be interrupted at that point?

pfalstad commented 4 years ago

Yes. You may have to adjust the fuse parameters to match what fuse you are trying to model. How many amps are we talking about?

jamison-io commented 4 years ago

I see my mistake now - I was thinking an amperage source represented an amperage draw. I swapped it out for a lamp and blew the fuse!

mattehalen commented 2 years ago

How would I modify the parameters to replicate a 16A fuse or a 20A or a 63A? If I use Ohms low and calculate how big the resistance should be if I have 230V and 16A I get that the resistance should be 14,375ohm but If I but that in the fuse parameter it "blows" the fuse at around 4A. What do I do wrong?

pfalstad commented 2 years ago

The parameter you want to change is I2t. The simplest way to get that is to find the datasheet for the fuse you want to use, or google for a similar fuse.

I found this table: https://www.jameco.com/Jameco/Products/ProdDS/1711648.pdf

For a 15A/250V fuse they have resistance = 0.0049, i2t = 245. for 20A, they have 0.0033, 575.