In simulating DC-DC Converters, the scenario that comes into mind is what happens to the output of the converter when the load suddenly changes. However, most of the design available simulated one fixed load. This simulation file allows user to dynamically change the load by varying the value of on/ off delay resistor. The on/off delay has been implemented using an ideal mosfet which act as a switch (relay is not available in Simcape Specialized Technology). They delay time can be set by configuring the delay block and the transient behavior can be seen in the scope (Load Voltage and Current). Furthermore, the reference voltage can be changed and PID can be tuned according to the desired response.
Scope screenshot added.
Create scripts with code, output, and formatted text in a single executable document.