Time profiles

To provide data for different time structures there is a flexible system of different time profiles that can be indexed by time periods.

The following code example shows how these profile types can be combined in a flexible manner to produce different overall profiles.

rep_periods = RepresentativePeriods(2, 365, [0.6, 0.4], [SimpleTimes(7,1), SimpleTimes(7,1)])
periods = TwoLevel(2, 365, rep_periods)

cost = StrategicProfile(
            [
                RepresentativeProfile(
                    [
                        OperationalProfile([3, 3, 4, 3, 4, 6, 5]),
                        FixedProfile(5)
                    ]
                ),
                FixedProfile(7)
            ]
        )

Illustration of profile values for the various time periods as defined in the profile example Time profile values