modelVariablePulse
Validation model for producing boolean pulse output
Information
Validation test for the block Buildings.Controls.OBC.CDL.Logical.VariablePulse.
-
The instance
falhas the constant0input. It gives constantfalseoutput. -
The instance
truhas the constant1input. It gives constanttrueoutput. -
The instance
conTruhas the constant0.75input. It gives the pulse output, with the width (75%). -
The instance
truFalhas the input changing from0.65to0. It outputs a pulse (with the width of 65%) and then changes to constantfalse. -
The instance
falTruhas the input changing from0to0.65and then back to0. It firstly outputs the constantfalse, then a pulse (with the width of 65%) and finally back tofalse. -
The instance
falTru1has the input changing from0.3to0.8and then back to0.3. It firstly outputs a pulse with the width of 30%, then a pulse with the width of 80%, and finally a pulse with the width of 30% again. When the input changes, it gives a new pulse immediately. -
The instance
conChaWidhas a ramp input. It gives constanttrueoutput when the input is ramping up.
Components
Revisions
-
August 11, 2022, by Jianjun Hu:
First implementation.