hello, how can I use plecs to analysis some circuits’ or compents’ Impedance curve?
Just like the circuit attached.
zukang.plecs (12.3 KB)
hello, how can I use plecs to analysis some circuits’ or compents’ Impedance curve?
Just like the circuit attached.
zukang.plecs (12.3 KB)
Does the attached model do what you intend?
zukang_plexim.plecs (9.29 KB)
Hi Kris, thank you for your model.
However, is it possible to analyse the impedance module and phase (as ratio between voltage response and current perturbation) and not only the voltage?
This can be useful for EIS analysis simulations in battery systems.
Moreover, is it possible to switch between Bode to Nyquist plot? Or is there a way to “transfer” AC sweep data to XY plot?
Thanks
> However, is it possible to analyse the impedance…
See the attached model. The key is to set the Show reference input of the Response block to on. An excerpt of the Response Blocks documentation is below.
> Moreover, is it possible to switch between Bode to Nyquist plot? Or is there a way to “transfer” AC sweep data to XY plot?
This is only possible through simulation scripts. You can generate the plots using PLECS Standalone scripting, as shown in the attached example, or an RPC interface to use an external tool for plotting such as Python. You can acces the simulation script from the Simulation + Simulation scripts… drop down.
zukang_plexim_bl.plecs (9.99 KB)
Dear Bryan,
thank you very much for your answer. Everything’s clear.
However, when I try to run the script, an error regarding “gnuplot” appears.
"Error in script “Script”, line 35: you must have gnuplot installed to display graphics; if you have gnuplot installed in a non-standard location, see the “gnuplot_library” function.
What should I do?
Plecs version 4.2.6 64bit build 24174
Octave version 3.0.5
Thanks
Nikilito,
I should have mentioned that the ability to generate graphical output via Octave was introduced in PLECS 4.4. That release, and future releases, also include the Octave Signal and Control toolboxes.
If you do not have a more up to date PLECS license then you will have to generate these plots using an external scripting tool.
Thanks,
Great news!
Thank you for the answer!