arrow_back_ios

Main Menu

See All Simulação e Análise See All DAQ See All Drivers API See All Utilitário See All Controle de vibração See All Calibração See All DAQ See All Portátil See All Industrial See All Analisadores de potência See All Condicionadores de sinal See All Acústica See All Tensão e Corrente See All Deslocamento See All Força See All Células de carga See All Multicomponente See All Pressão See All Deformação See All Strain Gauges See All Temperatura See All Inclinação See All Torque See All Vibração See All Acessórios See All Controladores See All Excitadores de medição See All Excitadores modais See All Amplificadores de potência See All Sistemas Shaker See All Soluções de teste See All Atuadores See All Motores de combustão See All Durabilidade See All eDrive See All Sensores de teste de produção See All Caixas de transmissão See All Turbo Charger See All Cursos de formação See All Acústica See All Monitorização de activos e processos See All Energia eléctrica See All Sensores personalizados See All NVH See All Sensores personalizados do OEM See All Vibração See All Integridade estrutural See All Transporte automotivo e terrestre
arrow_back_ios

Main Menu

See All nCode - Análise de Durabilidade e Fadiga See All ReliaSoft - Análise e gerenciamento de confiabilidade See All API See All Ruído do produto See All Ruído de passagem de veículos See All Electroacoustics See All Identificação da fonte de ruído See All Ruído ambiental See All O que é potência sonora e pressão sonora See All Certificação de ruído See All Teste de produção e garantia de qualidade See All Análise e Diagnóstico de Máquinas See All Monitoramento de integridade estrutural See All Teste de bateria See All Introdução à Medição de Energia Elétrica Durante Transitórios See All Diagrama de circuito equivalente do transformador | HBM See All Sensores OEM para a indústria agrícola See All Sensores OEM para aplicações robóticas e de torque See All Dinâmica estrutural See All Ensaio das propriedades dos materiais
img

expand_more
chevron_left
chevron_right

Event Analysis - Planning a Retirement Strategy

In planning for your retirement, you normally invest a percentage of your income in "safe investments" (Bank) or in "riskier investments" (Stock Market). For this example, assume that you are choosing to invest some of your money in the bank and some in the stock market, and let’s say that NASDAQ is tied to the NASDAQ Composite Index.

In this example, ReliaSoft Weibull++ software is used to analyze data on average bank interest rates and NASDAQ annual returns to obtain the distributions and parameters used in the Event Analysis flowcharts created in BlockSim.

The interest from the bank investment follows a generalized gamma distribution with mean = 1.7406, standard deviation = 0.1141 and lambda = 4.3106.

The profit from the NASDAQ investment follows a normal distribution with mean = 13 and standard deviation = 28.

Note that you can use the Weibull++ software to analyze data on average bank interest rates and NASDAQ annual returns to obtain the distribution and parameters for this analysis, as illustrated in the figures below.
 

Using ReliaSoft Weibull++ software to analyze data on average bank interest rates and NASDAQ annual returns to obtain the distribution and parameters for BlockSim's Event Analysis module analysis

You will invest X% of your income per year for the next Y years. Assume that your current income is $40,000 per year and, based on past history, your income will increase yearly by a percentage that is normally distributed with mean = 4 and standard deviation = 1.5.

 

You will put Z% of your investment money in the bank for the first year and the remainder in NASDAQ. Given the volatility of NASDAQ, the following strategy is applied for subsequent years:

 

  • Any profits made in the stock market at the end of each year will be transferred into the savings account for safe keeping. Thus, the amount invested in NASDAQ will be restricted to the initial amount put in plus annual contributions and minus any losses.
  • The amount invested in NASDAQ will not increase as your income increases every year. It will always be equal to the first year investment.

Objectives

 

  • Estimate your investment income over the next 20 years if you invest 5% of your yearly income with 50% going to savings.
  • Compare your investment income after 20 years, varying the investment portion from 0% to 20% of your yearly income (with 50% going to savings).
  • Compare your investment income after 20 years, varying the investment portion from 0% to 20% of your yearly income and varying the amount invested in savings from 0% to 100%.

Define the resources

 

Define models to describe the stock profit, bank interest and the yearly increase in your income, as shown next.

Note that even though the investments are measured in money, the Model Unit has been set to Hours. This is because event analysis flowchart results are always given in terms of the system base unit (SBU), and resources that require you to define a unit (i.e., models) will have their values automatically converted to base units during simulation. Therefore, whenever you don't want the software to convert the value obtained from a model resource, simply make sure the model uses a unit that is defined as equal to 1 SBU. See the application help file for more information.

 

For this example, whenever one of the models returns a value as "X hours," it should be read as "X dollars." If the model unit you are using is not equal to 1 SBU (choose File > Manage Database > Unit Settings to confirm), you will need to change the model units before resimulating the flowchart.

 

Define the following variables:

  • A variable to represent your yearly income (CurrentSalary)
  • Three variables to represent the percentage invested in the bank (StocksPercent), the percentage of income invested (InvestmentPercent), and the number of years to be analyzed (Years). These variables will be varied during simulation.
  • Five other variables that will be used to keep track of the values that are passed during simulation.

Define event analysis static functions to calculate the following:

  • The amount of money that will be invested (Current_Investment).
  • The amount that will invested in the bank each year (Savings_Portion).
  • The threshold (Savings_Threshold) that will be used to determine whether you earned money in the stock market during a given year (and will therefore move those earnings into the bank account).

Build the flowchart

 

Construct the flowchart shown below.

In order to keep track of how the investment incomes accumulate over the years, this flowchart is looped through. The loop is created by using the following blocks:

 

  • A flag marker called "Start" to mark the start of the loop.
  • A reset block called "Reset" to force the flowchart to generate new values for the event analysis static functions at the start of every loop.
  • A counter block called "Years" to count the number of years.
  • A conditional block to check whether the number of years is less than the specified number. If the condition is met, the investment strategy will be applied (i.e., profits made in the stock market are transferred to the bank account). The go-to-flag block will then direct the flow of execution back to the flag marker and close the loop.

If the condition is not met (the number of years is up), then the value of the investments is calculated and then stored in the result storage block called "Total."

Simulation

 

Estimate your investment income over the next 20 years if you invest 5% of your yearly income with 50% going to savings.

 

First, make sure that the initial value of the InvestmentPercent variable is 5 and the initial value of the StockPercent variable is 50.

 

On the General Settings page of the Flowchart Simulation window, specify 100 simulations and a seed of 1 for repeatability, as shown next.

On the Sensitivity Analysis page, specify to vary the number of years from 1 to 20, and use an increment of 1.

When the simulation completes, close the Flowchart Simulation window and then click the Plot icon on the diagram’s control panel. The results are displayed in the following plot with the plot scaling adjusted to Y = 0 to 120,000 and X = 0 to 25.

Compare your investment income after 20 years, varying the investment portion from 0% to 20% of your yearly income.

 

To vary the investment portion, configure the Sensitivity Analysis page as follows and repeat the simulation.

The results are displayed in the following plot.

Compare your investment income after 20 years, varying the investment portion from 0% to 20% of your yearly income and varying the amount invested in savings from 0% to 100%.

 

To vary both the investment portion and the savings portion, configure the Sensitivity Analysis page as follows and repeat the simulation.

To view the results in a three-dimensional plot, click the 3D Plot icon on the control panel. The following plot shows the results.