Lemonergy · Studio block

Bounded drift memristor

Linear resistance interpolation with a smooth boundary window in the ionic drift law; phenomenological, not a fitted material model

Implementation ID
memristor
Reviewed
2026-10-27

Behavior

Conserving component solved simultaneously with the connected network. Linear resistance interpolation with a smooth boundary window in the ionic drift law; phenomenological, not a fitted material model

Interface

Bounded drift memristor interfaceInputs or arguments on the left, observed outputs on the right. Conserving terminals appear below the component. The tables give units and behavior.Bounded drift memristorStudio blockcurrentvoltagestatepn
Original Lemonergy interface view. Lines identify ports; they are not a completed simulation circuit.
Ports and observed outputs
NameDirectionUnitMeaning
pterminalV; Aelectrical conserving connection; voltage across and current through the connected branch.
nterminalV; Aelectrical conserving connection; voltage across and current through the connected branch.
currentoutputARecorded current measurement from the conserving simulation.
voltageoutputVRecorded voltage measurement from the conserving simulation.
stateoutputfractionRecorded state measurement from the conserving simulation.

Parameters

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

Configuration fields
ParameterUnitDefaultMeaning and limits
On-state resistance
onResistanceOhm
ohm100Resistance of the conducting branch or conducting end of the memristor model.
Minimum 1e-06; Maximum 1000000000
Off-state resistance
offResistanceOhm
ohm16000Resistance of the open switch or insulating end of the memristor model.
Minimum 1e-06; Maximum 1000000000000
Active layer thickness
thicknessM
m1e-08Characteristic drift distance used by the memristor model.
Minimum 1e-12; Maximum 1
Drift mobility
mobilityM2Vs
m2/(V s)1e-14Effective mobility coefficient in the phenomenological internal-state equation.
Minimum 0; Maximum 1
Initial internal state
initialState
fraction0.5Initial normalized conducting-region fraction in the drift model.
Minimum 0; Maximum 1

Equations and rules

  • R = Ron w + Roff (1 − w)
  • dw/dt = mobility Ron I / thickness² × 4w(1 − w)

Worked example

Bounded drift memristor worked example

Editable first-party network. supply: voltageV=1. Checks below were verified in the native execution engine.

Open Studio example after release →
Numerical checks for the bundled synthetic example
OutputTime (s)Expected valueUnitAbsolute tolerance
current
target/current
10.01A9.999999997951385e-09
voltage
target/voltage
11V1e-06
state
target/state
11fraction9.999999999987118e-07

Use in a workflow

Bounded drift memristor worked example

Linear resistance interpolation with a smooth boundary window in the ionic drift law; phenomenological, not a fitted material model

  1. Bounded drift memristor: Conserving component solved simultaneously with the connected network. Linear resistance interpolation with a smooth boundary window in the ionic drift law; phenomenological, not a fitted material model
    • Use the block reference for settings and connections.
    • Implementation tested locally; public release pending.
Open Studio example after release

Connected concepts

Limits and interpretation

  • Linear resistance interpolation with a smooth boundary window in the ionic drift law; phenomenological, not a fitted material model
  • Demonstration parameters are not calibrated hardware data. Singular or incompatible ideal constraints and unsupported state ranges stop the run.

Scientific and mathematical references

These sources explain the scientific and mathematical background. The behavior, interface and limits above define the Lemonergy implementation; a citation does not imply every model option in the source is implemented.

  1. The elusive memristor: properties of basic electrical circuits

    Yogesh N. Joglekar, Stephen J. Wolf · European Journal of Physics · 2009

    Technical reference · Underlying physical law or reduced-model basis; Lemonergy implementation choices and limits are documented separately.

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)