You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the session kwarg is specified, the ModelicaSystem will use that
session instead of creating a new one. This is useful for creating a
ModelicaSystem for a model that is already loaded in an already existing
session.
Remove __del__ method from ModelicaSystem. Having the deleter there
meant that the deleter for the session would run multiple times if a
session had shared ownership. The deleter will still run when the
session's reference count reaches zero, or when it is garbage collected.
Note: If the model file is not in the current working directory, then the path where file is located must be included together with file name. Besides, if the Modelica model contains several different models within the same package, then in order to build the specific model, in second argument, user must put the package name with dot(.) followed by specific model name.
0 commit comments