Skip to content

Support for co-simulation fmus #11

Description

@dhblum

When instantiating a model with a co-simulation FMU, the following error is received:

Traceback (most recent call last):
  File "test_model.py", line 144, in test_instantiate_model_cs
    self.__instantiate_model(fmi_ver='cs')
  File "test_model.py", line 99, in __instantiate_model
    m = model.Model(filePath)
  File "/home/dhbubu/git/estimationpy/EstimationPy/estimationpy/fmu_utils/model.py", line 97, in __init__
    self.__set_fmu__(fmu_file, result_handler, solver, atol, rtol, verbose)
  File "/home/dhbubu/git/estimationpy/EstimationPy/estimationpy/fmu_utils/model.py", line 1272, in __set_fmu__
    self.set_simulation_options(result_handler, solver, atol, rtol, verbose)
  File "/home/dhbubu/git/estimationpy/EstimationPy/estimationpy/fmu_utils/model.py", line 1439, in set_simulation_options
    self.opts[s][fmu_util_strings.SOLVER_OPTION_VERBOSITY_STRING] = fmu_util_strings.SOLVER_VERBOSITY_QUIET
KeyError: 'LSODAR_options'

This issue will address this error to provide limited support for co-simulation fmus.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions