LDAR-Sim / LDAR_Sim

MIT License
11 stars 22 forks source link

V4 Expiry & Repair date fix #186

Closed SEAJang closed 6 months ago

SEAJang commented 6 months ago

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. image