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
| Name | Direction | Unit | Meaning |
|---|---|---|---|
in0 | input | 1 | Input; real 3 array. |
out0 | output | 1 | Output; real 3 array. |
Parameters
Defaults are initial model values. Select values for your own model and operating conditions.
| Parameter | Unit | Default | Meaning and limits |
|---|---|---|---|
Sample periodsampleTimeS | s | 0.1 | Positive interval between sample instants. Values are held between samples. Minimum 0 |
Initial value 1params[0] | 1 | 0 | Initial values in declared lane order, including real and imaginary lanes for complex signals. |
Initial value 2params[1] | 1 | 0 | Initial values in declared lane order, including real and imaginary lanes for complex signals. |
Initial value 3params[2] | 1 | 0 | Initial 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 →| Output | Time (s) | Expected value | Unit | Absolute tolerance |
|---|---|---|---|---|
Outputout0 | 0 | [0, 0, 0] | 1 | 1e-09 |
Explore the recorded outputs
Initial value override recorded example
Initial value override [1]11 actual recorded samples. Lines are visual guides between samples. Synthetic example, not measured cell data.
Read the selected signal as a table
| Time (s) | Value |
|---|
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.
- 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.
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)