Fixed crash when trying to show losses for a model that does not contain any powerports.
Fixed crash when trying to show losses for a model that does not contain any powerports.

Hopsan/hopsan,Hopsan/hopsan,Hopsan/hopsan,Hopsan/hopsan,Hopsan/hopsan,Hopsan/hopsan