Skip to content

allow users to provide library version - #143

Merged
arun3688 merged 1 commit into
OpenModelica:masterfrom
arun3688:loadlibraryversion
Aug 12, 2021
Merged

allow users to provide library version#143
arun3688 merged 1 commit into
OpenModelica:masterfrom
arun3688:loadlibraryversion

Conversation

@arun3688

@arun3688 arun3688 commented Aug 12, 2021

Copy link
Copy Markdown
Collaborator

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

1 participant