Learn about Webel's comprehensive SysMLv2 Workshop Seminar course!
Webel now has a SysMLv2 Online Self-Study course with self-test Quizzes!
Learn about the Webel Q&A online self-testing system for SysML v2/v1

Webel Best Practice: SysMLv2: "Trust the Type": If using parameter = shorthand to provide a feature always also include the :Type in the declaration (which is an implied redefinition) - and even if it's a bit tedious and a bit WET.

Icon class
icon_class
far fa-sticky-note
icon_class_computed
far fa-sticky-note
Note kind
Policy level
Specification keywords
SysMLv2 keywords
Keywords
Click on the image to view it full size

This policy support's Webel "Trust the Type" display modes in Cameo.

This approach is also used in some SysML2.0 spec examples (but less so in the SysMLv2 PILOT GitHub samples). From SysML2.0 p.100:

action providePower : ProvidePower {
    in fuelCmd : FuelCmd;
    action generatePower : GeneratePower {
        in fuelCmd : FuelCmd = providePower::fuelCmd;
        out generatedTorque : Torque;
    }
...

Related:

Relates to
Related notes
Related notes (backlinks)
Related snippets (extracts)
Visit also
Visit also (backlinks)