This R file determines emission from commercial harbor craft under the 2021 proposed rule amendments. Several libraries listed at the beginning of the file need to be installed. Input file includes the baseline inventory file "chc_ei_210521.Rdata", and rule extension file "compliance_extension.csv". Details about the proposed rule amendments can be found here: https://ww2.arb.ca.gov/rulemaking/2021/chc2021