The diagram of the network structure is represented below with in blue the upstream nodes with a GR4J model and in green the intermediate nodes with an SD (GR4J + LAG) model.
The GRIWRM InputsModel object is a list of airGRInputsModel. The identifier of the sub-basin is used as key in the list which is ordered from upstream to downstream.
The `GRiwrmInputsModel` object is a list of **airGR** `InputsModel`. The identifier of the sub-basin is used as key in the list which is ordered from upstream to downstream.
The airGRCreateInputsModel function is extended in order to handle the griwrm object which describe the basin diagram:
The **airGR** `CreateInputsModel` function is extended in order to handle the `GRiwrm` object which describe the basin diagram: