Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mark CS FMUs that are pure algebraic / stateless #1880

Open
chrbertsch opened this issue May 25, 2023 · 2 comments
Open

Mark CS FMUs that are pure algebraic / stateless #1880

chrbertsch opened this issue May 25, 2023 · 2 comments
Labels
enhancement New feature or request Layered_Standard

Comments

@chrbertsch
Copy link
Collaborator

chrbertsch commented May 25, 2023

(from a discsussion at the FMI Design meeting with @pmai and @klausschuch )
There are CS FMUs, where the outputs are directly calculated from the input (independent of the the timestep) and without internal states.
Such a direct feedthrough behavior can be implemented with ME FMUs, but many users and tool vendors prefer the simpler CS interface.
FMI forbids calling fmi3doStep with communicationStepSize = 0, but an importer that is informed about the pure algebraic nature of such an FMU could call fmi3DoStep with any timestep and use the result in a suitable way.
For FMI 3.0 (and 2.0.4) we could mark such FMUs with a minimalistic layered standard, defining only a manifest file in the extra directory.

@chrbertsch chrbertsch added enhancement New feature or request Layered_Standard labels May 25, 2023
@KarlWernersson
Copy link
Collaborator

Would it not be simpler to make an addition to allow output to be computed wihtout dostep?
This can also already be done with and fmu that allow event mode, just go into event mode compute your output->done.

@KarlWernersson
Copy link
Collaborator

Related ticket
#94

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Layered_Standard
Projects
None yet
Development

No branches or pull requests

2 participants