unifhy-org / unifhy

A Unified Framework for Hydrology
https://unifhy-org.github.io/unifhy
BSD 3-Clause "New" or "Revised" License
11 stars 5 forks source link

Lift data requirement when coupling a `DataComponent` with a `NullComponent` #58

Open ThibHlln opened 2 years ago

ThibHlln commented 2 years ago

For example, take the following configuration:

At the moment, the DataComponent needs to be given a DataSet containing the outward transfers that an actual SS component would have produced. However, the transfers from SS -> SL will be of no use to SL since it is a NullComponent. So, the framework should allow for these transfers to be missing from the DataSet in such situation. For now, the problem can be bypassed by creating some dummy data for these transfers, which is not optimal.