


{"id":290084,"date":"2023-06-23T13:17:27","date_gmt":"2023-06-23T13:17:27","guid":{"rendered":"\/forum\/forums\/topic\/unexpected-s-matrix-from-eme-propagation\/"},"modified":"2023-06-23T13:17:27","modified_gmt":"2023-06-23T13:17:27","slug":"unexpected-s-matrix-from-eme-propagation","status":"closed","type":"topic","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/unexpected-s-matrix-from-eme-propagation\/","title":{"rendered":"Unexpected S matrix from EME propagation"},"content":{"rendered":"<p>Hello,<br \/>I have encountered an unexpected result in simulating the transfer matrix of a repeated unit cell with EME.<\/p>\n<p>Background:<\/p>\n<p>I have a waveguide bragg reflector with absorbing layer and I need to calculate the absorption in each layer. To do so, I need to calculate the coefficient of the various modes in a certain position of each unit cell, but because EME does not allow to do so, I need to extract the S-matrix of the unit cell and &#8220;propagate it&#8221; in Python. In this way I can retrieve the intensity of the modes also at intermediate position.&nbsp;<br \/>To validate my code, I decided to propagate a simple structure with my Python code and with EME and to compare the result. The structure is a waveguide bragg reflector (no absorbing layer) consisting of two units cells. After setting up the geometry, I did the following<\/p>\n<ul>\n<li>I calculated the S matrix of the basic unit cell with EME.&nbsp;\n<ul>\n<li>To do so, I set the period of&nbsp; the unit cells to 1, I run EME propagate, and I extracted the &#8220;internal S matrix&#8221; and sent it to Python.<\/li>\n<li>I used 20 modes in the calculation<\/li>\n<\/ul>\n<\/li>\n<li>I used the S matrix of the unit cell to calculate the S matrix of a 2-cell-structure in Python.\n<ul>\n<li>The calculation of the total S matrix of two cascaded cells is an analytical solution and I verified it by comparing with litterature (here: https:\/\/ieeexplore.ieee.org\/document\/1125369). Thus, I am pretty sure of the correctness of the formulation.<\/li>\n<\/ul>\n<\/li>\n<li>I calculated the total S matrix also in EME\n<ul>\n<li>I used EME propagate after setting the number of periods to 2.&nbsp;<\/li>\n<li>I extracted the &#8220;internal S matrix&#8221;<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>Eventually, I compared the S matrices of the 2-unit-cells structure calculated with EME and with Python and I noticed that the results were quite different.<\/p>\n<p>I have checked the correctness of the code that calculates the total S matrix and I am fairly sure of its correctness. Therefore, I had the doubt that probably I am not interpreting correctly the meaning of the &#8220;Internal S matrix&#8221; that EME propagate provides. Because the documentation about the this result and how it is obtained is limited, is there anyone that can give me an insight of what could be wrong in my reasoning?<\/p>\n","protected":false},"template":"","class_list":["post-290084","topic","type-topic","status-closed","hentry","topic-tag-EME-1"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.10 - aioseo.com -->\n\t<meta name=\"description\" content=\"Hello,I have encountered an unexpected result in simulating the transfer matrix of a repeated unit cell with EME.Background:I have a waveguide bragg reflector with absorbing layer and I need to calculate the absorption in each layer. To do so, I need to calculate the coefficient of the various modes in a certain position of each\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/unexpected-s-matrix-from-eme-propagation\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.10\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Ansys Learning Forum | Ansys Innovation Space\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Unexpected S matrix from EME propagation | Ansys Learning Forum\" \/>\n\t\t<meta property=\"og:description\" content=\"Hello,I have encountered an unexpected result in simulating the transfer matrix of a repeated unit cell with EME.Background:I have a waveguide bragg reflector with absorbing layer and I need to calculate the absorption in each layer. To do so, I need to calculate the coefficient of the various modes in a certain position of each\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/unexpected-s-matrix-from-eme-propagation\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2023-06-23T13:17:27+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2023-06-23T13:17:27+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Unexpected S matrix from EME propagation | Ansys Learning Forum\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Hello,I have encountered an unexpected result in simulating the transfer matrix of a repeated unit cell with EME.Background:I have a waveguide bragg reflector with absorbing layer and I need to calculate the absorption in each layer. To do so, I need to calculate the coefficient of the various modes in a certain position of each\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic\\\/unexpected-s-matrix-from-eme-propagation\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/topics\\\/#listItem\",\"name\":\"Topics\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/topics\\\/#listItem\",\"position\":2,\"name\":\"Topics\",\"item\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/topics\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic-tag\\\/EME-1\\\/#listItem\",\"name\":\"EME\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic-tag\\\/EME-1\\\/#listItem\",\"position\":3,\"name\":\"EME\",\"item\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic-tag\\\/EME-1\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic\\\/unexpected-s-matrix-from-eme-propagation\\\/#listItem\",\"name\":\"Unexpected S matrix from EME propagation\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/topics\\\/#listItem\",\"name\":\"Topics\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic\\\/unexpected-s-matrix-from-eme-propagation\\\/#listItem\",\"position\":4,\"name\":\"Unexpected S matrix from EME propagation\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic-tag\\\/EME-1\\\/#listItem\",\"name\":\"EME\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/#organization\",\"name\":\"Ansys Learning Forum\",\"description\":\"Ansys Innovation Space\",\"url\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic\\\/unexpected-s-matrix-from-eme-propagation\\\/#webpage\",\"url\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic\\\/unexpected-s-matrix-from-eme-propagation\\\/\",\"name\":\"Unexpected S matrix from EME propagation | Ansys Learning Forum\",\"description\":\"Hello,I have encountered an unexpected result in simulating the transfer matrix of a repeated unit cell with EME.Background:I have a waveguide bragg reflector with absorbing layer and I need to calculate the absorption in each layer. To do so, I need to calculate the coefficient of the various modes in a certain position of each\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic\\\/unexpected-s-matrix-from-eme-propagation\\\/#breadcrumblist\"},\"datePublished\":\"2023-06-23T13:17:27+00:00\",\"dateModified\":\"2023-06-23T13:17:27+00:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/#website\",\"url\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/\",\"name\":\"Ansys Learning Forum\",\"description\":\"Ansys Innovation Space\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Unexpected S matrix from EME propagation | Ansys Learning Forum","description":"Hello,I have encountered an unexpected result in simulating the transfer matrix of a repeated unit cell with EME.Background:I have a waveguide bragg reflector with absorbing layer and I need to calculate the absorption in each layer. To do so, I need to calculate the coefficient of the various modes in a certain position of each","canonical_url":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/unexpected-s-matrix-from-eme-propagation\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BreadcrumbList","@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/unexpected-s-matrix-from-eme-propagation\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum#listItem","position":1,"name":"Home","item":"https:\/\/innovationspace.ansys.com\/forum","nextItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/topics\/#listItem","name":"Topics"}},{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/topics\/#listItem","position":2,"name":"Topics","item":"https:\/\/innovationspace.ansys.com\/forum\/topics\/","nextItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic-tag\/EME-1\/#listItem","name":"EME"},"previousItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic-tag\/EME-1\/#listItem","position":3,"name":"EME","item":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic-tag\/EME-1\/","nextItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/unexpected-s-matrix-from-eme-propagation\/#listItem","name":"Unexpected S matrix from EME propagation"},"previousItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/topics\/#listItem","name":"Topics"}},{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/unexpected-s-matrix-from-eme-propagation\/#listItem","position":4,"name":"Unexpected S matrix from EME propagation","previousItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic-tag\/EME-1\/#listItem","name":"EME"}}]},{"@type":"Organization","@id":"https:\/\/innovationspace.ansys.com\/forum\/#organization","name":"Ansys Learning Forum","description":"Ansys Innovation Space","url":"https:\/\/innovationspace.ansys.com\/forum\/"},{"@type":"WebPage","@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/unexpected-s-matrix-from-eme-propagation\/#webpage","url":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/unexpected-s-matrix-from-eme-propagation\/","name":"Unexpected S matrix from EME propagation | Ansys Learning Forum","description":"Hello,I have encountered an unexpected result in simulating the transfer matrix of a repeated unit cell with EME.Background:I have a waveguide bragg reflector with absorbing layer and I need to calculate the absorption in each layer. To do so, I need to calculate the coefficient of the various modes in a certain position of each","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/innovationspace.ansys.com\/forum\/#website"},"breadcrumb":{"@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/unexpected-s-matrix-from-eme-propagation\/#breadcrumblist"},"datePublished":"2023-06-23T13:17:27+00:00","dateModified":"2023-06-23T13:17:27+00:00"},{"@type":"WebSite","@id":"https:\/\/innovationspace.ansys.com\/forum\/#website","url":"https:\/\/innovationspace.ansys.com\/forum\/","name":"Ansys Learning Forum","description":"Ansys Innovation Space","inLanguage":"en-US","publisher":{"@id":"https:\/\/innovationspace.ansys.com\/forum\/#organization"}}]},"og:locale":"en_US","og:site_name":"Ansys Learning Forum | Ansys Innovation Space","og:type":"article","og:title":"Unexpected S matrix from EME propagation | Ansys Learning Forum","og:description":"Hello,I have encountered an unexpected result in simulating the transfer matrix of a repeated unit cell with EME.Background:I have a waveguide bragg reflector with absorbing layer and I need to calculate the absorption in each layer. To do so, I need to calculate the coefficient of the various modes in a certain position of each","og:url":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/unexpected-s-matrix-from-eme-propagation\/","article:published_time":"2023-06-23T13:17:27+00:00","article:modified_time":"2023-06-23T13:17:27+00:00","twitter:card":"summary_large_image","twitter:title":"Unexpected S matrix from EME propagation | Ansys Learning Forum","twitter:description":"Hello,I have encountered an unexpected result in simulating the transfer matrix of a repeated unit cell with EME.Background:I have a waveguide bragg reflector with absorbing layer and I need to calculate the absorption in each layer. To do so, I need to calculate the coefficient of the various modes in a certain position of each"},"aioseo_meta_data":{"post_id":"290084","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"content","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":true,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"limit_modified_date":false,"created":"2024-10-28 18:02:28","updated":"2024-10-28 18:02:28","ai":null,"breadcrumb_settings":null,"seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/innovationspace.ansys.com\/forum\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/innovationspace.ansys.com\/forum\/topics\/\" title=\"Topics\">Topics<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic-tag\/EME-1\/\" title=\"EME\">EME<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tUnexpected S matrix from EME propagation\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/innovationspace.ansys.com\/forum"},{"label":"Topics","link":"https:\/\/innovationspace.ansys.com\/forum\/topics\/"},{"label":"EME","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic-tag\/EME-1\/"},{"label":"Unexpected S matrix from EME propagation","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/unexpected-s-matrix-from-eme-propagation\/"}],"acf":[],"custom_fields":[{"0":{"_bbp_subscription":["200502","2592"],"_bbp_author_ip":["23.217.200.71"]," _bbp_last_reply_id":["0"]," _bbp_likes_count":["0"],"_btv_view_count":["1985"],"_bbp_topic_status":["unanswered"],"_bbp_status":["publish"],"_bbp_topic_id":["290084"],"_bbp_forum_id":["27833"],"_bbp_engagement":["2592","200502"],"_bbp_voice_count":["2"],"_bbp_reply_count":["7"],"_bbp_last_reply_id":["290973"],"_bbp_last_active_id":["290973"],"_bbp_last_active_time":["2023-06-29 17:04:54"]},"test":"filippo001e-ntu-edu-sg"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/290084","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\/290084\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=290084"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}