Optimisation Using .PRE File modifications

Use optimisation with modifications made in the .pre file in EDITFEKO.

The optimiser operates on solution requests specified in CADFEKO. However, for advanced users, it is possible to make use of the optimiser after making modifications to the .pre file in EDITFEKO.

The optimiser operates on the labels of the solution requests. These labels are usually created in CADFEKO, but are copied to the .pre file. The optimiser reads the labels from the .pre file.

Consider the patch antenna on a finite substrate in Figure 1.
Figure 1. A patch antenna on a finite substrate fed with a voltage source on a wire port.


The antenna is fed with a voltage source on a wire port. Unless edited by the user, the voltage source is created with a default label of VoltageSource1 in CADFEKO. When the CADFEKO model is saved, a .pre file is created by CADFEKO.

To open the .pre file, run EDITFEKO from within CADFEKO.

In EDITFEKO the .pre file contains an A1 card with the label, MyCustomVoltageSource1 (label following after **), see Figure 2.

Figure 2. Screenshot of the A1 card (voltage source on a wire segment) in the .pre file.


New sources and output requests can be added to the .pre file. For each request that will be used for optimisation, a unique label must be specified. After the .pre file is edited and saved, the optimisation setup is completed in CADFEKO by manually entering the label of the parameter to be optimised in the Focus source label text box in the Goal focus group.
Figure 3. A snippet of the impedance optimisation goal dialog using a custom label.