Lemonergy · Studio block
Signal gap check
Reports whether the absolute difference between two inputs is within a configured tolerance.
- Implementation ID
native-check-gap- Reviewed
- 2026-10-27
Behavior
pass = (|first − second| ≤ tolerance).
Interface
| Name | Direction | Unit | Meaning |
|---|---|---|---|
in0 | input | 1 | First value; real scalar. |
in1 | input | 1 | Second value; real scalar. |
out0 | output | 1 | Pass; bool scalar. |
Parameters
Defaults are initial model values. Select values for your own model and operating conditions.
| Parameter | Unit | Default | Meaning and limits |
|---|---|---|---|
Maximum absolute differenceparams[0] | 1 | 0.5 | Configured value for Maximum absolute difference. |
Equations and rules
pass = (|first − second| ≤ tolerance)
Worked example
Signal gap check — worked example
First value = 2; Second value = 2.4. Pass at 0 s = 1.
Open Studio example after release →| Output | Time (s) | Expected value | Unit | Absolute tolerance |
|---|---|---|---|---|
Passout0 | 0 | 1 | 1 | 1e-09 |
Explore the recorded outputs
Signal gap check recorded example
Signal gap check2 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
Signal gap check — worked example
Reports whether the absolute difference between two inputs is within a configured tolerance.
- Signal gap check: pass = (|first − second| ≤ tolerance).
- Use the block reference for settings and connections.
- Implementation tested locally; public release pending.
Connected concepts
Limits and interpretation
- Scalar real inputs with equal quantities; this is an absolute difference check.
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)