NatLabRockies / NatLabRockies/PRAS
Unit-level random seeds
Nobody has claimed this yet.
- Dominant language
- Julia
- Stars
- 76
- Forks
- 29
- PR merge metrics
- No merged PRs in 30d
Description
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:
- Simulation seed: primary random seed for the entire simulation. Provided (or generated automatically) when the simulation is initiated.
- Sample seed: secondary seed assigned to each sample from
1:nsamples. Generated automatically whenmakesamplessends simulation jobs to the threaded coroutines. Providing these directly (#36) would allow recreating specific random outage conditions - 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)
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing how simulation and sample seeds are created and passed into outage draws, then inspect how system specification data is represented for unit-level seed definitions. Done means adding stable unit seeds so adding or removing a unit does not change other units' outage profiles, while preserving reproducibility across runs and samples.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100