{"id":4783,"date":"2023-01-18T11:13:52","date_gmt":"2023-01-18T10:13:52","guid":{"rendered":"https:\/\/www.hektick.de\/software\/mastersimulator\/mastersim-faq-help\/"},"modified":"2023-12-13T11:08:51","modified_gmt":"2023-12-13T10:08:51","slug":"mastersim-faq-help","status":"publish","type":"page","link":"https:\/\/bauklimatik-dresden.de\/en\/software\/mastersimulator\/mastersim-faq-help\/","title":{"rendered":"MASTERSIM FAQ &amp; Help"},"content":{"rendered":"\n<h2 class=\"wp-block-heading has-text-align-center\">Tutorials MASTERSIM<\/h2>\n\n<p>The instructions listed here are intended to make it easier to get started with <em>MASTERSIM<\/em>.<\/p>\n\n<div class=\"wp-block-pb-accordion-item c-accordion__item js-accordion-item no-js accordion-box\" data-initially-open=\"false\" data-click-to-close=\"true\" data-auto-close=\"true\" data-scroll=\"false\" data-scroll-offset=\"0\"><h3 id=\"at-25650\" class=\"c-accordion__title js-accordion-controller\" role=\"button\">Tutorial 1 &#8211; Structure of the project file<\/h3><div id=\"ac-25650\" class=\"c-accordion__content\">\n<p><em>MASTERSIM<\/em> uses a simple project file that describes the simulation scenario. This project file has the extension <code>msim<\/code> and contains all the data required to carry out a simulation.<\/p>\n\n\n\n<p>A second file with the same name and the extension <code>bm<\/code>is saved in the same directory as the project file. This contains the graphical representation of the simulation scenario. As the graphical network display is <em>purely optional<\/em>, the <code>bm<\/code>file can be omitted\/ignored\/deleted at will.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># Created:\tDi. Aug. 14 17:02:20 2022\n# LastModified:\tDi. Aug. 14 17:02:20 2022\n\n# Project file example for iterating GaussSeidel with time step adjustment\n#\n# No error test included, time step adjustment based on convergence failures.\ntStart                   0 s\ntEnd                     12 s\nhMax                     30 min\nhMin                     1e-06 s\nhFallBackLimit           0.001 s\nhStart                   1e-07 s\nhOutputMin               0.12 s\nadjustStepSize           no\npreventOversteppingOfEndTime yes\nabsTol                   1e-06\nrelTol                   0.01\nMasterMode               GAUSS_JACOBI\nErrorControlMode         NONE\nmaxIterations            1\nwriteInternalVariables   yes\n\nsimulator 0 0 Part1 #ff447cb4 \"fmus\/simx\/Part1.fmu\"\nsimulator 1 1 Part2 #ffc38200 \"fmus\/simx\/Part2.fmu\"\nsimulator 2 1 Part3 #ffff0000 \"fmus\/simx\/Part3.fmu\"\n\ngraph Part1.x2 Part2.x2\ngraph Part1.x1 Part2.x1\ngraph Part2.x3 Part3.x3\ngraph Part3.x4 Part2.x4\n\nparameters Part1.para1  14.3<\/code><\/pre>\n<\/div><\/div>\n\n<div class=\"wp-block-pb-accordion-item c-accordion__item js-accordion-item no-js accordion-box\" data-initially-open=\"false\" data-click-to-close=\"true\" data-auto-close=\"true\" data-scroll=\"false\" data-scroll-offset=\"0\"><h3 id=\"at-25651\" class=\"c-accordion__title js-accordion-controller\" role=\"button\">Tutorial 2 &#8211; Introduction and basic concepts<\/h3><div id=\"ac-25651\" class=\"c-accordion__content\">\n<p><em>MASTERSIM<\/em> is a co-simulation master program that supports FMI co-simulation. If co-simulation is something completely new to you or you are not yet familiar with the functional mock-up interface (FMI), I recommend that you first read a little about the basics, e.g. on the <a href=\"https:\/\/fmi-standard.org\/\" target=\"_blank\" rel=\"noreferrer noopener\">fmi-standard.org<\/a> website.<\/p>\n\n\n\n<p><em>MASTERSIM<\/em> basically connects different simulation models and exchanges data between simulation slaves at <em>runtime<\/em>. The following diagram illustrates the individual components of the program and the data exchange between them.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"555\" height=\"684\" src=\"http:\/\/bauklimatik-dresden.de\/wp-content\/uploads\/2023\/02\/DataFlowDiagram.png\" alt=\"FMI diagram of the data flow (files) and programs involved\" class=\"wp-image-3320\" srcset=\"https:\/\/bauklimatik-dresden.de\/wp-content\/uploads\/2023\/02\/DataFlowDiagram.png 555w, https:\/\/bauklimatik-dresden.de\/wp-content\/uploads\/2023\/02\/DataFlowDiagram-243x300.png 243w\" sizes=\"auto, (max-width: 555px) 100vw, 555px\" \/><figcaption class=\"wp-element-caption\"><em>Diagram of the data flow (files) and programs involved<\/em><\/figcaption><\/figure>\n\n\n\n<p><em>MASTERSIM<\/em> consists of two parts:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>a graphical user interface (<em>GUI<\/em>) and<\/li>\n\n\n\n<li>the <em>MasterSimulator<\/em> simulation program for the command line<\/li>\n<\/ol>\n\n\n\n<p>The interface makes it very easy to create, adapt and modify simulation projects. A simulation project is saved in two files, the <em>MASTERSIM<\/em> project and the graphical representation (linking scheme). The latter is optional and not necessary for the simulation.<\/p>\n\n\n\n<p>The simulation is executed by the command line program <em>MasterSimulator<\/em>, which reads project files, imports referenced FMUs and executes the simulation. The results generated, both by <em>MasterSimulator<\/em> itself and those of the slaves, are then used by further processing tools to visualize and analyse the results (the free analysis tool with <a href=\"http:\/\/bauklimatik-dresden.de\/en\/software\/postproc\/\" data-type=\"page\" data-id=\"84\">PostProc2<\/a> is very well suited for this and my recommendation for <em>MASTERSIM<\/em> result evaluation).<\/p>\n\n\n\n<p>The separation between the user interface and the actual simulator makes it very easy to use <em>MASTERSIM<\/em> in a scripted environment or for a systematic variant study as described below in the <a href=\"http:\/\/bauklimatik-dresden.de\/wp-content\/uploads\/2023\/01\/MasterSim_manual_de.pdf\" data-type=\"attachment\" data-id=\"2568\">Workflows<\/a> section.<\/p>\n<\/div><\/div>\n\n<div class=\"wp-block-pb-accordion-item c-accordion__item js-accordion-item no-js accordion-box\" data-initially-open=\"false\" data-click-to-close=\"true\" data-auto-close=\"true\" data-scroll=\"false\" data-scroll-offset=\"0\"><h3 id=\"at-25652\" class=\"c-accordion__title js-accordion-controller\" role=\"button\">Special topics, tips and tricks<\/h3><div id=\"ac-25652\" class=\"c-accordion__content\">\n<p>With various methods, <em>MASTERSIM<\/em> can be used much more efficiently and extensively than seems possible using the user interface alone. Script-based editing or creation of the <em>MASTERSIM<\/em> project file is just one way of increasing efficiency. Further ideas can be found in the tutorials listed and in the <a href=\"http:\/\/bauklimatik-dresden.de\/wp-content\/uploads\/2023\/01\/MasterSim_manual_de.pdf\" data-type=\"attachment\" data-id=\"2568\">manual<\/a>.<\/p>\n\n\n\n<p><\/p>\n<\/div><\/div>\n\n<hr class=\"wp-block-separator alignwide has-alpha-channel-opacity\"\/>\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-28f84493 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<div class=\"wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link has-palette-color-6-color has-text-color has-background wp-element-button\" href=\"http:\/\/bauklimatik-dresden.de\/en\/software\/mastersimulator\/\" style=\"background-color:#5d5ba1\">MORE INFORMATION<\/a><\/div>\n<\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<div class=\"wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link has-palette-color-6-color has-text-color has-background wp-element-button\" href=\"http:\/\/bauklimatik-dresden.de\/en\/software\/mastersimulator\/mastersim-download-license\/\" style=\"background-color:#5d5ba1\">DOWNLOAD &amp; LICENCE<\/a><\/div>\n<\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<div class=\"wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link has-palette-color-6-color has-text-color has-background wp-element-button\" href=\"http:\/\/bauklimatik-dresden.de\/en\/software\/mastersimulator\/mastersim-documentation\/\" style=\"background-color:#5d5ba1\">DOCUMENTATION<\/a><\/div>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Tutorials MASTERSIM The instructions listed here are intended to make it easier to get started with MASTERSIM.<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":1578,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-4783","page","type-page","status-publish","hentry"],"blocksy_meta":{"styles_descriptor":{"styles":{"desktop":"","tablet":"","mobile":""},"google_fonts":[],"version":6}},"_links":{"self":[{"href":"https:\/\/bauklimatik-dresden.de\/en\/wp-json\/wp\/v2\/pages\/4783","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bauklimatik-dresden.de\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/bauklimatik-dresden.de\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/bauklimatik-dresden.de\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/bauklimatik-dresden.de\/en\/wp-json\/wp\/v2\/comments?post=4783"}],"version-history":[{"count":0,"href":"https:\/\/bauklimatik-dresden.de\/en\/wp-json\/wp\/v2\/pages\/4783\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/bauklimatik-dresden.de\/en\/wp-json\/wp\/v2\/pages\/1578"}],"wp:attachment":[{"href":"https:\/\/bauklimatik-dresden.de\/en\/wp-json\/wp\/v2\/media?parent=4783"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}