@nhniina : "Why is the investment variable type default integer for connections and storages but continuous for units?" In my opinion it is better if the default values create an LP model.