Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Current »

#Drag ThisTo ThisWith This Connection TypeAnd This Will Happen
L1Anything from the System Model Panel (or Repository Panel)Anything in the Repository Panel (or System Model Panel)
Reference

Reference Connection will be created but nothing will be generated

L2SysML BlockFolderModel Transform

User will be presented three options:

  • Generate Excel Workbook and Table – If selected, this will generate Excel workbook (.xlsx file) in the folder, a new sheet in the workbook, and a new table in the sheet—all with same names as the block. Columns corresponding to the value properties of the block will be generated in the Excel table. A model transform connection will also be created between the SysML block and Excel table for downstream compare and sync.
  • Generate NX CAD Model – If selected, this will generate a NX CAD model in the folder. The model will include a part structure based on the SysML block structure. A model transformation connection will also be created between the SysML block and NX CAD part for downstream compare and sync.
  • Generate Simulink Model – If selected, this will generate a Simulink model in the folder. The Simulink model will include blocks, ports, and lines generated from the internal block structure (part properties, flow ports, and connectors) of the SysML block. A model transformation connection will also be created between the SysML block and Simulink model for downstream compare and sync.
Excel
L3SysML BlockExcel WorkbookModel Transform
  • A new sheet and a table in the sheet—both with same names as the block—will be generated in the workbook. Columns corresponding to the value properties of the block will be generated in the Excel table.
  • A model transform connection will be created between the SysML block and the Excel table.
L4SysML BlockExcel SheetModel Transform
  • A new table in the context of the sheet will be generated with columns corresponding to value properties of the SysML block.
  • A model transform connection will be created between the SysML block and the Excel table.
L5Excel TableSysML packageModel Transform
  • A new SysML block will be generated with value properties corresponding to columns of the Excel table.
  • A model transform connection will be created between the SysML block and the Excel table.
L6SysML BlockExcel TableData Map
  • A new row will be generated in the table with column values corresponding to the default values of the value properties of the SysML block ONLY IF a model transform connection exists between a parent block (supertype) of the given block and the Excel table (such as by operations L2 - L5).
  • A data map connection will be created between the SysML block and the Excel table row
L7SysML Block InstanceExcel TableData Map
  • A new row will be generated in the table with column values corresponding to the slot values of the SysML block instance ONLY IF a model transform connection exists between the classifying block of the instance and the Excel table (such as by operations L2 - L5).
  • A data map connection will be created between the SysML block instance and the Excel table row.
L8Excel RowSysML packageData Map
  • User will be asked to select one of the two options: (1) generate a block instance (default option), or (2) generate a specialized (subtype) block. If the first option is selected, a SysML block instance will be generated with slot values corresponding to the columns values of the given row. This block instance will be an instance of the block that has a model transform connection to the table. If such a block does not exist, then a new block will also be generated with a model transform connection to the Excel table (same as operation L5). If the second option is selected, a SysML block will be generated with value properties (and default values) corresponding to the columns values of the given row. This block will be a child (subtype) of the block that has a model transform connection to the table. If such a block does not exist, then a new block will also be generated with a model transform connection to the Excel table (same as operation L5).
  • A data map connection will be created between the SysML block instance (or specialized block) and the Excel table row. 
NX
L9NX PartSysML packageModel Transform
  • Generates a SysML block structure from NX CAD part structure.
L10SysML BlockFolderModel Transform
  • See L2 above
Creo
L9Creo modelSysML packageModel Transform
  • Generates a SysML block structure from Creo model structure.
L10SysML BlockFolderModel Transform
  • See L2 above
Simulink and Stateflow
L9SysML BlockFolderModel Transform
  • See L2 above





L10SysML ActivityFolderModel Transform
  • Same as L9 above
L11Simulink modelSysML packageModel Transform

Users will be presented with 2 options:

  • Generate SysML block – Generates a SysML block structure (part properties and ports from Simulink model structure).
  • Generate SysML activity – Generates a SysML activity structure (call behavior actions and activity parameter nodes).
L12SysML State MachineFolderModel TransformGenerates a Simulink model (as L2 above) with a statechart subsystem corresponding to the SysML state machine.
L13Simulink State Chart subsystemSysML packageModel TransformGenerates a SysML state machine (in the package) corresponding to the Stateflow statechart

Creating connections between existing model elements The drag-n-drop operations listed in the table above generate models. Starting with this release, Syndeia can also create model transform and data map connections between existing model elements without generation. You can then perform a compare and sync operation on these connections to sync the models. The following drag-n-drop operations are available between existing model elements:

  • SysML Block < -- > Excel table (Model Transform)
  • SysML Block < -- > Excel table row (Data Map)
  • SysML Block Instance < -- > Excel table row (Data Map)
  • SysML Block < -- > NX CAD model (Model Transform)
  • SysML Block < -- > Creo model (Model Transform)
  • SysML Block < -- > Simulink model (Model Transform)
  • SysML Activity < -- > Simulink model (Model Transform)
  • SysML State Machine < -- > Stateflow Statechart (Model Transform)

Additional Notes on SysML and Excel drag-n-drop operations

  1. Column names in the Excel table (header row) must be alpha numeric (white spaces and underscores are allowed) so that they can be used to generate block value properties.
  2. When generating SysML block / instances from Excel data, or when synchronizing Excel > SysML, the following data mapping rules are followed.

    Excel data typeSysML value type
    StringString
    NumericReal
    BooleanBoolean
  3. When generating Excel tables and rows from SysML elements, or when synchronizing SysML > Excel, the following data mapping rules are followed.

    SysML value typeExcel data type
    String value typeString
    Real value typeNumeric
    Integer value typeNumeric
    Boolean value typeBoolean

    Note: Excel does not distinguish between integers and real numbers, so they are both mapped to Numeric type.

  4. Ensure that the Excel file is closed before any drag-n-drop or sync operations from SysML to Excel. If not, the information will not be written to Excel.
  • No labels