OMG System Modeling Language Avatar
  1. OMG Specification

OMG System Modeling Language — Open Issues

  • Acronym: SysML
  • Issues Count: 4
  • Description: Issues not resolved
Open Closed All
Issues not resolved

Issues Descriptions

Incorrect enumeration example

  • Status: open  
  • Source: Model Driven Solutions ( Mr. Ed Seidewitz)
  • Summary:

    The following example appears in 7.8.2 Enumeration Definitions and Usages:

    enum def ConditionColor { red; green; yellow; } 
    attribute def ConditionLevel {
        attribute color : ConditionColor; 
    }
    enum def RiskLevel :> ConditionLevel {
        enum low { color = ConditionColor::green; } 
        enum medium { color = ConditionColor::yellow; } 
        enum high { color = ConditionColor::red; }
    }
    

    This is example is not valid, because the color features defined in the enumerated values will have name conflicts with the color feature inherited from ConditionLevel. The intent was probably to have the color features in the enumerated values redefine ConditionLevel::color, but that is currently missing from the example.

  • Reported: SysML 2.0b2 — Thu, 2 May 2024 21:34 GMT
  • Updated: Thu, 2 May 2024 21:36 GMT

There is no need for AnalysisAction

  • Status: open  
  • Source: Model Driven Solutions ( Mr. Ed Seidewitz)
  • Summary:

    The Systems Library model AnalysisCases includes a declaration for AnalysisAction as a specialization of Actions::Action. In the abstract syntax, ActionDefinition::analysisSteps and ActionUsage::analysisSteps are derived to be the subactions that are AnalysisActions.

    However, no special semantics are specified for AnalysisActions and no special concrete syntax for defining analysisSteps. So they are never used in practice within user models of analysis caes, so they seem pointless.

  • Reported: SysML 2.0b2 — Wed, 1 May 2024 22:44 GMT
  • Updated: Wed, 1 May 2024 22:45 GMT

StateAction::substates has an implied subsetting of exclusiveStates

  • Status: open  
  • Source: Model Driven Solutions ( Mr. Ed Seidewitz)
  • Summary:

    According to the constraint checkStateUsageExclusiveStateSpecialization (in 8.3.17.6), a substate of a non-parallel owning state definition or usage must specialize StateAction::exclusiveStates (at least according to the description of the constraint; the OCL is wrong, see SYSML2_-183). However, the feature StateAction::substates actually meets the requirements for the application of checkStateUsageExclusiveSpecialization, which means that it has an implied specialization of exclusiveStates. But exclusiveStates already subsets substates (at least according to the library model in States.sysml; the feature exclusiveStates seems to be missing from subclause 9.2.10.2.1 StateAction), so this would mean that all substates are exclusiveStates, which is, of course, incorrect for the semantics of parallel states.

  • Reported: SysML 2.0b2 — Wed, 1 May 2024 20:57 GMT
  • Updated: Wed, 1 May 2024 21:37 GMT

checkStateUsageExclusiveStateSpecialization and checkStateUsageSubstateSpecialization have problems

  • Status: open  
  • Source: Model Driven Solutions ( Mr. Ed Seidewitz)
  • Summary:

    In 8.3.17.6 StateUsage:

    1. The constraint checkStateUsageExclusiveStateSpecialization has the description

      A StateUsage that is a substate usage with a non-parallel owning StateDefinition or StateUsage must directly or indirectly specialize the StateUsage States::State::exclusiveStates from the Systems Model Library.

      However, the OCL for the constraint actually checks for the owning state being parallel (rather than non-parallel) and requires specialization of substates rather than exclusiveStates.

    2. The constraint checkStateUsageSubstateSpecialization has the description

      A StateUsage that is a substate usage with a owning StateDefinition or StateUsage that is parallel must directly or indirectly specialize the StateUsage States::State::substates from the Systems Model Library.

      However, the OCL for the constraint actually checks for the owning state being non-parallel (rather than parallel).

    3. The operation isSubstateUsage used in the above constraints has the description

      Check if this StateUsage is composite and has an owningType that is an StateDefinition or StateUsage with the given value of isParallel, but is not an entryAction or exitAction. If so, then it represents a StateAction that is a substate or exclusiveState (for isParallel = false) of another StateAction.

      However, the OCL for the operation actually does not check if the state usage is composite and also excludes do actions (in addition to entry and exit actions).

  • Reported: SysML 2.0b2 — Wed, 1 May 2024 20:43 GMT
  • Updated: Wed, 1 May 2024 21:08 GMT