Memory

Purpose

Provide input signal from previous major time step

Library

Control / Delays

Description

../../_images/memory.svg

The Memory block delays the input signal by a single major time step taken by the solver.

Note

  • The Memory block implicitly has a sample time. If you need to specify a sample time explicitly, please use the Delay block instead.

  • If a variable-step solver is used, the delay time of the Memory block also varies. If you use the Memory block to decouple an algebraic loop, this will produce a dead-time with an uncontrolled jitter. Please consider using a low pass filter instead.

Example Model

  • The example model “Could not solve the algebraic loop - Example 2” features the decoupling of an algebraic loop.

  • Find it in PLECS under Help > PLECS Documentation > List of Example Models.

Parameters

Initial condition

The initial output during the first major time step.

Probe Signals

Input

The input signal.

Output

The output signal.