Reference Updated April 8, 2026

STRETCH_CURVE

Category: Rollforward & time series

Overview

Description

Stretches the curve or curves defined in the curves input over the X axis by a factor defined in the stretch input.

You can specify the X coordinate where the stretching begins with the optional start input. The stretching begins at 0 by default. The X coordinates are represented by the Sequence level in the curves input, and the Y coordinates are represented by the values of the curves input.

Use when you want to stretch or compress an existing profile along the time axis instead of only delaying it.

Syntax

`STRETCH_CURVE('CurvesNode', 'StretchNode' [, 'StartNode'])`

Parameters

  • CurvesNode: Definition of curves as a set of (X, Y) points in the coordinate system. X values are taken from the Sequence level and Y values from the node values. This input must contain the Sequence level.

  • StretchNode: Stretch factor. It must not contain the Sequence level and may only contain levels that are also present in CurvesNode. It can also be a constant.

  • StartNode: X coordinate where stretching begins. It must not contain the Sequence level and may only contain levels that are also present in CurvesNode. It can also be a constant. This parameter is optional; if omitted, stretching starts at 0.


Examples

Stretching project-specific curves with an optional start point

This example shows two input curves, one for project A and one for project B. Each project uses its own stretch factor, and only project B receives an explicit start point; project A therefore defaults to 0.

Input node: CurvesNode

ProjectSequenceValue
A00
A11
A21
A32
B00
B11
B22

Input node: StretchNode

ProjectValue
A1.5
B2

Input node: StartNode

ProjectValue
B2

Formula: STRETCH_CURVE('CurvesNode', 'StretchNode', 'StartNode')

ProjectSequence→ STRETCH_CURVE Result
A00
A10.67
A21
A31
A41.67
A52
B00
B11
B21.33
B31.67
B42

FunctionWhen to use instead
TIMELAGWhen you want a delayed effect at a chosen time granularity instead of stretching or compressing an existing profile.
SCHEDULEPROJECTSWhen you want to place project blueprints onto actual start periods instead of reshaping an already defined profile along the sequence axis.
Was this page helpful?