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

Unit-level random seeds #37

Open
GordStephen opened this issue Mar 2, 2022 · 0 comments
Open

Unit-level random seeds #37

GordStephen opened this issue Mar 2, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@GordStephen
Copy link
Collaborator

GordStephen commented Mar 2, 2022

Define unit-level random seeds to enable adding or removing resources without impacting the random outages associated with other resources. Currently, if a new unit is added, the simulation+sample seed will be used for the additional outage draws, changing which random numbers are associated with which units and thus the outage profiles of all units.

This would add a third level of seeding to a simulation:

  1. Simulation seed: primary random seed for the entire simulation. Provided (or generated automatically) when the simulation is initiated.
  2. Sample seed: secondary seed assigned to each sample from 1:nsamples. Generated automatically when makesamples sends simulation jobs to the threaded coroutines. Providing these directly (Allow choosing specific sample seeds #36) would allow recreating specific random outage conditions
  3. Unit seed: new, tertiary seed assigned to each unit. Fixed across runs and samples and defined in the system specification data (e.g. .pras files)
@GordStephen GordStephen added the enhancement New feature or request label Mar 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant