{"id":16532,"date":"2025-01-22T10:08:58","date_gmt":"2025-01-22T02:08:58","guid":{"rendered":"https:\/\/www.tosunai.com\/?p=16532"},"modified":"2025-02-11T17:21:23","modified_gmt":"2025-02-11T09:21:23","slug":"fmu-generator-user-manual-is-here","status":"publish","type":"post","link":"https:\/\/www.tosunai.com\/en\/fmu-generator-user-manual-is-here\/","title":{"rendered":"Sharing | FMU Generator User Manual is here!"},"content":{"rendered":"

FMU Generator is a tool used in TSMaster to package models to generate FMU files, currently supports FMI3.0 and FMI2.0 versions, FMU type only supports Co-Simulation (CS), i.e., Co-Simulation FMU.In this article, we will introduce the FMU Generator User's Manual and the related examples, ultra-detailed introduction, come to watch!<\/p>

Keywords: TSMaster, FMU, FMI<\/strong><\/em><\/p>

<\/div>

About the manual<\/strong><\/h2>

The following table lists the styles and symbols used in the manual.<\/p>

\"Styles<\/figure><\/div>
\"Styles<\/figure><\/div>
<\/div>

FMU Function Summary<\/strong><\/h2>

FMU is a cross-language simulation interface for describing simulation models that follow the FMI standard.There are three FMU types for the FMI standard, namely:<\/p>

  • The Model Exchange (ME) FMU describes a simulation using mathematical equations. To properly simulate a real system, the FMU Import tool must connect the FMU to a numerical solver. The numerical solver sets the FMU state, asks for the state derivatives, determines the appropriate step size, and decides how to compute the state at the next time step.<\/li>\n\n
  • The Co-Simulation (CS) FMU includes a built-in numerical solver. To properly simulate the real system, the FMU Import tool sets up the FMU inputs, asks the FMU to advance at a given time, and reads the FMU outputs.<\/li>\n\n
  • The Scheduled Execution (SE) scheduled execution interface exposes each model partition. The scheduler provided by the importer can control the execution of each model partition separately.<\/li><\/ul>
    <\/div>

    Windows Forms<\/strong><\/h2>

    The FMU generator consists of the following four main areas:<\/p>

    • toolbar area<\/li>\n\n
    • Export Settings Area<\/li>\n\n
    • Signal display and editing area<\/li>\n\n
    • Database\/System Variables Browser Area<\/li><\/ul>
      \"FMU
      Figure 1:FMU generator interface<\/figcaption><\/figure>

      3.1 Toolbar area<\/strong><\/p>

      For exporting FMUs, deleting signals and updating the database.<\/p>

      The toolbar icons are described below:<\/p>

      \"Toolbar<\/figure><\/div>

      3.2 Export settings area<\/strong><\/p>

      Used to configure the FMI\/FMU identifier, description, version, type, simulation step, and RPC type.<\/p>

      The FMU export configuration parameters are as follows:<\/p>

      parameters<\/td>Descriptive<\/td><\/tr>
      identifiers<\/td>Can only contain letters, numbers and underscores, and must begin with a letter or underscore<\/td><\/tr>
      Descriptive<\/td>Can be any character<\/td><\/tr>
      FMU version<\/td>Currently available in either version 3.0 or 2.0<\/td><\/tr>
      FMU type<\/td>Currently only co-simulation (CS) is supported<\/td><\/tr>
      pacemaker<\/td>Setting the co-simulation step size<\/td><\/tr>
      RPC Type<\/td>Currently, only local RPC is supported, and the FMU exported by local RPC is not supported to be called by TSMaster.<\/td><\/tr><\/tbody><\/table><\/figure>