The aim of this study is to analyze the impact of credit risk mitigation via margining on the optimal portfolio selection for power plants. We develop a model to estimate margining cashflows that is based on the clearing framework of the European Commodity Clearing AG (ECC), on stochastic...