-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c427d8c
commit 7d8cbac
Showing
3 changed files
with
37 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
34 changes: 34 additions & 0 deletions
34
docs/read_the_docs/source/advanced_tutorial/openstudio_hpxml.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
OpenStudio-HPXML | ||
================ | ||
|
||
ResStock contains a `git subtree <https://www.atlassian.com/git/tutorials/git-subtree>`_ to the `OpenStudio-HPXML <https://github.com/NREL/OpenStudio-HPXML>`_ repository. | ||
The subtree is located at ``resources/hpxml-measures``, and is basically a direct copy of all the files contained in OpenStudio-HPXML. | ||
As OpenStudio-HPXML is updated, ResStock's develop branch is periodically updated to point to the master branch of OpenStudio-HPXML, helping to ensure that ResStock stays up-to-date with OpenStudio-HPXML's development. | ||
It may also be helpful to test an OpenStudio-HPXML branch using a branch of ResStock. | ||
In either case, the subtree at ``resources/hpxml-measures`` can be updated using a set of simple commands. | ||
|
||
.. _latest-os-hpxml: | ||
|
||
For updating ResStock's develop branch to point to OpenStudio-HPXML's master branch, first checkout a ``latest-os-hpxml`` branch, and then enter the following command: | ||
|
||
.. code:: bash | ||
$ openstudio tasks.rb update_resources | ||
See :doc:r`running_tasks` for more information and context about running tasks. | ||
|
||
.. _branch-os-hpxml: | ||
|
||
For pulling in any OpenStudio-HPXML branch of choice, first checkout test branch in ResStock. Then enter the following command: | ||
|
||
.. code:: bash | ||
$ git subtree pull --prefix resources/hpxml-measures https://github.com/NREL/OpenStudio-HPXML.git <branch_name> --squash | ||
.. _other-updates: | ||
|
||
After pulling a branch of OpenStudio-HPXML into ResStock, a few additional steps are involved: | ||
- manually edit measures/ResStockArguments/measure.rb and run ``openstudio tasks.rb update_measures`` to force the measure.xml to be regenerated. | ||
- update options lookup with any new ResStockArguments arguments | ||
- address any input/output data dictionary updates at ``resources/data/dictionary`` | ||
- TODO |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters