blockAccumulatedPerformance
Weighted average performance per period
Extends from Interfaces.PartialCLD.Converter (Partial converter class for CLD+ modeling).
Information
This information is part of the Business Simulation Library (BSL). Please support this work and ► donate.
From the inputs u[nin =3] a weighted average is calculated using weights[nin]. This average is then accumulated (cumPerf) and averaged over the period from startTime to current model time (modelTime) to obtain the output y.
Implementation
![]() |
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Real[nin] | weights | Constant weights to be used for aggregation | |
| Structural Parameters | |||
| Integer | nin (from InfoAggregation) | 2 | Number of inputs |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Connectors.RealMultiInput | u (from InfoAggregation) | Information inputs |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| RealOutput | y (from InfoAggregation) | Output of output type | |
| InformationSources.TimeInput | modelTime | Time into the simulation | |
| Converters.Division_Guarded | avgPerf | Average weighted performance score | |
| Stocks.InformationLevel | cumPerf | ||
| SourcesOrSinks.Growth | accumulating |
