From 4c7c545e603eaa44cd9121900c9f4a9021bf5ac9 Mon Sep 17 00:00:00 2001 From: Kefei Mo Date: Wed, 2 Aug 2023 14:06:25 -0500 Subject: [PATCH] Added instructions in README to add to PYTHONPATH --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8dd051a2b..fbd086292 100644 --- a/README.md +++ b/README.md @@ -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.