Would you like to react to this message? Create an account in a few clicks or log in to continue.

You are not connected. Please login or register

Simulation Speed Very Slow After Adding a Few Components

2 posters

Go down  Message [Page 1 of 1]

KerimF

KerimF

SimulIDE_1.0.1-R1374_Win32

The attached schematic, "test_3a.sim1", is updated from "test_2b.sim1" by adding a triac driver.
And the code, test_3a.asm, is a copy of the previous one, "test_2b.asm".

In vain, I couldn’t find out the reason for which the speed had to slow down that much to simulate the updated circuit.

Thank you.
Attachments
Simulation Speed Very Slow After Adding a Few Components Attachmenttest_03a_ATmega8.zip
You don't have permission to download attachments.
(44 Kb) Downloaded 2 times

arcachofo

arcachofo

In vain, I couldn’t find out the reason for which the speed had to slow down that much to simulate the updated circuit.
Set Auto step to 0 for all capacitors.
I think you don't need it.

KerimF

KerimF

arcachofo wrote:
In vain, I couldn’t find out the reason for which the speed had to slow down that much to simulate the updated circuit.
Set Auto step to 0 for all capacitors.
I think you don't need it.

Thank you, it works.

arcachofo

arcachofo

Also depending on what do you need to simulate you might want to change some other parameters.

For example the wave generator:
When you really need precision use "Quality" = 1000 steps for a smooth wave with many small steps.

But if you want a faster simulation to interact with the circuit like you would do in real life, maybe you don't really need that precision and "Quality" = 100 may work the same and is potentially 10x faster.

Also it depends in what you need to simulate, if you want to simulate some firmware maybe you don't need the complete analog circuit.
You could use a simplified version of the circuit to simulate the firmware and when it is working as expected then add other parts of the circuit.

KerimF

KerimF

arcachofo wrote:Also depending on what do you need to simulate you might want to change some other parameters.

For example the wave generator:
When you really need precision use "Quality" = 1000 steps for a smooth wave with many small steps.

But if you want a faster simulation to interact with the circuit like you would do in real life, maybe you don't really need that precision and "Quality" = 100 may work the same and is potentially 10x faster.

Also it depends in what you need to simulate, if you want to simulate some firmware maybe you don't need the complete analog circuit.
You could use a simplified version of the circuit to simulate the firmware and when it is working as expected then add other parts of the circuit.

Useful hints, thank you.

Sponsored content



Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum