aesim-tech / simba-project

Roadmap & issue tracking
7 stars 0 forks source link

Deadtime module misbehavior #310

Closed physicboy closed 1 year ago

physicboy commented 1 year ago

Simulation file is sent via email to manu.

The issue occurs when fixed step solver is used

image image

manu-aesim commented 1 year ago

Hi Arief,

This one was interesting! The problem was due to the diode switching interpolation algorithm. The internal variables of the dead-time devices storing the next events were being interpolated, causing this odd behavior.

I simply disabled this interpolation algorithm for these variables and this seems to have solved the problem.

image

You can try it out in this beta release: https://aesimtech.s3.amazonaws.com/artifacts/Op5LCY2LH7D5etB87nASRPXSmuLnOh9C/simba.exe

Let me know if this works. I will close the issue for now.

Thanks, Manu.