HS-1615: Set Up a FEKO Model

Learn how to set up a FEKO model in HyperStudy.

Before you begin, copy the model files used in this tutorial from <hst.zip>/HS-1615/ to your working directory.

The model used in this tutorial is a waveguide transmission line that is being fed with a coaxial cable.

The effect of the cable’s pin position on input impedence is studied. When the impedence is reduced, this leads to improved power transmission.

Perform the Study Setup

  1. Start HyperStudy.
  2. Start a new study in the following ways:
    • From the menu bar, click File > New.
    • On the ribbon, click .
  3. In the Add Study dialog, enter a study name, select a location for the study, and click OK.
  4. Go to the Define Models step.
  5. Add a FEKO model by dragging-and-dropping the waveguide_pin_feed_placement.cfx from the Directory into the work area.
    The Resource, Solver input file, and Solver input arguments fields become populated.
    Figure 1.

  6. Click Import Variables.
    Ten input variables are imported from the waveguide_pin_feed_placement.cfx file.
  7. Go to the Define Input Variables step.
  8. Review the input variables.
    Figure 2.

Perform Nominal Run

  1. Go to the Test Models step.
  2. Click Run Definition.
    An approaches/setup_1-def/ directory is created inside the study Directory. The approaches/setup_1-def/run__00001/m_1 directory contains the input file, which is the result of the nominal run.

Create and Evaluate Output Responses

In this step you will create two output responses.

  1. Go to the Define Output Responses step.
  2. Create output response 1.
    1. From the Directory, drag-and-drop the hst_output.hstp file, located in approaches/setup_1-def/run__00001/m_1, into the work area.
      The File Assistant dialog opens.
    2. Select Altair® HyperWorks® (HstReaderPdd) and click Next.
    3. Select Single Item in a Time Series and click Next.
    4. Define the following and click Next.
      • Set Type to Output.
      • Set Request to z_Imag.
      • Set Component to Value.
      Figure 3.

    5. Enable the Use Data Source in a new Response checkbox.
    6. Enter labels for the data source and output response as shown in Figure 4.
    7. Set the output response Expression to Maximum.
    8. Click Finish.
      Figure 4.

    Output response 1 is added to the work area.
  3. Create Output Response 2 by repeating step 2.
    1. For the second label, enter Output Response 2.
    2. Set Request to z_Real.
  4. Click Evaluate to extract the response values.


  1. Add a DOE.
    1. In the Explorer, right-click and select Add from the context menu.
      The Add dialog opens.
    2. From Select Type, choose DOE.
    3. For Definition from, select an approach.
    4. Select Setup and click OK.
  2. Go to DOE 1 > Definition > Define Input Variables step.
  3. Deactivate all input variables except n.
    This tutorial is only studying the effects from the variation of the pin position index.
  4. Go to the DOE 1 > Specifications step.
  5. In the work area, set the Mode to Hammersley.
  6. In the Settings tab, change the Number of runs to 4.
    Figure 5.

  7. Click Apply.
  8. Go to the DOE 1 > Evaluate step.
  9. Click Evaluate Tasks to execute all 21 runs.

Run Fit

  1. Add a Fit Existing Data.
    1. In the Explorer, right-click and select Add from the context menu.
    2. In the Add dialog, select Fit Existing Data.
    3. For Definition from, select the DOE.
    4. Click OK.
  2. Go to the Fit > Specifications step and click Apply.
  3. Go to the Fit > Evaluate step.
  4. Click Evaluate Tasks.
  5. Go to the Fit > Post-Processing step.
  6. Plot the response surface.
    1. Click the Trade-Off tab.
    2. Using the Channel selector, select both output responses.
    3. From the Inputs section, enable the X Axis checkbox.
    4. From the Output Plots section, select (Multiplot).
    Figure 6.