Comments (3)
What status value should be returned by fmi3DoStep when earlyReturn=fmi3True, is fmi3OK still acceptable? What about when terminateSimulation is also set to fmi3True?
The way I read our definition of the return codes, fmi3OK must be returned in all cases, because any of these cases are normal use cases.
If this is not clear enough, we should find a place where to state this, please suggest where.
from fmi-standard.
Perhaps I'm misunderstanding the use case for earlyReturn. Can we set earlyReturn/terminateSimulation=fmi3True if an issue occurred (ex. div. by zero) during integration prior to end of the step? Normally (without the earlyReturn mechanism) we'd return fmi3Error in this case.
from fmi-standard.
Perhaps I'm misunderstanding the use case for earlyReturn. Can we set earlyReturn/terminateSimulation=fmi3True if an issue occurred (ex. div. by zero) during integration prior to end of the step? Normally (without the earlyReturn mechanism) we'd return fmi3Error in this case.
The standard lists in "4.1.3. Early Return" the reasons for early return from doStep, errors are not mentioned, because the general idea of early return is that an additional communication step is introduced before the simulation continues.
For errors that cause the end of the simulation, the return code is the more general way to indicate to the importer the end of the simulation.
Again, if this is not clear enough: please propose where you would expect a sentence to clarify this issue.
from fmi-standard.
Related Issues (20)
- Interpretation of fmi3GetBinary with array variables HOT 2
- Forbid or discourage nameclashes of terminal names with normal model variables HOT 1
- Layered standard for reference solutions in an FMU HOT 1
- PDF in 2.0.4 "Complete package" Zip file marked as "rc2" HOT 1
- Non-normative text states that importers can deactivate output clocks HOT 2
- Handling of time-based Clocks with interval=0 HOT 5
- Standard is not clear about the information flow of Clocks HOT 5
- LICENSE.TXT of full package of FMI 2.0.4 release still contains "non-commercial" version of CC license HOT 1
- Usage of FMI for steady state simulation HOT 6
- Glossary clarifications for "simulator - simulation program - simulation tool"
- Clarify lifetime of argument functions in fmi2Instantiate() HOT 3
- Define legal values for currentCommunicationPoint after t = startTime HOT 1
- FMI 2.0.4 PDF displays version 2.0.3 in header HOT 1
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" HOT 4
- fmi2_import_get_variable_has_start(fmi2_import_variable_t*) API is returning zero (0) for Outputs and Global Block Outputs HOT 2
- Define allowed call sequence when terminateSimulation = true HOT 3
- Handling of file access and pathname parameters HOT 1
- Clarify allowed call sequence after fmi3Error has been returned HOT 1
- Bump Reference FMUs submodule to latest version prior to release
- Clarify meaning of DefaultExperiment.stepSize for Model Exchange 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.