How to perform a simulation with block sweep of variables, i.e. they vary at the same
time. Here we present an example of a transient simulation in which different signal files
are used in the AWG-VS block with associated input power.
The basic steps to perform a block sweep of variables are:
In the Applications window, click on Simulations_example1 >
Sim2_Transient and drag and drop the VAR block from the
palette window in Simulation controls section to the
schematic window. Double-click on the VAR block to open the
Parameters window. We will set up two variables: the first one will
be used to sweep the signal file "fileIN" and the second the power of the input
signal "Pin_dBm". The syntax is as follows:
Double-click on the AWG-VS block to open the Parameters window,
write "Pin_dBm" in the Amplitude parameter and "fileIN" in the Signal
file parameter.
Double-click on the SIMCTRLR block to open the Parameters window,
change the simulation name to "sim1_HPA_UHF_block_sweep" and choose Sweep
analysis - block sweep as Analysis type.
Figure: Sweep analysis - block sweep
The model can now be simulated. In the menu bar of the workspace window, click
on Simulate>Run simulation or on the shortcut . The output console is displayed:
The console window contains the
simulation time, the simulation mode, the repertory of the results, and also any
warnings and errors encountered during the simulation.
When closing the console window, simulation results appear in the application
tree in the folder named after the simulation "sim1_HPA_U_HF_block_sweep". In
Workspace window, the Log shows console information. Click on
Output graphs tab to access the measurements provided by the
probes.