{"id":14768,"date":"2026-10-23T10:15:45","date_gmt":"2026-10-23T08:15:45","guid":{"rendered":"https:\/\/cim.eu\/?post_type=case-study&#038;p=14768"},"modified":"2026-10-23T10:31:10","modified_gmt":"2026-10-23T08:31:10","slug":"from-technical-drawing-to-photorealistic-image-with-generative-ai","status":"publish","type":"case-study","link":"https:\/\/cim.eu\/en\/case-studies\/from-technical-drawing-to-photorealistic-image-with-generative-ai\/","title":{"rendered":"Digital Twin and Virtual Commissioning to Anticipate MES Deployment"},"content":{"rendered":"&#13;\n<p class=\"wp-block-paragraph\">An integrated simulation, Digital Twin, and Virtual Commissioning environment to digitally replicate a production line, connect it bi-directionally to the MES, and anticipate configuration, integration, and testing activities before the physical plant is available.<\/p>&#13;\n\r\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-7387b849 wp-block-columns-is-layout-flex\">\r\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">&#13;\n<figure class=\"wp-block-image aligncenter size-large is-resized\"><img decoding=\"async\" class=\"wp-image-22683\" style=\"width: 225px; height: auto;\" src=\"https:\/\/cim40.imgix.net\/wp-content\/uploads\/2024\/11\/IT-Finanziato-dallUnione-europea_PANTONE-1-1024x228.jpg?fm=avif\" alt=\"\"\/><\/figure>&#13;\n<\/div>\r\n\r\n\r\n\r\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">&#13;\n<figure class=\"wp-block-image aligncenter size-full is-resized\"><img decoding=\"async\" class=\"wp-image-22685\" style=\"width: 201px; height: auto;\" src=\"https:\/\/cim40.imgix.net\/wp-content\/uploads\/2024\/11\/logo-ministero.png-2.webp\" alt=\"\"\/><\/figure>&#13;\n<\/div>\r\n<\/div>\r\n","protected":false},"featured_media":14776,"template":"","annualita":[182],"area-di-intervento":[298,260],"area_tecnologica":[177],"settore":[333],"tecnologia-abilitante":[187],"class_list":["post-14768","case-study","type-case-study","status-publish","has-post-thumbnail","hentry","annualita-23-26","area-di-intervento-digital-factory","area-di-intervento-product","area_tecnologica-digital-factory","settore-manufacturing-industry","tecnologia-abilitante-digital-twin"],"acf":{"proponente":"Code Architects | TESAR | Dott.Gallina ","descrizione_breve":"An integrated simulation, Digital Twin, and Virtual Commissioning environment to digitally replicate a production line.","logo_finanziatore":"","importo_finanziato":"","contesto":"EFESTO \u2013 EFficient Evolved System Tool for Operations is a project created to develop an advanced platform dedicated to industrial operations management, integrating a new generation of MES, real-time event processing systems, a pilot extrusion line, and a simulation and Digital Twin environment. The project involved complementary expertise: Code Architects, TESAR, Dott.Gallina, and CIM. The challenge was to address one of the most delicate steps in creating a new production line: the need to configure, integrate, and test the MES software while the physical plant is still under development. In the traditional approach, software testing depends on the availability of the actual line. CIM's work explored a different approach, using virtualization and simulation to reproduce the plant's behavior in advance and create an environment in which to test the MES before physical deployment.    ","soluzione":"CIM's contribution was developed through three integrated activities. The first phase led to the construction, via Siemens Tecnomatix Plant Simulation, of a discrete event model of Dott.Gallina's pilot extrusion line. The model reproduces the entire production flow, from the raw materials warehouse to the extrusion line, through to waste management and the finished product warehouse, also including AGV movement. The simulation was designed parametrically to allow for the analysis of layouts, material flows, machine utilization, and workforce requirements within the same virtual environment.   \n\nThe simulation model was then evolved into a true operational Digital Twin, bi-directionally connected to the MES. We implemented a virtual PLC based on the OPC UA standard, along with a REST API and a web dashboard for data monitoring. In this way, the MES can send orders and production schedules to the simulator and receive real-time line statuses, parameters, and alarms generated by the virtual environment.  \n\nThis architecture allowed for the application of Virtual Commissioning: the line's behavior is digitally reproduced to test and validate the management software before the physical plant is available. During the tests, the MES was able to start production planning, the simulator executed the received orders, and the system correctly returned operational statuses and alarms, including line stoppages associated with specific reason codes. \n\nTo complete the work, we created a digital pilot line at our laboratory in which the MES, simulator, and virtual PLC coexist in the same environment and can also be used remotely through a secure connection. The platform was conceived both as a development and testing environment and as a demo-lab for demonstration and technology transfer activities. ","impatto":"The project demonstrated the possibility of anticipating activities relative to the availability of the physical line, reducing the sequential dependency between hardware installation and software testing. Furthermore, simulation allows for the virtual reproduction of operating conditions that are difficult to test on the real line, such as alarms, stoppages, or production peaks, and for the rapid analysis of layout and process alternatives without physical intervention on the plant. The tests conducted covered 100% of the modeled production flow, approximately 80 sensor zones, 368 alarms, and 6 different operational line states. Information exchange between the Digital Twin and the virtual PLC was managed with per-second updates, and the bidirectional integration with the MES yielded positive results in all tested scenarios. The architecture was also designed with a replicable approach for similar lines and is potentially transferable to other production sectors.    ","supporto_cim":"","gallery":"","video_di_progetto":"","partners":[9392,14771,14769],"tecnologia":[9801],"competenza_in_campo":"Simulation of Production and Logistics Processes | Modeling and Development of Digital Twins | Virtual Commissioning | MES\u2013Simulator Integration | Development of Virtual PLCs and Industrial Monitoring Systems | Virtualization of Industrial Environments | Development and Testing on Digital Pilot Lines"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Casi Studio - Digital Twin and Virtual Commissioning to Anticipate MES Deployment - CIM - Competence Center<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/cim.eu\/en\/case-studies\/from-technical-drawing-to-photorealistic-image-with-generative-ai\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Casi Studio - Digital Twin and Virtual Commissioning to Anticipate MES Deployment - CIM - Competence Center\" \/>\n<meta property=\"og:description\" content=\"&#013; An integrated simulation, Digital Twin, and Virtual Commissioning environment to digitally replicate a production line, connect it bi-directionally to the MES, and anticipate configuration, integration, and testing activities before the physical plant is available. &#013;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/cim.eu\/en\/case-studies\/from-technical-drawing-to-photorealistic-image-with-generative-ai\/\" \/>\n<meta property=\"og:site_name\" content=\"CIM - Competence Center\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/cim40\/\" \/>\n<meta property=\"article:modified_time\" content=\"2026-10-23T08:31:10+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cim.eu\/wp-content\/uploads\/2026\/10\/Gemini_Generated_Image_st811yst811yst81.jpeg\" \/>\n\t<meta property=\"og:image:width\" content=\"1376\" \/>\n\t<meta property=\"og:image:height\" content=\"768\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/cim.eu\\\/en\\\/case-studies\\\/from-technical-drawing-to-photorealistic-image-with-generative-ai\\\/\",\"url\":\"https:\\\/\\\/cim.eu\\\/en\\\/case-studies\\\/from-technical-drawing-to-photorealistic-image-with-generative-ai\\\/\",\"name\":\"Casi Studio - Digital Twin and Virtual Commissioning to Anticipate MES Deployment - CIM - Competence Center\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/cim.eu\\\/en\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/cim.eu\\\/en\\\/case-studies\\\/from-technical-drawing-to-photorealistic-image-with-generative-ai\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/cim.eu\\\/en\\\/case-studies\\\/from-technical-drawing-to-photorealistic-image-with-generative-ai\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/cim-eu.imgix.net\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/Gemini_Generated_Image_st811yst811yst81.jpeg?fm=avif\",\"datePublished\":\"2026-10-23T08:15:45+00:00\",\"dateModified\":\"2026-10-23T08:31:10+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/cim.eu\\\/en\\\/case-studies\\\/from-technical-drawing-to-photorealistic-image-with-generative-ai\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/cim.eu\\\/en\\\/case-studies\\\/from-technical-drawing-to-photorealistic-image-with-generative-ai\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/cim.eu\\\/en\\\/case-studies\\\/from-technical-drawing-to-photorealistic-image-with-generative-ai\\\/#primaryimage\",\"url\":\"https:\\\/\\\/cim-eu.imgix.net\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/Gemini_Generated_Image_st811yst811yst81.jpeg?fm=avif\",\"contentUrl\":\"https:\\\/\\\/cim-eu.imgix.net\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/Gemini_Generated_Image_st811yst811yst81.jpeg?fm=avif\",\"width\":1376,\"height\":768},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/cim.eu\\\/en\\\/case-studies\\\/from-technical-drawing-to-photorealistic-image-with-generative-ai\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/cim.eu\\\/en\\\/skills-for-industry-and-manufacturing\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Case studies\",\"item\":\"https:\\\/\\\/cim.eu\\\/en\\\/case-studies\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Digital Twin and Virtual Commissioning to Anticipate MES Deployment\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/cim.eu\\\/en\\\/#website\",\"url\":\"https:\\\/\\\/cim.eu\\\/en\\\/\",\"name\":\"CIM\",\"description\":\"Competenze per Industria e Manifattura\",\"publisher\":{\"@id\":\"https:\\\/\\\/cim.eu\\\/en\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/cim.eu\\\/en\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/cim.eu\\\/en\\\/#organization\",\"name\":\"CIM\",\"url\":\"https:\\\/\\\/cim.eu\\\/en\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/cim.eu\\\/en\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/cim.eu\\\/wp-content\\\/uploads\\\/2025\\\/09\\\/Logo-di-CIM.svg\",\"contentUrl\":\"https:\\\/\\\/cim.eu\\\/wp-content\\\/uploads\\\/2025\\\/09\\\/Logo-di-CIM.svg\",\"width\":100,\"height\":28,\"caption\":\"CIM\"},\"image\":{\"@id\":\"https:\\\/\\\/cim.eu\\\/en\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/cim40\\\/\",\"https:\\\/\\\/www.instagram.com\\\/cim4.0_competencecenter\\\/\",\"https:\\\/\\\/it.linkedin.com\\\/company\\\/cim4-0\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Casi Studio - Digital Twin and Virtual Commissioning to Anticipate MES Deployment - CIM - Competence Center","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/cim.eu\/en\/case-studies\/from-technical-drawing-to-photorealistic-image-with-generative-ai\/","og_locale":"en_US","og_type":"article","og_title":"Casi Studio - Digital Twin and Virtual Commissioning to Anticipate MES Deployment - CIM - Competence Center","og_description":"&#13; An integrated simulation, Digital Twin, and Virtual Commissioning environment to digitally replicate a production line, connect it bi-directionally to the MES, and anticipate configuration, integration, and testing activities before the physical plant is available. &#13;","og_url":"https:\/\/cim.eu\/en\/case-studies\/from-technical-drawing-to-photorealistic-image-with-generative-ai\/","og_site_name":"CIM - Competence Center","article_publisher":"https:\/\/www.facebook.com\/cim40\/","article_modified_time":"2026-10-23T08:31:10+00:00","og_image":[{"width":1376,"height":768,"url":"https:\/\/cim.eu\/wp-content\/uploads\/2026\/10\/Gemini_Generated_Image_st811yst811yst81.jpeg","type":"image\/jpeg"}],"twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/cim.eu\/en\/case-studies\/from-technical-drawing-to-photorealistic-image-with-generative-ai\/","url":"https:\/\/cim.eu\/en\/case-studies\/from-technical-drawing-to-photorealistic-image-with-generative-ai\/","name":"Casi Studio - Digital Twin and Virtual Commissioning to Anticipate MES Deployment - CIM - Competence Center","isPartOf":{"@id":"https:\/\/cim.eu\/en\/#website"},"primaryImageOfPage":{"@id":"https:\/\/cim.eu\/en\/case-studies\/from-technical-drawing-to-photorealistic-image-with-generative-ai\/#primaryimage"},"image":{"@id":"https:\/\/cim.eu\/en\/case-studies\/from-technical-drawing-to-photorealistic-image-with-generative-ai\/#primaryimage"},"thumbnailUrl":"https:\/\/cim-eu.imgix.net\/wp-content\/uploads\/2026\/10\/Gemini_Generated_Image_st811yst811yst81.jpeg?fm=avif","datePublished":"2026-10-23T08:15:45+00:00","dateModified":"2026-10-23T08:31:10+00:00","breadcrumb":{"@id":"https:\/\/cim.eu\/en\/case-studies\/from-technical-drawing-to-photorealistic-image-with-generative-ai\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/cim.eu\/en\/case-studies\/from-technical-drawing-to-photorealistic-image-with-generative-ai\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/cim.eu\/en\/case-studies\/from-technical-drawing-to-photorealistic-image-with-generative-ai\/#primaryimage","url":"https:\/\/cim-eu.imgix.net\/wp-content\/uploads\/2026\/10\/Gemini_Generated_Image_st811yst811yst81.jpeg?fm=avif","contentUrl":"https:\/\/cim-eu.imgix.net\/wp-content\/uploads\/2026\/10\/Gemini_Generated_Image_st811yst811yst81.jpeg?fm=avif","width":1376,"height":768},{"@type":"BreadcrumbList","@id":"https:\/\/cim.eu\/en\/case-studies\/from-technical-drawing-to-photorealistic-image-with-generative-ai\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/cim.eu\/en\/skills-for-industry-and-manufacturing\/"},{"@type":"ListItem","position":2,"name":"Case studies","item":"https:\/\/cim.eu\/en\/case-studies\/"},{"@type":"ListItem","position":3,"name":"Digital Twin and Virtual Commissioning to Anticipate MES Deployment"}]},{"@type":"WebSite","@id":"https:\/\/cim.eu\/en\/#website","url":"https:\/\/cim.eu\/en\/","name":"CIM","description":"Competenze per Industria e Manifattura","publisher":{"@id":"https:\/\/cim.eu\/en\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/cim.eu\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/cim.eu\/en\/#organization","name":"CIM","url":"https:\/\/cim.eu\/en\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/cim.eu\/en\/#\/schema\/logo\/image\/","url":"https:\/\/cim.eu\/wp-content\/uploads\/2025\/09\/Logo-di-CIM.svg","contentUrl":"https:\/\/cim.eu\/wp-content\/uploads\/2025\/09\/Logo-di-CIM.svg","width":100,"height":28,"caption":"CIM"},"image":{"@id":"https:\/\/cim.eu\/en\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/cim40\/","https:\/\/www.instagram.com\/cim4.0_competencecenter\/","https:\/\/it.linkedin.com\/company\/cim4-0"]}]}},"_links":{"self":[{"href":"https:\/\/cim.eu\/en\/wp-json\/wp\/v2\/case-study\/14768","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cim.eu\/en\/wp-json\/wp\/v2\/case-study"}],"about":[{"href":"https:\/\/cim.eu\/en\/wp-json\/wp\/v2\/types\/case-study"}],"acf:post":[{"embeddable":true,"href":"https:\/\/cim.eu\/en\/wp-json\/wp\/v2\/tecnologie\/9801"},{"embeddable":true,"href":"https:\/\/cim.eu\/en\/wp-json\/wp\/v2\/partners\/14769"},{"embeddable":true,"href":"https:\/\/cim.eu\/en\/wp-json\/wp\/v2\/partners\/14771"},{"embeddable":true,"href":"https:\/\/cim.eu\/en\/wp-json\/wp\/v2\/partners\/9392"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cim.eu\/en\/wp-json\/wp\/v2\/media\/14776"}],"wp:attachment":[{"href":"https:\/\/cim.eu\/en\/wp-json\/wp\/v2\/media?parent=14768"}],"wp:term":[{"taxonomy":"annualita","embeddable":true,"href":"https:\/\/cim.eu\/en\/wp-json\/wp\/v2\/annualita?post=14768"},{"taxonomy":"area-di-intervento","embeddable":true,"href":"https:\/\/cim.eu\/en\/wp-json\/wp\/v2\/area-di-intervento?post=14768"},{"taxonomy":"area_tecnologica","embeddable":true,"href":"https:\/\/cim.eu\/en\/wp-json\/wp\/v2\/area_tecnologica?post=14768"},{"taxonomy":"settore","embeddable":true,"href":"https:\/\/cim.eu\/en\/wp-json\/wp\/v2\/settore?post=14768"},{"taxonomy":"tecnologia-abilitante","embeddable":true,"href":"https:\/\/cim.eu\/en\/wp-json\/wp\/v2\/tecnologia-abilitante?post=14768"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}