15.2. Updating Imported SysML Models

When the source model of an imported SysML model has been changed, you can update the imported SysML model by reimporting the source model to medini analyze. The update mechanism compares the changed source model with the imported model in medini analyze and uses an intelligent automatic merge mechanism to update the elements.

The update wizard also provides a Force Update option to re-create deleted and changed elements in the imported copy. Note that existing additions to the imported model, such as failure modes or new diagrams, are preserved during an update.

For more information, see the following table.

Table 15.2: Update Handling

Change in medini analyzeRegular UpdateUpdate using "Force"
Added model element or connectionKept during updateKept during update
Added safety-related information, such as failure rate, failure modes, or safety mechanismsKept during updateKept during update
Added profile valuesKept during updateKept during update
New diagramsKept during updateKept during update
Deleted elementsRemain deleted during updateReimported if still in source model
Renamed elementsKeep new name during updateRenamed to name in source model
Moved elementsRemain moved during updateMoved to position found in source model

Changes to imported superconnected elements:

When a safety feature is added to the parent element and inherited by the child element in medini analyze, and the child element is deleted before an import update...

...the child element is reimported, but the superconnection is not...the child element is reimported together with the superconnection, and medini analyze shows the inherited safety feature.


15.2.1. Updating an Imported Model

The update process is the same regardless of which tool you imported from. To update an imported model, complete these steps:

  1. In the model browser, navigate to the project package that contains your imported model.

  2. Right-click in the package and select Update Model from <tool>....

    The update wizard guides you through the update.


    Note:  If you are updating a model from Rhapsody, the source model must be open during update.


  3. Optional. To re-create deleted and changed elementes in the imported copy, select the Force Update option.