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.
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.
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?