Lemonergy · Studio block

Scaling strip

Removes scaled-integer metadata and exposes the stored integer codes unchanged.

Implementation ID
scaling-strip
Reviewed
2026-10-27

Behavior

Removes the slope and bias metadata while retaining the exact stored integer codes.

Interface

Scaling strip interfaceInputs or arguments on the left, observed outputs on the right. Conserving terminals appear below the component. The tables give units and behavior.Scaling stripStudio blockin0out0
Original Lemonergy interface view. Lines identify ports; they are not a completed simulation circuit.
Ports and observed outputs
NameDirectionUnitMeaning
in0input1Input 1; i32 signal.
out0output1Output 1; i32 signal.

Parameters

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

Configuration fields
ParameterUnitDefaultMeaning and limits
signal quantity
signal.quantity
1dimensionlessExplicit signal quantity in the worked model.
signal shape
signal.shape
1[2]Explicit signal shape in the worked model.
signal element Type
signal.elementType
1i32Explicit signal elementType in the worked model.
signal scaling slope
signal.scaling.slope
10.25Explicit signal scaling slope in the worked model.
signal scaling bias
signal.scaling.bias
10Explicit signal scaling bias in the worked model.

Equations and rules

  • output code = input stored code

Worked example

Scaling strip — executable model

Stripping scaling from values[1.5,−0.5] encoded at slope0.25 exposes integer codes[6,−2].

Open Studio example after release →
Numerical checks for the bundled synthetic example
OutputTime (s)Expected valueUnitAbsolute tolerance
Result
Result
0.2611e-09
Second integer code
Result/out0/1
0.2-211e-09

Use in a workflow

Scaling strip — executable model

Removes scaled-integer metadata and exposes the stored integer codes unchanged.

  1. Scaling strip: Removes the slope and bias metadata while retaining the exact stored integer codes.
    • Use the block reference for settings and connections.
    • Implementation tested locally; public release pending.
Open Studio example after release

Connected concepts

Limits and interpretation

  • Requires a declared scaled-integer signal. General fixed-point arithmetic and inherited scaling inference are not implemented.

Reference basis

This compiler and software type contract is defined by the documented behavior and executable example; no external research result or full external API parity 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)