vicelab / cen-sierra-pywr

Code base for modeling the central Sierra Nevada hydropower systems
4 stars 7 forks source link

IFR bl Relief Reservoir Logic #55

Closed drheinheimer closed 4 years ago

drheinheimer commented 4 years ago

IFR needs fixing. See #43

drheinheimer commented 4 years ago

Mostly fixed. For up ramp rate, I added a method to the generic WaterLPParameter that allows us to do:

return self.get_up_ramp_ifr(self, timestep, initial_value=30 / 35.31, rate=0.25)
drheinheimer commented 4 years ago

Generally okay, though Relief Reservoir operations are not.