LDAR-Sim / LDAR_Sim

MIT License
11 stars 20 forks source link

[FEAT] Address the edge cases of where extra crew costs may be incurred #239

Open SEAJang opened 2 months ago

SEAJang commented 2 months ago

Requested Feature/Enhancement

Address the edge cases of where extra crew costs may be incurred

Need for feature/Enhancement

When using cost_per_day for mobile deployment, there is an edge case where extra crews being deployed for a given survey period may incur additional costs when a single crew could finish the rest of the remaining surveys.

Problem to solve

Make the deployment cost of mobile - cost per day - more accurate for the edge cases.

Implementation Ideas

in deploy crews, before the crewdailyreports are initialized, for the full number of crews, add in a check to calculate the remaining survey time, and the crews available, and if fewer crews are required, remove them from being initialized

Additional context

No response