Expiry/Repair dates for emissions that have started before simulation start date are not properly set as the pre-simulation start days active are not accounted for.
What was changed
-Emissions output will now have correct expiry and repair dates
Intended Purpose
Account for pre-simulation start days active when setting the exp/rep dates
Testing Completed
result.txt
Added unit tests, all existing unit tests pass.
Double checked by running a simple sim and checking the dates on the emissions that starts before the simulation.
Attached image is of a sim which has a start date of 2024-1-1.
Pull Request Key Information
Reason for change
Expiry/Repair dates for emissions that have started before simulation start date are not properly set as the pre-simulation start days active are not accounted for.
What was changed
-Emissions output will now have correct expiry and repair dates
Intended Purpose
Account for pre-simulation start days active when setting the exp/rep dates
Testing Completed
result.txt Added unit tests, all existing unit tests pass. Double checked by running a simple sim and checking the dates on the emissions that starts before the simulation. Attached image is of a sim which has a start date of 2024-1-1.