powerSelf.notNegative

This commit is contained in:
Patrick Haßel 2025-02-27 15:44:48 +01:00
parent f495ad9af1
commit ac50440215

View File

@ -42,7 +42,7 @@ export class AppComponent implements OnInit, OnDestroy {
}
get powerSelf(): Value | undefined {
return this.powerProduction?.minus(this.powerDelivery);
return this.powerProduction?.minus(this.powerDelivery)?.notNegative();
}
get powerConsumption(): Value | undefined {