-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Investigate differences in PRI code #61
Comments
@msdogan you can read above, but input issues are summarized here. These first two are mostly just FYI, I can fix them in the conversion,
This one, I don't know about.
This I don't know about either.
|
@qjhart Let's start with Calibration Nodes (CN). There are 5 Calibration Nodes, one for each region. Each CN has one source and one sink. These are only to make mass balance work. For example, if there is a problem with mass balance in a node in Region 1 (Upper Sac. Valley), we use CN1. Currently, only CN2 is being used in the upper Bear River watershed in the Historical Base CALVIN run. CNs does not have any cost associated with. How we decide to use is that we run in Debug Mode, if we keep getting debug flow can't eliminate it, we use calibration flows to add or remove water to make mass balance work and get a feasible solution. No end-of-period-storage values for some reservoirs. As we discusses in the last meeting, reservoirs (mostly natural lakes) acting as sinks do not have ending storage value. Those reservoirs have only inlets and only outlet is evaporation. So, we don't know what would be ending storage is and let CALVIN decide. Link issues: Yes, we don't have a convention on precision of link amplitude and cost. It is generally two or three precision. Negative Link Cost: Since this is a cost minimization model, any benefits, such as hydropower (C201-C71), appear as negative cost. Another use negative cost is persuasion. Persuasion cost (D616-C42, D744-C92) is relatively small. It is a way to "manipulate" or "calibrate" the model. For U304-C79, I am copy and paste the metadata: Credit for downstream Hetch Hetchy water treatment cost on SR-ASF_T20 (-$5/af) plus for SCV local distribution/conveyance charge (-$95/af). Corrected in V42 from -125 to -100 (RR). Right now, it is 148 instead of 100 because some years ago, all operating cost was multiplied with 1.48 to reflect inflation ratio. D884-N7: I think that big number represents positive infinity in Access Database or HEC-PRM. Looks like the reason is we chose constant for the cost method but we didn't put any number. Let's update cost method as "none" Reservoir Evaporation: I have checked SR_TL and SR_BVLB. They both seem to have evaporation time-series data but their area-elevation-capacity conversion factors are set to zero. That could be the reason. Urban Areas Penalty Precision (Redding & Yuba): This could be as a result of an error in penalty generator macro for urban areas. I don't know why the model gives error when PRM sets them equal to zero. any idea @josue-medellin @mimijenkins1 |
For the last point, is this about the differing methods of month blocking ? i.e., copied here below (FEB exterior paired penalty data for yuba and redding) ext_YUBA: ext_REDDING: As Mustafa has noted these are probably round-off and precision formatting errors generated by the Macro, and were not cleaned up before uploading the Macro paired data into DSS Some things that might cause PRM error problems:
|
There are a few items in the current data that don't transfer over properly
Missing Nodes
The following nodes are missing from the calvin network data. CN1,CN3,CN4,CN5. They seem to be disconnected in the network anyways. (Except for CN2). There are also some errors in the ending storage for some reserviors.
Regarding the Reserviors
or ...
I am setting these to 0 and trying to run the model
Link issues.
There are two problems with the links. First, the precision of the data is off between the two. It appears as if LIAMP=precission to 0.XXX , LICOST=0.XX, and LILOWER=0.X00. More importantly, it seems as if negative LICOST are missing.
These are true for: C201-C71, D616-D42,D744-C92,U304-C79,SR_RLL_CMB-SR_RLL_CMB
Somehow link D884-N7 includes a positive LICOST no found in S09I05. It's because of a very big number in the cost function :(
Hmm, also for some reason the inflow for GW_MWD is not properly set. This is fixed.
Previious question re. Evaporation Rates
A
lso, there are two items, that my program sez should be in there, and your's doesn't show. These two Evaporation rates are not in S09I05, but they have db inputs.
Questionable Monthly Costs
The two items with questionable monthly costs are: here
Differing methods of Month Blocking
./south-coast/santa-clara/ag_vent/hu501-ags_vent/costs/FEB.csv
capacity,cost
0,0.05
0.01,0
./sacramento-river/central-basin-west/ag_cvpm06/hu203-cvpm06s/costs/DEC.csv
capacity,cost
0,0.06
0.01,0
55 files like
The text was updated successfully, but these errors were encountered: