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

results saved on Front & Back files not compiled properly by CompiledResults #460

Open
shirubana opened this issue Mar 20, 2023 · 1 comment
Assignees

Comments

@shirubana
Copy link
Member

trackerdict = demo.analysis1axis(trackerdict, customname = 'Module', sensorsy=9, modWanted=1, rowWanted=1)

Analysis for GROUND

modscanfront = {'xstart': 0,
'zstart': 0.05,
'xinc': 2, # every 2 meteres
'zinc': 0,
'Ny':4}

trackerdict = demo.analysis1axis(trackerdict, customname = 'Ground', modWanted=2, rowWanted=1,
modscanfront=modscanfront, sensorsy=1)

generates 3 files:

image

but compile shows the following:
image

debug tutorial on Tutorials "debug HPC AgriPVcompiling"

@shirubana shirubana self-assigned this Mar 20, 2023
shirubana added a commit that referenced this issue Mar 21, 2023
Workaround so I can finish AgriPV simulations.
Tips:
-Instead of using Gfront for scanning ground, use Gback
-Pass agriPV=True to calculateResults. then RadObj.CompiledResults['Wm2Back'] will show the ground irradiance.

-Bugs found: Cumulative 1axis--  If you run analysis twice (i.e. for model the PV module AND the ground irradiances), whatever is the last simulation overwrites the stored trackerdict Analysis results, so the calculateResults only then compiles 1 row of results.
For the time being this means I have to calculate Results and save the compiled results between each Analysis.
-Also 'custom' name for the analysis does not get saved as part of the indexing in the trackerdict object and might be necessary for sampling ground, for example.
@shirubana
Copy link
Member Author

Workaround so I can finish AgriPV simulations.
Tips:
-Instead of using Gfront for scanning ground, use Gback
-Pass agriPV=True to calculateResults. then RadObj.CompiledResults['Wm2Back'] will show the ground irradiance.

-Bugs found: Cumulative 1axis-- If you run analysis twice (i.e. for model the PV module AND the ground irradiances), whatever is the last simulation overwrites the stored trackerdict Analysis results, so the calculateResults only then compiles 1 row of results.
For the time being this means I have to calculate Results and save the compiled results between each Analysis.
-Also 'custom' name for the analysis does not get saved as part of the indexing in the trackerdict object and might be necessary for sampling ground, for example.

@cdeline cdeline mentioned this issue Nov 9, 2023
6 tasks
cdeline added a commit that referenced this issue Nov 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant