Hi Ade,
Thanks for your message. Unfortunately, there is a known problem with the optimization function when electricity is used as a feedstock fuel. To circumvent this issue, we suggest creating a new fuel to represent the imported electricity. To create a new fuel, go to General > Fuels (or click on the Fuels icon from Analysis View) and add a fuel. Name the fuel as you wish (for example, "Imported Electricity") and copy the properties from an existing fuel (in this case, electricity). Then, select the newly created fuel as your feedstock fuel.
Hopefully this helps, but if you continue to experience issues, please let us know.
Thanks!
Emily