You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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()
The text was updated successfully, but these errors were encountered:
ghorwin
changed the title
Add support for handling input variable polynoms
Add support for handling input variable polynomials (Taylor series terms)
Dec 13, 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.
canInterpolateInputs
andmaxOutputDerivativeOrder
in all connected FMUsMaxOutputDerivativeOrder = 1
by defaultfmi2SetRealInputDerivatives()
andfmi2GetRealOutputDerivatives()
The text was updated successfully, but these errors were encountered: