...
Fig 3. Use case 1: Connecting to other rivers
Preconditions:
- The model user has the OpenMI-compliant Simple River model installed on his PC.
- The model user has input files for the Simple River model available on his PC.
- The model user has an OpenMI configuration user interface installed on his PC.
- The model user has another OpenMI-compliant river model (including required datafiles) available on his PC.
Success guarantee (postconditions):
- All models have generated correct results.
Main success scenario:
- The model user loads the OpenMI GUI on the PC.
- The model user uses the GUI to browse for available LinkableCompnents.
- The model user finds the Simple River OMI file and the OMI file for the other river model.
- The model user loads the two files (components) into the GUI.
- The model user creates a unidirectional and ID-based link from the downstream node in the other river model to the upstream node in the Simple River.
- The model user selects input and output exchange items for the link (input quantity for the Simple River is 'Inflow').
- The model user defines the simulation period.
- The model user runs the simulation.
Extensions to the use case provide alternative flows. Here, the flow splits from step 5 into two
alternatives.
First alternative:
- 5. The model user creates a unidirectional and ID-based link from the downstream branch in the Simple River model to the upstream node in the other river model.
- 6. The model user selects input and output exchange items for the link (output quantity for the Simple River is 'flow').
- 7. The model user defines the simulation period.
...
- 8. The model user runs the simulation.
Second alternative:
- 5. The model user creates a unidirectional and ID-based link from the downstream branch in the other river model to an internal node in the Simple River model.
- 6. The model user selects input and output exchange items for the link (input quantity for the Simple River is 'Inflow').
- 7. The model user defines the simulation period.
- 8. The model user runs the simulation.
Fig 3. Use case 1: Connecting to other rivers
...
- The model user has the OpenMI-compliant Simple River model installed on his PC.
- The model user has input files for the Simple River model available on his PC.
- The model user has an OpenMI configuration user interface installed on his PC.
- The model user has another OpenMI-compliant river model (including required datafiles) available on his PC.
Success guarantee (postconditions):
- All models have generated correct results.
Main success scenario:
- The model user loads the OpenMI GUI on the PC.
- The model user uses the GUI to browse for available LinkableCompnents.
- The model user finds the Simple River OMI file and the OMI file for the other river model.
- The model user loads the two files (components) into the GUI.
- The model user creates a unidirectional and ID-based link from the downstream node in the other river model to the upstream node in the Simple River.
- The model user selects input and output exchange items for the link (input quantity for the Simple River is 'Inflow').
- The model user defines the simulation period.
- The model user runs the simulation.
Extensions to the use case provide alternative flows. Here, the flow splits from step 5 into two
alternatives.
First alternative:
...
- .