How to perform a model export from System Architect application. The model export
make possible to use a model outside from VISION environnment in order to use other kind of
analysis tool. The model export is currently interfaced with SystemVue, VSS, Simulink and
the Comlib2 module.
Choose the Template export palette. Drag and drop the 1x1 DC block from
the palette window to the schematic window.
Figure: Model export template
In this step we customize the template in order to match with the device we
want to export. In order to demonstrate the process we change the schematic in
order to export a single HPA model with Rf and Pdc output :
Figure: Customized Schematic for single PA with DC ouput
Double-click on the SIMCTRLR block to open the Parameters window.
By default, the Simulation name is "sim0" and it is editable. In the
Simulation mode tab, choose the Simulation mode by selecting
CW simulation. Choose the Analyse type by selecting Nominal
analysis. In the Solver tab, choose the Solver Type by
selecting Algebraic solver I.
Figure: Simulation mode
Go to export tab and choose a model name (AMPHFLF) in addition of the
simulation name (sim_CW_export).
Figure: Export tab
In this step we define a nominal condtition for the export process. Carrier
frequency is choose as F0 = 0.83e9 and power is set to -30 dBm.
Figure: Nominal excondition
The exported model can be parameterized. These parameters are added thanks
variable bloc. For example, we can add a load dependency with the following var
bloc which sweep the load value with a nominal value of 50.0 Ohms.
Figure: Parameter definition
The model can now be simulated and exported. In the menu bar of the workspace
window, click on Simulate>Run simulation or on the shortcut . The output console is displayed:
Figure: Output Console
The blue line highlights the location of exported model. This folder contains
all necessary data for beeing plugged into external simulator or into Comlib2
module Co-simulation with system modeler.