I'm designing an optimization model to determine the power generation capacity from local energy sources. If the local energy sources are not sufficient, the need for electrical energy that cannot be met from local energy sources is met by importing electrical energy from other regions.
I'm currently using an imported electrical energy variable (Imp_Electricity) in the energy balance constraint function. However, after using the price of imported electrical energy, the optimization results show that all electrical energy needs are met by imported electrical energy and no generating capacity is required. This is because importing electrical energy is cheaper than having to build a power plant. And when the Imp_Electricity variable is assigned a value of ZERO, the model is not feasible because the energy balance constraint function is violated.
The result I expect from the model that I am currently designing is that the model can prioritize the construction of power plants to determine how much electrical energy needs can be met by optimizing local energy sources.
How to design the model as I expect with AIMMS?