Comments (3)
I had a chance to take a look at the code.
Here is a possible issue, in that the check volts[N_OUT] > volts[N_VIN]/2
does not seem to take into account that the ground pin may be connected to something other than ground. It should probably become something like volts[N_OUT] > (volts[N_VIN]+groundVolts)/2
after moving the definition of groundVolts to the top of the method.
Same here, where the volts[N_CTL]/2
expression does not yield the expected value in case of a non-ground negative supply. (volts[N_CTL]+groundVolts)/2
should fix it, I think.
I cannot find anything else in that file, so perhaps fixing those two items would be enough?
from circuitjs1.
yes, I think that is right.
from circuitjs1.
Related Issues (20)
- Reset button does not really reset circuit HOT 1
- couple of questions to see if this is possible. HOT 5
- Supress "Can't load circuit list!"
- Decoupling capacitor causes error message: "Capacitor loop with no resistance!" HOT 2
- Feature- Latching Relays
- Ctrl + 2 fingers click = 2 fingers click = context menu in the way on Mac M1 HOT 2
- Zooming and panning doesn't work on mobile HOT 2
- interrupts on avr8js
- Ignoring timestep and running simulations without UI updates HOT 1
- I've discovered free energy!
- There is no quick undo ! HOT 2
- Apple Silicon (ARM) version ? HOT 4
- How to remove sub circuits from the Draw->Subcircuits menu
- Analog switch: Lack of input voltage settings in the Edit Component dialog
- low frame rate when speed is too high HOT 4
- Annoying unintentional drag of the drawn box or line
- BUG: Potentiometer wiper position change on file open (or on file save?)
- Feature Request: Plot charge in scope (useful for switched capacitors) - example provided
- The relay component switches to the intermediate state immediately giving incorrect results for some circuits.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from circuitjs1.