HydrologicEngineeringCenter / fda-model

A simple computational library to support water resources.
MIT License
2 stars 0 forks source link

CNEP = Assurance of AEP #191

Open rnugent3 opened 2 years ago

rnugent3 commented 2 years ago

We need a unit test to verify that CNEP and Assurance of AEP are the same when no system response curve is used.

rnugent3 commented 2 years ago

AssuranceOfThreshold matches AssuranceOfAEP except for NEP = .998

rnugent3 commented 2 years ago

this method is not working as I expect:

https://github.com/HydrologicEngineeringCenter/fda-model/blob/597a1a24bbc7a778a6e0b186d477bcd8a4b0528f/fda-model/compute/ImpactAreaScenarioSimulation.cs#L445

It appears that the loop is not looping. Nonexceedance probability does not change.

rnugent3 commented 2 years ago

2022-06-26_9-20-17

rnugent3 commented 2 years ago

Watch the GIF. It appears that for each iteration of the loop, non-exceedance probability is the same. What could I be missing here?