{"id":4181,"date":"2023-03-18T11:40:18","date_gmt":"2023-03-18T10:40:18","guid":{"rendered":"http:\/\/mosaic-modeling.de\/?page_id=4181"},"modified":"2023-08-22T09:55:02","modified_gmt":"2023-08-22T08:55:02","slug":"simulation-evaluation","status":"publish","type":"page","link":"https:\/\/mosaic-modeling.de\/?page_id=4181","title":{"rendered":"Simulation: Evaluation"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_85 counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">On this page<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/mosaic-modeling.de\/?page_id=4181\/#Purpose\" >Purpose<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/mosaic-modeling.de\/?page_id=4181\/#Explanation-of-the-editor\" >Explanation of the editor<\/a><\/li><\/ul><\/nav><\/div>\n\n<p class=\"has-vivid-red-color has-text-color\"><strong>Mandatory element<\/strong><\/p>\n\n\n<p>Now that the model is formulated and specified, we can solve it. This can be done within MOSAICmodeling, but you can also export your model to a variety of different tools.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Purpose\"><\/span>Purpose<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>The evaluation allows you to evaluate your model within MOSAICmodeling or virtually every available simulation tool.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Explanation-of-the-editor\"><\/span>Explanation of the editor<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>If the degree of freedom is zero, the simulation can be solved or code can be generated to simulate externally. The window &#8220;Status information&#8221; in Figure 1 provides additional information on the current state of the simulation. Code can be generated using hard-coded (= predefined) language specifications or user-defined language specifications. The former have been designed over the years by the MOSAICmodeling team. The available options depend on the type of equation system, i.e., nonlinear equation system or DAE system. Sometimes, you can also set additional options within the respective programming language in the window &#8220;Code Generator and Solver Properties&#8221; at the bottom, such as maximum number of iterations.<\/p>\n<p>When you have selected a language specification, you can click on &#8220;Generate Code&#8221;, which results in the code being printed to the second tab &#8220;View Code&#8221;. From there, you can simply copy the code or you can click on &#8220;Export Code&#8221; at the top right corner. The second option &#8211; the user-defined language specifiation &#8211; is explained <a href=\"http:\/\/mosaic-modeling.de\/?page_id=4210\">here<\/a> and offers much more flexibility. All elements of this tab are explained in Table 1.<\/p>\n<figure id=\"attachment_4966\" aria-describedby=\"caption-attachment-4966\" style=\"width: 1920px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/mosaic-modeling.de\/wp-content\/uploads\/2023\/08\/Editor_Evaluation-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-4966\" src=\"http:\/\/mosaic-modeling.de\/wp-content\/uploads\/2023\/08\/Editor_Evaluation-1.png\" alt=\"\" width=\"1920\" height=\"1080\" srcset=\"https:\/\/mosaic-modeling.de\/wp-content\/uploads\/2023\/08\/Editor_Evaluation-1.png 1920w, https:\/\/mosaic-modeling.de\/wp-content\/uploads\/2023\/08\/Editor_Evaluation-1-300x169.png 300w, https:\/\/mosaic-modeling.de\/wp-content\/uploads\/2023\/08\/Editor_Evaluation-1-1024x576.png 1024w, https:\/\/mosaic-modeling.de\/wp-content\/uploads\/2023\/08\/Editor_Evaluation-1-768x432.png 768w, https:\/\/mosaic-modeling.de\/wp-content\/uploads\/2023\/08\/Editor_Evaluation-1-1536x864.png 1536w, https:\/\/mosaic-modeling.de\/wp-content\/uploads\/2023\/08\/Editor_Evaluation-1-1110x624.png 1110w, https:\/\/mosaic-modeling.de\/wp-content\/uploads\/2023\/08\/Editor_Evaluation-1-528x297.png 528w\" sizes=\"auto, (max-width: 1920px) 100vw, 1920px\" \/><\/a><figcaption id=\"caption-attachment-4966\" class=\"wp-caption-text\">Figure 1: Code generation for simulations.<\/figcaption><\/figure>\n\n\n<figure class=\"wp-block-table is-style-stripes has-small-font-size\"><table><thead><tr><th class=\"has-text-align-center\" data-align=\"center\">Element<\/th><th class=\"has-text-align-left\" data-align=\"left\">Explanation<\/th><\/tr><\/thead><tbody><tr><td class=\"has-text-align-center\" data-align=\"center\">Status Information<\/td><td class=\"has-text-align-left\" data-align=\"left\">Provides additional information on the status of the current simulation<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">Language specification<\/td><td class=\"has-text-align-left\" data-align=\"left\">Lets you choose from a number of predefined language specifications or allows you to load your own user-defined language specification<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">Generate Code<\/td><td class=\"has-text-align-left\" data-align=\"left\">Generates the code according to the current language specification<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">Evaluate<\/td><td class=\"has-text-align-left\" data-align=\"left\">Directly evaluates the model within MOSAICmodeling. This feature is only available for a couple of algorithms, which are marked bold in the dropdown menu<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">Description<\/td><td class=\"has-text-align-left\" data-align=\"left\">Provides some information on the predefined language specification<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">Code Generator and Solver Properties<\/td><td class=\"has-text-align-left\" data-align=\"left\">Lets you set those options that were implemented by the MOSAICmodeling team<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">Specific Environment Properties<\/td><td class=\"has-text-align-left\" data-align=\"left\">Provides additional options if the user added CAPE-OPEN function and interfaces to the model<\/td><\/tr><\/tbody><\/table><figcaption class=\"wp-element-caption\">Table 1: Elements of the code evaluation.<\/figcaption><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Mandatory element Now that the model is formulated and specified, we can solve it. This can be done within MOSAICmodeling, but you can also export your model to a variety of different tools. Purpose The evaluation allows you to evaluate your model within MOSAICmodeling or virtually every available simulation tool. Explanation of the editor If [&hellip;]<\/p>\n","protected":false},"author":252,"featured_media":0,"parent":4174,"menu_order":2,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-4181","page","type-page","status-publish","czr-hentry"],"_links":{"self":[{"href":"https:\/\/mosaic-modeling.de\/index.php?rest_route=\/wp\/v2\/pages\/4181","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mosaic-modeling.de\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/mosaic-modeling.de\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/mosaic-modeling.de\/index.php?rest_route=\/wp\/v2\/users\/252"}],"replies":[{"embeddable":true,"href":"https:\/\/mosaic-modeling.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4181"}],"version-history":[{"count":4,"href":"https:\/\/mosaic-modeling.de\/index.php?rest_route=\/wp\/v2\/pages\/4181\/revisions"}],"predecessor-version":[{"id":5689,"href":"https:\/\/mosaic-modeling.de\/index.php?rest_route=\/wp\/v2\/pages\/4181\/revisions\/5689"}],"up":[{"embeddable":true,"href":"https:\/\/mosaic-modeling.de\/index.php?rest_route=\/wp\/v2\/pages\/4174"}],"wp:attachment":[{"href":"https:\/\/mosaic-modeling.de\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4181"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}