diff --git a/specification/fixLatex.py b/specification/fixLatex.py index d7f8c6ae..55bd8948 100755 --- a/specification/fixLatex.py +++ b/specification/fixLatex.py @@ -4,8 +4,8 @@ from io import open print(sys.version) -oldFil=os.path.join("build", "latex", "cdl_specification.tex") -newFil=os.path.join("build", "latex", "cdl_specification.tex-new") +oldFil=os.path.join("build", "latex", "cdl_report.tex") +newFil=os.path.join("build", "latex", "cdl_report.tex-new") def freplace(old, new): with open(oldFil, mode="rt", encoding="utf-8") as fin, open(newFil, mode="wt", encoding="utf-8") as fout: @@ -34,4 +34,3 @@ def freplace(old, new): freplace('\\begin{Verbatim}[', '\\begin{Verbatim}[fontsize=\\footnotesize, ') - diff --git a/specification/source/_static/bootstrap_custom.css b/specification/source/_static/bootstrap_custom.css index 897a356c..2c0aa4cc 100644 --- a/specification/source/_static/bootstrap_custom.css +++ b/specification/source/_static/bootstrap_custom.css @@ -115,7 +115,7 @@ h2 { } h3 { - margin: 1em 0 -0.3em 0; + margin: 1em 0 0.5em 0; font-size: 1em; } diff --git a/specification/source/_static/sphinxdoc.css b/specification/source/_static/sphinxdoc.css index d0d47715..9754068c 100644 --- a/specification/source/_static/sphinxdoc.css +++ b/specification/source/_static/sphinxdoc.css @@ -147,7 +147,7 @@ h2 { } h3 { - margin: 1em 0 -0.3em 0; + margin: 1em 0 0.5em 0 !important; font-size: 1em; } diff --git a/specification/source/conf.py b/specification/source/conf.py index 3b3551d4..16121b7a 100644 --- a/specification/source/conf.py +++ b/specification/source/conf.py @@ -273,7 +273,7 @@ # (source start file, target name, title, author, documentclass [howto/manual]). latex_documents = [ ('index', - 'cdl_specification.tex', + 'cdl_report.tex', u'Control Description Language', '', 'manual'), ] @@ -284,10 +284,13 @@ #'classoptions': ',openany' : remove blank pages in PDF. #'babel': '\\usepackage[english]{babel}' : suppress error message caused by undefined language. #'maketitle': '\\pagenumbering{gobble}\\maketitle' : switch off the page numbering in the tile and the index. +release = '' latex_elements = {'classoptions': ', openany', # remove blank pages in PDF. - 'releasename': 'Version', + 'releasename': '', 'babel': '\\usepackage[english]{babel}'} + + # 'fontpkg': '\\usepackage[scaled]{helvet}' # The name of an image file (relative to this directory) to place at the top of @@ -440,7 +443,19 @@ \belowcaptionskip=5pt -\pagestyle{fancy} +\pagestyle{normal} +\renewcommand{\chaptermark}[1]{\markboth{#1}{}} +\renewcommand{\sectionmark}[1]{\markright{\thesection\ #1}} +\fancyhf{} +\fancyhead[LE,RO]{\thepage} +\fancyhead[RE]{\leftmark} +\fancyhead[LO]{\rightmark} +\fancypagestyle{plain}{% + \fancyhead{} % get rid of headers + \renewcommand{\headrulewidth}{0pt} % and the line +} + + %%\fancyhf{} %%\rhead[LE,RO]{\thechapter .} %\lhead{Guides and tutorials} diff --git a/specification/source/example.rst b/specification/source/example.rst index ce0d5a6c..b47ce086 100644 --- a/specification/source/example.rst +++ b/specification/source/example.rst @@ -70,12 +70,15 @@ The physics implemented in the building model is further described in There is no moisture buffering in the envelope, but the room volume has a dynamic equation for the moisture content. +.. _sec_int_gai: + Internal loads .............. .. _fig_internal_loads: .. figure:: img/case_study1/results/internal_loads.* + :scale: 80% Internal load schedule. @@ -102,6 +105,7 @@ The multizone airflow models are further described in :cite:`Wetter2006:2`. + Control sequences ................. @@ -181,7 +185,7 @@ Our implementation differs from guideline 36 in the following points: Site electricity use .................... -To convert cooling and heating energy as transfered by the coil to site electricity +To convert cooling and heating energy as transferred by the coil to site electricity use, we apply the conversion factors from EnergyStar :cite:`EnergyStar2013`. Therefore, for an electric chiller, we assume an average coefficient of performance (COP) of :math:`3.2` and for a geothermal heat pump, we assume a COP of :math:`4.0`. @@ -221,9 +225,11 @@ according to guideline 36, part 5.B.3. Composite block that computes the zone air temperature setpoints for heating and cooling. - All simulations were done with Dymola 2018 FD01 beta3 using Ubuntu 16.04 64 bit. We used the Radau solver with a tolerance of :math:`10^{-6}`. +This solver adaptively changes the time step to control the integration error. +Also, the time step is adapted to properly simulate :term:`time events