The 2021x release is packed with a few improvements that extended the usage of Simulink import and Modelica export. We introduce the new SysML 1.6 specification support, including new concepts such as Conjugated Interface Block, «AddFlowPropertyValueOnNestedPortAction» stereotype, additional Binding Connector notation, renamed compartments, enumerations, and more.
Download it today at nomagic.com or contact your sales representative, and don't forget to give us your feedback on Twitter or Facebook.
FMU and Simulink import now support Proxy Port creation. Once you have imported the external FMU/Simulink model, you can select the Proxy Port to be created in your model and then specify an existing or create a new Interface Block to be used as its type.
Image ModifiedSelecting the Proxy Port and an Interface Block upon the external model import.
You can import the Simulink model by dragging and dropping the Simulink file (*.slx) directly onto the Activity diagram. The Activity (stereotyped by «SimulinkBlock») which is assigned as behavior for the Call Behavior Action and its Input and/or Output Pins are created in the model.
You can now select how to export Proxy Port or Interface Block with multiple Flow Properties (composite signals): as bus Creators/Selectors or as bus In/Out ports.
You can now use the Internal Block Diagram to select what to export to Modelica. Only parts, ports, and connectors appearing in this diagram are exported, rather than the entire model. See whole vs partial export comparison in the image below.
The difference between whole (exporting Block) and partial (exporting IBD) export to the Modelica file.
As of version 20.0 2021x the SysML Plugin supports the SysML 1.6 specification which brings the following improvements:
One more way to model conjugated ports is to create the Conjugated Interface Block which has the same features as its original Interface Block except that its Directed Features and Flow Properties are reversed (conjugated). Learn more about Conjugated Interface Block >>
The new stereotype «AddFlowPropertyValueOnNestedPortAction» is created which enables values added to a flow property to propagate out through a specified behavioral port of an object executing the action, rather than all behavior ports exposing the flow property. It also enables values added to a flow property to propagate into objects.
The AdjunctProperty principal type is changed from Element to NamedElement.
The «PropertySpecificType» stereotype is renamed to «pst».
The Value Type compartment attributes is renamed to properties.
The initialValue compartment is renamedtoinitial values.
The signal receptions compartment is renamed toreceptions.
The FlowDirection, FeatureDirection and ControlValueenumerations are renamed to FlowDirectionKind, FeatureDirectionKind and ControlValueKind respectively.