Tackling nonlinearities in microgrid codesign through linear programming approaches | Synapse