Skip to content

Commit

Permalink
Add psat view add scenario fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nbintertech committed Nov 12, 2024
1 parent 9376ce4 commit 0c57797
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 0c57797

Please sign in to comment.