Skip to content

Conversation

@arun3688
Copy link
Collaborator

@arun3688 arun3688 commented Aug 12, 2021

Purpose

This PR allows users to provide library Versions using the ModelicaSystem constructor

Example

>>> ModelicaSystem("TestVersion.mo", "Test", ["Modelica", "PowerSystems"]) # usage 1, as list of strings
>>> ModelicaSystem("TestVersion.mo", "Test", [("Modelica","3.2.3")]) # usage 2, as array of tuples 
>>> ModelicaSystem("TestVersion.mo", "Test", [("Modelica","3.2.3"), "PowerSystems"]) # usage 3, as Array of tuples and  String 

@arun3688 arun3688 merged commit 7981c3d into OpenModelica:master Aug 12, 2021
@arun3688 arun3688 deleted the loadlibraryversion branch August 12, 2021 11:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant