-
Key: SYSML21-318
-
Status: open
-
Source: Model Driven Solutions ( Mr. Ed Seidewitz)
-
Summary:
The analysis case definition TradeStudy from the Analysis Domain Library model TradeStudies.sysml is intended to be used by redefining the objective tradeStudyObjective to use a concrete specialization of TradeStudyObjective, e.g., MinimizeObjective or MaximizeObjective. For example:
analysis tradeStudy : TradeStudy { objective minimize :>> tradeStudyObjective : MinimizeObjective; ... }
However, MinimizeObjective and MaximizeObjective redefine the parameters from TradeStudyObjective, and TradeStudy::tradeStudyObjective also redefines the first three of these parameters (selectedAlternative, alternatives and eval). But this means that both sets of redefinitions are inherited by the objective minimize in the analysis case usage above, which is semantically inconsistent. Currently, the only way to avoid this is for the modeler to include nested redefinitions of selectedAlternative, alternatives and eval when redefining tradeStudyObjective, which is inconvenient and unintended.
-
Reported: SysML 2.0b2 — Wed, 16 Jul 2025 21:43 GMT
-
Updated: Sat, 20 Sep 2025 06:51 GMT
SYSML21 — Diamond inheritance problem with TradeStudy
- Key: SYSML21-318
- OMG Task Force: Systems Modeling Language (SysML) 2.1 RTF