-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
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
canInterpolateInputsandmaxOutputDerivativeOrderin all connected FMUs - determine maximum output derivative order for each input-output-variable connection; FMUs without this capability have
MaxOutputDerivativeOrder = 1by 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()andfmi2GetRealOutputDerivatives()
Metadata
Metadata
Assignees
Labels
No labels