Skip to content

Commit

Permalink
Updated documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Thierry Nouidui committed Apr 26, 2018
1 parent 15affa3 commit eaf7970
Show file tree
Hide file tree
Showing 18 changed files with 319 additions and 291 deletions.
24 changes: 13 additions & 11 deletions Documentation/userGuide/www/userGuide/acknowledgments.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,25 +6,27 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<title>12. Acknowledgments &mdash; FMU Export of EnergyPlus User Guide</title>
<title>12. Acknowledgments &#8212; FMU Export of EnergyPlus User Guide</title>

<link rel="stylesheet" href="_static/sphinxdoc.css" type="text/css" />
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />

<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: './',
VERSION: '2.0.2',
VERSION: '2.0.3',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true
HAS_SOURCE: true,
SOURCELINK_SUFFIX: '.txt'
};
</script>
<script type="text/javascript" src="_static/jquery.js"></script>
<script type="text/javascript" src="_static/underscore.js"></script>
<script type="text/javascript" src="_static/doctools.js"></script>
<script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
<link rel="top" title="FMU Export of EnergyPlus User Guide" href="index.html" />
<link rel="index" title="Index" href="genindex.html" />
<link rel="search" title="Search" href="search.html" />
<link rel="next" title="13. Disclaimers" href="disclaimer.html" />
<link rel="prev" title="11. Glossary" href="glossary.html" />
</head>
Expand All @@ -49,7 +51,7 @@ <h3>Navigation</h3>
<a href="index.html">User Guide</a></li>
</br>
<!--
<li class="nav-item nav-item-0"><a href="index.html">FMU Export of EnergyPlus User Guide</a> &raquo;</li> -->
<li class="nav-item nav-item-0"><a href="index.html">FMU Export of EnergyPlus User Guide</a> &#187;</li> -->

</ul>
</div>
Expand All @@ -64,15 +66,15 @@ <h4>Next topic</h4>
<div role="note" aria-label="source link">
<h3>This Page</h3>
<ul class="this-page-menu">
<li><a href="_sources/acknowledgments.txt"
<li><a href="_sources/acknowledgments.rst.txt"
rel="nofollow">Show Source</a></li>
</ul>
</div>
<div id="searchbox" style="display: none" role="search">
<h3>Quick search</h3>
<form class="search" action="search.html" method="get">
<input type="text" name="q" />
<input type="submit" value="Go" />
<div><input type="text" name="q" /></div>
<div><input type="submit" value="Go" /></div>
<input type="hidden" name="check_keywords" value="yes" />
<input type="hidden" name="area" value="default" />
</form>
Expand Down Expand Up @@ -122,13 +124,13 @@ <h3>Navigation</h3>
<a href="index.html">User Guide</a></li>
</br>
<!--
<li class="nav-item nav-item-0"><a href="index.html">FMU Export of EnergyPlus User Guide</a> &raquo;</li> -->
<li class="nav-item nav-item-0"><a href="index.html">FMU Export of EnergyPlus User Guide</a> &#187;</li> -->

</ul>
</div>
<div class="footer" role="contentinfo">
&copy; Copyright 2013-2016, The Regents of the University of California (through Lawrence Berkeley National Laboratory).
Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.4.1.
&#169; Copyright 2013-2018, The Regents of the University of California (through Lawrence Berkeley National Laboratory).
Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.5.1.
</div>
</body>
</html>
42 changes: 22 additions & 20 deletions Documentation/userGuide/www/userGuide/bestPractice.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,25 +6,27 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<title>7. Best Practice &mdash; FMU Export of EnergyPlus User Guide</title>
<title>7. Best Practice &#8212; FMU Export of EnergyPlus User Guide</title>

<link rel="stylesheet" href="_static/sphinxdoc.css" type="text/css" />
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />

<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: './',
VERSION: '2.0.2',
VERSION: '2.0.3',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true
HAS_SOURCE: true,
SOURCELINK_SUFFIX: '.txt'
};
</script>
<script type="text/javascript" src="_static/jquery.js"></script>
<script type="text/javascript" src="_static/underscore.js"></script>
<script type="text/javascript" src="_static/doctools.js"></script>
<script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
<link rel="top" title="FMU Export of EnergyPlus User Guide" href="index.html" />
<link rel="index" title="Index" href="genindex.html" />
<link rel="search" title="Search" href="search.html" />
<link rel="next" title="8. Development" href="development.html" />
<link rel="prev" title="6. Mathematical Description" href="mathematics.html" />
</head>
Expand All @@ -49,7 +51,7 @@ <h3>Navigation</h3>
<a href="index.html">User Guide</a></li>
</br>
<!--
<li class="nav-item nav-item-0"><a href="index.html">FMU Export of EnergyPlus User Guide</a> &raquo;</li> -->
<li class="nav-item nav-item-0"><a href="index.html">FMU Export of EnergyPlus User Guide</a> &#187;</li> -->

</ul>
</div>
Expand All @@ -74,15 +76,15 @@ <h4>Next topic</h4>
<div role="note" aria-label="source link">
<h3>This Page</h3>
<ul class="this-page-menu">
<li><a href="_sources/bestPractice.txt"
<li><a href="_sources/bestPractice.rst.txt"
rel="nofollow">Show Source</a></li>
</ul>
</div>
<div id="searchbox" style="display: none" role="search">
<h3>Quick search</h3>
<form class="search" action="search.html" method="get">
<input type="text" name="q" />
<input type="submit" value="Go" />
<div><input type="text" name="q" /></div>
<div><input type="submit" value="Go" /></div>
<input type="hidden" name="check_keywords" value="yes" />
<input type="hidden" name="area" value="default" />
</form>
Expand Down Expand Up @@ -129,14 +131,14 @@ <h2>7.1. Configuring an EnergyPlus model which uses the <code class="docutils li
<p>The code below shows how to declare these objects in the IDF.
To activate the external interface, we use:</p>
<blockquote>
<div><div class="highlight-text"><div class="highlight"><pre><span></span>ExternalInterface, !- Object to activate external interface
<div><div class="highlight-text"><div class="highlight"><pre>ExternalInterface, !- Object to activate external interface
FunctionalMockupUnitExport; !- Name of external interface
</pre></div>
</div>
</div></blockquote>
<p>To define the input of the FMU, we use:</p>
<blockquote>
<div><div class="highlight-text"><div class="highlight"><pre><span></span>ExternalInterface:FunctionalMockupUnitExport:To:Schedule,
<div><div class="highlight-text"><div class="highlight"><pre>ExternalInterface:FunctionalMockupUnitExport:To:Schedule,
FMU_OthEqu_ZoneOne, !- Name
Any Number, !- Schedule Type Limits Names
Q, !- FMU Variable Name
Expand All @@ -146,7 +148,7 @@ <h2>7.1. Configuring an EnergyPlus model which uses the <code class="docutils li
</div></blockquote>
<p>To define the output of the FMU, we use:</p>
<blockquote>
<div><div class="highlight-text"><div class="highlight"><pre><span></span>ExternalInterface: FunctionalMockupUnitExport:From:Variable,
<div><div class="highlight-text"><div class="highlight"><pre>ExternalInterface: FunctionalMockupUnitExport:From:Variable,
ZONE ONE, !- Output:Variable Index Key Name
Zone Mean Air Temperature, !- Output:Variable Name
TRooMea; !- FMU Variable Name
Expand All @@ -157,7 +159,7 @@ <h2>7.1. Configuring an EnergyPlus model which uses the <code class="docutils li
EnergyPlus output variable which corresponds to the FMU output needs
to be specified in the IDF file:</p>
<blockquote>
<div><div class="highlight-text"><div class="highlight"><pre><span></span>Output:Variable,
<div><div class="highlight-text"><div class="highlight"><pre>Output:Variable,
ZONE ONE, !- Key Value
Zone Mean Air Temperature, !- Variable Name
TimeStep; !- Reporting Frequency
Expand All @@ -184,14 +186,14 @@ <h2>7.2. Configuring an EnergyPlus model which uses the <code class="docutils li
<p>The code below shows how to declare these objects in the IDF.
To activate the external interface, we use:</p>
<blockquote>
<div><div class="highlight-text"><div class="highlight"><pre><span></span>ExternalInterface, !- Object to activate external interface
<div><div class="highlight-text"><div class="highlight"><pre>ExternalInterface, !- Object to activate external interface
FunctionalMockupUnitExport; !- Name of external interface
</pre></div>
</div>
</div></blockquote>
<p>To define the input of the FMU, we use:</p>
<blockquote>
<div><div class="highlight-text"><div class="highlight"><pre><span></span>ExternalInterface:FunctionalMockupUnitExport:To:Actuator,
<div><div class="highlight-text"><div class="highlight"><pre>ExternalInterface:FunctionalMockupUnitExport:To:Actuator,
Zn001_Wall001_Win001_Shading_Deploy_Status, !- Name
Zn001:Wall001:Win001, !- Actuated Component Unique Name
Window Shading Control, !- Actuated Component Type
Expand All @@ -203,7 +205,7 @@ <h2>7.2. Configuring an EnergyPlus model which uses the <code class="docutils li
</div></blockquote>
<p>To define the outputs of the FMU, we use:</p>
<blockquote>
<div><div class="highlight-text"><div class="highlight"><pre><span></span>ExternalInterface:FunctionalMockupUnitExport:From:Variable,
<div><div class="highlight-text"><div class="highlight"><pre>ExternalInterface:FunctionalMockupUnitExport:From:Variable,
WEST ZONE, !- Output:Variable Index Key Name
Zone Mean Air Temperature, !- Output:Variable Name
TRoo; !- FMU Variable Name
Expand All @@ -219,7 +221,7 @@ <h2>7.2. Configuring an EnergyPlus model which uses the <code class="docutils li
EnergyPlus output variables which correspond to the FMU outputs need
to be specified in the IDF file:</p>
<blockquote>
<div><div class="highlight-text"><div class="highlight"><pre><span></span>Output:Variable,
<div><div class="highlight-text"><div class="highlight"><pre>Output:Variable,
Zn001:Wall001:Win001, !- Key Value
Surface Outside Face Incident Solar Radiation Rate per Area, !- Variable Name
TimeStep; !- Reporting Frequency
Expand All @@ -246,7 +248,7 @@ <h2>7.3. Configuring an EnergyPlus model which uses the <code class="docutils li
<code class="docutils literal"><span class="pre">yShade</span></code> that can be used in an EMS program.</p>
<p>To define the input of the FMU, we use:</p>
<blockquote>
<div><div class="highlight-text"><div class="highlight"><pre><span></span>ExternalInterface:FunctionalMockupUnitExport:To:Variable,
<div><div class="highlight-text"><div class="highlight"><pre>ExternalInterface:FunctionalMockupUnitExport:To:Variable,
yShade, !- Name
yShadeFMU, !- FMU Variable Name
6; !- Initial Value
Expand Down Expand Up @@ -281,13 +283,13 @@ <h3>Navigation</h3>
<a href="index.html">User Guide</a></li>
</br>
<!--
<li class="nav-item nav-item-0"><a href="index.html">FMU Export of EnergyPlus User Guide</a> &raquo;</li> -->
<li class="nav-item nav-item-0"><a href="index.html">FMU Export of EnergyPlus User Guide</a> &#187;</li> -->

</ul>
</div>
<div class="footer" role="contentinfo">
&copy; Copyright 2013-2016, The Regents of the University of California (through Lawrence Berkeley National Laboratory).
Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.4.1.
&#169; Copyright 2013-2018, The Regents of the University of California (through Lawrence Berkeley National Laboratory).
Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.5.1.
</div>
</body>
</html>
36 changes: 19 additions & 17 deletions Documentation/userGuide/www/userGuide/build.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,25 +6,27 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<title>4. Creating an FMU &mdash; FMU Export of EnergyPlus User Guide</title>
<title>4. Creating an FMU &#8212; FMU Export of EnergyPlus User Guide</title>

<link rel="stylesheet" href="_static/sphinxdoc.css" type="text/css" />
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />

<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: './',
VERSION: '2.0.2',
VERSION: '2.0.3',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true
HAS_SOURCE: true,
SOURCELINK_SUFFIX: '.txt'
};
</script>
<script type="text/javascript" src="_static/jquery.js"></script>
<script type="text/javascript" src="_static/underscore.js"></script>
<script type="text/javascript" src="_static/doctools.js"></script>
<script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
<link rel="top" title="FMU Export of EnergyPlus User Guide" href="index.html" />
<link rel="index" title="Index" href="genindex.html" />
<link rel="search" title="Search" href="search.html" />
<link rel="next" title="5. Usage of EnergyPlus as an FMU" href="usage.html" />
<link rel="prev" title="3. Installation and Configuration" href="installation.html" />
</head>
Expand All @@ -49,7 +51,7 @@ <h3>Navigation</h3>
<a href="index.html">User Guide</a></li>
</br>
<!--
<li class="nav-item nav-item-0"><a href="index.html">FMU Export of EnergyPlus User Guide</a> &raquo;</li> -->
<li class="nav-item nav-item-0"><a href="index.html">FMU Export of EnergyPlus User Guide</a> &#187;</li> -->

</ul>
</div>
Expand All @@ -74,15 +76,15 @@ <h4>Next topic</h4>
<div role="note" aria-label="source link">
<h3>This Page</h3>
<ul class="this-page-menu">
<li><a href="_sources/build.txt"
<li><a href="_sources/build.rst.txt"
rel="nofollow">Show Source</a></li>
</ul>
</div>
<div id="searchbox" style="display: none" role="search">
<h3>Quick search</h3>
<form class="search" action="search.html" method="get">
<input type="text" name="q" />
<input type="submit" value="Go" />
<div><input type="text" name="q" /></div>
<div><input type="submit" value="Go" /></div>
<input type="hidden" name="check_keywords" value="yes" />
<input type="hidden" name="area" value="default" />
</form>
Expand All @@ -105,16 +107,16 @@ <h2>4.1. Command-line use<a class="headerlink" href="#command-line-use" title="P
<p>To create an FMU,
open a command-line window (see <a class="reference internal" href="notation.html"><span class="doc">Notation</span></a>).
The standard invocation of the EnergyPlusToFMU tool is:</p>
<div class="highlight-none"><div class="highlight"><pre><span></span>&gt; python &lt;path-to-scripts-subdir&gt;EnergyPlusToFMU.py -i &lt;path-to-idd-file&gt; \
<div class="highlight-none"><div class="highlight"><pre>&gt; python &lt;path-to-scripts-subdir&gt;EnergyPlusToFMU.py -i &lt;path-to-idd-file&gt; \
-w &lt;path-to-weather-file&gt; &lt;path-to-idf-file&gt;
</pre></div>
</div>
<p>For example:</p>
<div class="highlight-none"><div class="highlight"><pre><span></span># Windows:
&gt; python scriptDir\EnergyPlusToFMU.py -i C:\eplus\Energy+.idd test.epw test.idf
<div class="highlight-none"><div class="highlight"><pre># Windows:
&gt; python scriptDir\EnergyPlusToFMU.py -i C:\eplus\Energy+.idd -w test.epw test.idf

# Linux, MacOS:
&gt; python scriptDir/EnergyPlusToFMU.py -i ~/eplus/Energy+.idd test.epw test.idf
&gt; python scriptDir/EnergyPlusToFMU.py -i ~/eplus/Energy+.idd -w test.epw test.idf
</pre></div>
</div>
<p>where <code class="docutils literal"><span class="pre">scriptDir</span></code> is the path to the scripts directory of EnergyPlusToFMU.
Expand Down Expand Up @@ -164,7 +166,7 @@ <h2>4.1. Command-line use<a class="headerlink" href="#command-line-use" title="P
However, all must appear before the name of the IDF file.
For repeated switches such as <code class="docutils literal"><span class="pre">-i</span></code> or <code class="docutils literal"><span class="pre">-w</span></code>, the last one specified will be used.</p>
<p>For example:</p>
<div class="highlight-none"><div class="highlight"><pre><span></span># Windows:
<div class="highlight-none"><div class="highlight"><pre># Windows:
&gt; python EnergyPlusToFMU.py -d -i C:\eplus\Energy+.idd test.idf
</pre></div>
</div>
Expand Down Expand Up @@ -223,7 +225,7 @@ <h2>4.3. Troubleshooting<a class="headerlink" href="#troubleshooting" title="Per
If not, consider the following hints.</p>
<p>If you have successfully made an FMU in the past, the problem is most likely with your IDF file.
Try running the export-preparation application directly on your IDF file:</p>
<div class="highlight-none"><div class="highlight"><pre><span></span># Windows:
<div class="highlight-none"><div class="highlight"><pre># Windows:
&gt; idf-to-fmu-export-prep-win.exe Energy+.idd test.idf

# Linux:
Expand Down Expand Up @@ -269,13 +271,13 @@ <h3>Navigation</h3>
<a href="index.html">User Guide</a></li>
</br>
<!--
<li class="nav-item nav-item-0"><a href="index.html">FMU Export of EnergyPlus User Guide</a> &raquo;</li> -->
<li class="nav-item nav-item-0"><a href="index.html">FMU Export of EnergyPlus User Guide</a> &#187;</li> -->

</ul>
</div>
<div class="footer" role="contentinfo">
&copy; Copyright 2013-2016, The Regents of the University of California (through Lawrence Berkeley National Laboratory).
Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.4.1.
&#169; Copyright 2013-2018, The Regents of the University of California (through Lawrence Berkeley National Laboratory).
Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.5.1.
</div>
</body>
</html>
Loading

0 comments on commit eaf7970

Please sign in to comment.