Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correction of Various Documentation Issues #8826

Merged
merged 6 commits into from
Jun 22, 2021

Conversation

RKStrand
Copy link
Contributor

@RKStrand RKStrand commented Jun 16, 2021

Pull request overview

Diffs expected for 1ZoneUncontrolledWithHysteresisPCM due to input file change.

Pull Request Author

Add to this list or remove from it as applicable. This is a simple templated set of guidelines.

  • Title of PR should be user-synopsis style (clearly understandable in a standalone changelog context)
  • Label the PR with at least one of: Defect, Refactoring, NewFeature, Performance, and/or DoNoPublish
  • Pull requests that impact EnergyPlus code must also include unit tests to cover enhancement or defect repair
  • Author should provide a "walkthrough" of relevant code changes using a GitHub code review comment process
  • If any diffs are expected, author must demonstrate they are justified using plots and descriptions
  • If changes fix a defect, the fix should be demonstrated in plots and descriptions
  • If any defect files are updated to a more recent version, upload new versions here or on DevSupport
  • If IDD requires transition, transition source, rules, ExpandObjects, and IDFs must be updated, and add IDDChange label
  • If structural output changes, add to output rules file and add OutputChange label
  • If adding/removing any LaTeX docs or figures, update that document's CMakeLists file dependencies

Reviewer

This will not be exhaustively relevant to every PR.

  • Perform a Code Review on GitHub
  • If branch is behind develop, merge develop and build locally to check for side effects of the merge
  • If defect, verify by running develop branch and reproducing defect, then running PR and reproducing fix
  • If feature, test running new feature, try creative ways to break it
  • CI status: all green or justified
  • Check that performance is not impacted (CI Linux results include performance check)
  • Run Unit Test(s) locally
  • Check any new function arguments for performance impacts
  • Verify IDF naming conventions and styles, memos and notes and defaults
  • If new idf included, locally check the err file and other outputs

A good portion, but not all, of the changes requested as part of 8277 (or referred to 8277).  These are mostly documentation fixes.  The few code or IDD fixes are simply correcting typos.
Update to variables that can be output for interior windows and other minor edits.
Last changes required to IO Reference to address issues related to extensible IDD and many other edits.
@RKStrand RKStrand added Defect Includes code to repair a defect in EnergyPlus Documentation Related primarily on the LaTeX-based EnergyPlus documentation labels Jun 16, 2021
@RKStrand RKStrand self-assigned this Jun 16, 2021
Copy link
Contributor

@mjwitte mjwitte left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@RKStrand Some initial comments. If you scroll through the changes page on the PR, you'll see some warnings in yellow and at the end there are some errors reported (which you did not introduce, I think I actually did those). If you can clean those up here, that would be good.

@@ -5,6 +5,14 @@
! The IDD defines the syntax and data model for each type of input "Object."
! Lines in EnergyPlus input files (and IDD) are limited to 500 characters.
!
!
! Note on IDD Processing/Usage
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This entire block of comments also appear in the I/O Reference. I would just copy from the IDD to update the entire block (which may be out of date in other ways0.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed--see next commit.

@@ -2294,7 +2292,7 @@ \subsubsection{Inputs}\label{inputs-13}

\paragraph{Field(s): Surface \textless{}1 thru x\textgreater{} Name}\label{fields-surface-1-thru-x-name}

The remaining fields are used to name the \textbf{\hyperref[buildingsurfacedetailed]{BuildingSurface:Detailed}} objects that are associated with the exterior naturally vented cavity. These are the underlying heat transfer surfaces and are defined elsewhere in the input file. These surfaces should all specify OtherSideConditionsModel as their exterior environment. The input object can currently accommodate up to ten surfaces, but it is extensible by modifying the Energy+.idd entry.
The remaining fields are used to name the \textbf{\hyperref[buildingsurfacedetailed]{BuildingSurface:Detailed}} objects that are associated with the exterior naturally vented cavity. These are the underlying heat transfer surfaces and are defined elsewhere in the input file. These surfaces should all specify OtherSideConditionsModel as their exterior environment. The input object can currently accommodate up to ten surfaces.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This object is extensible, not limited to 10 surfaces. Also, the introductory paragraph for this object, SurfaceProperty:ExteriorNaturalVentedCavity, needs editing, it still says "(although if you need to use more than 10 surfaces, then the IDD will need to be extended)."

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wow--good catch. I thought I got all of those but clearly missed this one. Will be fixed in the next commit.

@@ -524,7 +524,7 @@ \subsubsection{Outputs}\label{outputs-1-008}

\subsection{ElectricLoadCenter:Generators}\label{electricloadcentergenerators}

The ElectricLoadCenter:Generators object is used to provide a list of the generators to include in the simulation. The list includes the names and types of all the generators along with separate availability schedules, the rated power output, and thermal-to-electrical power ratio for each. Sets of five input fields are repeated for each generator. If more than 30 generators are needed, EnergyPlus will auto-extend to suit the needs but other interfaces (such as the IDF Editor may not). The user can always modify the Energy+.idd file to accommodate the extra fields necessary, but it is likely the next release of EnergyPlus will overwrite any user modifications.
The ElectricLoadCenter:Generators object is used to provide a list of the generators to include in the simulation. The list includes the names and types of all the generators along with separate availability schedules, the rated power output, and thermal-to-electrical power ratio for each. Sets of five input fields are repeated for each generator. If more than 30 generators are needed, EnergyPlus will auto-extend to suit the needs but other interfaces (such as the IDF Editor) may not. The user can always modify the Energy+.idd file to accommodate the extra fields necessary, but it is likely the next release of EnergyPlus will overwrite any user modifications.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"If more than 30 generators are needed, EnergyPlus will auto-extend to suit the needs but other interfaces (such as the IDF Editor) may not. The user can always modify the Energy+.idd file to accommodate the extra fields necessary, but it is likely the next release of EnergyPlus will overwrite any user modifications." I would replace this with the standard This object is extensible sentence.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good call--will be fixed in the next commit.

@@ -1055,7 +1055,7 @@ \subsubsection{Field: Insulated Floor U-Value}\label{field-insulated-floor-u-val

The floor themal transmittance (in W/m\(^{2}\)-K). This value has a default value of 0.3154. (This corresponds to R18 in Archaic American Insulation Units.~ To convert other R-values to thermal transmittance, divide 5.678 by the R-value.~ For example, R15 is 0.3785 W/m\(^{2}\)-K and R5 is 1.136 W/m\(^{2}\)-K.)

\textbf{\emph{THE REMAINING 12 FIELDS FOR THE WALK-IN COOLER MUST BE REPEATED FOR EACH ZONE WHICH IS IN CONTACT WITH A WALK-IN WALL, CEILING, OR DOOR. The IDD includes fields for 3 zones, but can be extended by repeating the last 12 values in the object.}}
\textbf{\emph{THE REMAINING 12 FIELDS FOR THE WALK-IN COOLER MUST BE REPEATED FOR EACH ZONE WHICH IS IN CONTACT WITH A WALK-IN WALL, CEILING, OR DOOR. This field is extensible, so additional fields of this type can be added to the end of this object by repeating the last 12 values in the object.}}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This object is extensible.
Actually, most of the places that say "This field is extensible..." probably should say "This object is extensible" I guess saying "this field" is ok for places where it's just a single extensible field.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Generally my pattern was if it was a single field I used the term field. If it was a group of fields that were repeated, I adjusted the language to say that. Are you ok with that? If not, I'll go through and change them.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm in the process of changing everything to "This object is extensible..." and cleaning up how these some of these show up in the docs. So ignore the question from the above comment.


The name of a DemandManager object defined elsewhere in the input file.

DemandManagers are listed by pairs of data items: \emph{Demand Manager Type} and \emph{Demand Manager Name}. Ten managers are accommodated in the list by default. The IDD specification, however, is extensible and additional pairs may be added by directly editing the IDD.
DemandManagers are listed by pairs of data items: \emph{Demand Manager Type} and \emph{Demand Manager Name}. These two fields are extensible, so up to 10 additional pairs of these fields can be added to the end of this object.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This object is extensible, so up to 10 additional pairs of these fields ....

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Got it--fixed in the next commit.

@@ -666,7 +666,7 @@ \subsection{SolarCollector:UnglazedTranspired}\label{solarcollectorunglazedtrans

This object is used to model unglazed transpired solar collectors (UTSC) used to condition outdoor air. These collectors are generally used to heat air drawn through perforated absorbers that are heated by the sun and also recover heat conducted out through the underlying wall. The SolarCollector:UnglazedTranspired object represents a single collector attached to one or more \hyperref[buildingsurfacedetailed]{BuildingSurface:Detailed} objects and to one or more outdoor air systems. Therefore the transpired collector is part of both the thermal envelope and the HVAC system. An example file is provided called TranspiredCollectors.idf.

The area and orientation of the collector is obtained from \hyperref[buildingsurfacedetailed]{BuildingSurface:Detailed} objects, which are referenced by name. Although the collector surface itself is slightly detached from the underlying building wall (or roof), no additional surface object is needed to represent the collector itself. When modeling transpired collectors, it is important to consider the size of the collector when developing the building model's \hyperref[buildingsurfacedetailed]{BuildingSurface:Detailed} objects because the underlying surfaces must match the collector. For example, if the collector covers only part of the wall, then that wall should be split into separate surfaces where one matches the size of the collector. A single collector can be associated with as many \hyperref[buildingsurfacedetailed]{BuildingSurface:Detailed} objects as desired (although if you need to use more than 10 surfaces, then the IDD will need to be extended). The collector can be arranged at any tilt angle by describing the surfaces appropriately. The surfaces need not be contiguous nor have the same orientation, but the program will issue warnings if surfaces have widely ranging tilts and azimuths.
The area and orientation of the collector is obtained from \hyperref[buildingsurfacedetailed]{BuildingSurface:Detailed} objects, which are referenced by name. Although the collector surface itself is slightly detached from the underlying building wall (or roof), no additional surface object is needed to represent the collector itself. When modeling transpired collectors, it is important to consider the size of the collector when developing the building model's \hyperref[buildingsurfacedetailed]{BuildingSurface:Detailed} objects because the underlying surfaces must match the collector. For example, if the collector covers only part of the wall, then that wall should be split into separate surfaces where one matches the size of the collector. A single collector can be associated with as many \hyperref[buildingsurfacedetailed]{BuildingSurface:Detailed} objects as desired since this field is extensible. The collector can be arranged at any tilt angle by describing the surfaces appropriately. The surfaces need not be contiguous nor have the same orientation, but the program will issue warnings if surfaces have widely ranging tilts and azimuths.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For this object, the Surface <#> Name field still says "can currently accommodate up to ten surfaces, but it is extensible." I would change that to your standard extensible sentence.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in next commit

Copy link
Contributor

@mjwitte mjwitte left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@RKStrand Lots of good stuff here. A few more comments to complete the initial review.

Comment on lines 103 to 109
For VFD Control Type = PressureSetPointControl, this field defines the minimum allowable RPM, or the lower bound of pump speed to use when determining the required pump speed. For VFD Control Type = ManualControl, this field is not interpreted. The value of the schedule is RPM.
For VFD Control Type = ManualControl, this field defines the minimum allowable RPM, or
the lower bound of pump speed to use when determining the required pump speed. For VFD Control Type = PressureSetPointControl, this field is not interpreted. The value of the schedule is RPM.

\paragraph{Field: Maximum RPM Schedule}\label{field-maximum-rpm-schedule}

For VFD Control Type = PressureSetPointControl, this field defines the maximum allowable RPM, or the upper bound of pump speed to use when determining the required pump speed. For VFD Control Type = ManualControl, this field is not interpreted. The value of the schedule is RPM.
For VFD Control Type = ManualControl, this field defines the maximum allowable RPM, or
the upper bound of pump speed to use when determining the required pump speed. For VFD Control Type = PressureSetPointControl, this field is not interpreted. The value of the schedule is RPM.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Revert these. It was correct before. See comment here.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reverted in next commit.

@@ -119,7 +123,7 @@ \subsection{Ambient Zone}\label{ambient-zone-001}
\item
An actuator called ``Component Zone Internal Gain'' with the control type ``Sensible Heat Gain Rate,'' in {[}W{]}, is available.~ This can be used for purely convective sensible heat gains (or losses) to a zone.
\item
An actuator called ``Component Zone Internal Gain'' with the control type ``Return Air Heat Gain Rate,'' in {[}W{]}, is available.~ This can be used for purely convective sensible heat gains (or losses) to the return air duct for a zone.
An actuator called ``Component Zone Internal Gain'' with the control type ``Return Air Heat Sensible Gain Rate,'' in {[}W{]}, is available.~ This can be used for purely convective sensible heat gains (or losses) to the return air duct for a zone.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the thorough review and updates on the EMS actuators!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks--this one would have been easy to overlook!

Copy link
Collaborator

@mitchute mitchute left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lot's of good stuff here. There's too much in the original issue to go line by line checking this, but I'm OK with the changes. I think there may be a few other comments left so we can get this in once that's all wrapped up.


The \hyperref[materialpropertyphasechangehysteresis]{MaterialProperty:PhaseChangeHysteresis} object also includes the following outputs. The Conduction Finite Difference solution algorithm uses a finite difference solution technique where the surfaces are divided into a nodal arrangement. These outputs are specific to Conduction Finite Difference solution.

The following output variables are applicable to all opaque heat transfer surfaces when using Solution Algorithms ConductionFiniteDifference. Note that the "X" in the list and descriptions below must be replaced by a number that indicates the node at which the variables are being reported. So, for example, to report the surface temperature for node 7, one would use "CondFD Surface Temperature Node 7".
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you're already making changes, change the " to "``" (two backticks for the left side) and "''" (two apostrophes for the right side).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Got it--actually ``them'' because there were two copies of this in this file. Should be fixed in the next commit.

@@ -2938,9 +2938,9 @@ \subsubsection{Inputs}\label{inputs-10-024}

The name of the third air chiller that will be used to meet the zone cooling load.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It doesn't look like you caused this, but can you address this warning? Are there plans elsewhere to fix the other LaTeX build issues that have surface recently?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If this is in reference to the build warnings that pop up at the bottom of the Files Changed tab on all the PRs, those are now addressed in develop.

@Myoldmopar
Copy link
Member

With the PR I just merged about the IORef (#8836) in develop now, this branch should have develop pulled up before merging. @RKStrand do you have any additional work to make on this? If not I'll merge develop and push it up.

@mjwitte @mitchute do you have any additional reviewing to do on this or is it ready if CI comes back clean?

@RKStrand
Copy link
Contributor Author

@Myoldmopar I'm still working through the review comments. Might be done and ready for the next review later today, but I'm not really sure.

Additional changes were made based on review comments received from other development team members.  Should be ready for the next review now.
@RKStrand
Copy link
Contributor Author

@Myoldmopar @mjwitte @mitchute Ok, I think I have addressed all of the comments above and brought develop into this branch as well. Hopefully everything comes back clean now. Let me know if there is anything else that needs to be done here. Thanks!

Copy link
Contributor

@mjwitte mjwitte left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@RKStrand Changes to address comments look good.

@mjwitte mjwitte merged commit 7415d82 into develop Jun 22, 2021
@mjwitte mjwitte deleted the 8277DocumentationIssues2021a branch June 22, 2021 22:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Defect Includes code to repair a defect in EnergyPlus Documentation Related primarily on the LaTeX-based EnergyPlus documentation
Projects
None yet
9 participants