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

Multi scene objs #487

Merged
merged 51 commits into from
Apr 25, 2024
Merged

Multi scene objs #487

merged 51 commits into from
Apr 25, 2024

Conversation

cdeline
Copy link
Contributor

@cdeline cdeline commented Nov 10, 2023

Allow multiple scene objects to be tracked at the same time by the RadianceObj. This is accomplished by running makeScene multiple times, each one appends a new SceneObj to RadianceObj.scenes which is a new list to track scene objects.

todo:

  • CompileResult is hardcoded to run once over all sceneNums, even if bifacial modules and details are different. (will be handled in new PR tied to Performance analysis with multiple scenes #512 )
  • multiple makeScene and makeScene1axis typically over-wrote the scene instead of append. Include append option instead of the over-write default.
  • Functionality to pop scenes from trackerdict if desired. This may mess up some naming, for instance if we have Scene0, Scene1, Scene2 and Scene1 gets popped. May require renaming the remaining scenes...
  • RadObj.addPiles needs to be moved out of RadObj and refactored to work in makeScene1axis (adding issue addPiles for makeScene1axis #505 to track this separately)
  • Check appendtoscene function- it's currently both in RadObj and SceneObj, and operates differently in each place...
  • In modelchain, sceneNum is hardwired to 0 in simulationParamsDict.get('saveImage') (line 253 of modelchain) (OK as-is...)
  • notebooks need to be updated to demo new functionality
  • Warning for tracker gencumsky if you have multiple scenes - the trackers need to have the same angles at the same times. Otherwise skyfiles will need to be created specific to the scene...
  • Manual text and custom objects for sceneObjs
  • readthedocs API and whatsnew
  • Code changes are covered by tests
  • Code changes have been evaluated for compatibility/integration with GUI
  • New functions added to __init__.py

…ch extracts scene.radfiles from each scene in the list. Tests are passing
@cdeline cdeline self-assigned this Nov 10, 2023
@cdeline cdeline marked this pull request as draft November 10, 2023 04:41
…j.appendtoScene.

Update runs of tutorials 7 and 19, which are working.
…l tests are passing, still need modelchain updates..
…bug fixed. tests fixed, new functionality tested in test_1axis_gencumSky
@cdeline
Copy link
Contributor Author

cdeline commented Nov 10, 2023

Moved over to PR #488

@cdeline cdeline closed this Nov 10, 2023
@cdeline cdeline reopened this Nov 10, 2023
@cdeline
Copy link
Contributor Author

cdeline commented Nov 10, 2023

OK, nevermind, we'll work on this branch to make it easier. Closing #488

@cdeline cdeline mentioned this pull request Nov 10, 2023
10 tasks
@cdeline cdeline marked this pull request as ready for review November 10, 2023 18:01
@shirubana
Copy link
Member

calculateResults() failing with multi scene and multi result objects...

@shirubana
Copy link
Member

backseat driving --- there is an option of AgriPV = True which basically bypasses calculating module results (I think it might also look at only 1 single csv result front or back, I don't recall), but it was also not working with multi result/object

@cdeline
Copy link
Contributor Author

cdeline commented Apr 25, 2024

Tests are passing, just a coveralls error. This is ready to merge with development. We can update journals from there.

@cdeline cdeline merged commit 4d17eae into development Apr 25, 2024
9 of 12 checks passed
@cdeline cdeline deleted the multi_sceneObjs branch October 2, 2024 21:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants