powerSelf.notNegative
This commit is contained in:
parent
f495ad9af1
commit
ac50440215
@ -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 {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user