|

Try out SysML v2 with Jupyter Notebook (Video)

Try out SysML v2 with Jupyter Notebook (Video)

There are now several reference implementations of SysML v2, including a Jupyter notebook that runs in a web browser. I took a look at this implementation and created a 2-minute video and commented on the whole thing.

What is a Jupyter notebook?

For those who don't know it yet: A Jupyter Notebook is an interactive document that mixes text and executable content. It is ideal for experimentation.

The interactivity comes from a runtime environment that runs in a sandbox. Initially, the focus was on data analysis with Python, but in principle any machine-readable language can be embedded in Jupyter Notebooks.

Here is a 1-minute introduction to Jupyter Notebooks.

Experiment without installation

The team has an open Jupyter notebook online at www.sysmlv2lab.com is available. This allows interested parties to play around with SysML v2 without having to install it. Of course, there is no guarantee that the models will suddenly disappear, nor is there a private mode.

Install SysML v2 Jupyter Notebook

In addition to the Eclipse-based reference implementation of SysML v2, the team behind SysML v2 also provides a Jupyter Notebook-based implementation. This means that we also have an implementation of SysML v2 based on web technologies.

The Jupyter Notebooks can be easily installed locally on your own computer (Installation instructions). All you need to do is install Java and Conda. Of course, it is also possible to install it on a server and make it available to the team via the web interface.

To use the notebook (locally), the notebook must be started. You will then receive the URL on the console to access the notebook with the web browser.

Demo: SysML v2 Jupyter Notebook

The following 2-minute video shows how to start the server and a small example:

The example shown here is just as minimal as the Eclipse-based reference implementation I recently showed. I show how to create and visualize a model using the text notation. I also describe very briefly how the notebook works.

Extensive example

If you have more time, I recommend it, this 2-hour video by Ed Seidewitz. In the first 60 minutes, he shows a comprehensive example from automotive engineering using a Jupyter notebook. He shows the consistency, starting with the requirements, publication with API and much more.

What else happens?

Tim Weilkiens has created a list of SysML v2 tools. If you are interested, it is worth keeping an eye on this list.

The "usual suspects" are already represented on the list (Sparx, Cameo), as well as a number of smaller manufacturers and open source projects.

Also on the list is Siemens, but not IBM, which will surely change soon as Siemens and IBM are now working together on modeling tools. On the ReConf last week I learned that IBM will soon release a new modeling tool that is web-based and supports SysML v2. (To confuse users, it will probably also be called Rhapsody. As if we hadn't learned from the confusion of DOORS Classic / DOORS Next. We'll see...)

Conclusion

Even if there are other open and/or free SysML v2 tools, a Jupyter Notebook is a very pleasant tool for experimenting. I can recommend all interested readers to install it for fun.

Similar Posts

Leave a Reply