blockStageCompletion

Checks successful completion of stage change

Information

Block that detects a stage change and evaluates whether the stage transition is completed.

The completion of a stage change is considered successful when both of the following conditions have been verified.

  • Following a stage transition event, or exactly at the same time, there is a change in the enable command of at least one equipment.
  • The equipment status matches the enable command for all units, after any change in the enable command has been detected.

The output signal y1End is true exactly at the time when the successful completion of the stage change is confirmed. The output signal y1 is true during the entire time in which the stage change is in progress.

Parameters

TypeNameDefaultDescription
Integernin0Size of input array

Connectors

TypeNameDefaultDescription
Buildings.Controls.OBC.CDL.Interfaces.BooleanInput[nin]u1Equipment enable command
Buildings.Controls.OBC.CDL.Interfaces.BooleanInput[nin]u1_actualEquipment status
Buildings.Controls.OBC.CDL.Interfaces.BooleanOutputy1EndSuccessful completion of stage change
Buildings.Controls.OBC.CDL.Interfaces.BooleanOutputy1Stage change in progress
Buildings.Controls.OBC.CDL.Interfaces.IntegerInputuStaStage index

Components

TypeNameDefaultDescription
Buildings.Controls.OBC.CDL.Logical.And[nin]enaAndOnTrue if equipment enabled and on status returned
Buildings.Controls.OBC.CDL.Logical.Nor[nin]disAndOffTrue if equipment disabled and off status returned
Buildings.Controls.OBC.CDL.Logical.MultiAndallTruTrue if all inputs true
Buildings.Controls.OBC.CDL.Logical.Or[nin]onOrOffTrue if on or off condition met
Buildings.Controls.OBC.CDL.Logical.FallingEdgeendStaProTrue when staging process terminates
Buildings.Controls.OBC.CDL.Logical.LatchlckChaStaLock stage change signal until conditions on equipment command and status met
Buildings.Controls.OBC.CDL.Logical.Change[nin]chaTrue if enable signal changes
Buildings.Controls.OBC.CDL.Logical.LatchlckAnyChaLock equipment command change signal until next stage change
Buildings.Controls.OBC.CDL.Logical.MultiOranyChaTrue if any enable signal changes
Buildings.Controls.OBC.CDL.Logical.AndchaAndMatTrue if enable command changed and equipment status matches command
Buildings.Controls.OBC.CDL.Logical.PrepreAnyChaLeft-limit of signal to guard against concomitant stage change and command change
Buildings.Controls.OBC.CDL.Integers.ChangechaStaReturn true when stage change is initiated

Revisions

  • June 26, 2024, by Antoine Gautier:
    Replaced hold with pre to guard against concomitant stage change and command change.
    This is for #3787.
  • March 29, 2024, by Antoine Gautier:
    First implementation.