Holarch
Capitoli del corso

Formazione · Percorso 3. Comportamento e architettura · Capitolo 3.3 di 6

3.3 Allocazione 2:33

Decidere quale parte della stazione esegue ciascuna funzione e trovare ciò che resta.

Mostra Holarch 1.27.

← 3.2 Diagrammi di Action · Tutti i capitoli · 3.4 Interfacce →

Che cosa si impara

  • Impostare una matrice di tracciabilità delle azioni rispetto agli asset con la relazione performed by
  • Allocare una funzione all’asset che la esegue con un clic nella matrice
  • Usare Solo lacune per trovare le azioni che nessun asset esegue
  • Confermare un’allocazione nella sezione Traccia dell’elemento

Allocare le funzioni della Bike-Share Dock e i passi di Rent a Bike alle parti che li eseguono, in una matrice di azioni rispetto ad asset con la relazione performed by, poi usare Solo lacune per elencare ciò che non ha ancora un esecutore.

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. Aprire Verifica → Matrice di tracciabilità. Fare clic sul chip Righe, impostare Righe da su Gerarchia sotto un’entità radice e scegliere OPS Run Nominal Imaging Pass come radice, poi fare clic su Fatto.
  3. Fare clic sul chip Colonne, impostare Colonne da su Tutte le entità di una classe con la classe Asset, e impostare Relazione su performed by.
  4. Spuntare Solo lacune. Resta OPS.9 Hold Data Onboard, con la radice OPS, che il sistema esegue nel suo insieme.
  5. Fare clic sulla cella in cui OPS.9 Hold Data Onboard incontra 1.4 C&DH, la parte che conserva i dati del payload in memoria. Poi selezionare OPS.9 nel Database e leggere performed by nella sua sezione Traccia.
  6. Per una procedura guidata con verifica, eseguire il tutorial 6 Architettura fisica e allocazione (Guida → Tutorial).

L’esercizio è completato quando Solo lacune non elenca più OPS.9 e la sua sezione Traccia mostra performed by 1.4 C&DH.

Verifica

  1. Perché impostare Relazione su performed by invece di Tutte quelle consentite?
  2. Dove viene memorizzata un’allocazione?
  3. Solo lacune mostra una riga. È sempre un errore?
Mostra le risposte
  1. Perché impostare Relazione su performed by invece di Tutte quelle consentite?

    Con un solo tipo scelto, un clic su una cella vuota crea esattamente quella relazione. Con tutti i tipi consentiti, Holarch deve chiedere quale si intende quando ne valgono diversi.

  2. Dove viene memorizzata un’allocazione?

    Sugli elementi, come performed by sull’Action e performs sull’Asset. La matrice è solo una vista di questi collegamenti, quindi qualsiasi altra vista, come la sezione Traccia dell’elemento, mostra la stessa allocazione.

  3. Solo lacune mostra una riga. È sempre un errore?

    No. Un’operazione o una funzione di primo livello può essere eseguita dal sistema nel suo insieme, quindi non ha bisogno di un unico esecutore. Ogni passo restante di solito ne ha bisogno di uno.

Per saperne di più

Trascrizione

Mostra la trascrizione (narrazione e contenuto dello schermo)

Introduction

Welcome back. Functions say what the dock does. Its parts, the assets, say what it is. Allocation joins the two.

In this chapter you allocate every function to the part that performs it.

What allocation is

Each function should be performed by a part of the system. A function nothing performs will not happen, and a part with no function is weight with no job. In the model, allocation is one relationship: performed by.

On screen: Card: allocation.

Set up the matrix

A matrix is the quickest way to allocate many functions at once. Open Verification, then Traceability Matrix.

On screen: Verification → Traceability Matrix.

Click Rows, and choose all entities of the class Action. Set Columns to the class Asset the same way. Then set the relationship to performed by, so a click on a cell creates exactly that.

On screen: Rows → class Action; Columns → class Asset; Relationship: performed by.

Allocate the functions

The top-level functions first. Three were allocated in Getting Started, and the matrix marks them: Rent a Bike by the Rental Kiosk, Return a Bike by the Docking Bay, and Charge Bikes by the Charging Unit.

On screen: Existing marks: F.1, F.2, F.3.

Allocate the other two. Take Payment is performed by the Back Office Service: click the cell where its row and that column meet. Report Dock Status is performed by the kiosk, which talks to the back office.

On screen: F.4 × S.4, F.5 × S.2.

The steps of Rent a Bike from the last chapter need performers too. Identify Rider happens at the kiosk, Check Account in the back office, and Unlock Bay in the docking bay.

On screen: F.1.1 × S.2, F.1.2 × S.4, F.1.3 × S.1.

Find the gaps

Now turn on Gaps only. The matrix keeps only the rows and columns with no link: the steps still to allocate, and the top-level function, which is done by the dock as a whole.

On screen: Gaps only.

The rest follow the same way. Show Bay Number and Start Rental belong to the kiosk and the back office, and Relock Bay to the docking bay.

On screen: F.1.4 × S.2, F.1.6 × S.4, F.1.7 × S.1.

On the item

Allocation is stored on the items, not in the matrix. Select Rent a Bike in the Database, and open its Trace section: performed by lists the Rental Kiosk.

On screen: Database → F.1 → Trace.

Recap

Let's recap. You set up a matrix of actions against assets with performed by, allocated the functions and the steps with one click each, and used Gaps only to find what was left.

Next, you define how the dock's parts connect: interfaces.