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

Add support for handling input variable polynomials (Taylor series terms) #6

Open
5 tasks
ghorwin opened this issue Sep 15, 2021 · 0 comments
Open
5 tasks

Comments

@ghorwin
Copy link
Owner

ghorwin commented Sep 15, 2021

Add support for input/output variable polynomials (i.e. for FMUs that implement Taylor-series reconstruction method).

When getting variables from one FMU that supports polynomials, collect and store the derivatives as well. Similarly, when setting FMU input variables, also set stored polynomial coefficients.

MASTERSIM itself does not need to do any reconstruction on the variables.

  • read capability flag canInterpolateInputs and maxOutputDerivativeOrder in all connected FMUs
  • determine maximum output derivative order for each input-output-variable connection; FMUs without this capability have MaxOutputDerivativeOrder = 1 by default
  • check impact on input-output variable transformation equations
  • for each variable connection, create a cache for the derivatives
  • extend getting/setting FMU state to pull and push the derivatives as well (modified by the optional transformation rules); i.e. implement fmi2SetRealInputDerivatives() and fmi2GetRealOutputDerivatives()
@ghorwin ghorwin added this to the v1.0 milestone Sep 23, 2021
@ghorwin ghorwin changed the title Add support for handling input variable polynoms Add support for handling input variable polynomials (Taylor series terms) Dec 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant