Skip to content

Commit

Permalink
Documented the third argument of ModelicaSystem
Browse files Browse the repository at this point in the history
  • Loading branch information
adeas31 committed May 3, 2018
1 parent 0737232 commit 74a891b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion UsersGuide/source/ompython.rst
Expand Up @@ -178,7 +178,9 @@ The object constructor requires a minimum of 2 input arguments which are strings
- The second input argument must be a string with the name of the Modelica model
including the namespace if the model is wrapped within a Modelica package.

- A third input argument is used if the Modelica model builds on other Modelica code, e.g. the Modelica Standard Library.
- The third input argument is used to specify the list of dependent libraries e.g.,

>>> mod=ModelicaSystem("BouncingBall.mo","BouncingBall",["Modelica", "SystemDynamics"])

- By default ModelicaSystem uses OMCSessionZMQ but if you want to use OMCSession
then pass the argument `useCorba=True` to the constructor.
Expand Down

0 comments on commit 74a891b

Please sign in to comment.