Skip to content

Conversation

@jasondegraw
Copy link
Member

Pull request overview

Add Python script(s) to support use of the View3D tool.

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

@jasondegraw jasondegraw added the NewFeature Includes code to add a new feature to EnergyPlus label Feb 12, 2021
@jasondegraw jasondegraw added this to the EnergyPlus Future milestone Feb 12, 2021
@jasondegraw jasondegraw added the NotIDDChange Code does not impact IDD (can be merged after IO freeze) label Feb 12, 2021
@nrel-bot-3
Copy link

@jasondegraw @lgentile it has been 28 days since this pull request was last updated.

1 similar comment
@nrel-bot-2c
Copy link

@jasondegraw @lgentile it has been 28 days since this pull request was last updated.

@mitchute
Copy link
Collaborator

@jasondegraw

The idea proposed in the NFP is straightforward enough. Here are a few comments:

  1. What does the "-z" option mean? It says "process zone ZONE", but I'm missing the intent. Is that just processing the view factors for "ZONE" and not the entire file? I probably just answered my own question, but you can let me know.
  2. Are there plans to integrate your tests into the CI tests?
  3. It would probably be nice to have the script write a summary of the surfaces and view factors to a flat text file so the results can be inspected and debugged outside of the epJSON. Maybe there needs to be another option for this?

@amirroth
Copy link
Collaborator

Why not integrate View3D into the EnergyPlus executable and provide this as an IDD/IDF option? Asking for a friend. Named Amir.

@mitchute
Copy link
Collaborator

Why not integrate View3D into the EnergyPlus executable and provide this as an IDD/IDF option? Asking for a friend. Named Amir.

I'd also be OK with this option. It looks like we're only shipping View3D with Windows packages anyway, so that would open this work up to a few more folks.

@amirroth
Copy link
Collaborator

Why are we not shipping this on all platforms? Is there a Windows-only library dependence?

@mitchute
Copy link
Collaborator

The interface is an Excel workbook: https://github.com/NREL/EnergyPlus/tree/develop/bin/ViewFactorCalculation

I'm guessing that this was the limitation, but I could be wrong.

@amirroth
Copy link
Collaborator

Speechless.

@jasondegraw
Copy link
Member Author

@amirroth You can tell "Amir" (if that's his real name) that it's more a matter of funding than anything. The effort required would weigh in at more than a typical new feature. There's this guy I know, let's call him "Jason", who would be happy to do the integration if there was a way to get it funded without stomping on other new feature work.

Kidding aside, the reason that there's only a Windows version is... there is no good reason. I've known for years that the version that shipped with E+ (version 3.2) was more stable than the version that George Walton handed off to others some time after his retirement. The various versions on GitHub and SourceForge are descendants of that later version of the code and crashed a lot more, but I've built and run those on Mac and Linux since maybe 2012 or so. But with mysterious failures, there wasn't a lot of reason to go and replace a version that worked better. I had thought that the 3.2 code was lost until @Myoldmopar found it in StarTeam a couple of years ago, and that was the version that was used for, um, needed repairs. The two biggest obstacles to building on Mac and Linux are:

  • there's an ugly 32/64 thing that's been a problem and
  • my lack of a Mac.

So I could stand up a CMake build pretty quick and we could have Mac and Linux versions pretty quickly if that's what we want, but with some caveats.

@jasondegraw
Copy link
Member Author

@mitchute Here are some responses:

  1. What does the "-z" option mean? It says "process zone ZONE", but I'm missing the intent. Is that just processing the view factors for "ZONE" and not the entire file? I probably just answered my own question, but you can let me know.

Yes, that option will produce the view factors and outputs for the single zone that is specified.

  1. Are there plans to integrate your tests into the CI tests?

Not at this time. It's something we could probably consider later.

  1. It would probably be nice to have the script write a summary of the surfaces and view factors to a flat text file so the results can be inspected and debugged outside of the epJSON. Maybe there needs to be another option for this?

We'll take a look at this, for simple files with nicely defined zones it'll be easy to come up with something useful, but with
more complex geometries it'll be hard to make a summary that's easy to read.

@nrel-bot-3
Copy link

@jasondegraw @lgentile it has been 28 days since this pull request was last updated.

1 similar comment
@nrel-bot-3
Copy link

@jasondegraw @lgentile it has been 28 days since this pull request was last updated.

@nrel-bot-2c
Copy link

@jasondegraw @lgentile it has been 29 days since this pull request was last updated.

@nrel-bot
Copy link

@jasondegraw @lgentile it has been 35 days since this pull request was last updated.

@nrel-bot-3
Copy link

@jasondegraw @lgentile it has been 28 days since this pull request was last updated.

@nrel-bot-3
Copy link

@jasondegraw @lgentile it has been 28 days since this pull request was last updated.

1 similar comment
@nrel-bot
Copy link

@jasondegraw @lgentile it has been 28 days since this pull request was last updated.

@nrel-bot-2c
Copy link

@jasondegraw @Myoldmopar it has been 28 days since this pull request was last updated.

3 similar comments
@nrel-bot
Copy link

@jasondegraw @Myoldmopar it has been 28 days since this pull request was last updated.

@nrel-bot
Copy link

nrel-bot commented Feb 9, 2022

@jasondegraw @Myoldmopar it has been 28 days since this pull request was last updated.

@nrel-bot
Copy link

nrel-bot commented Mar 9, 2022

@jasondegraw @Myoldmopar it has been 28 days since this pull request was last updated.

@mjwitte
Copy link
Contributor

mjwitte commented Mar 15, 2022

@jasondegraw Should this move to v22.2?

@Myoldmopar
Copy link
Member

I think it's reasonable to change the milestone on this as it is still marked as draft. If I'm wrong and it's ready for review, no problemo, just switch the milestone back and we'll get it in the queue today.

@nrel-bot-2c
Copy link

@jasondegraw it has been 7 days since this pull request was last updated.

3 similar comments
@nrel-bot-2c
Copy link

@jasondegraw it has been 7 days since this pull request was last updated.

@nrel-bot-2c
Copy link

@jasondegraw it has been 7 days since this pull request was last updated.

@nrel-bot-2
Copy link

@jasondegraw it has been 7 days since this pull request was last updated.

@nrel-bot-2
Copy link

@jasondegraw it has been 8 days since this pull request was last updated.

@nrel-bot-2
Copy link

@jasondegraw it has been 7 days since this pull request was last updated.

@nrel-bot-2
Copy link

@jasondegraw it has been 15 days since this pull request was last updated.

@nrel-bot-2
Copy link

@jasondegraw it has been 9 days since this pull request was last updated.

@nrel-bot-2
Copy link

@jasondegraw it has been 17 days since this pull request was last updated.

@nrel-bot-2c
Copy link

@jasondegraw it has been 14 days since this pull request was last updated.

@nrel-bot-2
Copy link

@jasondegraw it has been 28 days since this pull request was last updated.

@nrel-bot-2c
Copy link

@jasondegraw it has been 10 days since this pull request was last updated.

@nrel-bot-2c
Copy link

@jasondegraw it has been 16 days since this pull request was last updated.

@nrel-bot-2c
Copy link

@jasondegraw it has been 57 days since this pull request was last updated.

@nrel-bot-2
Copy link

@jasondegraw it has been 8 days since this pull request was last updated.

@nrel-bot-2
Copy link

@jasondegraw it has been 7 days since this pull request was last updated.

@mitchute mitchute removed this from the EnergyPlus 24.2 milestone Oct 22, 2025
@nrel-bot-2c
Copy link

@jasondegraw it has been 7 days since this pull request was last updated.

11 similar comments
@nrel-bot-2c
Copy link

@jasondegraw it has been 7 days since this pull request was last updated.

@nrel-bot-2
Copy link

@jasondegraw it has been 7 days since this pull request was last updated.

@nrel-bot-2
Copy link

@jasondegraw it has been 7 days since this pull request was last updated.

@nrel-bot-2c
Copy link

@jasondegraw it has been 7 days since this pull request was last updated.

@nrel-bot-2
Copy link

@jasondegraw it has been 7 days since this pull request was last updated.

@nrel-bot-2
Copy link

@jasondegraw it has been 7 days since this pull request was last updated.

@nrel-bot-2
Copy link

@jasondegraw it has been 7 days since this pull request was last updated.

@nrel-bot-2
Copy link

@jasondegraw it has been 7 days since this pull request was last updated.

@nrel-bot-2
Copy link

@jasondegraw it has been 7 days since this pull request was last updated.

@nrel-bot-2
Copy link

@jasondegraw it has been 7 days since this pull request was last updated.

@nrel-bot-2
Copy link

@jasondegraw it has been 7 days since this pull request was last updated.

@nrel-bot-2c
Copy link

@jasondegraw it has been 8 days since this pull request was last updated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

NewFeature Includes code to add a new feature to EnergyPlus NotIDDChange Code does not impact IDD (can be merged after IO freeze)

Projects

None yet

Development

Successfully merging this pull request may close these issues.