Please take a minute to review and accept our Terms of Use.
Welcome to the PLECS User Forum, where you can ask questions and receive answers from other members of the community.

Many technical questions regarding PLECS are answered on the Technical Solutions page of our website. Tutorial videos, specific application examples, and pre-recorded webinars are available on our YouTube page. Please follow us on LinkedIn for the latest Plexim news.

SR Flip Flop Error - Input signal 2 has not been initialized

0 votes
649 views
Hello,

I'm trying to simulate a dc/dc converter + a control part for it, but I encounter an error on the SR Flip Flop block: Input signal 2 has not been initialized.

Can anyone suggest to me how I can solve this problem with SR Flip Flop?

Attached is the PLECS Standalone (4.1.2) file associated with the simulation.

Thanks.
asked Jan 29, 2022 by Andrew (22 points)

1 Answer

0 votes
Sorry I don't have 4.1.2 installed. With the current version I don't get this error. However, the integrator generates an infinite loop, which you should fix anyway by using the state port output of the integrator.

Maybe you can adapt the Peak Current Controller in Control->Modulation->Peak Current Controller for one cycle control.
answered Jan 31, 2022 by Falk Kyburz (253 points)
How can I solve the problem using the state port output of the integrator?
Can you post an image/plecs file with a possible implemented solution that works?

Thanks.
...