9       Project Export

Project Export (Export) means creating (and saving on a disk) a set of files describing the project, which are interpreted by QW-Simulator.

 

Take a look at the files in which information about our project named project_name is stored. To load the project to QW-Editor, we have read the file project_name.pro containing information about the shape of the structure and the parameters. To prepare for the use of QW-Simulator, QW-Editor performs the following tasks upon the Export operation:

·       It defines the sequence of operations called tasks to be executed by QW-Simulator. As a result, a tasker file project_name.ta3 is created. This is the project tasker file, or in other words, a text file containing the commands for QW-Simulator. A closer look at the directory in which the project_name.ta3 has been created reveals that there is also another tasker file project_name0.ta3. This is a copy of the project_name.ta3 with one exception: instead of generating the mode templates, QW-Simulator is asked to read the previously generated templates from disk. This avoids generating the templates when one knows that they are the same as previously calculated and saved.

·       It prepares the files containing description of the analysed structure divided into FDTD cells. Those files are called: project_name.sh3 for the entire structure, and auxiliary files describing the consecutive ports, each of them called by the port name (followed by underline and project name) with the extension *.sh3.

·       It prepares the files containing description of the parameters of FDTD simulation. Those files are called: project_name.pa3 for the parameters of analysis, and auxiliary files describing the parameters of the consecutive ports, each of them called by the port name (followed by underline and project name) with the extension *.pa3. However, note that the project_name.pa3 file will not be created if we use Smn regime in S-Parameters post-processing. Instead, for the N-port circuit QW-Editor will export N different *.pa3 files, instructing QW-Simulator to apply excitation to the N consecutive ports. Each of these files will be called by the name of the reference plane corresponding to the excited port (followed by underline and project name).

·       It saves the project_name.pr3 file which is essentially a copy of the project_name.pro file but taking into account all changes made in QW-Editor since the last Save or Save As operation. The project_name.pr3 will be used by QW-Simulator for geometry visualisation in 2D/3D Fields Distribution, Test Mesh, Fields Monitor and 3D Radiation Pattern windows. Note that project_name.pro is not automatically saved upon the Export command and hence does not incorporate changes made since the last Save or Save As operation. Thus if one plans to run simulations in an optimisation loop (for example with QW-OptimiserPlus) one should perform Save prior to Export, so that the up-to-date information about geometry and parameters will be used in a new instance of QW-Editor invoked by the optimisation routine.

 

After the Export has been performed, one can leave QW-Editor, invoke QW-Simulator and perform the simulation. This kind of operation may be advantageous on computers with small memory. It is also possible to run the simulations directly from QW-Editor by invoking the commands:

·      the  button in Simulation tab and File->Export command from main menu invokes Export operation only

·      the  button in Simulation tab and File->Export & Run->Export & Run command from main menu invokes Export operation and runs chosen QW-Simulator

·      the  button in Simulation tab and File->Export & Run->Export, Run & Start command from main menu invokes Export operation, runs chosen QW-Simulator and starts simulation

·      the  button in Simulation tab and File->Export & Run->Export & Test command from main menu invokes Export operation, runs chosen QW-Simulator and opens Test Mesh window

·      the  button in Simulation tab and File->Export & Run->Export, Run & Start Prony command from main menu invokes Export operation, runs chosen QW-Simulator and starts simulation using QProny module

·       button in Simulation tab and File->Export & Run->Export & Run 0 command from main menu invokes Export operation and runs chosen QW-Simulator without field template mode generation (for more details refer to Template mode generation procedure)

·       button in Simulation tab and File->Export & Run->Export, Run & Start 0 command from main menu invokes Export operation, runs chosen QW-Simulator and starts simulation without field template mode generation (for more details refer to Template mode generation procedure)

The  button in Simulation tab and File->Export Options... command from main menu invokes Export Options dialogue that allows influencing the Export process, and thus the subsequent process of circuit analysis.