[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools.uml2] correct mapping of a dynamic simulation model to a UML model

Hello,

I need some help on how to model a dynamic simulation model(for e.g. a Simulink model) in UML. The dynamic simulation model consists of blocks with certain characteristics that are connected to each other. For example: an input block sends a constant value to another block, which integrates this input value over time, and this result is sent to another block and so on...

I am asking myself what is the best way to map the information included in a dynamic simulation model into a UML model with domain specific stereotypes, in this case specific to the dynamic simulation model.

I first thought it would be practical to map the blocks of the dynamic simulation to actions in an activity, which would be connected by control flows, like this:
dynamic simulation model -> Activity, blocks -> Actions, Edges between blocks-> ControlFlows


However as actions do not have properties (as classes and instances have), how can I map the parameters of the blocks to the actions? The block parameters would need to be in a stereotype applied to the action. But this would mean, that a stereotype would be needed for every possible blocktype. This wouldn't be a flexible solution as new blocktypes can be defined any time, and the creation of new stereotypes would be forced and cumbersome. I would appreciate a solution, where the stereotypes needed for this domain specific modeling, are minimal in quantity and size. Ideally this mapping would be wishful: Parameter of a Block -> Property of an Action

Is there something about actions and activities that I missed to realize a correct mapping? Or should I try another approach, for example:
dynamic simulation model -> Class containing references to all blocks included in the dynamic model, blocks -> Instances of classes, Edges between blocks-> InformationFlows between instances ?


I would appreciate any help.

Axel