Users are now able to set, per program, a duration estimation method to calculate emissions.
Intended Purpose
Allow users to choose a duration estimation method and create a framework for future methods to be incorporated easily.
Testing Completed
Manual testing - ran with the test simulation where P_Air was using the newly defined component-based estimation, while P_OGI was using the measurement-based-conservative method.
SampleOutputFiles.zip
Pull Request Key Information
Reason for change
Duration estimation was initially hard coded.
What was changed
Users are now able to set, per program, a duration estimation method to calculate emissions.
Intended Purpose
Allow users to choose a duration estimation method and create a framework for future methods to be incorporated easily.
Testing Completed
Manual testing - ran with the test simulation where P_Air was using the newly defined component-based estimation, while P_OGI was using the measurement-based-conservative method. SampleOutputFiles.zip
All unit tests passed. result.txt