<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Model Engineering Solutions GmbH on Medium]]></title>
        <description><![CDATA[Stories by Model Engineering Solutions GmbH on Medium]]></description>
        <link>https://medium.com/@rational_sand_leopard_363?source=rss-632165bc2ce3------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*rxlhAwZAQorpib2HrNgmiA.png</url>
            <title>Stories by Model Engineering Solutions GmbH on Medium</title>
            <link>https://medium.com/@rational_sand_leopard_363?source=rss-632165bc2ce3------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 01:32:06 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@rational_sand_leopard_363/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[How Do You Prioritize Static Analysis Findings Across Complex Projects?]]></title>
            <link>https://medium.com/@rational_sand_leopard_363/how-do-you-prioritize-static-analysis-findings-across-complex-projects-781980f653d2?source=rss-632165bc2ce3------2</link>
            <guid isPermaLink="false">https://medium.com/p/781980f653d2</guid>
            <category><![CDATA[model-based-development]]></category>
            <category><![CDATA[static-analysis-finding]]></category>
            <category><![CDATA[static-analysis]]></category>
            <category><![CDATA[static-analysis-tool]]></category>
            <dc:creator><![CDATA[Model Engineering Solutions GmbH]]></dc:creator>
            <pubDate>Thu, 27 Aug 2026 11:23:01 GMT</pubDate>
            <atom:updated>2026-11-18T10:26:08.314Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="This image provides a comprehensive overview of the static analysis findings in the MES Quality Commander® (MQC) in the form of a heatmap." src="https://cdn-images-1.medium.com/max/1024/1*mThJdSe8nMP34aJMSriY9Q.png" /><figcaption>Comprehensive Overview of Static Analysis Findings in the MES Quality Commander® (MQC)</figcaption></figure><p>Static analysis findings quickly accumulate in large projects. What starts as a manageable list of rule violations in one model can turn into hundreds or even thousands of static analysis findings across multiple models. The challenge is no longer detecting issues. The challenge is understanding what these static analysis findings actually mean and deciding where to start fixing them. <strong>This article shows you how to move from isolated static analysis findings in a single model to a structured, project-wide view.</strong> You will learn how to interpret aggregated results, use visualizations to detect patterns, and prioritize static analysis findings in a way that creates measurable progress instead of reactive fixes.</p><h3>What Is a Static Analysis Finding and What Does It Tell You?</h3><p>A static analysis finding is the result of an automated guideline check. Each check verifies that your model follows a specific rule.</p><p>If your model violates a rule, the tool generates a finding. The finding is then assigned a state, such as failed, warning, or review, depending on its severity and the place where the finding occured.</p><p>When your model fulfills the rule, the check result is marked as passed. In this case, no violation exists, so you do not need to take corrective action.</p><p>The graphic below shows the results generated by the <a href="https://model-engineers.com/en/static-testing-mxam">MES Model Examiner® (MXAM)</a> for a single model. It summarizes all guideline checks that were executed and shows how many results fall into each state: failed, warning, review, info, or passed.</p><p>You are viewing the compliance status of one model. This shows how well the model adheres to the defined guidelines.</p><p><strong>Reviewing the distribution of results provides an immediate overview of your model’s quality level.</strong> A high number of “Passed” results indicates strong compliance. Clusters of failed or warning results show you where your attention is required. This one model overview helps to quickly understand where your model is.</p><figure><img alt="This figure shows the finding results from static analysis in MXAM." src="https://cdn-images-1.medium.com/max/1024/1*H7gbH8SsIaSbiuOfxsrodg.png" /><figcaption>Figure 1: Finding results from static analysis in MXAM</figcaption></figure><h3>How Do You Analyze Static Analysis Findings Within One Model?</h3><p>After generating static analysis findings in MXAM, you need a structured approach to interpreting the results. The <a href="https://model-engineers.com/en/quality-monitoring-mqc">MES Quality Commander® (MQC)</a> offers various views for analyzing these results.</p><p>When looking at a single model in MQC (figure 2), you can start with an aggregated overview. The heatmap visualizes the number of findings per guideline check. It shows how many results fall into states such as failed, warning, review, info, or passed.</p><figure><img alt="This figure shows an aggregated overview of finding results from static analysis in MQC." src="https://cdn-images-1.medium.com/max/1024/1*xpZFT3G7Vv2ocfGhgxr8sw.png" /><figcaption>Figure 2: Aggregated overview of finding results from static analysis in MQC</figcaption></figure><p>Each colored square in the MQC heatmap represents the result of one guideline check for one model. The color indicates the most critical state detected. Green means that no findings were detected for that check in that model.</p><p>This overview helps you quickly identify patterns. You can see which checks produce clusters of critical findings and which areas of the model demonstrate strong compliance. Rather than scanning through individual entries, you can directly see the model’s findings per check.</p><p>Once you have identified focus areas, you can switch to the detailed list view (figure 3). There, each static analysis finding is displayed separately. This includes the affected element and the corresponding guideline check. This allows you to investigate specific issues in depth.</p><p><strong>Moving from overview to detail helps you avoid getting lost in isolated findings and allows you to analyze them in a structured and efficient way.</strong></p><figure><img alt="This figure shows a detailed list view of the results of the static analysis in MQC." src="https://cdn-images-1.medium.com/max/1024/1*STcrjz0mri9hSpBN_C3ccA.png" /><figcaption>Figure 3: A detailed list view of the results of the static analysis in MQC</figcaption></figure><h3>What Changes When You Analyze Multiple Models?</h3><p>When you move from analyzing a single model to analyzing an entire project, the scale changes immediately. Rather than reviewing the static analysis findings of each model individually, you now see the combined results of all models in one overview.</p><p>The video below shows a project with 43 models. In this example, the static analysis identified 23,839 failed findings, 79 warning findings, and 638 review findings.</p><p>These numbers sound not only high. They are high. In large projects, such numbers are realistic. That is exactly why keeping a clear overview is essential.</p><p><a href="https://model-engineers.com/files/videos/findings_in_mqc.mp4">https://model-engineers.com/files/videos/findings_in_mqc.mp4</a></p><p><strong>As shown in the video, the focus at this level is no longer on individual findings. Instead, you are looking at the overall distribution and the patterns behind these numbers:</strong></p><ul><li>Which checks consistently produce critical results?</li><li>Which models show repeated issues?</li><li>Where do clusters appear?</li></ul><h3>How Do You Work Through All Those Static Analysis Findings?</h3><p>Let’s continue with the example from the video above. When you see numerous static analysis findings across multiple models, you may be tempted to address them all immediately. However, that is neither realistic nor effective.</p><p>You do want to eliminate the findings, though. Just not all at once. Your first goal should be to reduce complexity in a structured and manageable way. Once you have clarity and control, you can work through the remaining red and yellow areas systematically.</p><p><strong>Let me explain how:</strong></p><h4>Step 1: Start with the Green Areas</h4><ul><li>As the video above shows, look at the positive side of the heatmap first.</li><li>Fully green rows represent models without issues. In this example, 6 out of 43 models show no findings at all.</li><li>Fully green columns represent guideline checks that are consistently fulfilled. Here, 79 checks show no issues across the project.</li><li>This is already a strong foundation. It proves that compliance is achievable.</li></ul><h4>Step 2: Use Automated Repair Where Possible</h4><ul><li>Next, check whether auto-repair is available for some static analysis findings.</li><li>In many cases, automated or assisted fixes in MXAM can resolve issues quickly.</li><li>Addressing these findings first reduces the total number significantly and improves clarity in the overview.</li></ul><h4>Step 3: Fix Isolated Outliers</h4><ul><li>Look for guideline checks with only a few critical findings.</li><li>These are often isolated outliers.</li><li>In the heatmap, you may see small clusters of red or yellow squares that stand apart from larger patterns. Fixing these requires limited effort and reduces visual noise.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CHWZzbPLG6Sws8PT1HvydQ.png" /><figcaption>Figure 4: Isolated static analysis findings in MQC</figcaption></figure><h4>Step 4: Identify Systematic Patterns</h4><ul><li>Finally, analyze recurring issues across multiple models.</li><li>If a specific guideline check produces many critical findings across the project, this indicates a structural modeling issue. In this case, correcting a single instance is not enough. Adjust your modeling approach instead.</li><li>Start by fixing one representative case. Then apply the solution to similar occurrences.</li></ul><figure><img alt="This figure shows a heatmap where recurring static analysis issues across multiple models become visible." src="https://cdn-images-1.medium.com/max/1024/1*UI--cUMSwyWzeArx2Mvhrg.png" /><figcaption>Figure 5: Recurring static analysis issues across multiple models in MQC</figcaption></figure><p>Run the static analysis again after each improvement step. Every time you run it, the distribution changes. The red and yellow parts get smaller. The green areas expand.</p><p>At this stage, the heatmap becomes more than just a visualization. Instead of overwhelming you with numbers, it becomes a structured action plan that guides your quality improvements.</p><h3>What Does This Mean for Your Project?</h3><p>Static analysis findings will continue to appear in complex projects. That does not change. What changes is how you handle them.</p><p>At the beginning, the challenge was understanding what these static analysis findings actually mean and deciding where to start. By moving from isolated results in a single model to an aggregated, project-wide perspective, you turn raw numbers into structured insights.</p><p>Instead of reacting to individual findings, you begin to recognize patterns. Instead of feeling overwhelmed by volume, you work through clusters with measurable impact. And instead of treating static analysis findings as a reporting artifact, you use them as a steering instrument for your software quality.</p><p>The findings do not disappear overnight. But with a clear overview, a structured approach, and iterative analysis, they become manageable.</p><p><strong>In the end, prioritizing static analysis findings across complex projects is not about fixing everything at once. It is about creating transparency, reducing complexity step by step, and turning quality data into informed decisions.</strong></p><h3>How Can You Apply This in Your Own Project?</h3><p>If you want to turn static analysis findings into a steering instrument rather than just a reporting artifact, start by changing the way you visualize them.</p><p><strong>Together, we can </strong><a href="https://model-engineers.com/en/blog/how-do-you-prioritize-static-analysis-findings-across-complex-projects#contact"><strong>develop a structured approach to optimize your software quality monitoring</strong></a><strong>.</strong></p><p><em>Originally published at </em><a href="https://model-engineers.com/en/blog/how-do-you-prioritize-static-analysis-findings-across-complex-projects"><em>https://model-engineers.com</em></a><em> on August 27, 2026.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=781980f653d2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Simulink Tutorial: A Metric-Driven Approach to Reducing Model Complexity]]></title>
            <link>https://medium.com/@rational_sand_leopard_363/simulink-tutorial-a-metric-driven-approach-to-reducing-model-complexity-726f0a1e8a14?source=rss-632165bc2ce3------2</link>
            <guid isPermaLink="false">https://medium.com/p/726f0a1e8a14</guid>
            <dc:creator><![CDATA[Model Engineering Solutions GmbH]]></dc:creator>
            <pubDate>Mon, 10 Aug 2026 11:04:54 GMT</pubDate>
            <atom:updated>2026-10-20T10:12:53.693Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*OeIM6L8OYmL33LDT.png" /></figure><p>Have you ever opened up a Simulink model that was built years ago, and were unable to follow the logic?</p><p>Well, it happens more often than you would think. In reality, developers often face an uncomfortable truth: they know which subsystems are problematic because those subsystems were built quickly to meet a deadline or they have been extended again and again over years .</p><p>While they can sense that these issues need to be addressed, they often cannot easily quantify them.</p><p>Without data, it is difficult to justify refactoring, and if a developer leaves, the team may be forced to rebuild the incomprehensible subsystem from scratch.</p><p>This Simulink tutorial demonstrates how to transform gut feelings about model quality into actionable data using software metrics with the <a href="https://model-engineers.com/en/static-testing-mxam">MES Model Examiner® (MXAM)</a>, and how to use <a href="https://model-engineers.com/en/model-improvement-more">MES Model &amp; Refactor®(MoRe)</a> to implement and automate those improvements in practice.</p><h3>Step 1: Measuring the Problem</h3><p>Let us look at a real-world, anonymized example of a problematic subsystem. At first glance, you see a high number of blocks and numerous crossing lines. This makes the subsystem really hard to understand. To really comprehend the dependencies between functionalities, you have to closely follow each individual line.</p><p>To estimate how complex the subsystem is, you can measure a metric known as Local Complexity of the Halstead metric. This matters, because after all, you cannot improve what you cannot measure.</p><p>While Simulink offers the option to count the number of blocks, this is an inaccurate proxy for complexity. A ‘Lookup Table’ is far more complex than a ‘Gain Block’, yet a simple count treats them as equal.</p><p>Instead, you can use Halstead metric using the <a href="https://model-engineers.com/en/static-testing-mxam">MES Model Examiner® (MXAM)</a> to calculate the Halstead Volume metric. This metric evaluates how functionality is distributed and how blocks are interconnected, immediately flagging areas where too much logic has accumulated in one place. In our example, the initial local complexity is at a high value of ~2600.</p><p><strong>Without this metric, you will be refactoring blindly, missing the real hotspots, and accumulating technical debt in your models.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*r2RljjKbT0wc9b17.png" /></figure><h3>Step 2: Revealing Hidden Dependencies</h3><p>A major contributor to the confusion in this model is the presence of many Goto and From blocks. Although they are often used to avoid ‘signal chaos’, they hide the graphical data and control flow, which is one of the primary benefits of using Simulink.</p><p>To fix this, the first step is to remove all Goto/From blocks and replace them with explicit signal lines. To achieve that you can use MoRe’s action ‘Transform GoTo/Froms to Lines’ and obtain the result after a few easy clicks. At first, this makes the model look even worse and harder to understand. However, this is necessary to reveal the true dependencies.</p><p>Remember: clarity can look chaotic before it is well structured, and that is perfectly fine. The visual noise will be addressed in a later step using MoRe.</p><h3>Step 3: Implementing Visual Improvements with MoRe</h3><p>In this step of our Simulink tutorial, you can use MoRe to address the visual clutter. By applying the ‘Auto Layout’ action in MoRe, the tool automatically:</p><ul><li>Arranges blocks to follow a left-to-right data flow and visualize dependencies</li><li>Places blocks vertically and aligns them horizontally for maximum clarity</li><li>Reduces the number of line crossings</li><li>Applies standard layout guidelines and best practices</li></ul><p>After these actions, the model clearly showcases the sequence of functionalities, and the Local Complexity is significantly reduced to a value of ~1300.</p><p>Now the subsystem is not only readable, but it also serves as a good basis for further refactoring.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*T6vPl-RuuVzLxz3I.png" /></figure><h3>Step 4: Analyzing Subsystem Purpose</h3><p>Next, you need to evaluate whether the subsystem is structured correctly using the Percentage of Functional Blocks metric. According to modeling best practices, subsystems should ideally be:</p><ul><li>Mainly Structural: Containing mainly Inports, Outports, Subsystems and other blocks with structuring purpose</li><li>Mainly Functional: Containing mathematical or logic operation blocks but no further structuring blocks</li></ul><p>Our example subsystem currently has a hybrid value, meaning it mixes both types. This is a practice that should be avoided because hybrid subsystems reduce readability, understandability, and testability. A value of 0% would mean the subsystem is 100% structural, while 100% would mean it is purely functional.</p><h3>Step 5: Using the Incoherence Metric to Decide Whether to Split the Subsystem</h3><p>To move away from a hybrid structure, you need to know where to split the logic. You can use the Incoherence metric for this. While Cohesion measures how strongly internal elements collaborate on a single task, Incoherence measures the extent to which elements are pursuing multiple, unrelated tasks.</p><p>In our subsystem, the Incoherence metric shows multiple independent parts. This data is an indication that there are different functional areas that should be separated into their own subsystems.</p><p><strong>Considering this metric helps you to split the subsystem based on real data and not gut feeling.</strong></p><h3>Step 6: Final Refactoring with MoRe</h3><p>Guided by the Incoherence data, you can use MoRe to finalize the improvements:</p><ul><li>Implement the ‘Create Subsystem’ action to group the unrelated tasks into their own distinct components.</li><li>Apply the ‘Auto Layout’ action again to these new subsystems to ensure they are clean and easy to follow.</li></ul><p>This refactoring process is both efficient and fully guided by the data captured in the metrics. As a result, the subsystem’s estimated local complexity was reduced by half, decreasing from approximately 2,600 to 1,300.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*slaTxvHHgM1-CWYR.png" /></figure><h3>From Unreadable to Maintainable: The Benefits of Measuring Complexity</h3><p>The final result is a clean subsystem where even the Global Complexity has been reduced. Global Complexity is the sum of the individual local complexities of all subsystems in the model. This metric is vital because it reflects the overall maintainability of the entire system.</p><p>By bringing this number down, you will have completed this Simulink tutorial and transformed a difficult to read and maintain model into one that can be used for years to come.<strong> A metric-driven refactoring approach coupled with tools like MoRe saves resources and time, but it also allows you to focus on functionality.</strong></p><h3>Would You Like to Evaluate MoRe for Free?</h3><p>If you would like to experience first-hand how this tool can benefit you, simply send us an <a href="https://model-engineers.com/en/evaluate-request">evaluation request</a>. Also, if you are already an MES Model Examiner user, MoRe is included at no extra cost in the MXAM Functional Safety Solution from version 10 onwards.</p><p><a href="https://model-engineers.com/en/evaluate-request">Get Started With MoRe</a></p><p><em>Originally published at </em><a href="https://model-engineers.com/en/blog/simulink-tutorial-reducing-model-complexity"><em>https://model-engineers.com</em></a><em> on August 10, 2026.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=726f0a1e8a14" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How To Bring Stateflow Under Control with Modeling Guidelines]]></title>
            <link>https://medium.com/@rational_sand_leopard_363/how-to-bring-stateflow-under-control-with-modeling-guidelines-0983ffd89746?source=rss-632165bc2ce3------2</link>
            <guid isPermaLink="false">https://medium.com/p/0983ffd89746</guid>
            <category><![CDATA[modeling-guidelines]]></category>
            <category><![CDATA[model-based-development]]></category>
            <category><![CDATA[flow-state]]></category>
            <dc:creator><![CDATA[Model Engineering Solutions GmbH]]></dc:creator>
            <pubDate>Wed, 07 Jan 2026 13:24:57 GMT</pubDate>
            <atom:updated>2026-11-18T11:06:07.843Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="This image showcases a complex Stateflow model with multiple hierarchical sublevels." src="https://cdn-images-1.medium.com/max/1000/1*2717SjfwT1waubewTYplfw.png" /><figcaption>Image: A complex Stateflow model with multiple hierarchical sublevels</figcaption></figure><p>Stateflow is a powerful tool in model-based development, particularly in industries like automotive, where precise control of state machines and complex logic is essential. However, effectively using Stateflow requires overcoming recurring challenges, such as syntax issues and performance considerations.</p><p>In this article, we explore key insights from a survey conducted by MES and provide actionable tips to optimize your Stateflow models for improved performance, reliability, and maintainability.</p><h3>How Do Industry Professionals Use Stateflow: Survey</h3><h4>Level of Stateflow Adoption in Model-Based Development</h4><p>As part of our ongoing efforts to understand industry practices, we conducted a Stateflow-focused survey in 2022 in collaboration with 30 experts from companies including <a href="https://group.mercedes-benz.com/en/">Mercedes-Benz Group AG</a>, <a href="https://www.bosch.com/company/">Bosch Group</a>, <a href="https://www.continental.com/en/">Continental AG</a>, and others.</p><p>We started by asking whether they, as professionals working with model-based development, use Stateflow. As shown in the bar chart below, most users incorporate Stateflow in 20% to 50% of their models.</p><figure><img alt="This image shows the survey results of participants’ Stateflow usage in their models." src="https://cdn-images-1.medium.com/max/1024/1*WDb2USItylYCkAz0yj2AUA.png" /><figcaption>Image: Proportion of Stateflow in your models</figcaption></figure><h3>Preferred Action Language for Stateflow</h3><p>The second question we asked was which action language they used. The pie chart below highlights that most users prefer MATLAB over C language for action scripting, reflecting its simplicity and integration with the Simulink ecosystem.</p><figure><img alt="This image shows the proportion of participants in the survey who primarily use either C or MATLAB as their action language." src="https://cdn-images-1.medium.com/max/968/1*BPBYUWQmpbaFZ3YAXV38Qg.png" /><figcaption>Image: Which action language do the participants use?</figcaption></figure><h3>Common Obstacles in Using Stateflow</h3><p>Third, we asked participants about the challenges they face when using Stateflow. The most common obstacle was a lack of knowledge, with a notable number of users reporting no difficulties at all. Missing features were the least cited concern, suggesting that training and documentation improvements could help users overcome their hurdles.</p><figure><img alt="This image shows the obstacles participants face most often when using Stateflow." src="https://cdn-images-1.medium.com/max/1024/1*k7e_7TkoyMdd8y0SvWqwkw.png" /><figcaption>Image: Obstacles participants face when using Stateflow</figcaption></figure><h3>Use of Stateflow for Arithmetic Calculations</h3><p>The fourth inquiry was regarding the use of Stateflow for arithmetic calculations. A majority of 56% responded affirmatively. This highlights the tool’s versatility in handling complex calculations often needed in automotive systems.</p><figure><img alt="This image shows whether or not participants perform arithmetic calculations in Stateflow." src="https://cdn-images-1.medium.com/max/1024/1*R3w0kj71Qi_Wbn0-0K2WJg.png" /><figcaption>Image: Participants’ use of arithmetic calculations in Stateflow</figcaption></figure><h3>Most Commonly Used Stateflow Elements/Patterns</h3><p>Finally, we inquired about the most frequently used Stateflow elements and patterns. The results indicated a relatively uniform distribution, with Statecharts and Condition Actions showing a slightly higher usage rate, while Boxes exhibited the lowest adoption. This suggests a preference among participants for structured, condition-based modeling, particularly for implementing decision logic within their systems.</p><figure><img alt="This image shows the elements and patterns participants use the most." src="https://cdn-images-1.medium.com/max/1024/1*a4rgqat-IXyGft7p9aIY5g.png" /><figcaption>Image: Usage of Stateflow elements and patterns</figcaption></figure><h3>Key Takeaways From the Survey</h3><p>Our survey reaffirms that Stateflow is part of the toolset used by professionals in model-based development. However, the responses also reveal several challenges users face when using it. <br>Based on this feedback, the MES team identified common pain points and areas for improvement. In this article, we will explore these challenges in detail and provide best practices to enhance the efficiency and reliability of Stateflow modeling.</p><h3>What Challenges Make Model-Based Development With Stateflow Difficult?</h3><p>Model-based development with Stateflow offers powerful capabilities, but it also comes with challenges that can impact maintainability and efficiency. Key difficulties include:</p><ul><li><strong>Increasing complexity</strong>: As state transitions grow, managing them becomes more difficult.</li><li><strong>Scalability issues</strong>: State machines can quickly expand, making models harder to read and maintain.</li><li><strong>Syntax constraints: </strong>Strict syntax rules are necessary to ensure consistency and prevent errors.</li><li><strong>Careful design required</strong>: A structured approach and disciplined use of Stateflow are essential to avoid unexpected behavior and improve model clarity.</li></ul><h3>10 Strategies to Master Stateflow</h3><h3>1. Ensure Proper Syntax for Transition Labels</h3><p>Proper transition label syntax in Stateflow improves readability, maintainability, and predictability while ensuring accurate code generation in tools like TargetLink. A structured approach helps create clear, reliable, and easy-to-maintain models.</p><p>First, let’s break down and explain the meaning of each part of a transition label:</p><ul><li>Event: Specifies an event that causes the transition to be taken</li><li>Condition: Specifies a Boolean expression that, when true, validates a transition to be taken</li><li>Condition action: Executes as soon as the condition is evaluated as true</li><li>Transition action: Executes after the transition destination has been determined to be valid provided the condition</li></ul><p>A possible syntax is the following.</p><p>The format is: trigger [condition] {condition_action} /transition_action.</p><p>Keep in mind that you do not have to use all of them. Avoid events and use conditions, as they are standard. Additionally, decide between condition actions and transition actions.</p><figure><img alt="This is an example of a proper syntax for a transition label" src="https://cdn-images-1.medium.com/max/907/1*YRaGsLrjwJzKNRZ4XsyVaQ.png" /><figcaption>Image: Proper syntax example for transition labels</figcaption></figure><h3>2. Adhere to the Safe Modeling Language Subset</h3><p><strong>Based on modeling guidelines: mes_slsf_3110 | misra_slsf_047_ab | misra_slsf_046_a</strong></p><p><strong>History Junctions</strong> should be avoided as they can:</p><ul><li>Lead to misinterpretation of the model.</li><li>Complicate the validation process.</li><li>Hide functionality, making the system harder to understand and maintain.</li></ul><p>The image below showcases a history junction, marked by the H symbol. This could lead to the mistakes mentioned previously.</p><figure><img alt="The image showcases a history junction marked by the symbol ‘H’ which can cause errors." src="https://cdn-images-1.medium.com/max/137/1*c696qKdF8_IH8rKJ42QL8w.png" /><figcaption>Image: History junction which can lead to errors</figcaption></figure><p>Events should also be avoided because they can:</p><ul><li>Lead to recursion issues.</li><li>Cause unintended functionality.</li><li>Hide functionality, making it difficult to comprehend and maintain the model.</li></ul><p><strong>Which Stateflow action guidelines are safe to use?</strong><br>The recommendation is to choose one type of action, either Condition Actions, Transition Actions or State Actions, and use it consistently throughout the model.</p><h3>3. Use Condition and Transition Actions Correctly</h3><p><strong>Based on modeling guidelines: misra_slsf_045_e | misra_slsf_045_f | misra_slsf_045_g</strong></p><p><strong>Avoid Writing Variables in Condition and Transition Actions: </strong>Modifying variables within condition or transition actions can lead to unexpected behavior and complicate debugging.</p><figure><img alt="This image illustrates that to ensure predictable behavior, each variable should be modified by only one transition action during a state change." src="https://cdn-images-1.medium.com/max/565/1*NJF3B1Pd3z0TMzPwgLaAAQ.png" /><figcaption>Image: For predictable behavior, modify a variable in only one transition action per state change</figcaption></figure><p><strong>Prevent Reading Transition-Written Variables in Subsequent Transitions:</strong> A variable modified in a transition-action should not be read in a subsequent transition, as it can lead to inconsistencies in execution order.</p><figure><img alt="This image showcases that reading variables modified in a transition action in a subsequent transition can lead to execution inconsistencies." src="https://cdn-images-1.medium.com/max/573/1*dVAEdwSEGUt7Z3dNwgpoQg.png" /><figcaption>Image: Reading variables modified in a transition action can cause execution inconsistencies</figcaption></figure><p><strong>Single Transition-Action Writing: </strong>To maintain predictable behavior, a variable should only be modified by a single transition-action when moving between states.</p><figure><img alt="This image illustrates that to ensure predictable behavior, each variable should be modified by only one transition action during a state change." src="https://cdn-images-1.medium.com/max/565/1*NJF3B1Pd3z0TMzPwgLaAAQ.png" /><figcaption>Image: For predictable behavior, modify a variable in only one transition action per state change</figcaption></figure><h3>4. Avoid Crossing Transitions in Stateflow</h3><p><strong>Based on modeling guidelines: mes_slsf_3109</strong></p><p>To maintain clarity and prevent graphical overlaps, avoid transitions that cross state boundaries in Stateflow charts. Crossing transitions can make the chart difficult to read, increasing the risk of misinterpretation and errors.</p><p>In addition, a cluttered layout complicates debugging and maintenance, making it harder to track the flow of execution. By organizing transitions logically and keeping paths clear, you can improve model readability, maintainability, and overall reliability.</p><p>In the graphs below, transitions crossing parallel state boundaries are evident. It’s crucial to avoid such crossings, as they can lead to confusion and potential modeling errors.</p><figure><img alt="The image shows a few examples of transitions crossing parallel state boundaries." src="https://cdn-images-1.medium.com/max/1024/1*-82CUT9H8_AGocR_8bhMLg.png" /><figcaption>Image: transitions crossing parallel state boundaries</figcaption></figure><h3>5. Do Not Use Equality Operators With Floating-Point Operands</h3><p><strong>Based on modeling guidelines: jc_0481 | mes_sltl_002</strong></p><p>You should avoid the floating-point comparisons with the following equality comparison operators:</p><ul><li>==</li><li>!=</li><li>~=</li><li>&lt;&gt;</li></ul><p>Floating-point numbers have small rounding errors due to their binary representation, making exact comparisons unreliable. This can lead to incorrect results because two mathematically equal values may have tiny differences in memory. This is why using hard equality (strict bit-by-bit comparison) for floating points is not recommended.</p><h3>6. Avoid Backtracking in Stateflow</h3><p><strong>Based on modeling guidelines: mes_sf_002 | misra_slsf_043_h</strong></p><p>Stateflow does not support backtracking. This means that all executed actions remain in effect, regardless of whether the transition path reaches the intended final state. If a transition path fails to reach a valid end state, it can lead to unexpected behavior.</p><p>To prevent such issues, ensure that each transition path includes an unconditional default path. Additionally, either use condition actions only in the final segment of the transition or opt for transition actions instead.</p><p>(As discussed in Section 3, there are valid reasons to choose transition actions.)</p><p>Example of a backtracking issue:</p><figure><img alt="This image shows an example of an issue caused by backtracking in Stateflow." src="https://cdn-images-1.medium.com/max/715/1*H4EXFrNKW1qqRutEFsO9SQ.png" /><figcaption>Image: Example of an issue caused by backtracking in Stateflow</figcaption></figure><h3>7. Follow Best Practices for Setting Execution Orders</h3><p><strong>Based on modeling guidelines: mes_is_0002</strong></p><p>Stateflow defines the execution order clockwise, especially for parallel states. Even slight changes to the graphical arrangement or the addition of a new element can lead to changed execution orders.</p><p>The following graph illustrates how the execution order of transitions in a Stateflow chart changes when a new event (Event1) is introduced, highlighting the importance of manually specifying execution orders.</p><figure><img alt="The image shows how adding Event1 changes transition order and why manual control is needed." src="https://cdn-images-1.medium.com/max/907/1*hCRBFA8iZ4yfXoWb890xuQ.png" /><figcaption>Image: Adding Event1 changes transition order, so manual control is advised.</figcaption></figure><h3>8. Avoid Global Stateflow Functions</h3><p><strong>Based on modeling guidelines: mes_slsf_3106</strong></p><p>Defining Stateflow functions locally within their respective charts is a recommended practice to maintain modularity and prevent unintended interactions.</p><p>Using the “Export Chart Level Functions (Make Global)” feature allows graphical functions to be accessed globally in any chart of the model. However, these functions cannot be easily traced (only by searching for the function name) and result in opaque behavior.</p><p>Additionally, enabling ‘Allow exported functions to be called by Simulink’ (available since R2014b) introduces complexities in function management and data flow, so it should not be selected.</p><figure><img alt="This image shows recommended Simulink settings to keep Stateflow functions local and avoid global exports that complicate tracing and data flow." src="https://cdn-images-1.medium.com/max/727/1*WkcO14SNt1XKsri71zTnIg.png" /><figcaption>Image: Avoid selecting the ‘Allow exported functions to be called by Simulink’ option</figcaption></figure><h3>9. Skip Recursive Loops</h3><p><strong>Based on modeling guidelines: jc_0804</strong></p><p>Ensuring that graphical functions in Stateflow are neither defined recursively nor call other graphical functions is crucial to prevent unintended behavior and maintain model integrity. Recursive calls can lead to infinite loops, stack overflows, and increased complexity in debugging and maintenance.</p><p>The diagram below illustrates a recursive loop problem in Stateflow graphical functions. When func1(x) is executed, it calls func2(x), which in turn calls func1(x), creating an infinite recursion. To prevent this issue, it is recommended to avoid direct or indirect recursive function calls in Stateflow graphical functions.</p><figure><img alt="The image shows a recursive loop in Stateflow, where func1 and func2 call each other, causing infinite recursion." src="https://cdn-images-1.medium.com/max/880/1*s_DA_3qGuM54sguxIZxRQg.png" /><figcaption>Image: Recursive loop in Stateflow where func1 and func2 call each other, causing infinite recursion</figcaption></figure><h3>10. Explicitly Define Input Variables for Seamless Integration</h3><p>When working with TargetLink, Simulink, and Stateflow, it is essential to explicitly define input variables to maintain a consistent and well-structured interface. dSPACE’s TargetLink Property Manager (as shown in the image below) helps manage these variable definitions, ensuring consistency across the model and final implementation.</p><figure><img alt="The image showcases the interface of dSPACE’s TargetLink Property Manager." src="https://cdn-images-1.medium.com/max/907/1*DogBlExqeAfKtyhY5r1Czw.png" /><figcaption>Image: dSPACE’s TargetLink Property Manager</figcaption></figure><h3>Conclusion: Managing Complexity in Stateflow with Modeling Guidelines</h3><p>Stateflow provides powerful modeling capabilities, but it also introduces risks when not used carefully.</p><p><strong>To manage complexity, follow these best practices:</strong></p><ul><li>Keep it simple! Avoid unnecessary complexity in transitions and state logic.</li><li>Perform arithmetic operations in Simulink; otherwise, you risk the chart blowing up and becoming uncontrollable.</li><li>Follow established guidelines to prevent unexpected behavior and error-prone patterns.</li><li>Ensure a clear and structured layout for better readability and maintainability.</li><li><strong>Use tools such as </strong><a href="https://model-engineers.com/en/static-testing-mxam"><strong>MES Model Examiner® (MXAM)</strong></a><strong> to automate modeling guidelines compliance.</strong></li></ul><p>By adhering to these best practices, you can create robust, efficient, and maintainable Stateflow models that integrate seamlessly with Simulink and TargetLink.</p><p>If you would like to access our library of articles, webinars, research projects, and more on model-based development, check out our <a href="https://model-engineers.com/en/blog">MES Blog</a>. Stay updated, strengthen your expertise, and create simply better models!</p><p><em>Originally published at </em><a href="https://model-engineers.com/en/blog/how-to-bring-stateflow-under-control-with-modeling-guidelines"><em>https://model-engineers.com</em></a><em> on January 7, 2026.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0983ffd89746" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How Modeling Guideline Software Improves Model-Based Development for Safety and Efficiency]]></title>
            <link>https://medium.com/@rational_sand_leopard_363/how-modeling-guideline-software-improves-model-based-development-for-safety-and-efficiency-0cc524fba65b?source=rss-632165bc2ce3------2</link>
            <guid isPermaLink="false">https://medium.com/p/0cc524fba65b</guid>
            <category><![CDATA[modeling-guidelines]]></category>
            <category><![CDATA[model-complexity]]></category>
            <category><![CDATA[model-based-development]]></category>
            <dc:creator><![CDATA[Model Engineering Solutions GmbH]]></dc:creator>
            <pubDate>Tue, 06 Jan 2026 17:38:35 GMT</pubDate>
            <atom:updated>2026-11-18T11:08:20.817Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*XjIHovzdyazRJEFX.png" /></figure><p>In model-based development (MBD), modeling guidelines are often misunderstood. Many see them as a compliance task to be completed just before a milestone. They are perceived as something to satisfy quality managers, make reports look polished, or fulfill safety requirements.</p><p>But what if we take a step back and understand the real value behind guidelines?</p><p>At Model Engineering Solutions (MES) we say that guidelines are not the enemy. When applied correctly and early they become a powerful ally in building high-quality, safe, and maintainable models. Using the right modeling guideline software provides answers early in the process and helps reduce costly feedback loops later on. It rather enables developers to embed expert knowledge they otherwise might not have directly into their development workflow.</p><h3>What Exactly Are Modeling Guidelines?</h3><p>Modeling guidelines are curated sets of best practices for structuring, implementing, and maintaining models. They are not laws, but proven recommendations designed to reduce complexity and prevent common errors.</p><p>Some examples include:</p><ul><li>“Use a consistent color scheme throughout the model to enhance readability.”</li><li>“Avoid global Goto and From blocks to maintain transparency in signal flow.”</li><li>“Arithmetic blocks must not use inconsistent or inadequate data types.”</li></ul><p>These rules improve layout, signal flow, and help to avoid unsafe modeling patterns.</p><h3>Why Should We Care About Modeling Guidelines?</h3><p>Consider a model that was built quickly without following guidelines:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/695/0*8cL16beNkPM2iI0m.png" /><figcaption>Subsystem with structural issues before applying modeling guidelines.</figcaption></figure><p>The model may seem functional, but deeper review often reveals issues like poor readability, inconsistent data flow, and risky structures.</p><p>Now look at the same model after applying guidelines:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/689/0*VFP6OXWC-qv6izs7.png" /><figcaption>Subsystem improved after applying modeling guidelines.</figcaption></figure><h3>Where Do These Guidelines Come From?</h3><p>Modeling guidelines are defined by a variety of groups, such as, industry consortia, tool vendors, and companies themselves. Among the most established sources are:</p><ul><li><strong>MISRA</strong> (Motor Industry Software Reliability Association)</li><li><strong>MAB</strong> (MathWorks Advisory Board)</li><li><strong>Tool providers</strong> like dSPACE, MathWorks, and MES</li><li><strong>OEM and supplier-specific standards</strong> used by companies like Mercedes-Benz, VW, and ZF</li></ul><p>These organizations contribute to the recommendations implemented in modern modeling guideline software. The guidelines they develop focus on tools like MATLAB, Simulink, Stateflow, and TargetLink.</p><h3>How Do Modeling Guidelines Support Functional Safety?</h3><p>In safety-critical systems governed by standards such as ISO 26262 or IEC 61508, modeling guidelines play a vital role in supporting functional safety. They help reduce the risk of systematic failures by promoting clarity, consistency, and robustness in model-based designs. Additionally, guidelines aim to enforce safe modeling practices, restrict the use of error-prone constructs, and ensure proper data flow and execution order. These factors are essential for building models that are functionally correct, testable, and maintainable. When applied consistently using modeling guideline software, they help teams meet safety requirements and maintain high quality throughout the software development lifecycle.</p><h3>When Should Guidelines Be Applied in the Workflow?</h3><p>The short answer: as early as possible.</p><p>Applying guidelines too late often means missing the opportunity to prevent errors. Instead, integrate them at key points:</p><ul><li><strong>During modeling</strong> to avoid known problems early</li><li><strong>Before testing</strong> to reduce complexity and review time</li><li><strong>At handover points</strong> to assure quality between suppliers and OEMs</li><li><strong>Before code generation</strong> to streamline verification</li></ul><p>Modeling guideline software enables continuous control of guideline compliance by offering automatic checks and real-time feedback.</p><h3>What Happens When Complexity Is Not Controlled?</h3><p>High complexity is one of the biggest enemies of safe and maintainable software. When complexity is not actively managed, models tend to grow uncontrollably. In embedded software development, this has serious consequences: complex models are harder to understand, more prone to errors, and significantly more difficult to review and validate. Over time, this slows down development, makes testing inefficient, and increases the cost of maintenance and certification. It also puts overall system reliability at risk by making errors harder to detect and fix.</p><p>Modeling guidelines help address this risk by promoting clean architectures, encouraging the decomposition of large systems, and restricting the use of unsafe or ambiguous modeling patterns. To further control complexity, many teams rely on objective metrics. One proven approach is the Halstead Metric adapted from code-based software engineering to fit model-based design environments such as Simulink. In this context, blocks are treated as operators, and their inputs and outputs as operands. The Halstead Volume scales linearly with the number of blocks and logarithmically with the diversity of block types and connections. This makes it a practical metric to assess and compare model complexity.</p><p>By integrating such metrics into modeling guideline software, teams can systematically identify complexity hotspots, guide refactoring efforts, and ensure that models remain easy to maintain, test, and scale.</p><h3>How Does Modeling Guideline Software Support the Practical Application of Guidelines?</h3><p>Modeling guidelines only add value when they are applied correctly and consistently throughout the development process. Modeling guideline software supports this by automating checks, providing guidance, and integrating directly into the modeling environment.</p><p>One example of a modelling guideline software is MES Model Examiner ®(MXAM), which allows engineers to validate their models against standards such as MISRA, MAB, ISO 26262, or company-specific guideline set. MXAM is a powerful solution for performing in-depth static analysis of model-based designs. Engineered with functional safety in mind, it evaluates model structure, checks key metrics, and supports the consistent application of modeling guidelines.</p><p><em>Originally published at </em><a href="https://model-engineers.com/en/blog/how-modeling-guideline-software-improves-model-based-development-for-safety-and-efficiency"><em>https://model-engineers.com</em></a><em> on January 6, 2026.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0cc524fba65b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Cloud Deployment of MBD Toolchain]]></title>
            <link>https://medium.com/@rational_sand_leopard_363/cloud-deployment-of-mbd-toolchain-d1eb1665bdc8?source=rss-632165bc2ce3------2</link>
            <guid isPermaLink="false">https://medium.com/p/d1eb1665bdc8</guid>
            <category><![CDATA[automotive]]></category>
            <category><![CDATA[model-based-development]]></category>
            <category><![CDATA[cloud-technology]]></category>
            <category><![CDATA[cloud-deployment]]></category>
            <dc:creator><![CDATA[Model Engineering Solutions GmbH]]></dc:creator>
            <pubDate>Fri, 19 Dec 2025 14:20:46 GMT</pubDate>
            <atom:updated>2026-11-18T09:54:46.409Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="This image is a thumbnail representing the article Cloud Deployment of MBD Toolchain." src="https://cdn-images-1.medium.com/max/1024/0*PkVYeiBwJ3tA3BF1.png" /><figcaption>Image：Buzzwords of Cloud Technology</figcaption></figure><p>Cloud technology will never be used in automotive”? When discussing the application of cloud deployment in the automotive industry, it was once widely believed that cloud technology was unsuitable for product development in this sector.</p><p>Practical challenges such as intellectual property protection, data security, lack of transparency in processes, high migration costs, and the conservatism of IT departments served as significant barriers to the adoption of cloud technology in automotive development.</p><p>However, with the success of electric vehicle giants and other companies, the industry’s development trends have become unmistakable: the automotive sector is moving toward a more software-driven future.</p><p>An increasing number of OEMs are repositioning themselves, shifting their focus to software and technology. Several factors are driving this transformation, including advanced driver assistance systems (ADAS), e-mobility technologies, and the development of infotainment and comfort systems.</p><p>Overall, the automotive industry has begun to adopt cloud technology to accelerate the design of automotive software, pushing it toward becoming more advanced and intelligent.</p><p>This article focuses on exploring the advantages and considerations of applying cloud technology in the automotive industry, as well as its practical application in ensuring the quality of automotive software design.</p><h3>Key Elements of Cloud Technology</h3><p>Cloud technology is a computing model that provides on-demand access to computing, storage, networks, and other IT resources. In this model, computing power and applications can operate in centralized server farms located anywhere, unconstrained by physical space.</p><p>These servers may be deployed locally by OEMs or hosted on public cloud servers in various regions. A critical resource in cloud technology is the virtual machine (VM), which serves as a virtual computing environment. Within these servers, VMs are used to handle computations and can be dynamically deployed or undeployed based on workload demands. In theory, cloud technology offers virtually unlimited scalability in computing power. Personal computers also play a vital role, serving as the primary interface for interacting with the computing capabilities of cloud data centers. Bandwidth resources are equally significant in cloud computing. For cloud applications to function effectively, sufficient bandwidth is required to enable devices to establish fast internet connections.</p><p>Additionally, it is essential to monitor the actual usage of application services to ensure smooth and reliable operation. Cloud technology enhances development flexibility, simplifies scaling, and optimizes resource utilization. From a business perspective, it reduces costs, improves efficiency, and supports agile workflows.</p><p>There are several key concepts associated with cloud technology.</p><p><strong>Container</strong> is a technology that packages applications and their dependencies together, enabling seamless deployment, execution, and management of applications in a cloud environment.</p><p>One common implementation of container technology is <strong>Docker</strong>, an open-source containerization platform. Docker helps developers package applications and their dependencies into containers, allowing them to run in any environment that supports Docker, eliminating issues caused by environmental differences.</p><p>For clustering technology, <strong>Kubernetes (commonly referred to as k8s)</strong> is a container orchestration system that helps enterprises manage containerized applications efficiently.</p><p>Automation, as a core concept in cloud computing, aims to reduce costs and improve efficiency. Tools like <strong>Jenkins</strong>, <strong>Bamboo</strong>, and <strong>Git</strong> are frequently mentioned in the context of automation pipelines and build pipelines.</p><p>Jenkins is an open-source continuous integration tool written in Java, similar to Bamboo. Jenkins supports the automation of building, testing, and deployment processes, improving the efficiency and quality of software delivery. In addition, version control systems, such as Git, are also essential. Git allows teams to track project changes and collaborate effectively on development.</p><p>A <strong>repository</strong> is used to store software elements related to cloud technology. The primary types of cloud services are <strong>IaaS (Infrastructure as a Service), PaaS (Platform as a Service), and SaaS (Software as a Service)</strong>:</p><ul><li>IaaS provides computing, storage, and network resources, allowing users to pay based on actual usage.</li><li>PaaS offers platforms for developing, deploying, and operating applications.</li><li>SaaS delivers pre-built software applications.</li></ul><p>Other service models include:</p><ul><li><strong>CaaS (Container as a Service)</strong>, which focuses on providing foundational network resources and operating system services to consumers.</li><li><strong>DBaaS (Database as a Service)</strong>, which gives customers access to databases without the need to deploy or manage the underlying infrastructure.</li><li>Serverless computing, also known as <strong>FaaS (Function as a Service)</strong>,is based on PaaS. It provides a micro-architecture where customers do not need to deploy, configure, or manage servers. The cloud platform takes care of all server-related services required for running code.</li></ul><p>For small companies, cloud computing enables them to host websites or applications without investing in their own hardware and software, thus reducing costs. For large enterprises, cloud computing allows the expansion of IT infrastructure to meet diverse business needs efficiently.</p><h3>Challenges &amp; Opportunities in the Industry</h3><p><strong>Scalability</strong> is the foremost and critical advantage of cloud computing. Flexible tool configurations enable cloud computing to better adapt to various workloads and work scenarios.</p><p>Centralized management allows for real-time monitoring, ensuring transparent and controllable operational processes. Global standardization is equally important. Cloud computing provides a streamlined workflow, and its ease of maintenance ensures system reliability and efficient utilization. These advantages help enterprises reduce costs while improving transparency.</p><p>There is no doubt that cloud technology also faces several challenges. Firstly, the application of cloud computing may require users to alter their original tool usage patterns, potentially leading to difficulties in adaptation. Users’ acceptance of these changes becomes a significant challenge.</p><p>Additionally, migrating the entire project to the cloud can be time-consuming, potentially slowing down project progress or execution. Enterprises need to conduct thorough preparations before migration to address these issues effectively. Another challenge is the incompleteness of cloud-based toolchains. Some critical tools may not yet be fully adapted to cloud environments, which can create obstacles. Continuous technological development is necessary to enable a fully cloud-integrated toolchain.</p><p>Finally, adopting cloud technology may increase the enterprise’s dependence on third-party services, which introduces certain risks.</p><h3>Use Cases of Cloud Deployment in the Automotive Industry</h3><p>In the development and testing of automotive software, cloud deployment architectures are primarily applied in two forms: <strong>Desktop Cloud</strong> and <strong>Process Cloud</strong>.</p><p>Desktop Cloud is user-centric. In this case, the end user, typically someone working at a PC, triggers applications through a conventional PC, while computing power and data are stored in server farms in the cloud. From the user experience perspective, this approach is almost identical to working on a conventional PC. The software and applications are used interactively.</p><p>Process Cloud, on the other hand, is process-centric. At the user end, automated workflows trigger applications, relying on the automated pipelines introduced earlier, such as Jenkins, Git, and Bamboo. The results are automatically distributed in the form of reports or events.</p><p>A specific architecture case can be analyzed as follows. For software development, when developers and testers commit a model update or test change to a Git repository, this action proactively triggers an automated pipeline on the Jenkins master node.</p><p>This pipeline contains a series of descriptions for the test environment. When the test environment description files are modified, the Jenkins master node, acting as the central hub of the data center, is automatically triggered to control and distribute these changes in the pipeline configuration.</p><p>The Jenkins master node first requests deployment from the agent nodes. Then, the agent nodes request the download of the corresponding Docker containers from the cloud repository.</p><figure><img alt="This figure describes the desktop cloud setup." src="https://cdn-images-1.medium.com/max/1024/0*Y_kgannfqFTH_jIw.png" /><figcaption>Figure: Desktop Cloud Setup</figcaption></figure><p>As shown in Figure 1, the Docker repository contains pre-deployed container packages tailored for different platforms (Windows or Linux). The container package that meets the system requirements is then requested and deployed to the Jenkins agent node.</p><p>The container package (Docker) receives commands from the automated pipeline and subsequently checks out the necessary information, such as models and configuration files, from the Git repository. It then performs static analysis based on the specific instructions. The Jenkins master node then requests the results of this analysis, which are sent back and automatically stored.</p><p>Finally, the Jenkins master node initiates a request to the agent nodes to undeploy the containers (Docker) that are no longer needed. It also generates and sends the final report to the developers or testers.</p><figure><img alt="This figure describes the scalable cloud setup for automation." src="https://cdn-images-1.medium.com/max/1024/0*PzW4OKYC135eq1kx.png" /><figcaption>Figure: Scalable Cloud Setup for Automation</figcaption></figure><p>From the user’s perspective, user clients can also achieve scalability, utilizing terminal servers to complete the entire process of development, testing, and analysis (as illustrated in Figure 2).</p><p>Users, whether individual or multiple developers or testers, can log in through the terminal server. The server matches and configures different toolchains based on varying work environments and requirements.</p><p>If specific tool licenses are required, requests will be sent to a floating license server, with licenses being hosted in various locations as needed. To ensure security, servers are typically configured in redundant or geographically redundant modes. In this setup, the commit operation automatically triggers the Jenkins controller which distributes the corresponding automation pipeline to the agent nodes.</p><p>Using Kubernetes these agent nodes can be dynamically scaled, allowing for a seamless transition from fixed capacity to flexible, on-demand resource allocation, effectively expanding the cloud environment.</p><p>For streamlined process support in cloud architecture, MES offers preconfigured container templates to simplify the setup and configuration of software tools within containers.</p><h3>License Model &amp; Cloud Deployment of Toolchains</h3><p>Referring to the keywords introduced previously, cloud service models can be broadly categorized based on the delivery mode of the cloud service provider:：</p><ul><li>Software as a Service (SaaS)</li><li>Platform or Infrastructure as a Service (PaaS or IaaS)</li></ul><p>In Software as a Service (SaaS), user applications are integrated into the hosted service, and the business model primarily operates on a pay-as-you-use basis.</p><p>In Platform or Infrastructure as a Service (PaaS or IaaS), attention is directed toward the computing power and operating system capacity leased by the customer.</p><p>Platform as a Service (PaaS) includes operating systems and databases. Infrastructure as a Service (IaaS) includes hardware and virtual machines (VMs).</p><p>Customers using PaaS or IaaS retain ownership and licensing of their application software. They can define usage costs through customized plans. Under high workloads, additional capacity becomes critical, making flexible dynamic subscription models an essential solution. These models provide additional support when usage exceeds regular limits.</p><p>For the MBD toolchain, the industry standard primarily involves hosting infrastructure. Applications and toolchains are often stored within the company, as this architecture facilitates monitoring and flexible control over the development process.</p><p>For automotive manufacturers, Infrastructure as a Service (IaaS) is the primary method of applying cloud technology. There is a growing demand for dynamic licensing models across the industry, and MES aligns with this trend by offering flexible licensing solutions.</p><figure><img alt="This figure describes the cloud service from MES." src="https://cdn-images-1.medium.com/max/1024/0*QYqVHNbwi9EGF4HF.png" /><figcaption>Figure: Cloud Service from MES</figcaption></figure><p>The MES toolchains are fully adapted to cloud-based licensing models and are available in both Windows and Linux versions. For the automotive industry, subscription-based licensing is the mainstream choice.</p><p>One licensing model is the <strong>Developer Desktop Cloud</strong>, designed for interactive cloud environments and tailored for migrating desktops to the cloud. For licensing coverage, the <strong>Automation Cloud Global</strong> enables fully automated and highly dynamic global licensing, accessible from anywhere in the world, designed specifically for migrating processes to the cloud.</p><p>Additionally, MES currently supports setting up the MBD toolchains in the cloud. MES provides cloud-based sandbox environments for pilot projects and configuration for Docker containers. Furthermore, MES also supports automation pipelines configured in the cloud.</p><p>The Developer Desktop Cloud licensing model is designed for interactive cloud environments, facilitating the migration of desktop-based development to the cloud. For fully automated and highly dynamic global licensing, the Automation Cloud Global model enables seamless access from anywhere in the world, specifically tailored for cloud-based process migration.</p><p>In addition, MES supports the setup of MBD toolchains in the cloud, offering cloud-based sandbox environments for pilot projects, Docker container configuration, and automation pipeline deployment.</p><p>As illustrated in Figure 3, MES provides end-to-end support for cloud deployment, from technical consulting to tools and workflows, and ultimately to build and migration, helping clients successfully transition their toolchains to the cloud.</p><p><strong>Find Your Ideal Solution: Flexible MES Licensing Options</strong></p><p>Want to learn more about MES tools and services? <a href="https://model-engineers.com/en/blog/find-your-ideal-solution-flexible-mes-licensing-options">Check out the introduction</a> to our flexible licensing options!</p><p><em>Originally published at </em><a href="https://model-engineers.com/en/blog/cloud-deployment-of-mbd-toolchain"><em>https://model-engineers.com</em></a><em> on December 19, 2025.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d1eb1665bdc8" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>