User Tools

Site Tools


start:hype_tutorials:updating

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
start:hype_tutorials:updating [2018/08/10 15:35]
cpers [AR - updating of lake water stage for discharge (warupd)]
start:hype_tutorials:updating [2018/08/29 11:03]
cpers [Updating of lake water stage (wendupd)]
Line 1: Line 1:
-===== Description of updating methods =====+====== Description of updating methods ​======
  
  
-====Direct updating of discharge (quseobs)====+=====Direct updating of discharge (quseobs)=====
 To use direct updating of discharge set ''​update quseobs''​ in [[start:​HYPE_file_reference:​info.txt|info.txt]]. Subbasins chosen for updating are given in the file [[start:​HYPE_file_reference:​update.txt|update.txt]]. Recorded values are given in [[start:​HYPE_file_reference:​Qobs.txt|Qobs.txt]]. It is possible to force updating on all stations in [[start:​HYPE_file_reference:​Qobs.txt|Qobs.txt]] by setting ''​update quseobs allstation''​ in [[start:​HYPE_file_reference:​info.txt|info.txt]]. It is also possible to force no updating by setting ''​update quseobs nostation''​ in [[start:​HYPE_file_reference:​info.txt|info.txt]]. In case of these latter two options, the settings in [[start:​HYPE_file_reference:​update.txt|update.txt]] are ignored. To use direct updating of discharge set ''​update quseobs''​ in [[start:​HYPE_file_reference:​info.txt|info.txt]]. Subbasins chosen for updating are given in the file [[start:​HYPE_file_reference:​update.txt|update.txt]]. Recorded values are given in [[start:​HYPE_file_reference:​Qobs.txt|Qobs.txt]]. It is possible to force updating on all stations in [[start:​HYPE_file_reference:​Qobs.txt|Qobs.txt]] by setting ''​update quseobs allstation''​ in [[start:​HYPE_file_reference:​info.txt|info.txt]]. It is also possible to force no updating by setting ''​update quseobs nostation''​ in [[start:​HYPE_file_reference:​info.txt|info.txt]]. In case of these latter two options, the settings in [[start:​HYPE_file_reference:​update.txt|update.txt]] are ignored.
  
Line 9: Line 9:
 <m> Qm  = Qr </m> <m> Qm  = Qr </m>
  
-====AR – updating of discharge (qar)====+=====AR – updating of discharge (qar)=====
 To use AR-updating of discharge set ''​update qar''​ in [[start:​HYPE_file_reference:​info.txt|info.txt]]. Subbasins chosen for updating and their AR-factor are given in the file [[start:​HYPE_file_reference:​update.txt|update.txt]]. Recorded values are given in[[start:​HYPE_file_reference:​Qobs.txt|Qobs.txt]]. It is possible to force no updating by setting ''​update qar nostation''​ in [[start:​HYPE_file_reference:​info.txt|info.txt]]. In this case, the settings in [[start:​HYPE_file_reference:​update.txt|update.txt]] are ignored. To use AR-updating of discharge set ''​update qar''​ in [[start:​HYPE_file_reference:​info.txt|info.txt]]. Subbasins chosen for updating and their AR-factor are given in the file [[start:​HYPE_file_reference:​update.txt|update.txt]]. Recorded values are given in[[start:​HYPE_file_reference:​Qobs.txt|Qobs.txt]]. It is possible to force no updating by setting ''​update qar nostation''​ in [[start:​HYPE_file_reference:​info.txt|info.txt]]. In this case, the settings in [[start:​HYPE_file_reference:​update.txt|update.txt]] are ignored.
  
Line 21: Line 21:
 The change made in the last timestep is saved for the next timestep and then multiplied with //AR// again. The change for the last timestep is saved to the statefiles when an output state is asked for. This change is used for continued AR-updating after the model is restarted from the saved state. The change made in the last timestep is saved for the next timestep and then multiplied with //AR// again. The change for the last timestep is saved to the statefiles when an output state is asked for. This change is used for continued AR-updating after the model is restarted from the saved state.
  
-====Updating of lake water stage (wendupd)====+=====Updating of lake water stage (wendupd)=====
 To use lake water updating set ''​update wendupd wstr''​ in [[start:​HYPE_file_reference:​info.txt|info.txt]]. Subbasins chosen for updating are given in the file [[start:​HYPE_file_reference:​update.txt|update.txt]]. Recorded values (''​wstr''​) are given in [[start:​HYPE_file_reference:​Xobs.txt|Xobs.txt]]. To use lake water updating set ''​update wendupd wstr''​ in [[start:​HYPE_file_reference:​info.txt|info.txt]]. Subbasins chosen for updating are given in the file [[start:​HYPE_file_reference:​update.txt|update.txt]]. Recorded values (''​wstr''​) are given in [[start:​HYPE_file_reference:​Xobs.txt|Xobs.txt]].
  
Line 28: Line 28:
 <m> Wm  = Wr </m> <m> Wm  = Wr </m>
  
-Both state variables and output variables are updated ​by the subroutine. For lake basins, only the last lake basin may be updated. The output variable will be updated to the water stage of the whole lake. The state variable(s) of the last lakebasin will be updated to recorded waterstage recalculated to represent the area of the last lakebasin.+Both state variables and output variables ​of lake water stage are changed ​by the method. For lake basins, only the last lake basin may be updated. The output variable will be updated to the water stage of the whole lake. The state variable(s) of the last lakebasin will be updated to recorded waterstage recalculated to represent the area of the last lakebasin.
  
-====AR - updating of lake water stage for discharge (warupd)====+=====AR - updating of lake water stage for discharge (warupd)=====
  
 To update discharge with AR used on lake water stage set ''​update warupd wstr''​ in [[start:​HYPE_file_reference:​info.txt|info.txt]]. Subbasins chosen for updating are given in the file [[start:​HYPE_file_reference:​update.txt|update.txt]]. Recorded values (''​wstr''​) are given in [[start:​HYPE_file_reference:​Xobs.txt|Xobs.txt]]. To update discharge with AR used on lake water stage set ''​update warupd wstr''​ in [[start:​HYPE_file_reference:​info.txt|info.txt]]. Subbasins chosen for updating are given in the file [[start:​HYPE_file_reference:​update.txt|update.txt]]. Recorded values (''​wstr''​) are given in [[start:​HYPE_file_reference:​Xobs.txt|Xobs.txt]].
Line 49: Line 49:
 For lake basins, only the last lake basin may be updated. The output variable will be updated to the water stage of the whole lake. The state variable(s) of the last lakebasin will be updated to recorded waterstage recalculated to represent the area of the last lakebasin. For lake basins, only the last lake basin may be updated. The output variable will be updated to the water stage of the whole lake. The state variable(s) of the last lakebasin will be updated to recorded waterstage recalculated to represent the area of the last lakebasin.
  
-====Updating of total phosphorus (TP) and total nitrogen (TN) concentration====+=====Updating of total phosphorus (TP) and total nitrogen (TN) concentration=====
  
 To use updating on TP concentration set ''​update tpcorr''​ in [[start:​HYPE_file_reference:​info.txt|info.txt]]. Similarly for nitrogen set ''​update tncorr''​. Subbasins chosen for updating and how much are given in the file [[start:​HYPE_file_reference:​update.txt|update.txt]]. Column headings subid, tpcorr and tncorr. Use fraction 0 for excluding a updating for a subbasin. To use updating on TP concentration set ''​update tpcorr''​ in [[start:​HYPE_file_reference:​info.txt|info.txt]]. Similarly for nitrogen set ''​update tncorr''​. Subbasins chosen for updating and how much are given in the file [[start:​HYPE_file_reference:​update.txt|update.txt]]. Column headings subid, tpcorr and tncorr. Use fraction 0 for excluding a updating for a subbasin.
Line 57: Line 57:
 <m> TPc  = TPm * (1+tpcorr) </m> <m> TPc  = TPm * (1+tpcorr) </m>
  
-====Updating of local phosphorus and nitrogen concentration====+=====Updating of local phosphorus and nitrogen concentration=====
 To use updating on local TP or TN concentration set ''​update tploccorr''​ or ''​tnloccorr''​ in [[start:​HYPE_file_reference:​info.txt|info.txt]]. Subbasins chosen for updating and how much are given in the file [[start:​HYPE_file_reference:​update.txt|update.txt]]. Column headings subid, tploccorr and tnloccorr. Use fraction 0 for excluding a updating for a subbasin. To use updating on local TP or TN concentration set ''​update tploccorr''​ or ''​tnloccorr''​ in [[start:​HYPE_file_reference:​info.txt|info.txt]]. Subbasins chosen for updating and how much are given in the file [[start:​HYPE_file_reference:​update.txt|update.txt]]. Column headings subid, tploccorr and tnloccorr. Use fraction 0 for excluding a updating for a subbasin.
  
start/hype_tutorials/updating.txt · Last modified: 2024/01/25 11:37 (external edit)