arbrandt / OPGEE

Oil Production Greenhouse Gas Emissions Estimator
18 stars 3 forks source link

Circular reference for AGR injection and venting when gas processing path=7 #299

Closed qlangfitt closed 3 years ago

qlangfitt commented 3 years ago

On the Acid Gas Removal sheet, the amount of CO2 vented (Stream 256) and the amount of CO2 to reinjection (Stream 73) are calculated based on one another when the gas processing path=7. This causes the model to sometimes fail, or if not to fail, to generate non-deterministic outcomes. One of these streams should be calculated independently, though I'm not sure which. Probably the tail gas CO2 to reinjection.

arbrandt commented 3 years ago

Fixed in change that also removed the claus unit, which was error prone and will be added in a future version.