ucd-cws/calvin

Mass balance issue for some nodes

msdogan opened this issue · 2 comments

@jdherman I was able to identify previously that desal node had a balance issue ucd-cws/calvin-network-tools#37 (comment)
However, after running the network checking preprocessor, looks like we have more nodes with the same problem. These nodes C146, C148, C304, C86, D43a, Desal have mass balance problem. I don't know the reason at the moment. Justin has some explanation in the link above, but still unsolved. I run this for only the 1-year period, assuming other periods have the same problem.

no incoming link for ['C146.2001-10-31']
no incoming link for ['C146.2001-11-30']
no incoming link for ['C146.2001-12-31']
no incoming link for ['C146.2002-01-31']
no incoming link for ['C146.2002-02-28']
no incoming link for ['C146.2002-03-31']
no incoming link for ['C146.2002-04-30']
no incoming link for ['C146.2002-05-31']
no incoming link for ['C146.2002-06-30']
no incoming link for ['C146.2002-07-31']
no incoming link for ['C146.2002-08-31']
no incoming link for ['C146.2002-09-30']
no incoming link for ['C148.2001-10-31']
no incoming link for ['C148.2001-11-30']
no incoming link for ['C148.2001-12-31']
no incoming link for ['C148.2002-01-31']
no incoming link for ['C148.2002-02-28']
no incoming link for ['C148.2002-03-31']
no incoming link for ['C148.2002-04-30']
no incoming link for ['C148.2002-05-31']
no incoming link for ['C148.2002-06-30']
no incoming link for ['C148.2002-07-31']
no incoming link for ['C148.2002-08-31']
no incoming link for ['C148.2002-09-30']
no incoming link for ['C304.2001-10-31']
no incoming link for ['C304.2001-11-30']
no incoming link for ['C304.2001-12-31']
no incoming link for ['C304.2002-01-31']
no incoming link for ['C304.2002-02-28']
no incoming link for ['C304.2002-03-31']
no incoming link for ['C304.2002-04-30']
no incoming link for ['C304.2002-05-31']
no incoming link for ['C304.2002-06-30']
no incoming link for ['C304.2002-07-31']
no incoming link for ['C304.2002-08-31']
no incoming link for ['C304.2002-09-30']
no incoming link for ['C86.2001-10-31']
no incoming link for ['C86.2001-11-30']
no incoming link for ['C86.2001-12-31']
no incoming link for ['C86.2002-01-31']
no incoming link for ['C86.2002-02-28']
no incoming link for ['C86.2002-03-31']
no incoming link for ['C86.2002-04-30']
no incoming link for ['C86.2002-05-31']
no incoming link for ['C86.2002-06-30']
no incoming link for ['C86.2002-07-31']
no incoming link for ['C86.2002-08-31']
no incoming link for ['C86.2002-09-30']
no incoming link for ['D43a.2001-10-31']
no incoming link for ['D43a.2001-11-30']
no incoming link for ['D43a.2001-12-31']
no incoming link for ['D43a.2002-01-31']
no incoming link for ['D43a.2002-02-28']
no incoming link for ['D43a.2002-03-31']
no incoming link for ['D43a.2002-04-30']
no incoming link for ['D43a.2002-05-31']
no incoming link for ['D43a.2002-06-30']
no incoming link for ['D43a.2002-07-31']
no incoming link for ['D43a.2002-08-31']
no incoming link for ['D43a.2002-09-30']
no incoming link for ['Desal.2001-10-31']
no incoming link for ['Desal.2001-11-30']
no incoming link for ['Desal.2001-12-31']
no incoming link for ['Desal.2002-01-31']
no incoming link for ['Desal.2002-02-28']
no incoming link for ['Desal.2002-03-31']
no incoming link for ['Desal.2002-04-30']
no incoming link for ['Desal.2002-05-31']
no incoming link for ['Desal.2002-06-30']
no incoming link for ['Desal.2002-07-31']
no incoming link for ['Desal.2002-08-31']
no incoming link for ['Desal.2002-09-30']

@jdherman
Closing this issue. It is not resolved but the same issue is open under ucd-cws/calvin-network-tools#37. We now know what it causing this. Problem was missing flow.csv files read from output dss file. Those csv files created for nodes and links based on FLOW_DIV(KAF) in the HEC-PRM output file. For links this represents flow deliveries (diversion), but for nodes I do not know what it represents. This FLOW_DIV(KAF) is calculated for all links in HEC-PRM output but not for all nodes. So, when there is no flow_div for a node, no flow.csv is calculated, resulting in missing parameters in the matrix export.

Let's track down this issue under calvin-network-tools because this is a issue of exporting network.

Ok thanks!