Holarch
Capítulos do curso

Treinamento · Trilha 1. Primeiros passos · Capítulo 1.3 de 8

1.3 Atributos e relacionamentos 3:29

Descreva itens e conecte-os em um modelo.

Mostra o Holarch 2.41.

← 1.2 Seu primeiro projeto · Todos os capítulos · 1.4 Seu primeiro diagrama →

O que você vai aprender

  • Editar os atributos de um item, como a justificativa de um requisito, no inspetor
  • Relacionar itens com Vincular existente… e ler cada vínculo pelas duas pontas
  • Decompor um ativo em partes e alocar uma função à parte que a executa
  • Rastrear uma função até o requisito que ela atende
  • Percorrer o modelo pelos itens relacionados na Visão do item

Descreva os itens da Bike-Share Dock com atributos (descrição, justificativa, status) e conecte-os com relacionamentos: rastreie um requisito até a necessidade de onde ele vem, decomponha o sistema em suas partes, indique qual parte executa qual função e qual função atende a qual requisito, e leia cada vínculo pelas duas pontas no inspetor e na Visão do item.

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.

  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)).
  2. No Banco de dados, selecione 2.5 Safe Mode Recovery e digite uma Justificativa no inspetor (por que a espaçonave deve sair do modo de segurança por conta própria).
  3. Selecione F10 Enter Safe Mode. Em Rastreabilidade, encontre satisfies (marque Mostrar todas as relações se não estiver listado), clique em + → Vincular existente…, marque 2.5 Safe Mode Recovery e clique em Vincular selecionados. Selecione 2.5 e encontre o mesmo vínculo em satisfied by.
  4. Selecione 1.4 C&DH, marque Mostrar todas as relações e relacione-o com performs a OPS.9 Hold Data Onboard, o único passo de operações que nenhuma parte executa ainda.
  5. Selecione 2.2 Mission Operations Center. Em decomposed by, clique em + → Novo Asset… e crie Image Processing Server.
  6. Clique duas vezes em F10 Enter Safe Mode para abrir a Visão do item e depois clique nos nomes relacionados: de F10 para 1.4 C&DH, e de lá para 1 EO-1 Spacecraft.

Você terminou quando a Visão do item de 2.5 Safe Mode Recovery listar F10 em satisfied by, e OPS.9 listar 1.4 C&DH em performed by.

Teste-se

  1. Você adiciona um vínculo a partir de F10 com satisfies. Por que 2.5 agora mostra satisfied by sem nenhum passo extra?
  2. Por que o seletor de Vincular existente… não oferece todos os itens do projeto?
  3. O que relacionar um ativo com performs a uma ação registra em termos de engenharia de sistemas?
Mostrar as respostas
  1. Você adiciona um vínculo a partir de F10 com satisfies. Por que 2.5 agora mostra satisfied by sem nenhum passo extra?

    Cada relacionamento tem um nome em cada sentido. É um único vínculo, lido como satisfies a partir da função e como satisfied by a partir do requisito.

  2. Por que o seletor de Vincular existente… não oferece todos os itens do projeto?

    Ele lista apenas itens das classes que a relação permite para este item, então você não consegue criar um vínculo que o esquema não define.

  3. O que relacionar um ativo com performs a uma ação registra em termos de engenharia de sistemas?

    A alocação de uma função à parte física que a executa.

Saiba mais

Transcrição

Mostrar a transcrição (narração e o que aparece na tela)

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.