otfmi.fmi.get_variability
- get_variability(model)
Get the variability of the variables (constant, discrete, continuous, or other).
- Parameters:
- modelPyfmi model object (pyfmi.fmi.FMUModelXXX) or path to an FMU.
- Returns:
- variabilitylist of int
FMI1: CONSTANT(0), PARAMETER(1), DISCRETE(2), CONTINUOUS(3), UNKNOWN(4)
FMI2: CONSTANT(0), FIXED(1), TUNABLE(2), DISCRETE(3), CONTINUOUS(4), UNKNOWN(5)