


{"id":301545,"date":"2023-08-15T16:21:44","date_gmt":"2023-08-15T16:21:44","guid":{"rendered":"\/forum\/forums\/topic\/emepropagate-command-in-model-analysis-script\/"},"modified":"2023-08-15T16:22:59","modified_gmt":"2023-08-15T16:22:59","slug":"emepropagate-command-in-model-analysis-script","status":"closed","type":"topic","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/emepropagate-command-in-model-analysis-script\/","title":{"rendered":"&#8220;emepropagate is not a valid function or variable name&#8221; in analysis script"},"content":{"rendered":"<p>I am attempting to perform a sweep of EME simulations (and the parameter I am sweeping can not be done using the special propagation and wavelength sweep tools in the EME solver). In order to use the &#8220;optimization and sweeps&#8221; panel, I need to write an analysis script for the model so it generates the results that can be saved for each point of the sweep. However, when writing my analysis script, it does not recognize the &#8217;emepropagate&#8217; command as valid, even though this is required in order to generate results with EME:<\/p>\n<p><a class=\"wp-colorbox-image cboxElement\" href=\"\/forum\/wp-content\/uploads\/sites\/2\/2023\/08\/15-08-2023-1692115968-mceclip0.png\"><img decoding=\"async\" src=\"\/forum\/wp-content\/uploads\/sites\/2\/2023\/08\/15-08-2023-1692115968-mceclip0.png\"><\/a><\/p>\n<p>Is there any way to run &#8217;emepropagate&#8217; from an analysis script? Additionally, I noticed that the &#8220;select&#8221; command is not recognized as valid in analysis scripts. In general, is there any documentation indicating which script commands are\/aren&#8217;t valid for analysis scripts? It seems like they have a special scope, but it is not clear exactly what this scope is to me.<\/p>\n<p>For now, I am writing my own script in the main script editor (not as an analysis script) to perform the same sweep as a workaround, but the built-in &#8220;Optimizations and Sweeps&#8221; tool is very convenient, so I was hoping there would be a way to use it along with the EME solver.<\/p>\n","protected":false},"template":"","class_list":["post-301545","topic","type-topic","status-closed","hentry","topic-tag-eigenmode"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_bbp_subscription":["268246","2592"],"_bbp_author_ip":["96.7.218.223"]," _bbp_last_reply_id":["0"]," _bbp_likes_count":["0"],"_btv_view_count":["918"],"_edit_lock":["1692116532:197566"],"_bbp_topic_status":["unanswered"],"_bbp_status":["publish"],"_bbp_topic_id":["301545"],"_bbp_forum_id":["27833"],"_bbp_engagement":["2592","268246"],"_bbp_voice_count":["2"],"_bbp_reply_count":["3"],"_bbp_last_reply_id":["301567"],"_bbp_last_active_id":["301567"],"_bbp_last_active_time":["2023-08-15 18:46:05"]},"test":"k9johnsoucsd-edu"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/301545","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics"}],"about":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/301545\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=301545"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}