Giter VIP home page Giter VIP logo

Comments (3)

modelica-trac-importer avatar modelica-trac-importer commented on August 23, 2024

Comment by otter on 20 Jan 2010 13:53 UTC
(1) is included in the FMI description (model.png, documentation, sources, binaries are optional).

from fmi-standard.

modelica-trac-importer avatar modelica-trac-importer commented on August 23, 2024

Comment by otter on 20 Jan 2010 20:25 UTC
(2) is resolved by removing the header files fmiModelTypes.h and fmiModelFunctions.h completely from the FMU. Reasoning:

In the sources directory the header files are not included since:

  • fmiModelTypes.h makes no sense, because if sources are provided then the target simulator defines the fmiModelTypes.h file and not the fmu.

  • fmiModelFunctions.h is not needed, because it is implicitly defined by atttribute fmiVersion in the xml file. Furthermore, in order that the C-compiler can check for consistent function arguments, the header file from the target machine must be used when compiling the C-sources. It would therefore be counter productive (unsafe), if the fmiModelFunctions.h file would be present.

In the binary directory the header files are not included since:

  • fmiModelFunctions.h is not used from the target simulator, since this header file was already utilized to build the target simulator executable. Via attribute xmlVersion from the xml file, or via function call fmiGetVersion() the version number of this header file used to construct the FMU can be deduced.

  • fmiModelTypes.h is not needed, since it is implicitly defined by the platform directory (e.g. win32 for 32-bit machine or linux64 for 64-bit machine), and the version that was used to construct the FMU can be inquired via function call fmiGetModelTypesPlatform().

from fmi-standard.

modelica-trac-importer avatar modelica-trac-importer commented on August 23, 2024

Modified by dietmarw on 7 Sep 2012 10:18 UTC

from fmi-standard.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.