phetsims / circuit-construction-kit-common

"Circuit Construction Kit: Basics" is an educational simulation in HTML5, by PhET Interactive Simulations.
GNU General Public License v3.0
10 stars 10 forks source link

Add a fuse #463

Closed oliver-phet closed 5 years ago

oliver-phet commented 7 years ago

Is there any way you can incorporate adjustable amperage fuses in this trainer?

arouinfar commented 7 years ago

@oliver-phet we haven't (yet) discussed the inclusion of fuses, but I can look into the possibility. Self-assigning for further investigation.

ariel-phet commented 7 years ago

I would say a fuse seems like a reasonable item to add, and should be fairly easy to program...it basically has two states, either more or less a no resistance wire, or a broken connection, and it would merely break as a result of current exceeding a particular value. Seems like it would be a valuable addition for people teaching circuits and the learning goals taught in basic physics classes.

arouinfar commented 7 years ago

Combining the requests for a fuse into one issue.

From #21

I am a Professor at Conestoga College in Guelph, Ontario and currently teach Electrical/Electronics in our Truck and Coach programs. I wonder if you can tell me if you are looking at all at the following:

  1. Meter activities using a DMM
  2. Circuit simulations similar to a vehicle electrical system (ie starting circuit, lighting circuits (LED) etc)
  3. Adding more components to the simulator such as a fuse(very important) and perhaps a motor(DC,stepper etc) or something that can be customised for larger circuits
  4. ​Electronics components to simulate circuits such as 555 timer, regulators, diodes and rectifiers etc.
arouinfar commented 7 years ago

I agree @ariel-phet -- I think a fuse would be a worth-while addition.

arouinfar commented 7 years ago

A fuse was also requested in #3

I use Phet once in a while in my classroom and I was wondering if there is any way to add more components to the DC circuits. I am in automotive/Truck and Coach and would like different applications such as a fuse or circuit breaker, fans and different types of switches. Is this within the capabilities of the programmers or is this locked down to what we see is what we get? On the plus side, great simulators for showing basic circuit faults.

arouinfar commented 7 years ago

Discussed in 3/9/17 design meeting.

Flow:

In lifelike mode: image

In schematic mode: image

arouinfar commented 7 years ago

@samreid estimates 25 development hours + extra time for discussion, qa, etc.

samreid commented 5 years ago

I moved this to the "common" directory since the work will be done in this repository.

samreid commented 5 years ago

@arouinfar should we add a slot to the carousels so the fuse can be on the first page?

arouinfar commented 5 years ago

For some added context, @kathy-phet emailed:

Can you two [SR & AR] connect on Thursday to discuss the "fuse" component?

We previously discussed having the fuse about the size of the switch, and being able to set its breakpoint (in Amps) with a slider. Then if current exceeds, it has some animated pop and shows a broken wire image inside. And some sort of "Reset Fuse" button pops up somewhere next to the fuse?

I would like to be able to share a dev version of this capability for a perspective partner to try out by the end of April, so perhaps next week Sam could take some time from wave interference to see if he can implement this feature?

@samreid I think the fuse is a bit advanced, so I would put it in the 2nd slot of the 2nd page of the carousel. For screens without a carousel (RLC & Lab on CCK: AC), I would add the fuse just above the switch.

Here's a quick mockup of the fuse, showing increasing current ratings. image

When the current exceeds the tolerance, the fuse could looks something like this image

Here's some mockups of the edit menu. Users can set the current rating (range and default TBD), and when the fuse blows the reset button will become active and the slider will be inactive. image

kathy-phet commented 5 years ago

I like it overall. I think we would need to make something that was a transitional animation - spark or something - to help students really focus in on the fuse being blown.

arouinfar commented 5 years ago

@kathy-phet I took a stab at the animation. Is this in line with what you were envisioning?

fuse

kathy-phet commented 5 years ago

Thanks, Amy! Yes, that is generally matching what I was thinking. Seems like it would draw student attention.

samreid commented 5 years ago

Looks great! I'm wondering if it should be accompanied by a sound effect? Or will it be too odd if the sim only has sonification for 1 thing?

kathy-phet commented 5 years ago

I agree a sound would be nice. I think this will be sonified at some point, so perhaps hold off. @emily-phet - What do you think re sound for this one thing now or hold off?

samreid commented 5 years ago

I created a new issue for dealing with animation for tripping the fuse.

samreid commented 5 years ago

I committed an initial draft of the fuse. It has a fixed max current and cannot be reset, but I'll address that in a new issue.

samreid commented 5 years ago

I also opened an issue to discuss fuse sonification.

samreid commented 5 years ago

I split out the remaining work into other issues. @arouinfar please let me know if I missed anything. Putting this issue on hold until sub-issues are closed.

arouinfar commented 5 years ago

I split out the remaining work into other issues. @arouinfar please let me know if I missed anything.

Looks good to me @samreid!

samreid commented 5 years ago

Let's close this issue and follow-up in https://github.com/phetsims/circuit-construction-kit-common/issues/500 and its child issues.

jingis2020 commented 5 years ago

good day every one i need a guide on how to add additional wire (black wire) in html5 DC circuit simulator it will be great if some one help me out thanks and best regard hope to have a positive answer