From 0c57797f0468832db9f5bea09db4ffc6d3b7905a Mon Sep 17 00:00:00 2001 From: nblondheim Date: Tue, 12 Nov 2024 07:05:03 -0600 Subject: [PATCH] Add psat view add scenario fix --- src/app/psat/modification-list/modification-list.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/psat/modification-list/modification-list.component.ts b/src/app/psat/modification-list/modification-list.component.ts index 1db4ce947..dbf4d64db 100644 --- a/src/app/psat/modification-list/modification-list.component.ts +++ b/src/app/psat/modification-list/modification-list.component.ts @@ -160,7 +160,7 @@ export class ModificationListComponent implements OnInit { tmpModification.exploreOpportunities = true; } tmpModification.psat.inputs = (JSON.parse(JSON.stringify(psat.inputs))); - tmpModification.psat.inputs.co2SavingsData.userEnteredModificationEmissions = tmpModification.psat.inputs.co2SavingsData.userEnteredModificationEmissions; + tmpModification.psat.inputs.co2SavingsData.userEnteredModificationEmissions = tmpModification.psat.inputs.co2SavingsData.userEnteredBaselineEmissions; let baselineResults: PsatOutputs = this.psatService.resultsExisting(this.psat.inputs, this.settings); tmpModification.psat.inputs.pump_specified = baselineResults.pump_efficiency; tmpModification.psat.inputs.whatIfScenario = true;