In our last article, we discussed product trees and how to build them in CDP4-COMET and SysML v2. This time, we look at how to build several product trees with few clicks using the concept of ‘alternatives’. Or, putting it another way, how to reuse elements to investigate ideas.
We see how options or variants are added in CDP4-COMET and SysML v2 respectively, and the advantages of leveraging options in your model.
By Anh-Toan Bui Long, Starion Concurrent Design & MBSE Expert
What if…?
This is a question that every engineer asks themselves during design. Several reasons could trigger it: exploring a new technology, trying out another material placement, investigating a backup solution, etc.
In our last article, we built a product tree for a spacecraft. Now, what if the three reaction wheels in our Attitude and Orbit Control System (AOCS) were replaced by four control moment gyroscopes?
A typical approach would be to duplicate the model files and do your work there. But that comes with a price: model divergence. You now have two models that share most of their content but evolve separately. A thermal engineer may update the old version while the mechanical team works on the new one, and soon nobody knows which mass or power value is correct. Merging the two back together is often done manually, making it tedious and prone to errors.
A better approach is to keep the alternatives inside a single model. You declare what the changes are between the hypotheses and share everything else. Any update to a common part is then automatically reflected in every alternative, and you can see the impact of your hypothesis on the whole system right away, without rebuilding anything around it. CDP4-COMET calls these alternatives ‘options’ and SysML v2 calls them ‘variants’.
Options in CDP4-COMET
Concurrent design sessions are where “what if” questions come up most often. Trade-offs are discussed live, with all disciplines represented around the table.
In CDP4-COMET, an ‘option’ is a configuration of the product tree that lives in the same iteration as the other options, so every option shares the same element definitions, the same parameters and the same domains of expertise. Every iteration has at least one option.
How to create an option in CDP4-COMET
➡️ In CDP4-COMET’s desktop application, open the Options panel in the Model tab → Engineering Model section → Options.
➡️ Click on the plus sign at the top left of the panel and choose ‘Create an Option’.
➡️ Give the option a Name, for example BaselineOption and CMGOption, and a Short Name: here we chose Baseline. If needed, set one of them as the default option.
Once your options exist, you choose which element usages belong to which option. By default, an element usage belongs to all options.
➡️ In the Element Definition panel, look for the column ‘Options’ and in the Element Usage row, click on the green icon and select all options that apply.
➡️ Do the same for the reaction wheels, setting them only for the Baseline option.
➡️ Now open the product trees, one per option. This yields the following product trees, the left one being the baseline and right being the option with control moment gyroscopes:
From this point on, you can make calculations on your option, mass budgets, etc.
How to create variants in SysML v2
SysML v2 supports variability natively through the ‘variation’ and “’variant’ keywords.
A variation point declares where the alternatives are and each variant describes one possible choice. A configuration then selects one variant for each variation point.
Let’s take the product tree from our previous article and add the control moment gyroscopes alternative:
The AOCS has been modified and rest of the model is unchanged from the product tree article.
The star tracker and the gyroscope are still declared once, because both alternatives need them. The three reaction wheels are no longer direct parts of the AOCS. Instead, the AOCS has a variation point called actuators (line 5), with two possible choices: the reaction wheel assembly (containing the three reaction wheels) or the control moment gyroscopes (CMG) cluster.
To make the alternatives interchangeable, we introduce an abstract AttitudeActuators definition (line 12). ReactionWheelAssembly (line 15) groups our three reaction wheels, one per axis. CMGCluster (line 21) contains four control moment gyroscopes. Both specialise AttitudeActuators, so either can fill the variation point.
Spacecraft remains the generic spacecraft, now containing a choice rather than a fixed design. baselineSpacecraft and cmgSpacecraft each specialise it (lines 26 and 32) and select one variant for the actuators. Everything else, from the thermal control system to the antenna, is inherited unchanged.
The benefit is the same as with options in CDP4-COMET. If the power team changes the solar array, the change is made once in ‘PowerSystem’ and appears in both configurations. SysML v2 can go further than a simple choice.
Conclusion
CDP4-COMET and SysML v2 both let you keep alternatives in a single model. Whatever is common to all alternatives stays shared, and only what differs is declared as an alternative. In our example, the star tracker, the gyroscope and the whole power, thermal and communication systems are modelled once. Only the choice between three reaction wheels and four control moment gyroscopes changes.
Stay tuned for our next article where we will manage Parameters!
Want to learn more?
If your team or organisation is interested in model-based system engineering (MBSE) or would like to learn more about SysML v2 to implement it in your projects, sign up to our MBSE and SysML v2 newsletter. Now is the perfect time to start exploring SysML v2, test out new tools and define transition plans to adopt the new version in your modelling activities.
Our team can provide guidance and support on anything else related to MBSE, CDP4-COMET, SysML v2 and/or concurrent design. Please contact us if we can help.




