Output Responses
Define the design output responses in HyperStudy.
- Running a POSTFEKO extraction Lua script after each Feko simulation. The Lua script writes the axis and quantity values from a visible
Cartesian graph and polar graph
trace to a hst_output.hstp file that is read by HyperStudy.Note: It is required to have a POSTFEKO session with a matching name as the .cfx file in the same directory.
- This approach is recommended if the data is available in POSTFEKO and can be plotted on a Cartesian graph or polar graph.
- Running a Lua script after each
Feko simulation. The Lua script writes the values to a
hst_output.hstp file that is read by HyperStudy.
- This approach is for advanced custom optimisation goals, for example, bandwidth, beamwidth and average gain.
- Reading the values directly from the Feko
.out file.
- This approach parses the .out file and reads the values at the specified offset in the file. Any reformatting of the file structure may result in incorrect values being read.
The Lua file name matches the .cfx file, but has _extract.lua appended, for example, mymodel.cfx_extract.lua. Edit this file to add functions to calculate and write the required output response values to the hst_output.hstp.