Skip to content

Commit 8e46e5d

Browse files
committed
Improve docstring for simulate()
1 parent 8337f43 commit 8e46e5d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

OMPython/ModelicaSystem.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -860,7 +860,7 @@ def simulate(self,
860860
mod.simulate()
861861
mod.simulate(resultfile="a.mat")
862862
mod.simulate(simflags="-noEventEmit -noRestart -override=e=0.3,g=10") # set runtime simulation flags, deprecated
863-
mod.simulate(simargs={"noEventEmit": None, "noRestart": None, "override": "e=0.3,g=10"}) # using simargs
863+
mod.simulate(simargs={"noEventEmit": None, "noRestart": None, "override": "override": {"e": 0.3, "g": 10}}) # using simargs
864864
"""
865865

866866
om_cmd = ModelicaSystemCmd(runpath=self._tempdir, modelname=self._modelName, timeout=timeout)

0 commit comments

Comments
 (0)