blockTrend

Calculating a fractional rate of change to be used in forecasting

Extends from Interfaces.PartialConverters.InformationProcessing_SO (Information Processing Block).

Information

This information is part of the Business Simulation Library (BSL). Please support this work and ► donate.

The Trend component represents forecasting in behavioral models and has been proposed by Sterman [3, pp. 634 - 638]. The basic idea is rather intuitive: Forecasters perceive a present condition of some input as a smoothed input (ppc), while they also perceive the historic or reference condition (rc) as a smooth of their current perception.

Dividing the diffence between the current condition and the reference condition by the reference condition will determine the fractional increase. A further division by the time horizon for the reference condition will then turn this into a fractional rate. The thus calculated rate of change (i.e., the indicated trend) may then again be smoothed, if smoothTrend = true.

See also

TrendBasedForecast, Smooth

Parameters

TypeNameDefaultDescription
RateinitialTrend0Initial trend
Timetppc1Averaging time for perception of current quantity (i.e., the present condition)
Timethrc1Time horizon for reference condition
Timetpt1Time to perceive the trend (i.e., there is gradual adaptation to a new trend)
Structural Parameters
BooleansmoothTrendfalse= true, if the calculated trend is to be smoothed
BooleanreportPPCfalse= true, if the perceived present conditon is to be reported
Advanced
InitializationOptionsinitmodelSettings.initProvide InitializationOptions (Free, FixedValue, SteadyState)

Connectors

TypeNameDefaultDescription
Interfaces.Connectors.RealInputuCurrent value as basis for trend formulation
Interfaces.Connectors.RealOutputy_ppcReport the perceived present condition (optional)

Components

TypeNameDefaultDescription
RealOutputy (from InformationProcessing_SO)Information output signal
ModelSettingsmodelSettings