vicelab / cen-sierra-pywr

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

Fix in file names (Stanislaus) #156

Closed GustavoFacincani closed 3 years ago

GustavoFacincani commented 3 years ago

This change fixes discrepancies in the results, as two files in the Stanislaus have different names in comparison to the other basins. The Stanislaus has the flow releases divided into "InstreamFlowRequirement_Requirement_mcm.csv" and "InstreamFlowRequirement_Min Flow_mcm.csv", this change saves all results into the "InstreamFlowRequirement_Min Flow_mcm.csv" instead, as it is for the other basins. The "PiecewiseLink_Flow_mcm.csv" is changed to "PiecewiseLink_Requirement_mcm.csv", as it is for other basins as well. This keeps things more organized, facilitates reading the results in R, and allows the post processing script to produce uncontrolled spills to work for the Stanislaus basin (wasn't working).