brazilbruno

Results 6 comments of brazilbruno

@KarlWernersson @AndreasPfeiffer I'm not sure if this is the right place to ask. I am trying to implement a UKF using a co-simulation FMU exported from Dymola, and imported in...

Sure, that works in the example I stated above as well. The problem is that for every function call of "simulate_fmu()", I instantiate the fmu every time. I haven't found...

Dear @m-kormann, I am not sure I understand your suggestion. For the extended Kalman filter, this makes sense. But for the UKF, where you need to simulate the FMU at...

@t-sommer I see that, but when creating a list of tuples with the necessary inputs for the function and trying to use the starmap function of multiprocessing.Pool(), it still says...

Here a modified version of [this example](https://github.com/CATIA-Systems/FMPy/blob/main/fmpy/examples/parameter_variation.py) that I was hopeful would work ```python """ Parallel example modified """ import dask from dask import bag, array from dask.diagnostics import ProgressBar...

And here is another example, this time trying to use the recommended simulate_fmu() function: ```python import numpy as np import fmpy from fmpy import read_model_description, extract, simulate_fmu, instantiate_fmu from fmpy.fmi2...