LTSpice generates .raw output files, noramlly.
?
I am using PyLTSpice tp prepeare netlist before simulation. I am manually writing the netlist.
After simulation, I am gathering .raw files and reading info from them.
I also use PyLTSpice to directly run the simulation after the netlists are prepeared:
? ? ? ? t1?=?time.time()
? ? ? ??LTC.run(netlist=netlist_filename)
? ? ? ??LTC.wait_completion()
? ? ? ??print(f"{t1?-?time.time()}?- Simrun")
LTC.run runs the simulator and LTC.wait_completion() waits for .raw generation to finish. Afterwards i can read these files for my desired outputs.
The runtime of these 2 functions are approximately 1 second, which is way too much for my purposes.
I feel like normal LTSpice simulation takes about the same time, though, as I mentioned, it is harder to measure