You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"min_duration": 0 (probably goes for all min_* restrictions)
Also having more generic tariff elements (for a certain dimension) specified before more restricting elements makes the latter one unnecessary.
I expect that tariffs with these no-op components and no-op restrictions exist because the OCPI tariff structure is generated in a way which always specified these things.
The text was updated successfully, but these errors were encountered:
It would be great if the tool could simplify tariffs by removing everything which has no effect.
Example with price components which do nothing:
Is equal to:
Another typical example are restrictions which do not restrict anything. Such as:
"start_time": "00:00", "stop_time": "00:00"
"start_time": "00:00", "stop_time": "23:59"
"day_of_week": ["MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY", "SATURDAY", "SUNDAY"]
"min_duration": 0
(probably goes for allmin_*
restrictions)Also having more generic tariff elements (for a certain dimension) specified before more restricting elements makes the latter one unnecessary.
I expect that tariffs with these no-op components and no-op restrictions exist because the OCPI tariff structure is generated in a way which always specified these things.
The text was updated successfully, but these errors were encountered: