Skip to content

Puerto Rico Mini Grid Wizard #983

Merged
sjanzou merged 28 commits into
patchfrom
PuertoRicoMiniGrid
Mar 16, 2022
Merged

Puerto Rico Mini Grid Wizard #983
sjanzou merged 28 commits into
patchfrom
PuertoRicoMiniGrid

Conversation

@sjanzou

@sjanzou sjanzou commented Mar 14, 2022

Copy link
Copy Markdown
Collaborator

No description provided.

sjanzou and others added 26 commits December 6, 2021 04:18
@sjanzou

sjanzou commented Mar 14, 2022

Copy link
Copy Markdown
Collaborator Author

Wizard now scales sizing based on number of participants
image

@brtietz brtietz left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Scaling factor and outputs look great! My only comment is that I think we ultimately want this to be less location specific prior to releasing it. Happy to discuss further as needed.

@@ -0,0 +1,331 @@
// Puerto Rico Mini Grid macro using PuertoRicoMiniGrid.sam

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Nate had requested we change the name of this (including the file name, I think) since it could be used for any mini grid, not just mini grids in Puerto Rico

show_page( 'Location and Resource');

// Add Puerto Rico weather file(s) to solar resource library
PuertoRicoWeatherDir = runtimedir() + 'quickstart/puerto_rico_weather';

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Not sure how to handle weather files given the above comment, might need more discussion.

@cpaulgilman cpaulgilman left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Load scaling and graph output looks great. Some comments:

  1. LK script file names for wizards should be consistent with other files in quickstart folder so that all files either use CamelCase, title case or sentence case. In general we use sentence case in SAM, but title case could be appropriate here. Also note getting started guide command uses sentence case:

image

  1. Text in message boxes could use some editing, but deferring to @n8blair who I think was planning to do some editing.

  2. If/when we add weather file download capability, I would recommend storing downloaded weather files in wfdownloaddir() instead of runtimedir() + 'quickstart/puerto_rico_weather' to improve portability across different SAM versions. This would also make the weather files available for other simulations.

Remove "Puerto Rico" from file names and descriptive text.

Edit wizard text for clarity and remove milisleep() pauses after msgbox().

Use consistent case for wizard LK script file names to clean up wizard list on Welcome page.
@cpaulgilman cpaulgilman self-requested a review March 16, 2022 18:46

@cpaulgilman cpaulgilman left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

My comments addressed in 7c325e1.

@brtietz brtietz self-requested a review March 16, 2022 21:23

@brtietz brtietz left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Looks good, thanks!

@sjanzou sjanzou merged commit ab7f44a into patch Mar 16, 2022
@sjanzou sjanzou deleted the PuertoRicoMiniGrid branch March 17, 2022 06:41
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

Successfully merging this pull request may close these issues.

3 participants