Skip to content

Conversation

@mjwitte
Copy link
Contributor

@mjwitte mjwitte commented Nov 14, 2024

Pull request overview

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

@mjwitte mjwitte added the Defect Includes code to repair a defect in EnergyPlus label Nov 14, 2024
@rraustad
Copy link
Contributor

Not to add to the issue but I did a search of the repository. Not sure why epfilter.f90 was not included in that search?

image

@mjwitte
Copy link
Contributor Author

mjwitte commented Nov 14, 2024

@rraustad Good catch. Found another one in the same doc.

Outdoor Dry Bulb -- is being reported (so you can compare to outside temperature)
\item
The meter for the heating in the facility - DistrictHeating:Facility -- is being reported. Facility is the entire building.
The meter for the heating in the facility - DistrictHeatingWater:Facility -- is being reported. Facility is the entire building.
Copy link
Contributor

Choose a reason for hiding this comment

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

I didn't know this was wrong. What about this?

image

Copy link
Contributor

Choose a reason for hiding this comment

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

Oh never mind, that's a comment.

@rraustad
Copy link
Contributor

Is this an issue?

image

@mjwitte
Copy link
Contributor Author

mjwitte commented Nov 14, 2024

@rraustad Thanks for more sleuthing. Added some more cleanups (and potentially real fixes).

false, // "HeatPump:PlantLoop:EIR:Cooling"
false // "HeatPump:PlantLoop:EIR:Heating"
false, // "HeatPump:PlantLoop:EIR:Heating"
false // "DistrictHeating:Steam"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This array should be parallel with PlantEquipmentType enum. It was missing a slot for PurchSteam at the end.

HeatPumpFuelFiredHeating,
PurchSteam,
Num

Comment on lines -199 to +200
PollFuel::NaturalGas, // DistrictHeating
PollFuel::NaturalGas, // Steam
PollFuel::NaturalGas, // DistrictHeatingWater
PollFuel::NaturalGas, // DistrictHeatingSteam
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ignore the commit comment about Pollution. This was must a comment cleanup.

Copy link
Contributor

@rraustad rraustad left a comment

Choose a reason for hiding this comment

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

@Myoldmopar this looks to be a good clean up of a previous change.

Copy link
Member

@Myoldmopar Myoldmopar left a comment

Choose a reason for hiding this comment

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

Looks good to me.

@Myoldmopar
Copy link
Member

And it's happy locally. Merging. Thanks @mjwitte

@Myoldmopar Myoldmopar merged commit 12781b3 into develop Dec 4, 2024
6 checks passed
@Myoldmopar Myoldmopar deleted the 10819ExpObjectsDistrictHotWater branch December 4, 2024 21:04
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ExpandObjects is still writing DistrictHeating instead of DistrictHeating:Water

8 participants