{"id":170404,"date":"2023-05-25T07:29:51","date_gmt":"2023-05-25T07:29:51","guid":{"rendered":"\/knowledge\/forums\/topic\/how-do-i-change-the-frequency-of-an-excitation-signal-while-a-transient-simulation-is-running\/"},"modified":"2023-07-31T12:34:16","modified_gmt":"2023-07-31T12:34:16","slug":"how-do-i-change-the-frequency-of-an-excitation-signal-while-a-transient-simulation-is-running","status":"publish","type":"topic","link":"https:\/\/innovationspace.ansys.com\/knowledge\/forums\/topic\/how-do-i-change-the-frequency-of-an-excitation-signal-while-a-transient-simulation-is-running\/","title":{"rendered":"How do I change the frequency of an excitation signal while a transient simulation is running?"},"content":{"rendered":"<p>You can change the frequency of an excitation signal in the middle of a transient simulation by defining if-else condition for the voltage or current excitation. For example, the following condition changes the frequency from freq1 to freq2 at time instance tchange:  if(time < tchange, sin(2*freq1*pi*time), sin(2*freq2*pi*time))\n<\/p>\n","protected":false},"template":"","class_list":["post-170404","topic","type-topic","status-publish","hentry","topic-tag-19-2","topic-tag-electromagnetics-electronics","topic-tag-excitations-maxwell","topic-tag-low-frequency-electromagnetics","topic-tag-maxwell","topic-tag-windings-transient"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_wp_page_template":["default"],"_bbp_last_active_time":["05-25-2023  20:20:01"],"_bbp_forum_id":["27819"],"_bbp_author_ip":["209.182.204.162"],"_btv_view_count":["1251"],"siebel_km_number":["2040172"],"product_version":["19.2"],"km_published_date":["2015-09-03T00:00:00.000Z"],"family":["Electromagnetics & Electronics"],"application_name":["Maxwell"]},"test":"articlesansys-com"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/topics\/170404","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/topics"}],"about":[{"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/topics\/170404\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/media?parent=170404"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}