Holarch
Chapitres du cours

Formation · Parcours 1. Prise en main · Chapitre 1.3 sur 8

1.3 Attributs et relations 3:29

Décrire des éléments et les relier pour former un modèle.

Montre Holarch 2.41.

Ce que vous allez apprendre

  • Modifier les attributs d'un élément, comme la justification d'une exigence, dans l'inspecteur
  • Relier des éléments avec Lier un existant… et lire chaque lien depuis ses deux extrémités
  • Décomposer un asset en parties et allouer une fonction à la partie qui la réalise
  • Tracer une fonction vers l'exigence qu'elle satisfait
  • Parcourir le modèle d'élément lié en élément lié dans la Vue de l'élément

Décrivez les éléments du Bike-Share Dock avec des attributs (description, justification, statut) et reliez-les par des relations : tracez une exigence vers le besoin dont elle provient, décomposez le système en ses parties, indiquez quelle partie réalise quelle fonction et quelle fonction satisfait quelle exigence, et lisez chaque lien depuis ses deux extrémités dans l'inspecteur et la Vue de l'élément.

Fichiers de projet

  • Projet de départ (.holarch.json ; Gérer les projets → Fichiers de projet ▾ → Importer un projet (.json)…)
  • Projet terminé (.holarch.json ; Gérer les projets → Fichiers de projet ▾ → Importer un projet (.json)…)

La vidéo est diffusée depuis holarch.app ; voir la Politique de confidentialité.

Pratique

Faites-le vous-même dans Holarch, sur le projet de démonstration CubeSat EO-1.

  1. Ouvrez votre projet de démonstration EO-1 (ou créez-le : Gérer les projets → Fichiers de projet ▾ → Nouveau projet de démonstration → CubeSat (ingénierie système guidée)).
  2. Dans la Base de données, sélectionnez 2.5 Safe Mode Recovery et saisissez une Justification dans l'inspecteur (pourquoi le satellite doit quitter le mode sûr de lui-même).
  3. Sélectionnez F10 Enter Safe Mode. Dans Traçabilité, trouvez satisfies (cochez Afficher toutes les relations si elle n'est pas listée), cliquez sur + → Lier un existant…, cochez 2.5 Safe Mode Recovery et cliquez sur Lier la sélection. Sélectionnez 2.5 et retrouvez le même lien sous satisfied by.
  4. Sélectionnez 1.4 C&DH, cochez Afficher toutes les relations et reliez-le par performs à OPS.9 Hold Data Onboard, la seule étape des opérations qu'aucune partie ne réalise encore.
  5. Sélectionnez 2.2 Mission Operations Center. Sur decomposed by, cliquez sur + → Nouvel Asset… et créez Image Processing Server.
  6. Double-cliquez sur F10 Enter Safe Mode pour ouvrir la Vue de l'élément, puis cliquez sur les noms liés de proche en proche : de F10 à 1.4 C&DH, et de là à 1 EO-1 Spacecraft.

C'est terminé quand la Vue de l'élément de 2.5 Safe Mode Recovery liste F10 sous satisfied by, et qu'OPS.9 liste 1.4 C&DH sous performed by.

Vérifiez vos connaissances

  1. Vous ajoutez un lien depuis F10 avec satisfies. Pourquoi 2.5 affiche-t-elle maintenant satisfied by sans aucune étape supplémentaire ?
  2. Pourquoi le sélecteur de Lier un existant… ne propose-t-il pas tous les éléments du projet ?
  3. Qu'enregistre, en termes d'ingénierie système, le fait de relier un asset par performs à une action ?
Afficher les réponses
  1. Vous ajoutez un lien depuis F10 avec satisfies. Pourquoi 2.5 affiche-t-elle maintenant satisfied by sans aucune étape supplémentaire ?

    Chaque relation a un nom dans chaque sens. C'est un seul lien, lu satisfies depuis la fonction et satisfied by depuis l'exigence.

  2. Pourquoi le sélecteur de Lier un existant… ne propose-t-il pas tous les éléments du projet ?

    Il ne liste que les éléments des classes que la relation autorise pour cet élément : vous ne pouvez pas créer un lien que le schéma ne définit pas.

  3. Qu'enregistre, en termes d'ingénierie système, le fait de relier un asset par performs à une action ?

    L'allocation d'une fonction à la partie physique qui la réalise.

Pour aller plus loin

Transcription

Afficher la transcription (narration et contenu de l'écran)

Introduction

Chapter three: attributes and relationships. Attributes describe an item. Relationships connect items, and they are what turn a list of items into a model.

We continue with the Bike-Share Dock project from the last chapter.

Attributes

Open the Database, and select the requirement Unlock a Bike. The inspector's Item section holds its number, name and description. Below it, Attributes holds the attributes of its class, such as a rationale and a status.

On screen: Database → 1.1 Unlock a Bike → Attributes.

A rationale says why the requirement exists, which helps when someone later wants to change it. Type it in, and click elsewhere to save.

On screen: Rationale.

Asset and Action have their own attributes, such as a function's duration, which simulation uses later. A project owner can add attributes to any class in the Schema.

On screen: Attributes of an Action.

Relate items

Now the relationships. Select Unlock a Bike again, and click Trace in the inspector. It groups the relations of this class by purpose. Find traced from, click its plus button, and choose Link existing.

On screen: Trace → traced from → + → Link existing…

The picker lists only items that this relation allows. Check Find a Bike Nearby, the need this requirement answers, and click Link Selected.

On screen: Pick N.1 → Link Selected.

Every relationship has a name in each direction. Select the need, and its Trace shows the same link the other way round: Find a Bike Nearby is traced to Unlock a Bike.

On screen: N.1 → traced to 1.1.

Structure and allocation

Next, the system's structure. Select Bike-Share Dock, find decomposed by, and relate its three parts at once: the docking bay, the kiosk and the charging unit. The back office service is an external system, outside the dock, so it is not one of its parts.

On screen: S.0 → decomposed by → S.1–S.3.

Then say which part does what. Select the kiosk. Performs has no links yet, so tick Show all relations, and relate the kiosk with performs to Rent a Bike and Take Payment. In systems engineering terms, you are allocating functions to the physical parts.

On screen: S.2 Kiosk → Show all relations → performs → F.1, F.4.

The docking bay performs Return a Bike, and the charging unit performs Charge Bikes. They are related the same way.

On screen: S.1, S.3 performs (entered off camera).

Finally, link the function to the requirement it meets. Select Rent a Bike, and relate it with satisfies to Unlock a Bike.

On screen: F.1 → satisfies → 1.1.

Reading the links

Trace shows the relations that have links, plus a few kept visible even when empty. Untick Show all relations, and you see just what this function is connected to.

On screen: Trace → Show all relations off.

Double-click the row to open the Entity View. It shows the same sections on a full page, and linking works here too.

On screen: Entity View of Rent a Bike.

Click a related item's name to move to it. From the function, go to the kiosk that performs it, and from there to the dock it belongs to. This is how you walk the model.

On screen: Entity View: → Kiosk → Bike-Share Dock.

Recap

Let's recap. You edited attributes, related items with Link existing, read each link from both ends, decomposed the system, allocated functions to parts, and walked the links in the Entity View.

Next, you draw part of this model as a diagram.