Add Chua circuit examples, alpha-transform dynamics, and core WDF extensions#5
Add Chua circuit examples, alpha-transform dynamics, and core WDF extensions#5frantic0 wants to merge 7 commits intogusanthon:mainfrom
Conversation
… circuit impedance/conductance calculation
|
Hi @frantic0 Thanks a lot for your contribution. Unfortunately, I am very busy these days. Hopefully we can give you some feedback soon. |
|
Thanks so much for the reply @xaviliz, and no worries at all, I completely understand how busy the end of a course can be (it’s a hectic time on my side too!). I really appreciate you taking the time to look at this. I also wanted to say how much I enjoy pywdf, it’s a fantastic project and a great resource for exploring WDFs in practice. Happy to make any changes or adjustments once you’ve had a chance to review. |
|
Hey @frantic0 , thanks so much for the contribution this is great work! Just added a few minor comments but otherwise looks great! |
|
Hi @gusanthon @xaviliz, I hope you’re both enjoying a good seasonal break. Just checking in on the state of the PR, I’m very happy to make any changes you’d like before it’s ready to merge. Do let me know, please. |
This pull request adds support for simulating the Chua circuit in
pywdfand introduces a small set of extensions to the core WDF API, along with new examples and documentation updates.Core API changes (
pywdf/core/wdf.py)ChuaDiode, a nonlinear negative-resistance element implementing a piecewise-linear I–V characteristic.SeriesVoltage, a two-port series adaptor with an embedded resistive voltage source for injecting voltage impulses (used to excite the Chua circuit, but reusable in other circuits).CapacitorandInductor), with parameters for selecting between bilinear (Tustin) and backward-Euler behaviour and exploring different stability/accuracy trade-offs.New examples
SeriesVoltageadaptor.resistor,resistor_series,resistor_parallel,inductor, andcapacitor.Documentation
README.mdto the Meerkötter & Scholz paper describing the digital simulation of nonlinear circuits by WDF principles.Testing