Commit 9ad805e3 authored by Dorchies David's avatar Dorchies David
Browse files

doc(V05_sd_model): fix unit error on copy of upstream simulated flows

parent 3868c72b
......@@ -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.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment