Comments (3)
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.
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.
Modified by dietmarw on 7 Sep 2012 10:18 UTC
from fmi-standard.
Related Issues (20)
- Bump Reference FMUs submodule to latest version prior to release
- Clarify meaning of DefaultExperiment.stepSize for Model Exchange HOT 1
- Define matching rule "none" in the base FMI standard HOT 1
- Recommend or demand reverse domain notation for TerminalKinds and VariableKinds?
- Backport #1940 to FMI 2.0
- Backport #1941 to FMI 2.0
- Add section on when (not) to use Scheduled Execution
- Clarify what to do if a tool cannot do init iteration, the tool should report that correctly in the modelDescription.xml
- Allow setFloat64() for continuous states in Event Mode if reinit = false
- Clarify which variables can be set in Continuous Time Mode HOT 1
- Formalize naming and capitalization conventions for variables, attributes, elements, and functions HOT 1
- Add statement to forbid changing the modelDescription.xml in v2.0.x Word/PDF document HOT 1
- Clarification on what is meant with " unique on each level" for the "name" attribute of a <Terminal> HOT 3
- Proposal to add the attribute "rotation" to <TerminalGraphicalRepresentation> HOT 2
- Proposal for standardizing `fmiModelDescription` interface HOT 3
- Array Dimensions are always local constants in the FMU HOT 1
- Define the term "reinitialization"
- Backport definition of reinitialization to FMI 2.0.x
- Optional elements of ModelDescription HOT 1
- Unify usage of "reverse domain name notation" HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fmi-standard.