Skip to content

Commit

Permalink
Added instructions in README to add to PYTHONPATH
Browse files Browse the repository at this point in the history
  • Loading branch information
kefeimo committed Aug 2, 2023
1 parent 619d43c commit 4c7c545
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ that is being developed as part of the [IBPSA Project 1](https://ibpsa.github.io
## Run an example test controller:

* For Python-based example controllers:
* Add the directory path to the root of this repository to the ``PYTHONPATH`` environment variable.
* Add the directory path to the root of this repository to the ``PYTHONPATH`` environment variable. Use ``export PYTHONPATH=$(pwd):$PYTHONPATH``.
* Build and deploy ``testcase1``. Then, in a separate terminal, use ``$ cd examples/python/ && python testcase1.py`` to test a simple proportional feedback controller on this test case over a two-day period.
* Build and deploy ``testcase1``. Then, in a separate terminal, use ``$ cd examples/python/ && python testcase1_scenario.py`` to test a simple proportional feedback controller on this test case over a test period defined using the ``/scenario`` API.
* Build and deploy ``testcase2``. Then, in a separate terminal, use ``$ cd examples/python/ && python testcase2.py`` to test a simple supervisory controller on this test case over a two-day period.
Expand Down

0 comments on commit 4c7c545

Please sign in to comment.