You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Originally posted by MaxRonce June 19, 2024
Hello, could I have an example of how to use the simulation.noise function with PySpice? All the online documentation I found isn't very helpful, and I couldn't figure out how to use this function properly.
I need to simulate a simple RLC circuit (see below).
I want to perform a noise analysis on this circuit. I've tried to use the transient analysis and measure impedance using PySpice simulation: everything works well.
However, when I try to use the .noise simulation, I can't get it to work properly.
Traceback (most recent call last):
File "XX\PLASMAG\src\model\strategies\strategy_lib\SPICE.py", line 384, in <module>
analysis = simulator.noise(
File "XX\PLASMAG\lib\site-packages\PySpice\Spice\Simulation.py", line 1176, in noise
return self._run('noise', *args, **kwargs)
File "XX\lib\site-packages\PySpice\Spice\NgSpice\Simulation.py", line 118, in _run
self._ngspice_shared.run()
File "XX\lib\site-packages\PySpice\Spice\NgSpice\Shared.py", line 1168, in run
self.exec_command(command)
File "XX\lib\site-packages\PySpice\Spice\NgSpice\Shared.py", line 842, in exec_command
raise NgSpiceCommandError("Command '{}' failed".format(command))
PySpice.Spice.NgSpice.Shared.NgSpiceCommandError: Command 'run' failed
I ran the same simulation in the LTSpice software after recreating the RLC circuit there, and the noise analysis works.
Could anyone help me fix this or provide a hint about how to use this function? I spent a lot of time without getting proper results.
The text was updated successfully, but these errors were encountered:
Discussed in #374
Originally posted by MaxRonce June 19, 2024
Hello, could I have an example of how to use the simulation.noise function with PySpice? All the online documentation I found isn't very helpful, and I couldn't figure out how to use this function properly.
I need to simulate a simple RLC circuit (see below).
I want to perform a noise analysis on this circuit. I've tried to use the transient analysis and measure impedance using PySpice simulation: everything works well.
However, when I try to use the .noise simulation, I can't get it to work properly.
error
I ran the same simulation in the LTSpice software after recreating the RLC circuit there, and the noise analysis works.
Could anyone help me fix this or provide a hint about how to use this function? I spent a lot of time without getting proper results.
The text was updated successfully, but these errors were encountered: