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

Valid sample hours during scenario generation #39

Open
stianbacke opened this issue Mar 22, 2024 · 2 comments
Open

Valid sample hours during scenario generation #39

stianbacke opened this issue Mar 22, 2024 · 2 comments

Comments

@stianbacke
Copy link
Member

Currently, there is no guarantee that we start a representative week on midnight Monday. This should be included to make operational analysis more consistent. Requires smaller modifications in 'scenario_random.py'.

@stianbacke
Copy link
Member Author

The following code line should be modified to pick from a list of "midnight mondays" rather than just random integers within season:

Line 521 in 'scenario_random.py': sample_hour = np.random.randint(0, window)

@stianbacke
Copy link
Member Author

Needs to include functionality for not sampling the same week twice, until all weeks are represented (then reset).

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