Holarch
Capítulos do curso

Treinamento · Trilha 14. Planilhas · Capítulo 14.4 de 5

14.4 Gráficos e dados do modelo 2:47

Crie um gráfico de um intervalo e formate seu eixo, insira uma Tabela de modelo ao vivo e leia valores do modelo com SUMIFS e HOLARCH.VALUE.

Mostra o Holarch 2.35.

O que você vai aprender

  • Criar um gráfico de um intervalo e mover o gráfico para o lado dos dados
  • Definir limites e unidades do eixo em Formatar eixo
  • Inserir uma Tabela de modelo com dados do modelo ao vivo
  • Somar valores do modelo com SUMIFS e ler um único valor com HOLARCH.VALUE
  • Ver uma mudança no modelo chegar à planilha e ao gráfico

Crie o gráfico do orçamento de massa do EO-1 e conecte-o ao modelo: insira um gráfico de colunas das massas dos subsistemas e defina seu eixo de valores em Formatar eixo, insira uma Tabela de modelo ao vivo e somente leitura de todos os ativos com número e massa, substitua as estimativas digitadas por SUMIFS sobre a tabela, leia a alocação de massa do modelo com HOLARCH.VALUE, depois altere uma massa no modelo e veja o orçamento acompanhar.

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 CubeSat EO-1.

  1. Abra o arquivo inicial do capítulo ou sua pasta de trabalho do capítulo 14.3.
  2. Selecione B2:C8, abra Gráfico e escolha Coluna. Arraste o gráfico para a direita do orçamento.
  3. Clique com o botão direito no gráfico, escolha Formatar eixo vertical…, defina o máximo como 5 e a unidade principal como 1.
  4. Adicione uma aba chamada Model. Em A1, clique em Tabela de modelo, escolha a classe Asset, marque Número e Mass, dê o nome Parts e clique em Inserir.
  5. Em Orçamento, digite =SUMIFS(Parts[Mass],Parts[Number],A3&"*") em C3 e preencha para baixo até C8. Em Assumptions, digite =HOLARCH.VALUE("Spacecraft Mass","Threshold Value","kg") em B1.
  6. No Banco de dados, mude a massa da Payload Camera de 2.4 para 2.9 kg e volte à planilha.

Você terminou quando as massas vierem do modelo, a alocação ler 12 do modelo, e os totais, a margem e o gráfico acompanharem a mudança na Payload Camera.

Teste-se

  1. Uma planilha pode alterar o modelo?
  2. O que A3&"*" corresponde no critério do SUMIFS?
  3. Onde você define o máximo e a unidade principal do eixo de um gráfico?
Mostrar as respostas
  1. Uma planilha pode alterar o modelo?

    Não. As tabelas de modelo e as funções HOLARCH leem o modelo; a planilha nunca escreve nele.

  2. O que A3&"*" corresponde no critério do SUMIFS?

    Todo número de parte que começa com o número do subsistema, como 1.1.1 e 1.1.2 para 1.1.

  3. Onde você define o máximo e a unidade principal do eixo de um gráfico?

    Em Formatar eixo, aberto pelo menu de clique com o botão direito do gráfico; uma caixa vazia mantém o valor automático.

Saiba mais

Transcrição

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

Introduction

Chapter four: charts and model data. A chart shows the budget at a glance. And a spreadsheet can read the model, so the budget stays current without retyping.

In this chapter you chart the budget, then feed it from the model.

Charts

Select the subsystems and their masses, B2 to C8. Open Chart, and choose Column.

On screen: Name Box B2:C8 → Chart ▾ → Column.

The chart floats over the sheet. Drag it to the right of the budget, so the totals stay in view.

On screen: Drag the chart right of column E.

The chart follows its cells. Right-click it for its menu, and choose Format Vertical Axis.

On screen: Right-click the chart → Format Vertical Axis….

Format Axis sets the bounds and units. Set the maximum to five and the major unit to one. Leave a box empty to keep it automatic. Close the panel.

On screen: Maximum 5, Major 1 → close.

Model data

The masses so far are typed estimates. The model holds the current mass of every component, so read them from there. Add a sheet, and name it Model.

On screen: + → Model.

Select A1, and click Model Table. Choose the class Asset, tick Number and Mass, name the table Parts, and click Insert.

On screen: A1 → Model Table… → Class Asset; Number, Mass; name Parts → Insert.

The table lists every asset with its number and mass, live and read-only. A spreadsheet reads the model, and never writes to it.

On screen: The Parts table.

Back in the budget, replace the estimate in C3. The SUMIFS function adds the masses of the parts whose number starts with the subsystem's number.

On screen: Budget → C3: =SUMIFS(Parts[Mass],Parts[Number],A3&"*") ↵.

Fill it down to C8. Every subsystem now adds up its components from the model.

On screen: Name Box C3:C8 → Fill ▾ → Fill Down.

HOLARCH.VALUE reads one value of one item, in the unit you ask for. On the Assumptions sheet, the allocation becomes the threshold of the spacecraft mass measure in the model.

On screen: Assumptions → B1: =HOLARCH.VALUE("Spacecraft Mass","Threshold Value","kg") ↵.

The sheet follows the model

Now change the model. In the Database, open the payload camera's mass, and change it from two point four to two point nine kilograms.

On screen: Database → Payload Camera → Mass 2.4 → 2.9.

Back in the spreadsheet, with its editor tab. The payload camera's mass, the totals, the margin and the chart have all followed, with no edit to the sheet.

On screen: Editor tab → Budget: 2.90 kg, totals, margin, chart.

Recap

To recap: chart a range and format its axis, insert a Model Table for live model data, sum it with SUMIFS, and read single values with HOLARCH.VALUE.

In the last chapter, you import an Excel workbook and get AI help with formulas.