Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
HYCAR-Hydro
airGR
Commits
9ad805e3
Commit
9ad805e3
authored
Jun 23, 2021
by
Dorchies David
Browse files
doc(V05_sd_model): fix unit error on copy of upstream simulated flows
parent
3868c72b
Changes
1
Hide whitespace changes
Inline
Side-by-side
vignettes/V05_sd_model.Rmd
View file @
9ad805e3
...
...
@@ -31,7 +31,6 @@ We finally compare these calibrations with a theoretical set of parameters.
## Model description
```{r, warning=FALSE, include=FALSE}
library(airGR)
options(digits = 3)
...
...
@@ -129,9 +128,9 @@ To run the complete model, we should substitute the observed upstream flow by th
```{r}
InputsModelDown2 <- InputsModelDown1
# Simulated flow during warm-up period
InputsModelDown2$Qupstream[Ind_Run[seq_len(365)] - 365] <- OutputsModelUp$WarmUpQsim
InputsModelDown2$Qupstream[Ind_Run[seq_len(365)] - 365] <- OutputsModelUp$WarmUpQsim
* 180 * 1E3
# Simulated flow during run period
InputsModelDown2$Qupstream[Ind_Run] <- OutputsModelUp$Qsim
InputsModelDown2$Qupstream[Ind_Run] <- OutputsModelUp$Qsim
* 180 * 1E3
```
`RunModel` is run in order to automatically combine GR4J and Lag models.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment