How to have variable load?

I am trying to simulate a autonomous inverter with varying load. I would like to have a load which changes after say 2 sec of simulation. Can someone give hints about this?

You can use a switch with a gatling block to change the load at a specific time, as is shown in the image.

image