LDAR-Sim / LDAR_Sim

MIT License
11 stars 22 forks source link

fix: prevent type error in site initialization #165

Closed ThomasGalesloot closed 7 months ago

ThomasGalesloot commented 7 months ago

Pull Request Key Information

Reason for change

Previously a type error would occur when initializing equipment at a site where the production rate was set at the equipment level or lower. This prevent valid infrastructure configurations from being used.

What was changed

Added logic to handle equipment initialization if no LPR is present yet in the propagating parameters.

Intended Purpose

Bugfix

Level of version change required

N/A

Testing Completed

Manual testing

Target Issue

N/A

Additional Information

N/A