I have a FMU of a model and the use case is to change parameter values of the FMU to see the impact on the results. Is there a way to list top level parameters of the FMU us
In FMI there is no distinction between top level parameters and other parameters. To list all available parameters in the model using PyFMI (FMI 2.0):
from pyfmi import load_fmu import pyfmi.fmi as fmi model = load_fmu("MyModel.fmu") params = model.get_model_variables(causality=fmi.FMI2_PARAMETER)