Complicated temperature effects are also possible. A modeling effort of this detail is not necessarily required to estimate the consequence.
A much simpler procedure is to calculate the mass discharge rate at the instant the leak
occurs, assuming a fixed temperature and pressure within the tank equal to the initial temperature and pressure. The actual discharge rate at later times will always be less, and the downwind concentrations will always be less.
In this fashion a conservative result is ensured.