blockSwitchAtSeason

Swith boolean signal to true between two distinct days of the year

Information

1. Purpose of model

Switch model that gives a positive value between two specified times of the year.

2. Level of detail, physical effects considered, and physical insight

(Description)

3. Limits of validity

(Description)

4. Interfaces

(none)

5. Nomenclature

(no elements)

6. Governing Equations

(no equations)

7. Remarks for Usage

The parameters are given as real numbers from 0 to 365 as a day of the year. The output is a Boolean output, which is true if the time is between those two parameters else it gives false.

8. Validation

(no validation or testing necessary)

9. References

(none)

10. Version History

Created by Yousef Omran, Fraunhofer UMSICHT, 2018

Modified by Anne Hagemeier (anne.hagemeier@umsicht.fraunhofer.de), July 2018

Parameters

TypeNameDefaultDescription
Realsummer_start121Day of the year for the start of summer operation
Realwinter_start274Day of the year for the end of summer operation

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.BooleanOutputsummer_operationConnector of Boolean output signal

Components

TypeNameDefaultDescription
Modelica.Blocks.Logical.GreatergreaterThreshold1
Modelica.Blocks.Sources.RealExpressiontime_1
Modelica.Blocks.Sources.RealExpressionsummer
Modelica.Blocks.Logical.LessgreaterThreshold2
Modelica.Blocks.Sources.RealExpressiontime_2
Modelica.Blocks.Sources.RealExpressionwinter
Modelica.Blocks.Logical.Andand1