reading FEKO defined variables by MATLAB
Zakaria
Altair Community Member
Best Answer
-
If you used the parameter sweep macro then a *.xml file will have been created that contains everything.
For example:
<parameter_sweep> <settings> <sweep_type>lin</sweep_type> <frequency_properties config='StandardConfiguration1' numfreq='0' type='Continuous'/> </settings> <file> <variable name='d1' value='-0.75268817204301'/> <variable name='d10' value='-10.661912329567'/> <path>parameter_sweep\Log_Periodic_Network_Load_01</path> </file> <file> <variable name='d1' value='-0.75268817204301'/> <variable name='d10' value='-11'/> <path>parameter_sweep\Log_Periodic_Network_Load_02</path> </file> <file> <variable name='d1' value='-0.7013440860215'/> <variable name='d10' value='-10.661912329567'/> <path>parameter_sweep\Log_Periodic_Network_Load_03</path> </file> <file> <variable name='d1' value='-0.7013440860215'/> <variable name='d10' value='-11'/> <path>parameter_sweep\Log_Periodic_Network_Load_04</path> </file> <file> <variable name='d1' value='-0.65'/> <variable name='d10' value='-10.661912329567'/> <path>parameter_sweep\Log_Periodic_Network_Load_05</path> </file> <file> <variable name='d1' value='-0.65'/> <variable name='d10' value='-11'/> <path>parameter_sweep\Log_Periodic_Network_Load_06</path> </file> </parameter_sweep>
1
Answers
-
If you used the parameter sweep macro then a *.xml file will have been created that contains everything.
For example:
<parameter_sweep> <settings> <sweep_type>lin</sweep_type> <frequency_properties config='StandardConfiguration1' numfreq='0' type='Continuous'/> </settings> <file> <variable name='d1' value='-0.75268817204301'/> <variable name='d10' value='-10.661912329567'/> <path>parameter_sweep\Log_Periodic_Network_Load_01</path> </file> <file> <variable name='d1' value='-0.75268817204301'/> <variable name='d10' value='-11'/> <path>parameter_sweep\Log_Periodic_Network_Load_02</path> </file> <file> <variable name='d1' value='-0.7013440860215'/> <variable name='d10' value='-10.661912329567'/> <path>parameter_sweep\Log_Periodic_Network_Load_03</path> </file> <file> <variable name='d1' value='-0.7013440860215'/> <variable name='d10' value='-11'/> <path>parameter_sweep\Log_Periodic_Network_Load_04</path> </file> <file> <variable name='d1' value='-0.65'/> <variable name='d10' value='-10.661912329567'/> <path>parameter_sweep\Log_Periodic_Network_Load_05</path> </file> <file> <variable name='d1' value='-0.65'/> <variable name='d10' value='-11'/> <path>parameter_sweep\Log_Periodic_Network_Load_06</path> </file> </parameter_sweep>
1 -
mel_21333 said:
If you used the parameter sweep macro then a *.xml file will have been created that contains everything.
For example:
<parameter_sweep> <settings> <sweep_type>lin</sweep_type> <frequency_properties config='StandardConfiguration1' numfreq='0' type='Continuous'/> </settings> <file> <variable name='d1' value='-0.75268817204301'/> <variable name='d10' value='-10.661912329567'/> <path>parameter_sweep\Log_Periodic_Network_Load_01</path> </file> <file> <variable name='d1' value='-0.75268817204301'/> <variable name='d10' value='-11'/> <path>parameter_sweep\Log_Periodic_Network_Load_02</path> </file> <file> <variable name='d1' value='-0.7013440860215'/> <variable name='d10' value='-10.661912329567'/> <path>parameter_sweep\Log_Periodic_Network_Load_03</path> </file> <file> <variable name='d1' value='-0.7013440860215'/> <variable name='d10' value='-11'/> <path>parameter_sweep\Log_Periodic_Network_Load_04</path> </file> <file> <variable name='d1' value='-0.65'/> <variable name='d10' value='-10.661912329567'/> <path>parameter_sweep\Log_Periodic_Network_Load_05</path> </file> <file> <variable name='d1' value='-0.65'/> <variable name='d10' value='-11'/> <path>parameter_sweep\Log_Periodic_Network_Load_06</path> </file> </parameter_sweep>
Thanks for the replay. That works fine. However, my parametric sweep was done over an ssh connection using mobaexterm, therefore I couldn't find this file. But, your answer inspired me to check the other generated files by FEKO. Fortunately, I found a file called (generate_models_noninteractive) and it has all the info that I am looking for:
0