This example shows how to use a variable generator model. The generator model has to be used together with a voltage source generator, which is in this example the grid model.