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,
uchanges from 0 to 1, triggering the sampling; -
At 0.9s,
resSigchanges into On, triggering the reset.
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.SamplerWithResetThreshold | sam | Sampler | |
| Buildings.Controls.OBC.CDL.Logical.Sources.Pulse | resSig | Reset signal | |
| Buildings.Controls.OBC.CDL.Reals.Sources.Pulse | u | Singal to be sampled |
Revisions
-
September 20, 2023, by Sen Huang:
First implementation.