- Tutorials >
- Getting started with SIMBA
- Creating subcircuits and custom libraries
- Modeling a system in electrical and mechanical domain
- Stop at steady state
- AC Sweep analysis
- Parameter Sweep analysis
- Using the C-Code block
- Using the "C code (external file)" block for debugging purpose
- Using the Controlled PWM Generator model
- Using the Thermal modeling of power switches
- Import thermal library file (xml)
- Modeling coupled inductors
- Using the Python module
- Jupyter Notebook
- Basic >
- PS and Drives >
- Python >
Parameter Sweep analysis
This tutorial covers Simba's parameter sweep feature.
This feature can help you to:
- Perform parameter sweep on any circuit
- Optimize a design
How to configure a testbench for parameter sweep?
To describe this feature, the example of a Buck Converter is considered. Here we will create a test bench for parameter sweep in the Buck Converter_parameter sweep circuit.
Step 1: For the first step, identify the element for which the parameter should be swept.
Step 2: Then access the test bench window from the "Test Bench" tab.
Step 3: Add a new test bench by clicking on the 'plus' sign and then on 'Parameter Sweep' to create a Parameter Sweep test bench.
Step 4: Once it is created, select from the "Design" menu the model in which the parameter sweep is to be performed.
Step 5: In the "Device" menu, select the device for which the parameter should be swept. In this case, it is the L1 inductor.
Step 6: In the 'Parameter' menu, select the type of parameter to sweep. It can be the value or the initial value. In this case, the value is selected.
Step 7: In the last step, the range of values must be entered using the 'From' and 'To' options. The accuracy of the sweep is configured with the "Number of points" menu. In this case, the value of L1 is scanned from 0.001H to 0.005H with a step of 0.001H, so, here the 'Number of points' will be 5.
Step 8: Finally, run your simulation and check your results in the 'Results' tab.
This concludes the creation of the parameter sweep circuit as well as the configuration of its testbench.