aesim-tech / simba-project

Roadmap & issue tracking
7 stars 0 forks source link

Controlled Current Source : error when using in the Dc Dc Buck Converter #339

Closed jcornau closed 11 months ago

jcornau commented 11 months ago

Describe the bug In some cases, the current of the Controlled Current Source is not following correctly the control input of the device. At some points, it is coming back to 0.

To Reproduce using the Dc Dc Buck Converter

  1. Open the Dc Dc Buck converter example model
  2. measure the current of the inductor with a probe and send it to a controlled current source
  3. Compare the scopes "in" and "currents" of the controlled current source --> the current waveform is not following the in waveform.

image

image

Expected behavior The Current waveform should follow the "in" scope.

SIMBA Version Version 23.08.23.0

manu-aesim commented 11 months ago

This bug was caused to an "iteration" delay between the power and control solvers. This bug is now fixed.

https://aesimtech.s3.us-east-1.amazonaws.com/artifacts/AeCrxoW3vjiMF3wakZNSLJSalO2bGwVO/simba.exe