geoschem / integrated_methane_inversion

Integrated Methane Inversion workflow repository.
https://imi.readthedocs.org
MIT License
26 stars 23 forks source link

IMI Preview Estimated Cost Issue #87

Closed laestrada closed 1 year ago

laestrada commented 1 year ago

Currently, the IMI uses the following method to calculate the estimated cost on AWS:

expected_cost = (
        (reference_cost + additional_storage_cost)
        * (num_state_variables / 243) ** 2
        * (num_days / 31)
        * res_factor
)

The estimated cost equation seems to assumes that the area of the model domain will scale as the number of state vector elements. The number of state vector elements dictates the number of simulations to be done and the area of the model domain, both of which are linear in cost. But the model domain also includes the area occupied by the buffer elements, which doesn’t scale with the number of state vector elements, and at least for the Permian most of the model domain is dedicated to these buffer elements. So the equation should be corrected to account for the fraction of the model domain occupied by the buffer elements in the reference simulation.

laestrada commented 1 year ago

Closed by #89