{"id":166572,"date":"2023-03-17T14:15:34","date_gmt":"2023-03-17T14:15:34","guid":{"rendered":"\/knowledge\/forums\/topic\/how-to-use-other-variables-but-time-in-range-functions\/"},"modified":"2023-03-17T14:15:34","modified_gmt":"2023-03-17T14:15:34","slug":"how-to-use-other-variables-but-time-in-range-functions","status":"publish","type":"topic","link":"https:\/\/innovationspace.ansys.com\/knowledge\/forums\/topic\/how-to-use-other-variables-but-time-in-range-functions\/","title":{"rendered":"How to use other variables but time in range functions?"},"content":{"rendered":"<p>When applying a range function (for example: YAtXVal) to a transient report, the variable X always represents time. To use a different variable, two or more nested functions must be used.  For example, the torque at position 100deg can be calculated using the following expression:  YAtXVal(Moving1.Torque, XAtYVal(Moving1.Position, 100deg))  Now XAtYVal(Moving1.Position, 100deg) returns the time instance where the position equals 100 degrees, and this time instance is then used in the function YAtXVal.<\/p>\n","protected":false},"template":"","class_list":["post-166572","topic","type-topic","status-publish","hentry","topic-tag-19-2","topic-tag-electromagnetics-electronics","topic-tag-low-frequency-electromagnetics","topic-tag-maxwell","topic-tag-post-processing-maxwell","topic-tag-report-generation"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_wp_page_template":["default"],"siebel_km_number":[""],"_bbp_last_active_time":["3-17-2023  20:20:00"],"_bbp_forum_id":["27819"],"_bbp_author_ip":["23.56.168.180"],"_btv_view_count":["742"]},"test":"articlesansys-com"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/topics\/166572","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\/166572\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/media?parent=166572"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}