{"id":52527,"date":"2023-10-19T12:32:30","date_gmt":"2023-10-19T16:32:30","guid":{"rendered":"https:\/\/blogs.sw.siemens.com\/simcenter\/?p=52527"},"modified":"2026-03-26T06:52:25","modified_gmt":"2026-03-26T10:52:25","slug":"digital-twin-xil-testing-testlab-rt","status":"publish","type":"post","link":"https:\/\/blogs.sw.siemens.com\/simcenter\/digital-twin-xil-testing-testlab-rt\/","title":{"rendered":"Executable Digital Twin: XiL testing with Simcenter Testlab RT"},"content":{"rendered":"\n<p>Hardware-in-the-loop (HiL) testing is a well-known approach to develop and test control software running on electronic control unit hardware (ECU). The ECU is interfaced with virtual worlds for emulating realistic environments. This is done in the early design stages when the final system, such as a car, in which the electronic control unit hardware will be integrated, is not yet available.<br>Can you imagine extending the HiL approach to the testing of systems that involve more than just electronic control unit hardware? This approach can be referred to as the XiL approach. It offers design engineers the capability to speed up their sub-system functional performance testing and validation in a lab environment.<br>Let\u2019s take a look at how <a href=\"https:\/\/plm.sw.siemens.com\/en-US\/simcenter\/physical-testing\/testlab\/\" data-type=\"link\" data-id=\"https:\/\/plm.sw.siemens.com\/en-US\/simcenter\/physical-testing\/testlab\/\" target=\"_blank\" rel=\"noopener\">Simcenter Testlab<\/a> RT facilitates the testing of physical systems \u201cin-the-loop\u201d on test rigs and simulators using Executable Digital Twins (xDTs).<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Why using XiL test rigs?<\/h2>\n\n\n\n<p>The final design and performance validation in the field for most physical subsystems can only happen after the complete system in which they function is assembled. However, even then, it is time-consuming, costly or even dangerous to reproduce during the physical test program the variety of operating conditions the system might encounter during its lifetime.<br>Simcenter Testlab RT provides a powerful software and hardware real-time environment that allows a physical system to be connected to virtual representations (aka xDTs) of its operating environments. For example, a physical braking system or a physical powertrain system can be tested as if they were operating in any of the vehicle variants it will be used in. The XiL approach thus shifts the physical system test program earlier in the development cycle by reducing dependency on the availability of other physical systems. It also supports the evaluation of many system-level variants for a wide range of operating loads. The XiL tests will reveal potential issues far earlier in the overall system development program for the system-under test. As Simcenter Testlab RT handles the xDT sensors as if they were physical sensors, issues with the other components in the system might even be revealed.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-style-default\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"706\" src=\"https:\/\/blogs.sw.siemens.com\/wp-content\/uploads\/sites\/6\/2023\/10\/XiL-image-1-1024x706.png\" alt=\"\" class=\"wp-image-52563\" srcset=\"https:\/\/blogs.sw.siemens.com\/wp-content\/uploads\/sites\/6\/2023\/10\/XiL-image-1-1024x706.png 1024w, https:\/\/blogs.sw.siemens.com\/wp-content\/uploads\/sites\/6\/2023\/10\/XiL-image-1-600x414.png 600w, https:\/\/blogs.sw.siemens.com\/wp-content\/uploads\/sites\/6\/2023\/10\/XiL-image-1-768x530.png 768w, https:\/\/blogs.sw.siemens.com\/wp-content\/uploads\/sites\/6\/2023\/10\/XiL-image-1-900x621.png 900w, https:\/\/blogs.sw.siemens.com\/wp-content\/uploads\/sites\/6\/2023\/10\/XiL-image-1.png 1393w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><em>Example of XiL test bench including physical\/virtual coupling<\/em><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">XiL testing for every test engineer<\/h2>\n\n\n\n<p>Setting up a XiL test mostly requires expert engineers to collect &amp; reformat the simulation models and spend some programming time to embed them in the test configuration. Often, using models from release versions of multiple simulation &amp; control software vendors leads to incompatibilities in the final configuration. These issues jeopardize the test program timing.<br>Therefore, Simcenter Testlab RT provides a zero-programming alternative for the XiL setup, through a feature-rich and intuitive web user interface.<br>Simulation and control models from multiple release versions of Simcenter Amesim, Simcenter 3D, MathWorks Simulink\u00ae, and other simulation software vendors can easily be uploaded to the Simcenter Testlab RT library and used as part of test configurations. Different formats for these simulation models are supported such as functional mock-up unit (FMU) according to the <a href=\"https:\/\/fmi-standard.org\/\" data-type=\"link\" data-id=\"https:\/\/fmi-standard.org\/\" target=\"_blank\" rel=\"noopener\">functional mock-up interface (FMI) standard<\/a> and native model formats.<br>Load inputs for the XiL test program can come from file recordings from Simcenter Testlab (= LDSF file format), from real-time digital buses and field buses, or they can be directly embedded in the simulation models.<br>To make things even easier, the web user interface language can be changed in a few clicks to maximally accommodate the user&#8217;s needs.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-style-default\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"567\" src=\"https:\/\/blogs.sw.siemens.com\/wp-content\/uploads\/sites\/6\/2023\/10\/XiL-image-2-1024x567.png\" alt=\"\" class=\"wp-image-52564\" srcset=\"https:\/\/blogs.sw.siemens.com\/wp-content\/uploads\/sites\/6\/2023\/10\/XiL-image-2-1024x567.png 1024w, https:\/\/blogs.sw.siemens.com\/wp-content\/uploads\/sites\/6\/2023\/10\/XiL-image-2-600x332.png 600w, https:\/\/blogs.sw.siemens.com\/wp-content\/uploads\/sites\/6\/2023\/10\/XiL-image-2-768x425.png 768w, https:\/\/blogs.sw.siemens.com\/wp-content\/uploads\/sites\/6\/2023\/10\/XiL-image-2-900x498.png 900w, https:\/\/blogs.sw.siemens.com\/wp-content\/uploads\/sites\/6\/2023\/10\/XiL-image-2.png 1492w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><em>Simcenter Testlab RT intuitive web user interface<\/em><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Scalable Computational Performance<\/h2>\n\n\n\n<p>Depending on the computational complexity of the simulation models, a suitable Simcenter Testlab RT hardware platform is selected from our catalog to be able to run them in real-time. For the most advanced use-cases, the sheer performance of Simcenter Testlab RT software and hardware platforms allows co-simulating multiple complex full order simulation models (FOM) in hard real-time. In case the model complexity would exceed the systems\u2019 real-time performance, a model order reduction (MOR) step can be applied during the creation of the simulation model to reduce the computational complexity.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-style-default\"><img loading=\"lazy\" decoding=\"async\" width=\"1022\" height=\"324\" src=\"https:\/\/blogs.sw.siemens.com\/wp-content\/uploads\/sites\/6\/2023\/10\/XiL-image-3-1.png\" alt=\"\" class=\"wp-image-52573\" style=\"object-fit:cover\" srcset=\"https:\/\/blogs.sw.siemens.com\/wp-content\/uploads\/sites\/6\/2023\/10\/XiL-image-3-1.png 1022w, https:\/\/blogs.sw.siemens.com\/wp-content\/uploads\/sites\/6\/2023\/10\/XiL-image-3-1-600x190.png 600w, https:\/\/blogs.sw.siemens.com\/wp-content\/uploads\/sites\/6\/2023\/10\/XiL-image-3-1-768x243.png 768w, https:\/\/blogs.sw.siemens.com\/wp-content\/uploads\/sites\/6\/2023\/10\/XiL-image-3-1-900x285.png 900w\" sizes=\"auto, (max-width: 1022px) 100vw, 1022px\" \/><\/figure>\n\n\n\n<p><em>Simcenter Testlab RT scalable hardware platforms<\/em><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Creating a new physical and virtual world<\/h2>\n\n\n\n<p>Simcenter Testlab RT seamlessly connects physical systems to virtual ones in real-time using analog I\/O\u2019s, digital buses such as CAN and field buses such as <a href=\"https:\/\/www.profibus.com\/technology\/profinet\" data-type=\"link\" data-id=\"https:\/\/www.profibus.com\/technology\/profinet\" target=\"_blank\" rel=\"noopener\">PROFINET <\/a>and EtherCAT. The analog sensor data can be retrieved in real time from physical sensor conditioning units such as Simcenter SCADAS. This creates a performant and accurate coupling between the physical parts and the virtual parts of the world, thus enabling full system testing.<br>Simcenter Testlab RT can also be integrated with the user interfaces, control &amp; automation systems of test benches and simulators.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-style-default\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"575\" src=\"https:\/\/blogs.sw.siemens.com\/wp-content\/uploads\/sites\/6\/2023\/10\/XiL-image4-1024x575.jpeg\" alt=\"\" class=\"wp-image-52566\" style=\"object-fit:cover\" srcset=\"https:\/\/blogs.sw.siemens.com\/wp-content\/uploads\/sites\/6\/2023\/10\/XiL-image4-1024x575.jpeg 1024w, https:\/\/blogs.sw.siemens.com\/wp-content\/uploads\/sites\/6\/2023\/10\/XiL-image4-600x337.jpeg 600w, https:\/\/blogs.sw.siemens.com\/wp-content\/uploads\/sites\/6\/2023\/10\/XiL-image4-768x431.jpeg 768w, https:\/\/blogs.sw.siemens.com\/wp-content\/uploads\/sites\/6\/2023\/10\/XiL-image4-395x222.jpeg 395w, https:\/\/blogs.sw.siemens.com\/wp-content\/uploads\/sites\/6\/2023\/10\/XiL-image4-900x506.jpeg 900w, https:\/\/blogs.sw.siemens.com\/wp-content\/uploads\/sites\/6\/2023\/10\/XiL-image4.jpeg 1036w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><em>XiL e-motor test bench<\/em><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Sensing the new physical and virtual world<\/h2>\n\n\n\n<p>Simcenter Testlab RT synchronizes its clock using the<a href=\"https:\/\/standards.ieee.org\/ieee\/1588\/4355\/\" data-type=\"link\" data-id=\"https:\/\/standards.ieee.org\/ieee\/1588\/4355\/\" target=\"_blank\" rel=\"noopener\"> IEEE-1588 Precision Time Protocol (PTPv2)<\/a> to the clocks of hardware systems used for sensor conditioning and data recording, such as <a href=\"https:\/\/plm.sw.siemens.com\/en-US\/simcenter\/physical-testing\/scadas\/\" data-type=\"link\" data-id=\"https:\/\/plm.sw.siemens.com\/en-US\/simcenter\/physical-testing\/scadas\/\" target=\"_blank\" rel=\"noopener\">Simcenter SCADAS<\/a>. This allows sensing both the physical part and the virtual part of the world in a coherent manner. Physical and virtual sensors can be monitored using Simcenter Testlab Engineering Displays, stored using Simcenter Testlab Time Data Acquisition, and processed using Simcenter Testlab Process Designer. This provides immediate insight into the system-under-test behavior.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-style-default\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/blogs.sw.siemens.com\/wp-content\/uploads\/sites\/6\/2023\/10\/XiL-image-last--1024x576.jpg\" alt=\"\" class=\"wp-image-52673\" srcset=\"https:\/\/blogs.sw.siemens.com\/wp-content\/uploads\/sites\/6\/2023\/10\/XiL-image-last--1024x576.jpg 1024w, https:\/\/blogs.sw.siemens.com\/wp-content\/uploads\/sites\/6\/2023\/10\/XiL-image-last--600x338.jpg 600w, https:\/\/blogs.sw.siemens.com\/wp-content\/uploads\/sites\/6\/2023\/10\/XiL-image-last--768x432.jpg 768w, https:\/\/blogs.sw.siemens.com\/wp-content\/uploads\/sites\/6\/2023\/10\/XiL-image-last--1536x864.jpg 1536w, https:\/\/blogs.sw.siemens.com\/wp-content\/uploads\/sites\/6\/2023\/10\/XiL-image-last--395x222.jpg 395w, https:\/\/blogs.sw.siemens.com\/wp-content\/uploads\/sites\/6\/2023\/10\/XiL-image-last--900x506.jpg 900w, https:\/\/blogs.sw.siemens.com\/wp-content\/uploads\/sites\/6\/2023\/10\/XiL-image-last-.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><em>Advanced engineering visualization in Simcenter Testlab Desktop<\/em><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Fast turnaround<\/h2>\n\n\n\n<p>Reconfiguring an XiL test bench for a new test configuration often takes the best part of the work shift, if not more. The intuitive web user interface of Simcenter Testlab RT ensures that defining and activating configurations is a matter of minutes, not hours. When the same physical component is to be tested and validated for use in different systems, multiple test configurations can be defined upfront. Switching between these configurations at the bench is done in a few mouse clicks, ensuring the downtime of the bench between tests is virtually zero.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Flexible test automation<\/h2>\n\n\n\n<p>Simcenter Testlab RT comes with an Automation API (Application Program Interface) that can be used to easily automate main actions on the real-time platform from any external system. It allows changing test parameters, selecting the active test, arming, starting, and stopping it, and parametrizing test parameters, such as the initial states of vehicle models. Of course, tests can also be fully parametrized within Simcenter Testlab RT using the web user interface.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Workflow<\/h2>\n\n\n\n<p>Simcenter Testlab RT provides the application software and real-time hardware to cover all activities in setting up and running an XiL test:<br>\u2022 Deploy simulation models (xDT\u2019s) into the library of the real-time platform via the web interface or using the Automation API<br>\u2022 Deploy and configure any pre-recorded signals to be used as simulation model inputs<br>\u2022 Connect all hardware devices required by the application to the real-time platform<br>\u2022 Clock-synchronize the real-time platform to external systems, if required by the application<br>\u2022 Create Tests via the web user interface, add components (signals, simulation models, hardware devices\u2026) and connect them to each other, and set up the visualization dashboards.<br>\u2022 Run the Tests from the external main controller using the Automation API or directly from the web user interface.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">In a nutshell<\/h2>\n\n\n\n<p>Simcenter Testlab RT is a powerful and versatile real-time platform, providing hard-real time, scalable performance, easy-to-use co-simulation capabilities to virtualize the operational environments of physical systems-under-test.<br>A feature-rich and intuitive web user interface makes XiL testing accessible to every engineer, by offering a zero-programming experience.<br>Combining Executable Digital Twins to create the complete virtual operational environment is made easy by supporting multiple release versions of many simulation software solutions.<br>Support of many real-time communication interfaces and a well-documented Automation API ensure easy integration when upgrading existing test rigs with XiL capabilities or when developing entirely new advanced test benches.<br>XiL testing has never been so accessible and effective.<\/p>\n\n\n\n<div class=\"wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link wp-element-button\" href=\"https:\/\/plm.sw.siemens.com\/en-US\/simcenter\/simulation-test\/model-based-system-testing\/\" target=\"_blank\" rel=\"noopener\">Visit the model-based system testing webpage<\/a><\/div>\n\n\n\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link wp-element-button\" href=\"https:\/\/plm.sw.siemens.com\/en-US\/simcenter\/physical-testing\/testlab-neo\/\" target=\"_blank\" rel=\"noopener\">Visit the Simcenter Testlab Neo webpage<\/a><\/div>\n\n\n\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link wp-element-button\" href=\"https:\/\/blogs.sw.siemens.com\/simcenter\/the-executable-digital-twin\/\">Read more about Executable Digital Twin<\/a><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Do you imagine being able to efficiently test your physical systems in many realistic virtual worlds? Discover Simcenter Testlab RT for XiL testing.<\/p>\n","protected":false},"author":23728,"featured_media":52561,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spanish_translation":"","french_translation":"","german_translation":"","italian_translation":"","polish_translation":"","japanese_translation":"","chinese_translation":"","footnotes":""},"categories":[179,1,182],"tags":[33248,63669,63672,63674,63671,63668,63673,33247,63670],"industry":[125,89,63664,137,155,172],"product":[518,588],"coauthors":[7383],"class_list":["post-52527","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-product-updates","category-news","category-tips-tricks","tag-executable-digital-twin","tag-hardware-in-the-loop","tag-hil","tag-model-based-development","tag-model-based-system-testing","tag-real-time","tag-x-in-the-loop","tag-xdt","tag-xil","industry-aerospace-defense","industry-automotive-transportation","industry-battery","industry-consumer-products-retail","industry-industrial-machinery-heavy-equipment","industry-small-medium-business","product-simcenter-testing-solutions","product-simcenter-testlab"],"featured_image_url":"https:\/\/blogs.sw.siemens.com\/wp-content\/uploads\/sites\/6\/2023\/10\/XiL-Testlab-2306.jpg","_links":{"self":[{"href":"https:\/\/blogs.sw.siemens.com\/simcenter\/wp-json\/wp\/v2\/posts\/52527","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.sw.siemens.com\/simcenter\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.sw.siemens.com\/simcenter\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.sw.siemens.com\/simcenter\/wp-json\/wp\/v2\/users\/23728"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.sw.siemens.com\/simcenter\/wp-json\/wp\/v2\/comments?post=52527"}],"version-history":[{"count":4,"href":"https:\/\/blogs.sw.siemens.com\/simcenter\/wp-json\/wp\/v2\/posts\/52527\/revisions"}],"predecessor-version":[{"id":71786,"href":"https:\/\/blogs.sw.siemens.com\/simcenter\/wp-json\/wp\/v2\/posts\/52527\/revisions\/71786"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blogs.sw.siemens.com\/simcenter\/wp-json\/wp\/v2\/media\/52561"}],"wp:attachment":[{"href":"https:\/\/blogs.sw.siemens.com\/simcenter\/wp-json\/wp\/v2\/media?parent=52527"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.sw.siemens.com\/simcenter\/wp-json\/wp\/v2\/categories?post=52527"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.sw.siemens.com\/simcenter\/wp-json\/wp\/v2\/tags?post=52527"},{"taxonomy":"industry","embeddable":true,"href":"https:\/\/blogs.sw.siemens.com\/simcenter\/wp-json\/wp\/v2\/industry?post=52527"},{"taxonomy":"product","embeddable":true,"href":"https:\/\/blogs.sw.siemens.com\/simcenter\/wp-json\/wp\/v2\/product?post=52527"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/blogs.sw.siemens.com\/simcenter\/wp-json\/wp\/v2\/coauthors?post=52527"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}