Closed bpbond closed 1 year ago
This takes the Hector NBP output and feeds it in as a constraint:
No change (exactly what we expect).
This sets a constant NBP constraint of 1.0 from 2000-2060:
The model holds the constraint for the requested time period, and then immediately jumps up high (as we expect, since we've been suppressing NBP).
YAYYYYYY!! That's so satisfying to see that constraint just work. Works fine for me on my computer. I don't see a reason to not merge this fix in.
Over to you @kdorheim for review and merging if OK.
Thank you @dawnlwoodard who not only found a problem with the NBP constraint in #635 but in so doing exposed a deeper problem in how we were handling
yf
(the fraction of the year that the solver has stopped at) insimpleNBox::stashCValues()
.In this PR we now:
Closes #635