etothe456t
Junior Member level 3
hfss cut object
I have a two port system. Under "Edit Sources" I know I can plot various fields with the ability to Weight and Phase Shift the original input of 1W in either or both ports.
However, In my system an external control circuit puts power to the ports and what matters for me is to generate a field plot that is the square root of the sum of the squares of the field when 1 port is excited and the other is not, and vice versa,
IE: H_total_field = SQRT[(H_field(port 1=1W, port 2=0W))^2 + (H_field(port 1=0W, port 2=1W))^2]
So, is there anyway to generate a plot based on a field calculation that is a function of what port is driven?
any thoughts appreciated... thanks
%Side Note
I have developed a somewhat workaround by saving the 2 field plots as .dsp files(the only way to export field data in hfss???). The .dsp file contains the nodes and solution data which I parse the solution data out and format it into a matlab variable. I do the calculation in matlab and write the output to a file, and paste it back in by hand into one of the original .dsp files, (overwriting the old solution data). I can then load this back into HFSS. There are a few caveats with this method, 1) The plot of course is no longer 'linked' to hfss data and thus no longer modifiable in any way and its icon in the Field Quantity tree appears greyed out. and 2) you better hope each field plot contains the exact same amount of variables so matlab can do the calculation.
This method appears to be accurate but it's nowhere near what I would consider a reliable method.
I have a two port system. Under "Edit Sources" I know I can plot various fields with the ability to Weight and Phase Shift the original input of 1W in either or both ports.
However, In my system an external control circuit puts power to the ports and what matters for me is to generate a field plot that is the square root of the sum of the squares of the field when 1 port is excited and the other is not, and vice versa,
IE: H_total_field = SQRT[(H_field(port 1=1W, port 2=0W))^2 + (H_field(port 1=0W, port 2=1W))^2]
So, is there anyway to generate a plot based on a field calculation that is a function of what port is driven?
any thoughts appreciated... thanks
%Side Note
I have developed a somewhat workaround by saving the 2 field plots as .dsp files(the only way to export field data in hfss???). The .dsp file contains the nodes and solution data which I parse the solution data out and format it into a matlab variable. I do the calculation in matlab and write the output to a file, and paste it back in by hand into one of the original .dsp files, (overwriting the old solution data). I can then load this back into HFSS. There are a few caveats with this method, 1) The plot of course is no longer 'linked' to hfss data and thus no longer modifiable in any way and its icon in the Field Quantity tree appears greyed out. and 2) you better hope each field plot contains the exact same amount of variables so matlab can do the calculation.
This method appears to be accurate but it's nowhere near what I would consider a reliable method.