Improving the reliability of electricity supply is closely related to the national industrial economy and people's livelihood. When procuring electricity, the large consumer faces the risk of insufficient electricity supply. Such insufficiency may be caused by the supply disruption of the upstream electricity generator and the fluctuation of electricity prices in the electricity pool. We establish an expected cost model for the large consumer and a revenue model for the electricity generator by introducing robustness and opportunity functions t...