-
Notifications
You must be signed in to change notification settings - Fork 300
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature Request: Loss free resistor #132
Comments
You filed an issue about this already: sharpie7#555 I used a VCCS to model it: https://tinyurl.com/yanxq2z5 |
My bad, I thought I did, but forgot there were two forks when I didn't find it. |
I still think it deserves a place in the index with a little blurb though, it's educational. |
|
I think so. The capacitor stores all the energy that was drained from the source. |
And how do you tune the "resistance"? |
The output function of each controlled source includes a 1000 in the formula.. Change this to the resistance you want |
I'm trying to make the resistance adjustable, but I just get a singularity error. https://tinyurl.com/2alykrwt Is this a problem with the implementation or my circuit? |
replace c with max(c, 1) in the first controlled source and replace e with max(e, 1) in the second. The problem is that c/e are zero in the first iteration, so the current is infinite. |
It looks like you're trying to use the energy in the cap for something, which won't work with a VCVS output. This works better: |
https://en.wikipedia.org/wiki/Loss_free_resistor
Loss free resistors are a type of resistor that feed power back into their source instead of dissipating it as heat. An example circuit and internals would also be nice to have.
The text was updated successfully, but these errors were encountered: