RA2CE helps to quantify resilience of critical infrastructure networks, prioritize interventions and adaptation measures and select the most appropriate action perspective to increase resilience considering future conditions.
[x] I HAVE NOT added sensitive or compromised (test) data to the repository.
[x] I HAVE NOT added vulnerabilities to the repository.
[x] I HAVE discussed my solution with (other) members of the RA2CE team.
What has been done?
Given traffic intensities are per traffic period
Renamed enum PartOfDay to TrafficPeriodEnum with extended list of possible options (agreed with Sahand)
Default traffic period is TrafficPeriodEnum.DAY
If the user chooses a traffic period other than DAY, they need to provide the hours_per_traffic_period in the analysis config to get the correct losses per hour
Checklist
[x] Code is formatted using our custom black and isort definitions.
[x] Tests are either added or updated.
[ ] Branch is up to date with master.
[x] Updated documentation if needed.
Additional Notes (optional)
Add any additional notes or information that may be helpful.
Issue addressed
Add on to #489
Code of conduct
What has been done?
Given traffic intensities are per traffic period
PartOfDay
toTrafficPeriodEnum
with extended list of possible options (agreed with Sahand)TrafficPeriodEnum.DAY
hours_per_traffic_period
in the analysis config to get the correct losses per hourChecklist
black
andisort
definitions.master
.Additional Notes (optional)
Add any additional notes or information that may be helpful.