Capítulos do curso
Treinamento · Trilha 3. Comportamento e arquitetura · Capítulo 3.3 de 6
3.3 Alocação 2:33
Decida qual parte da estação executa cada função e encontre o que sobra.
Mostra o Holarch 1.27.
O que você vai aprender
- Configurar uma Matriz de rastreabilidade de ações contra assets com o relacionamento performed by
- Alocar uma função ao asset que a executa com um clique na matriz
- Usar Somente lacunas para encontrar as ações que nenhum asset executa
- Confirmar uma alocação na seção Rastreabilidade do item
Aloque as funções da Bike-Share Dock e os passos de Rent a Bike às partes que os executam, em uma matriz de ações contra assets com o relacionamento performed by, e depois use Somente lacunas para listar o que ainda não tem executor.
Arquivos de projeto
- Projeto inicial (.holarch.json; Gerenciar projetos → Arquivos de projeto ▾ → Importar projeto (.json)…)
- Projeto concluído (.holarch.json; Gerenciar projetos → Arquivos de projeto ▾ → Importar projeto (.json)…)
O vídeo é reproduzido a partir de holarch.app; veja a Política de Privacidade.
Prática
Faça isto você mesmo no Holarch, no projeto de demonstração CubeSat EO-1.
- Abra seu projeto de demonstração EO-1 ou crie-o: Gerenciar projetos → Arquivos de projeto ▾ → Novo projeto de demonstração → CubeSat (engenharia de sistemas guiada).
- Abra Verificação → Matriz de rastreabilidade. Clique no chip Linhas, defina Linhas de como Hierarquia sob uma entidade raiz e escolha OPS Run Nominal Imaging Pass como raiz; depois clique em Concluído.
- Clique no chip Colunas, defina Colunas de como Todas as entidades de uma classe com a classe Asset e defina Relacionamento como performed by.
- Marque Somente lacunas. Resta OPS.9 Hold Data Onboard, além da raiz OPS, que o sistema executa como um todo.
- Clique na célula em que OPS.9 Hold Data Onboard encontra 1.4 C&DH, a parte que guarda os dados da carga útil no armazenamento. Depois selecione OPS.9 no Banco de dados e leia performed by na sua seção Rastreabilidade.
- Para um passo a passo checado, execute o tutorial 6 Physical Architecture and Allocation (Ajuda → Tutoriais).
Você terminou quando Somente lacunas não listar mais OPS.9 e sua seção Rastreabilidade mostrar performed by 1.4 C&DH.
Teste-se
- Por que definir Relacionamento como performed by em vez de Todos os permitidos?
- Onde uma alocação é armazenada?
- Somente lacunas mostra uma linha. Isso é sempre um erro?
Mostrar as respostas
Por que definir Relacionamento como performed by em vez de Todos os permitidos?
Com um tipo escolhido, um clique em uma célula vazia cria exatamente esse relacionamento. Com todos os tipos permitidos, o Holarch precisa perguntar qual você quer dizer quando vários se aplicam.
Onde uma alocação é armazenada?
Nos itens, como performed by na Action e performs no Asset. A matriz é apenas uma visão desses vínculos, então qualquer outra visão, como a seção Rastreabilidade do item, mostra a mesma alocação.
Somente lacunas mostra uma linha. Isso é sempre um erro?
Não. Uma operação ou função de nível superior pode ser feita pelo sistema como um todo, então não precisa de um único executor. Cada passo restante normalmente precisa de um.
Saiba mais
Transcrição
Mostrar a transcrição (narração e o que aparece na tela)
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.