Buildings.Controls.OBC.CDL.Types

Package with type definitions

Information

This package contains type definitions.

Package Content

Name Description
Buildings.Controls.OBC.CDL.Types.Extrapolation Extrapolation Enumeration defining the extrapolation of time table interpolation
Buildings.Controls.OBC.CDL.Types.SimpleController SimpleController Enumeration defining P, PI, PD, or PID simple controller type
Buildings.Controls.OBC.CDL.Types.Smoothness Smoothness Enumeration defining the smoothness of table interpolation
Buildings.Controls.OBC.CDL.Types.ZeroTime ZeroTime Enumeration to set the date corresponding to time = 0

Types and constants

  type Extrapolation = enumeration(
      HoldLastPoint
    "Hold the first/last table point outside of the table scope",
      LastTwoPoints
    "Extrapolate by using the derivative at the first/last table points outside of the table scope",
      Periodic
    "Repeat the table scope periodically")
    "Enumeration defining the extrapolation of time table interpolation";
  type SimpleController = enumeration(
      P
    "P controller",
      PI
    "PI controller",
      PD
    "PD controller",
      PID
    "PID controller")
    "Enumeration defining P, PI, PD, or PID simple controller type";
  type Smoothness = enumeration(
      LinearSegments
    "Table points are linearly interpolated",
      ConstantSegments
    "Table points are not interpolated, but the previous tabulated value is returned")
    "Enumeration defining the smoothness of table interpolation";
  type ZeroTime = enumeration(
      UnixTimeStamp
    "Thu, 01 Jan 1970 00:00:00 local time",
      UnixTimeStampGMT
    "Thu, 01 Jan 1970 00:00:00 GMT",
      Custom
    "User specified local time",
      NY2010
    "New year 2010, 00:00:00 local time",
      NY2011
    "New year 2011, 00:00:00 local time",
      NY2012
    "New year 2012, 00:00:00 local time",
      NY2013
    "New year 2013, 00:00:00 local time",
      NY2014
    "New year 2014, 00:00:00 local time",
      NY2015
    "New year 2015, 00:00:00 local time",
      NY2016
    "New year 2016, 00:00:00 local time",
      NY2017
    "New year 2017, 00:00:00 local time",
      NY2018
    "New year 2018, 00:00:00 local time",
      NY2019
    "New year 2019, 00:00:00 local time",
      NY2020
    "New year 2020, 00:00:00 local time")
    "Enumeration to set the date corresponding to time = 0";

Buildings.Controls.OBC.CDL.Types.Extrapolation

Enumeration defining the extrapolation of time table interpolation

Information

Enumeration for the type of extrapolation that is used when reading data from a table. The possible values are:

Enumeration Description
HoldLastPoint Hold the first or last point outside of the table scope.
LastTwoPoints Extrapolate by using the derivative at the first or last table points outside of the table scope.
Periodic Repeat the table scope periodically.

Modelica definition

type Extrapolation = enumeration( HoldLastPoint "Hold the first/last table point outside of the table scope", LastTwoPoints "Extrapolate by using the derivative at the first/last table points outside of the table scope", Periodic "Repeat the table scope periodically") "Enumeration defining the extrapolation of time table interpolation";

Buildings.Controls.OBC.CDL.Types.SimpleController

Enumeration defining P, PI, PD, or PID simple controller type

Information

Enumeration to define the type of the controller. Possible values are:

Enumeration Description
P Controller with proportional term.
PI Controller with proportional and integral terms.
PD Controller with proportional and derivative term.
PID Controller with proportional, integral and derivative terms.

Modelica definition

type SimpleController = enumeration( P "P controller", PI "PI controller", PD "PD controller", PID "PID controller") "Enumeration defining P, PI, PD, or PID simple controller type";

Buildings.Controls.OBC.CDL.Types.Smoothness

Enumeration defining the smoothness of table interpolation

Information

Enumeration for the type of smoothness that is used when interpolating data from a table. The possible values are:

Enumeration Description
LinearSegments Linearly interpolate table points.
ConstantSegments Do not interpolate, but rather use the previously tabulated value.

Modelica definition

type Smoothness = enumeration( LinearSegments "Table points are linearly interpolated", ConstantSegments "Table points are not interpolated, but the previous tabulated value is returned") "Enumeration defining the smoothness of table interpolation";

Buildings.Controls.OBC.CDL.Types.ZeroTime

Enumeration to set the date corresponding to time = 0

Information

Type for choosing how to set the reference time in Buildings.Controls.OBC.CDL.Continuous.Sources.CalendarTime.

For example, CDL.Types.TimeReference.NY2016 means that if model time is 0, it is January 1, 2016, 0:00:00 local time.

Modelica definition

type ZeroTime = enumeration( UnixTimeStamp "Thu, 01 Jan 1970 00:00:00 local time", UnixTimeStampGMT "Thu, 01 Jan 1970 00:00:00 GMT", Custom "User specified local time", NY2010 "New year 2010, 00:00:00 local time", NY2011 "New year 2011, 00:00:00 local time", NY2012 "New year 2012, 00:00:00 local time", NY2013 "New year 2013, 00:00:00 local time", NY2014 "New year 2014, 00:00:00 local time", NY2015 "New year 2015, 00:00:00 local time", NY2016 "New year 2016, 00:00:00 local time", NY2017 "New year 2017, 00:00:00 local time", NY2018 "New year 2018, 00:00:00 local time", NY2019 "New year 2019, 00:00:00 local time", NY2020 "New year 2020, 00:00:00 local time") "Enumeration to set the date corresponding to time = 0";