Open UweSteinkeFromSiemens opened 10 years ago
@MERCEmentre, @VNuhaan :
As stated during the Berlin workshop, the guideline is written in the awareness a subsequent functional realization with the SysML/Papyrus => SCADE => C tool chain.
To 1.:
To 2:
I read your document and agree on most of it. I nonetheless have some questions.
REQ-SRS-Analysis-Self-Defined-Data-Types-002#DEF#, but in practice that might not be doable, e.g. if one needs to keep a precise computation on small time / small distance while computing only with integers for example. Wouldn't it preferable to say that the scaling should be attached to each value (or at the extreme use an implicit and unique scaling like in your proposal)? However, I do agree that some unit related information should be kept. Moreover, some languages like Ada can now represent units and check coherency of computations (http://www.adacore.com/adaanswers/gems/gem-136-how-tall-is-a-kilogram/). I don't want to over-constrain the model.
Having say that, I agree that we might have hard time to convert a very dynamic model to fixed data structures. So giving some rules might be preferable.
Best regards, david