Page tree
Skip to end of metadata
Go to start of metadata

When you have a linear simulation with sweeps, you can generate a MDIF data file to encapsulate the sweeps.   

For example, see the schematic below with a swept variable.

 

When creating an output file ( See help for output files) and using the NPORTF type, the dialog will show as below. 

Controls allow you to decide what to do with each sweep in the selected schematic.   For MDIF data, you would want the sweeps to use Plot all traces.  We recommend the File Type setting to be auto for most cases.  

When you view this file, you will see the MDIF parameter will be the variable values from the simulations.

! AWR Design Environment (8648) Thu Feb 23 08:47:20 2017
! Document = 'LPF'
! nPorts: 2, nXvals: 2

VAR L1 = 10
BEGIN ACDATA
# HZ S DB R 50
% F N11X N11Y N12X N12Y N21X N21Y N22X N22Y 
1e+009 -0.099191746 64.474118 -40.635912 154.35237 -40.635912 154.35237 -0.11560073 57.887945 
2e+009 -0.02271268 29.986727 -90.704257 118.61339 -90.704257 118.61339 -0.019067598 24.85271 
END

VAR L1 = 14
BEGIN ACDATA
# HZ S DB R 50
% F N11X N11Y N12X N12Y N21X N21Y N22X N22Y 
1e+009 -0.098599662 64.446862 -46.439495 152.6655 -46.439495 152.6655 -0.09568876 55.382194 
2e+009 -0.022712629 29.986715 -94.001959 118.58756 -94.001959 118.58756 -0.01901116 24.829786 
END

VAR L1 = 18
BEGIN ACDATA
# HZ S DB R 50
% F N11X N11Y N12X N12Y N21X N21Y N22X N22Y 
1e+009 -0.098451686 64.437424 -49.889504 152.08427 -49.889504 152.08427 -0.090170905 54.519609 
2e+009 -0.022712603 29.986708 -96.386467 118.57413 -96.386467 118.57413 -0.018982509 24.817869 
END

VAR L1 = 22
BEGIN ACDATA
# HZ S DB R 50
% F N11X N11Y N12X N12Y N21X N21Y N22X N22Y 
1e+009 -0.098387762 64.43264 -52.352487 151.79004 -52.352487 151.79004 -0.087639838 54.083077 
2e+009 -0.022712588 29.986704 -98.255378 118.56591 -98.255378 118.56591 -0.018965184 24.810566 
END

VAR L1 = 26
BEGIN ACDATA
# HZ S DB R 50
% F N11X N11Y N12X N12Y N21X N21Y N22X N22Y 
1e+009 -0.098352734 64.429748 -54.269253 151.61233 -54.269253 151.61233 -0.086196513 53.819465 
2e+009 -0.022712577 29.986702 -99.792502 118.56035 -99.792502 118.56035 -0.018953579 24.805632 
END

VAR L1 = 30
BEGIN ACDATA
# HZ S DB R 50
% F N11X N11Y N12X N12Y N21X N21Y N22X N22Y 
1e+009 -0.098330793 64.427812 -55.838605 151.49337 -55.838605 151.49337 -0.085266243 53.643017 
2e+009 -0.02271257 29.9867 -101.09807 118.55634 -101.09807 118.55634 -0.018945263 24.802075 
END

VAR L1 = 34
BEGIN ACDATA
# HZ S DB R 50
% F N11X N11Y N12X N12Y N21X N21Y N22X N22Y 
1e+009 -0.098315821 64.426424 -57.167355 151.40816 -57.167355 151.40816 -0.084617592 53.516634 
2e+009 -0.022712564 29.986699 -102.2328 118.55331 -102.2328 118.55331 -0.018939012 24.799389 
END

VAR L1 = 38
BEGIN ACDATA
# HZ S DB R 50
% F N11X N11Y N12X N12Y N21X N21Y N22X N22Y 
1e+009 -0.098304977 64.425381 -58.319559 151.34412 -58.319559 151.34412 -0.084139828 53.421656 
2e+009 -0.02271256 29.986697 -103.23627 118.55095 -103.23627 118.55095 -0.018934141 24.79729 
END