modelSamplerWithResetThreshold

Test model for a sampler with a reset and a threshold

Information

Validation test for the block Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.SamplerWithResetThreshold.

This example considers a real input, u, and a boolean input, resSig
  • At 0.5s, u changes from 0 to 1, triggering the sampling;
  • At 0.9s, resSig changes into On, triggering the reset.

Components

TypeNameDefaultDescription
Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.SamplerWithResetThresholdsamSampler
Buildings.Controls.OBC.CDL.Logical.Sources.PulseresSigReset signal
Buildings.Controls.OBC.CDL.Reals.Sources.PulseuSingal to be sampled

Revisions

  • September 20, 2023, by Sen Huang:
    First implementation.