(a) A state agency shall first apply money it collects from the sale of firm or nonfirm power to retire any outstanding debt and pay operating expenses that result from constructing and maintaining the state agency cogeneration facility.
(b) A state agency shall deposit to the credit of the general revenue fund any money it collects under this chapter that exceeds the amount needed to service the debt and pay the operating expenses of the state agency cogeneration facility.