Capítulos del curso
Formación · Curso 1. Primeros pasos · Capítulo 1.3 de 8
1.3 Atributos y relaciones 3:29
Describir elementos y conectarlos en un modelo.
Muestra Holarch 2.41.
Lo que aprenderá
- Editar los atributos de un elemento, como la justificación de un requisito, en el inspector
- Relacionar elementos con Vincular existente… y leer cada vínculo desde ambos extremos
- Descomponer un activo en partes y asignar una función a la parte que la realiza
- Trazar una función hasta el requisito que satisface
- Recorrer el modelo a través de los elementos relacionados en la Vista del elemento
Describa los elementos del Bike-Share Dock con atributos (descripción, justificación, estado) y conéctelos con relaciones: trace un requisito hasta la necesidad de la que procede, descomponga el sistema en sus partes, indique qué parte realiza qué función y qué función satisface qué requisito, y lea cada vínculo desde ambos extremos en el inspector y en la Vista del elemento.
Archivos de proyecto
- Proyecto inicial (.holarch.json; Gestionar proyectos → Archivos de proyecto ▾ → Importar proyecto (.json)…)
- Proyecto terminado (.holarch.json; Gestionar proyectos → Archivos de proyecto ▾ → Importar proyecto (.json)…)
El vídeo se reproduce desde holarch.app; consulte la Política de privacidad.
Práctica
Hágalo usted mismo en Holarch, en el proyecto de demostración CubeSat EO-1.
- Abra su proyecto de demostración EO-1 (o créelo: Gestionar proyectos → Archivos de proyecto ▾ → Nuevo proyecto de demostración → CubeSat (ingeniería de sistemas guiada)).
- En la Base de datos, seleccione 2.5 Safe Mode Recovery y escriba un Rationale en el inspector (por qué la nave debe salir del modo seguro por sí sola).
- Seleccione F10 Enter Safe Mode. En Trazabilidad, busque satisfies (marque Mostrar todas las relaciones si no aparece), haga clic en + → Vincular existente…, marque 2.5 Safe Mode Recovery y haga clic en Vincular selección. Seleccione 2.5 y busque el mismo vínculo en satisfied by.
- Seleccione 1.4 C&DH, marque Mostrar todas las relaciones y relaciónelo con performs con OPS.9 Hold Data Onboard, el único paso de operaciones que todavía no realiza ninguna parte.
- Seleccione 2.2 Mission Operations Center. En decomposed by, haga clic en + → Nuevo Asset… y cree
Image Processing Server. - Haga doble clic en F10 Enter Safe Mode para abrir la Vista del elemento y después recorra los nombres relacionados: de F10 a 1.4 C&DH, y de ahí a 1 EO-1 Spacecraft.
Habrá terminado cuando la Vista del elemento de 2.5 Safe Mode Recovery liste F10 en satisfied by, y OPS.9 liste 1.4 C&DH en performed by.
Compruebe lo aprendido
- Añade un vínculo desde F10 con satisfies. ¿Por qué 2.5 muestra ahora satisfied by sin ningún paso adicional?
- ¿Por qué el selector de Vincular existente… no ofrece todos los elementos del proyecto?
- ¿Qué registra, en términos de ingeniería de sistemas, relacionar un activo con una acción mediante performs?
Mostrar las respuestas
Añade un vínculo desde F10 con satisfies. ¿Por qué 2.5 muestra ahora satisfied by sin ningún paso adicional?
Cada relación tiene un nombre en cada sentido. Es un único vínculo, que se lee como satisfies desde la función y como satisfied by desde el requisito.
¿Por qué el selector de Vincular existente… no ofrece todos los elementos del proyecto?
Solo lista elementos de las clases que la relación permite para este elemento, de modo que no se puede crear un vínculo que el esquema no defina.
¿Qué registra, en términos de ingeniería de sistemas, relacionar un activo con una acción mediante performs?
La asignación de una función a la parte física que la lleva a cabo.
Más información
Transcripción
Mostrar la transcripción (narración y lo que aparece en pantalla)
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.