You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I explored the CALVIN network adding 13 nodes near the Tulare Lake basin as additional agriculture demand to transfer from the SWAT model. These nodes are AS14a, b, AS15a, b, ..., AS21a,b,c with appropriate links to GW nodes and similar penalty functions as CVPMs has. I succeeded in exporting the matrix file for the Python version of the CALVIN. However, a couple of links like A408B.1921-10-31_DBUGSNK.1921-10-31 are duplicated. Refer to rows 61566 and 61842 in the attached CSV file. There are more than five links that appeared to be duplicated. This issue doesn't allow creating the pyomo model completely. Later I tried to remove the duplicate rows with the following codes inside calvin.py but outside the `CALVIN class.
Unfortunately, it was created but could not solve and gave the error message >' not supported between instances of 'NoneType' and 'float'. After removing the duplicate rows with the above routine, I noted that the number of rows reduced from 64781 to below 50000. Does any one of you have any clue on these issues? Please let me know.
@nickrsan, @msdogan, and others,
cc @josue-medellin
I explored the CALVIN network adding 13 nodes near the Tulare Lake basin as additional agriculture demand to transfer from the SWAT model. These nodes are
AS14a, b
,AS15a, b
, ...,AS21a,b,c
with appropriate links to GW nodes and similar penalty functions as CVPMs has. I succeeded in exporting the matrix file for the Python version of the CALVIN. However, a couple of links likeA408B.1921-10-31_DBUGSNK.1921-10-31
are duplicated. Refer to rows 61566 and 61842 in the attached CSV file. There are more than five links that appeared to be duplicated. This issue doesn't allow creating the pyomo model completely. Later I tried to remove the duplicate rows with the following codes insidecalvin.py
but outside the `CALVIN class.Unfortunately, it was created but could not solve and gave the error message
>' not supported between instances of 'NoneType' and 'float'
. After removing the duplicate rows with the above routine, I noted that the number of rows reduced from 64781 to below 50000. Does any one of you have any clue on these issues? Please let me know.Thank you..
@mlmaskey
The text was updated successfully, but these errors were encountered: