I am trying to solve a multi-objective optimization problem using the Pyomo library in Python. The objective function includes operational optimization of an electrolyzer for hydrogen production based on the grid electricity prices, and sizing of the electrolyzer and hydrogen storage unit based on historical prices in the day-ahead electricity market. The problem is that the capital cost of the electrolyzer and the storage unit would be based on the maximum size of the design variable and has to be minimized to get an optimal solution. I am new to optimization and your advice and comments would be helpful.