Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • airGR airGR
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 60
    • Issues 60
    • List
    • Boards
    • Service Desk
    • Milestones
  • Redmine
    • Redmine
  • Merge requests 7
    • Merge requests 7
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • HYCAR-Hydro
  • airGRairGR
  • Issues
  • #103

Closed
Open
Created Mar 01, 2021 by Dorchies David@david.dorchiesDeveloper

RunModel_Lag: `StateEnd` is wrong in case of more than 1 upstream basin

The code refers to the variable Qupstream which is the flow of the last upstream flow processed in the loop of lag calculation:

OutputsModel$StateEnd$SD <- lapply(seq(NbUpBasins), function(x) {
      Qupstream[(LengthTs - floor(PT[x])):LengthTs]
    })

It should refer to InputsModel$Qupstream which is the matrix of all upstream flows.

Edited Mar 01, 2021 by Dorchies David
Assignee
Assign to
Time tracking