Icon class icon_class fas fa-quote-left icon_class_computed fas fa-quote-left Related content 30. Calculations: Calculation Definitions.sysml SysMLv2: Cameo: Although you can use return in SysMLv2 code for the out parameter of a calculation it will display as an out in the parameters compartment. Note that the special parameter is called 'result' but the code keyword is return and it's an out. SysMLv2: Cameo: The special result parameter of a calculation (which is an out parameter) won't display as a parameter symbol on its owner's symbol boundary but you can still list it in the parameters compartment (it will appear as an out) 30. Calculations: Calculation Usages-1.sysml 30. Calculations: Calculation Usages-2.sysml Source OMG Systems Modeling Language TM (SysML®) Version 2.0 formal/2025-09-03 (Sep 2025) Copyright information About Object Management Group copyright in text extracts quoted from OMG specifications for educational purposes Snippet kind INFO Previous snippet A calculation definition is a kind of action definition ... that has a distinguished parameter with direction out called the result parameter (which is usually the only out parameter). Full quote A calculation definition specifies a reusable computation that returns a result in the result parameter. Next snippet A calculation usage is an action usage that is a usage of a calculation definition. Related snippets Related snippets (backlinks) In addition, the result parameter for a calculation definition or usage can be declared as an out parameter using the keyword return instead of out. Note that a calculation definition or usage always has a result parameter, inherited if not owned. Visit also Visit also (backlinks) Flags