Holarch
Capitoli del corso

Formazione · Percorso 1. Primi passi · Capitolo 1.3 di 8

1.3 Attributi e relazioni 3:29

Descrivere gli elementi e collegarli in un modello.

Mostra Holarch 2.41.

← 1.2 Il primo progetto · Tutti i capitoli · 1.4 Il primo diagramma →

Che cosa si impara

  • Modificare gli attributi di un elemento, come la motivazione di un requisito, nell’ispettore
  • Mettere in relazione gli elementi con Collega esistente… e leggere ogni collegamento da entrambe le estremità
  • Scomporre un asset in parti e allocare una funzione alla parte che la esegue
  • Tracciare una funzione verso il requisito che soddisfa
  • Percorrere il modello attraverso gli elementi correlati nella Vista elemento

Descrivere gli elementi della Bike-Share Dock con attributi (descrizione, motivazione, stato) e collegarli con relazioni: tracciare un requisito verso il bisogno da cui deriva, scomporre il sistema nelle sue parti, indicare quale parte esegue quale funzione e quale funzione soddisfa quale requisito, e leggere ogni collegamento da entrambe le estremità nell’ispettore e nella Vista elemento.

File di progetto

  • Progetto iniziale (.holarch.json; Gestisci progetti → File di progetto ▾ → Importa progetto (.json)…)
  • Progetto completato (.holarch.json; Gestisci progetti → File di progetto ▾ → Importa progetto (.json)…)

Il video viene riprodotto da holarch.app; vedere l’Informativa sulla privacy.

Esercitazione

Provare in prima persona in Holarch, sul progetto demo CubeSat EO-1.

  1. Aprire il proprio progetto demo EO-1 (oppure crearlo: Gestisci progetti → File di progetto ▾ → Nuovo progetto demo → CubeSat (ingegneria dei sistemi guidata)).
  2. Nel Database, selezionare 2.5 Safe Mode Recovery e digitare una Motivazione nell’ispettore (perché il veicolo spaziale deve uscire da solo dalla modalità sicura).
  3. Selezionare F10 Enter Safe Mode. In Traccia, trovare satisfies (spuntare Mostra tutte le relazioni se non è elencata), fare clic su + → Collega esistente…, spuntare 2.5 Safe Mode Recovery e fare clic su Collega selezionati. Selezionare 2.5 e trovare lo stesso collegamento sotto satisfied by.
  4. Selezionare 1.4 C&DH, spuntare Mostra tutte le relazioni e metterlo in relazione con performs a OPS.9 Hold Data Onboard, l’unico passo operativo che nessuna parte esegue ancora.
  5. Selezionare 2.2 Mission Operations Center. Su decomposed by, fare clic su + → Nuovo Asset… e creare Image Processing Server.
  6. Fare doppio clic su F10 Enter Safe Mode per aprire la Vista elemento, poi fare clic sui nomi correlati: da F10 a 1.4 C&DH, e da lì a 1 EO-1 Spacecraft.

L’esercizio è completato quando la Vista elemento di 2.5 Safe Mode Recovery elenca F10 sotto satisfied by, e OPS.9 elenca 1.4 C&DH sotto performed by.

Verifica

  1. Si aggiunge un collegamento da F10 con satisfies. Perché 2.5 mostra ora satisfied by senza alcun passo aggiuntivo?
  2. Perché il selettore di Collega esistente… non propone tutti gli elementi del progetto?
  3. Che cosa registra, in termini di ingegneria dei sistemi, mettere in relazione un asset con performs a un’azione?
Mostra le risposte
  1. Si aggiunge un collegamento da F10 con satisfies. Perché 2.5 mostra ora satisfied by senza alcun passo aggiuntivo?

    Ogni relazione ha un nome in ciascuna direzione. È un unico collegamento, letto come satisfies dalla funzione e satisfied by dal requisito.

  2. Perché il selettore di Collega esistente… non propone tutti gli elementi del progetto?

    Elenca solo elementi delle classi che la relazione consente per questo elemento, così non si può creare un collegamento che lo schema non definisce.

  3. Che cosa registra, in termini di ingegneria dei sistemi, mettere in relazione un asset con performs a un’azione?

    L’allocazione di una funzione alla parte fisica che la svolge.

Per saperne di più

Trascrizione

Mostra la trascrizione (narrazione e contenuto dello schermo)

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.