Lemonergy · Studio block
Rate transition
Samples a whole input at its declared period and holds the complete value between instants on the deterministic simulation clock.
- Implementation ID
native-rate-transition- Reviewed
- 2026-10-27
Behavior
y(t) = u(tₖ), tₖ ≤ t < tₖ₊₁.
Interface
| Name | Direction | Unit | Meaning |
|---|---|---|---|
in0 | input | 1 | Input; real 3 array. |
out0 | output | 1 | Held 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 |
Equations and rules
y(t) = u(tₖ), tₖ ≤ t < tₖ₊₁
Worked example
Rate transition — worked example
Input = [2,4,6]. Held output at 0 s = [2,4,6].
Open Studio example after release →| Output | Time (s) | Expected value | Unit | Absolute tolerance |
|---|---|---|---|---|
Held outputout0 | 0 | [2, 4, 6] | 1 | 1e-09 |
Explore the recorded outputs
Rate transition recorded example
Rate transition [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
Rate transition — worked example
Samples a whole input at its declared period and holds the complete value between instants on the deterministic simulation clock.
- Rate transition: y(t) = u(tₖ), tₖ ≤ t < tₖ₊₁.
- Use the block reference for settings and connections.
- Implementation tested locally; public release pending.
Connected concepts
Limits and interpretation
- Deterministic single simulation clock and a configured output sample grid; no asynchronous task scheduling or thread-race guarantee.
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)