Lemonergy · Studio block

Storage reader

Reads the current snapshot of a local named storage declaration.

Implementation ID
data-store-read
Reviewed
2026-10-27

Behavior

Every reader in the same local scope receives the same typed snapshot for that sample.

Interface

Storage reader interfaceInputs or arguments on the left, observed outputs on the right. Conserving terminals appear below the component. The tables give units and behavior.Storage readerStudio blockvalue
Original Lemonergy interface view. Lines identify ports; they are not a completed simulation circuit.
Ports and observed outputs
NameDirectionUnitMeaning
valueoutput1counter; real signal.

Parameters

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

Configuration fields
ParameterUnitDefaultMeaning and limits
Local storage name
store
1counterExplicit store used by this worked model.

Equations and rules

  • y[k] = local snapshot[k]

Worked example

Read and update local sampled storage

Increment = 1. Stored-value at 0.2 s = 2.

Open Studio example after release →
Numerical checks for the bundled synthetic example
OutputTime (s)Expected valueUnitAbsolute tolerance
Stored-value
Stored-value
0.2211e-09

Use in a workflow

Read and update local sampled storage

Reads the current snapshot of a local named storage declaration.

  1. Storage reader: Every reader in the same local scope receives the same typed snapshot for that sample.
    • Use the block reference for settings and connections.
    • Implementation tested locally; public release pending.
Open Studio example after release

Connected concepts

Limits and interpretation

  • The declaration must exist in the same scope. Writes made at this tick appear at the next sample.

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)