blockPlaceholderLogical

Output a placeholder signal

Information

This block enables replacing a variable that is conditionally removed with either a parameter or another input variable.

  • If the parameter have_inp is true, the output variable y is equal to the input variable u.
  • If the parameter have_inp is false and the parameter have_inpPh is true, the output variable y is equal to the input variable uPh.
  • If the parameter have_inp is false and the parameter have_inpPh is false, the output variable y is equal to the parameter u_internal.

Parameters

TypeNameDefaultDescription
Booleanhave_inptrueSet to true if input signal is available
Booleanhave_inpPhfalseSet to true if placeholder value is provided with input signal
Booleanu_internalPlaceholder value if input signal is not available

Connectors

TypeNameDefaultDescription
Buildings.Controls.OBC.CDL.Interfaces.BooleanInputuInput
Buildings.Controls.OBC.CDL.Interfaces.BooleanInputuPhInput
Buildings.Controls.OBC.CDL.Interfaces.BooleanOutputyOutput

Components

TypeNameDefaultDescription
Buildings.Controls.OBC.CDL.Logical.Sources.ConstantphPlaceholder signal if input signal is not available

Revisions

  • March 29, 2024, by Antoine Gautier:
    First implementation.