A DSM for specifying self-adaptive systems such as drones, driverless train systems or autonomous cars. The DSM covers system concepts, related behavioral rules and probability-distribution. Models are used for specifying first the ontology and then related behavior. Finally code is generated to a knowledge reasoning framework.