(1). Except as otherwise provided with respect to damages liquidated in the lease agreement (section 2-1504), or otherwise determined pursuant to agreement of the parties (section 1-1302 and section 2-1503) if a lessee elects not to cover or a lessee elects to cover and the cover is by lease agreement that for any reason does not qualify for treatment under section 2-1518, subsection (2) or is by purchase or otherwise, the measure of damages for nondelivery or repudiation by the lessor or for rejection or revocation of acceptance by the lessee is the present value, as of the date of the default, of the then market rent minus the present value as of the same date of the original rent, computed for the remaining lease term of the original lease agreement, together with incidental and consequential damages minus expenses saved in consequence of the lessor's default. [2009, c. 325, Pt. B, §11(AMD); 2009, c. 325, Pt. B, §27(AFF).]