You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Introduction

OpenMI standard provides capability for linking of different computational models mostly used for water and environment modeling. After this standard was introduced, the need of user friendly application able to link OpenMI compliant models arised. OmiEd is such an application, it's name stands for OpenMI Configuration Editor

Working with OmiEd

Adding models to composition

As the first step you have to add models into your composition. In menu click on Composition > Add Model, in open-file dialog choose OMI file of the model and click OK. Rectangle describing your model should now appear in composition area. Same operation can be performed in popup menu, which you can open by clicking of right mouse button.

Repeat this procedure for each model which you want to have in your composition. There's only one limitation: two models cannot have same ModelID.

If you want to show properties of the model, click on Composition > Model properties... and select requested model. Same operation can also be performed in popup menu by right-clicking of model rectangle and selecting Model properties....

See section Linking of models for more detail about the exchange items tree.

You should also add Trigger as well, if you want to run simulation of the composition. In menu click Composition > Add Trigger. Trigger is special model used to fire simulation, see section Running simulation for more detail.

Linking of models

If you want to make first link between two different models in some direction, you must create connection between them first. Connection is an abstraction that collects links between two models, all its links have same direction as connection itself. In menu click Composition > Add Connection or in popup menu click Add Connection, click on the source model's rectangle and afterwards click on target model's rectangle. Source model is model providing data, target model is model accepting data. Line connecting two models with small triangle in the middle should now appear in the composition area.

  • No labels