Skip to content
Manage
Objects
Analyse
Utility

Time Pattern#

A time pattern that defines specific points in time.

Create a time pattern using months of the year, days in each month, hours in each day, and a specified number of time steps per hour.

Inputs

Name Nickname Description Type
Months M The months in the year, from 1 = January to 12 = December. Int32
Days D The days in each month, from 1 to 31. Int32
Hours H The hours of each day, from 0 to 23. Int32
Time Step T The number of time steps per hour. Int32

Outputs

Name Nickname Description Type
Time Pattern TP A time pattern that defines specific points in time. TimePattern

Create a time pattern using start and end time for a time span and an amount of time steps per hour. This constructor will only use the month, day and hour properties of the start and end times.

Inputs

Name Nickname Description Type
Start Time S The start of the time span that this time patterns should cover. DateTime
End Time E The end of the time span that this time patterns should cover. DateTime
Time Step T The number of time steps per hour. Int32

Outputs

Name Nickname Description Type
Time Pattern TP A time pattern that defines specific points in time. TimePattern

Create a time pattern by merging a number of time patterns. All time patterns have to have the same amount of time steps per hour.

Inputs

Name Nickname Description Type
Time Patterns T A list of time patterns to merge into a single time pattern. TimePattern

Outputs

Name Nickname Description Type
Time Pattern TP A time pattern that defines specific points in time. TimePattern

Create a time pattern that covers all 8760 hours of the year using the specified time step.

Inputs

Name Nickname Description Type
Time Step T The number of time steps per hour. Int32

Outputs

Name Nickname Description Type
Time Pattern TP A time pattern that defines specific points in time. TimePattern