Add tutorial models
This commit is contained in:
parent
a3050e5f1d
commit
070993ac35
17 changed files with 533 additions and 0 deletions
10
examples/tutorial_parallel/simple_experiment.py
Normal file
10
examples/tutorial_parallel/simple_experiment.py
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
from pypdevs.simulator import Simulator
|
||||
|
||||
from mymodel import MyModel
|
||||
|
||||
model = MyModel()
|
||||
simulator = Simulator(model)
|
||||
|
||||
simulator.setVerbose()
|
||||
|
||||
simulator.simulate()
|
||||
Loading…
Add table
Add a link
Reference in a new issue