Lemonergy · Studio block

Initial value override

Publishes the configured value at the first sample only, then passes each current input through without a sample delay.

Implementation ID
native-initial-value
Reviewed
2026-10-27

Behavior

y[0] = configured initial value; y[k] = u[k] for k > 0.

Interface

Initial value override interfaceInputs or arguments on the left, observed outputs on the right. Conserving terminals appear below the component. The tables give units and behavior.Initial value overrideStudio blockin0out0
Original Lemonergy interface view. Lines identify ports; they are not a completed simulation circuit.
Ports and observed outputs
NameDirectionUnitMeaning
in0input1Input; real 3 array.
out0output1Output; real 3 array.

Parameters

Defaults are initial model values. Select values for your own model and operating conditions.

Configuration fields
ParameterUnitDefaultMeaning and limits
Sample period
sampleTimeS
s0.1Positive interval between sample instants. Values are held between samples.
Minimum 0
Initial value 1
params[0]
10Initial values in declared lane order, including real and imaginary lanes for complex signals.
Initial value 2
params[1]
10Initial values in declared lane order, including real and imaginary lanes for complex signals.
Initial value 3
params[2]
10Initial values in declared lane order, including real and imaginary lanes for complex signals.

Equations and rules

  • y[0] = configured initial value; y[k] = u[k] for k > 0

Worked example

Initial value override — worked example

Input = [2,4,6]. Output at 0 s = [0,0,0].

Open Studio example after release →
Numerical checks for the bundled synthetic example
OutputTime (s)Expected valueUnitAbsolute tolerance
Output
out0
0[0, 0, 0]11e-09

Explore the recorded outputs

Initial value override recorded example

Initial value override [1]
Initial value override [1] against timeRecorded synthetic simulation values. Time in seconds; output in —.-0.1600.420.2510.51.580.752.161—Time (s)
Initial value override [1]: 0 — at 0 s

11 actual recorded samples. Lines are visual guides between samples. Synthetic example, not measured cell data.

Download the recorded samples (JSON) · Open this Studio example after release

Use in a workflow

Initial value override — worked example

Publishes the configured value at the first sample only, then passes each current input through without a sample delay.

  1. Initial value override: y[0] = configured initial value; y[k] = u[k] for k > 0.
    • Use the block reference for settings and connections.
    • Implementation tested locally; public release pending.
Open Studio example after release

Connected concepts

Limits and interpretation

  • Initial values must match every declared output lane. The override occurs only at initialization.

Reference basis

This software operation is defined by its public contract and worked example; no external research result is claimed.

Implementation sources

This reference follows the public interface and locally verified numerical checks for an upcoming release.

Contract: Lemonergy Studio public contract · Verification record: verification-2026-10-27

  • docs/glossary/native-block-verification.json

This implementation and its workflow uses (JSON) · Knowledge graph (JSON-LD)