-
Notifications
You must be signed in to change notification settings - Fork 85
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
Usage of FMI for steady state simulation #1920
Comments
@hubertus65 : Does Modelon use FMI in the context of steady-state simulation? |
Discussion at design web-meeting:
|
@ tool vendors: |
You can do this in Dymola by adding equations for the FMU's derivative and modify the fixed attribute to false on some state (that has a fixed initial value) to balance out the equations. The FMU test package containing Modelica models made for testing FMI 2 capabilities that created by DLR for the FMI 2 release contains two simple test cases for this. Edit: Needs to be model exchange FMU for it to work in Dymola as the States and state derivatives are not exposed in that way for our co-simulation import, but should fully possible to solve for CS as well as long as we don't want to affect the derivatives after initialization and the FMU has exposed the derivatives in modelStructure |
FMI Design Meeting: |
Klaus: The pseudo-code in https://fmi-standard.org/docs/3.0.1/#algebraic-loops already contains a fixed-point iteration |
After make a rather small research-based market analysis/statistics, it became apparent that the process industry is not directly needing dynamic models. Their typical workflow is twofold:
The plant construction process is characterized by selection of pre-existing components and combining these in a smart fashion. Thus, it would make sense to ship simulation model(s) with these components by the vendors. That would allow to create both simulations in a component-based way (think SSP), ideally based on FMI.
For the dynamic models (2. above) this was possible in general. The steady state simulation models (number 1 above) however is not really possible to be handled in the current way. The only option to calculate the steady state was to use the model exchange models and optimize the state such that the derivatives vanish. However, this is more of a hack than the desired application of the FMU interface.
Thus, it might be desirable to extend the scope and add considerations for such steady state calculations either to the standard/an extension or by declaring the existing restrictions and boundary conditions in the documentation.
This issue was created after the discussion in Sindelfinden in Nov, 2023 at Akkodis related to possible extensions and user requirements. I recreated this issue here as I put it initially in the wrong repository.
The text was updated successfully, but these errors were encountered: