Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow users to provide library version #51

Merged
merged 1 commit into from
Aug 9, 2021

Conversation

arun3688
Copy link
Contributor

@arun3688 arun3688 commented Aug 9, 2021

Related issues

#44

Purpose

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

Example

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

@arun3688 arun3688 merged commit 8a6cf80 into OpenModelica:master Aug 9, 2021
@arun3688 arun3688 deleted the libversion branch August 9, 2021 15:06
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