Hauptinhalt

Die Übersetzung dieser Seite ist veraltet. Klicken Sie hier, um die neueste Version auf Englisch zu sehen.

Erstellen von Architekturmodellen

Darstellung von Architekturen mithilfe von Komponenten, Ports und Schnittstellen

Modellieren Sie die physische, funktionale und logische Architektur eines Systems. Erstellen Sie visuelle Darstellungen mit Komponenten, Ports und Verbindungen. Komponenten stellen architektonische Systeme oder Subsysteme dar, die im Systemdesign verwendet werden. Sie können Komponenten zerlegen, um Details hinzuzufügen und hierarchische Beziehungen zu definieren, und Sie können Komponenten in verschiedenen Kompositionsmodellen wiederverwenden und referenzieren. Konvertieren Sie in Architekturmodelle und Subsystemreferenzen, um Architekturentwürfe komponentenübergreifend wiederzuverwenden. Erstellen Sie Variantenkomponenten und implementieren Sie mehrere Designalternativen oder Varianten, die anhand von programmatischen Regeln ausgewählt werden.

Definieren Sie den Informationsaustausch zwischen Komponenten mit Datenschnittstellen, physikalischen Schnittstellen und Werttypen mithilfe des Interface Editor. Eine Datenschnittstelle definiert den Typ, die Dimensionen, die Einheiten und die Struktur der Daten, die in einem Port enthalten sind und zwischen Komponenten ausgetauscht werden. Sie können Schnittstellen lokal definieren, die mit dem Modell gespeichert werden, oder Sie können Schnittstellen in einem Data Dictionary definieren, um sie modellübergreifend zu verwenden.

Fügen Sie mithilfe des Parameter Editor intrinsische oder operative Parameter für die architektonische Gestaltung von Komponenten und Architekturen hinzu und bearbeiten Sie diese. Übertragen Sie Parameter aus den im Modell enthaltenen Komponenten in eine Top-Level-Architektur.

Erstellen Sie eine Überprüfung zur Bearbeitungszeit für System Composer™ oder definieren Sie Anpassungen mithilfe von sl_refresh_customizations.

Blöcke

ComponentAdd components to architecture model
Reference ComponentLink to architectural definition or Simulink behavior
AdapterConnect components with different interfaces

Klassen

alle erweitern

systemcomposer.arch.ElementAll model elements
systemcomposer.arch.ArchitectureArchitecture in model
systemcomposer.arch.ModelSystem Composer model
systemcomposer.arch.BaseComponentAll components in architecture model
systemcomposer.arch.ComponentSystem Composer component
systemcomposer.arch.BasePortAll ports in architecture model
systemcomposer.arch.ArchitecturePortArchitecture port
systemcomposer.arch.ComponentPortComponent port
systemcomposer.arch.BaseConnectorAll connectors in architecture model (Seit R2021b)
systemcomposer.arch.ConnectorConnector between ports
systemcomposer.arch.PhysicalConnectorConnector between physical ports (Seit R2021b)
systemcomposer.arch.ParameterParameter in System Composer (Seit R2022b)
systemcomposer.ValueTypeValue type in System Composer (Seit R2021b)
systemcomposer.interface.DataInterfaceData interface (Seit R2021b)
systemcomposer.interface.DataElementData element in data interface (Seit R2021b)
systemcomposer.interface.PhysicalDomainPhysical domain in System Composer (Seit R2021b)
systemcomposer.interface.PhysicalInterfacePhysical interface (Seit R2021b)
systemcomposer.interface.PhysicalElementPhysical element in physical interface (Seit R2021b)
systemcomposer.interface.DictionaryArchitectural data of data dictionary of architecture model

Funktionen

alle erweitern

Modellverwaltung

systemcomposer.createModelCreate System Composer model
systemcomposer.loadModelLoad System Composer model
systemcomposer.openModelOpen System Composer model
openOpen architecture model
saveSave architecture model or data dictionary
closeClose architecture model
createArchitectureModelCreate architecture model from component (Seit R2021b)
createArchitectureSubsystemCreate architecture subsystem from component (Seit R2023a)
linkToModelLink component to model
inlineComponentRemove reference architecture or behavior from component
systemcomposer.extractArchitectureFromSimulinkExtract architecture from Simulink model
systemcomposer.exportToAUTOSARArchitectureExport current model to new AUTOSAR architecture model (Seit R2023b)
systemcomposer.exportToSoftwareArchitectureExport current model to new software architecture model (Seit R2023b)
systemcomposer.exportToVersionExport architecture model and dependencies to previous release of System Composer

Modellerstellung

addComponentAdd components to architecture
addPortAdd ports to architecture
getPortGet port from component
setNameSet name for port
connectCreate architecture model connections
smartConnectAuto-connect select components in model using port names or custom policy (Seit R2025a)
getUnconnectedPortsGet unconnected ports (Seit R2025a)
getSmartConnectPolicyGet smart connect policy (Seit R2025a)
setSmartConnectPolicySet smart connect policy (Seit R2025a)
lookupSearch for architectural element
IsAdapterComponentDetermine component is adapter
getQualifiedNameGet model element qualified name
setMaskImageApply mask image to component (Seit R2023b)
destroyRemove model element

Parameterverwaltung

addParameterAdd parameter to architecture (Seit R2022b)
getParameterGet parameter from architecture or component (Seit R2022b)
getParameterPromotedFromGet source parameter promoted from (Seit R2022b)
resetToDefaultResets parameter value to default (Seit R2022b)
getEvaluatedParameterValueGet evaluated value of parameter from element (Seit R2022a)
getParameterNamesGet parameter names on element (Seit R2022a)
getParameterValueGet value of parameter (Seit R2022a)
setParameterValueSet value of parameter (Seit R2022a)
setUnitSet units on parameter value (Seit R2022a)
resetParameterToDefaultReset parameter on component to default value (Seit R2022a)

Wertetypverwaltung

addValueTypeCreate named value type in data dictionary (Seit R2021b)
createInterfaceCreate and set owned interface for port (Seit R2021b)
setNameSet name for value type, function argument, interface, or element
setDataTypeSet data type for value type (Seit R2021b)
setDimensionsSet dimensions for value type (Seit R2021b)
setUnitsSet units for value type (Seit R2021b)
setComplexitySet complexity for value type (Seit R2021b)
setMinimumSet minimum for value type (Seit R2021b)
setMaximumSet maximum for value type (Seit R2021b)
setDescriptionSet description for value type or interface (Seit R2021b)

Schnittstellenverwaltung

addInterfaceCreate named data interface in data dictionary
moveInterfaceMove interface to another data dictionary (Seit R2023b)
addPhysicalInterfaceCreate named physical interface in data dictionary (Seit R2021b)
removeInterfaceRemove named interface from interface dictionary
createInterfaceCreate and set owned interface for port (Seit R2021b)
setNameSet name for value type, function argument, interface, or element
setInterfaceSet interface for port
getInterfaceGet object for named interface in dictionary
getInterfaceNamesGet names of all interfaces in dictionary
systemcomposer.getSelectedInterfacesGet selected interfaces in Interface Editor (Seit R2024a)

Elementverwaltung

addElementAdd element
removeElementRemove element
getElementGet object for element
setNameSet name for value type, function argument, interface, or element
setTypeSet shared type on data element or function argument (Seit R2021b)
createOwnedTypeCreate owned value type on data element or function argument (Seit R2021b)
getSourceElementGets data elements selected on source port for connection
getDestinationElementGets data elements selected on destination port for connection

Dictionary-Verwaltung

systemcomposer.createDictionaryCreate data dictionary
systemcomposer.openDictionaryOpen data dictionary
saveToDictionarySave interfaces to dictionary
isOpenDetermine whether dictionary is open (Seit R2024a)
getFileNameGet absolute filename for dictionary (Seit R2024a)
linkDictionaryLink data dictionary to architecture model
unlinkDictionaryRemove linked data dictionary from architecture model
addReferenceAdd reference to dictionary (Seit R2021a)
removeReferenceRemove reference to dictionary (Seit R2021a)
makeOwnedInterfaceSharedConvert owned interface to shared interface (Seit R2022a)

Tools

Interface EditorCreate and author interfaces in local and shared data dictionaries
ParameterEditorAdd, edit, and promote parameters for architectures and components (Seit R2022b)

Themen

Enthaltene Beispiele