A system that checks the operation of buck boost power optimizers in a photovoltaic system with the possibility of reducing the power of a given panel supplying the battery in a DC/DC system

Good morning,
I need help creating a control system that tests the effectiveness of power optimizers. I’m attaching a file with an attempt to create a system based on the plecs demo. I need to create a control system for it.
Thank for help

power optimizer test 2.plecs (133.5 KB)