Create a Time Normalizer
This normalizer defines time ranges to associate with different results. When an network message is received, the time field determines which range to use during rating. If the usage spans multiple time ranges, it is distributed across each range and the result associated with each range is used.
Before you begin
My MATRIXX must contain the normalizer template that you want to use for this normalizer that implements the Time normalization algorithm.
Procedure
- In Normalizers, click New Normalizer.
-
In Create New Normalizer:
- In Name, enter a unique name.
- (Optional) In Description, enter descriptive information about the item.
- (Optional) In External ID, enter any alphanumeric character to serve as a unique ID on this pricing object. The external ID can be used for any reason that is meaningful to your implementation of MATRIXX Engine. External IDs are saved to the pricing configuration file and loaded into the Pricing database.
- From the Normalizer Template list, select the name of the normalizer template that implements the normalization algorithm you want to use for this normalizer.
- Click Create.
-
In Start Date/Time, use the date
picker to select the date on which the object becomes active in the Pricing
database and is first available for use, or enter the date in the format
YYYY-MM-DD.
Optionally, enter a time for when the object becomes active. The default start
date/time is 2000–01–01 00:00:00. If applicable, the range in which the start
date/time must fall is listed. For example:
- Select a date on or before 2021–12–01.
- Select a date on or after 2020–01–27.
- Select a date between 2000–01–02 and 2021–10–04.
Note: If you are creating a new revision of this object, the start date/time must be after the start date/time of the preceding revision and before the start date/time of the next revision. If you are making a copy of this object, the start date/time is not copied. The new object is the first revision, so it has the default start date/time of 2000–01–01 00:00:00. - Skip the Value If Field Not Present setting. This list is populated in the next steps.
-
If any metadata fields were defined in the normalizer template, they are listed under Default Metadata. For each piece of metadata, enter the fixed value to be associated with a
result. The value entered must correspond to the configured data type. This value is used in the following ways:
- No default value is defined in the normalizer template and --default-- is used to define the metadata value in the normalizer instance using the Edit Normalizer Values dialog.
- The default value is defined in the normalizer template under the Values table as --default--.
-
Click or hover over the Rows menu icon and select Edit Values to open Edit Normalizer
Values. You can add new values manually or by
selecting a normalizer value list.
Note: If using a normalizer value list, metadata is not supported. Therefore, any metadata listed under Default Metadata in Edit Normalizer does not display as columns in the Values table in Edit Normalizer Values if Use Normalizer Value List is selected.
-
If defining values by selecting a normalizer value list, perform the following
steps for each time range to create.
-
If the normalizer template does not define any normalizer values and you are not using a
normalizer value list, then you can define the values within the normalizer instance by clicking Edit Values to open Edit Normalizer
Values and performing the following steps for each time range to create.
Tip: You can also add a new time and value by clicking on the day of the week heading of the time table, entering the values, and then clicking Add. However, any metadata columns are read-only.
- Click Save.
-
Perform the following
steps to define time ranges for each day of the week.
Note: Ranges cannot span days. To define time ranges, you specify the start time of the range. The end time of the range is automatically set to the start time of the next range. The first range to define has a start time of 12 AM. For example, if you have a Peak period that spans from 8 AM to 5 PM and an Off-Peak period that spans all other times, you specify the first range as an Off-Peak period with a start time of 12 AM (00:00:00), the second range as the Peak period with a start time of 8:00 AM (08:00:00), and a final Off Peak period with a start time of 5:00 PM (17:00:00). Each time range is inclusive at both the start and end times.Note: If you add a new range that starts in the middle of an existing range, the end of the existing range changes to end at the start of the new range, and the new range ends where the existing range ended before.
-
(Optional) Click or hover over the Rows menu icon and select Validate to check the normalizer values for errors.
Validation checks for errors caused by duplicate rows, gaps in ranges, overlapping ranges, and any other missing or invalid configurations. To perform the validation, My MATRIXX sorts the rows in the rate table according to the first parameter value.
- In Value If Field Not Present, select a parameter value to use when the field value is not set at the time of rating.
- Click Save.