From 4f42dd08b5c6200ecacc28a4913c3f2a47a49b3f Mon Sep 17 00:00:00 2001 From: Scott Kirkland Date: Wed, 13 Jul 2022 16:41:55 -0700 Subject: [PATCH] added annual generation to outputs --- src/components/Results/ResultsExport.tsx | 4 ++++ src/components/Results/ResultsTables.tsx | 7 +++++++ 2 files changed, 11 insertions(+) diff --git a/src/components/Results/ResultsExport.tsx b/src/components/Results/ResultsExport.tsx index a4801819..023bd31a 100644 --- a/src/components/Results/ResultsExport.tsx +++ b/src/components/Results/ResultsExport.tsx @@ -71,6 +71,10 @@ export const ResultsExport = (props: Props) => { props.teaInputs.ElectricalFuelBaseYear.NetStationEfficiency ) ], + [ + 'Annual Generation (kWh)', + formatNumber(props.allYearResults.annualGeneration) + ], [ 'Capacity Factor (%)', formatNumber(props.teaInputs.ElectricalFuelBaseYear.CapacityFactor) diff --git a/src/components/Results/ResultsTables.tsx b/src/components/Results/ResultsTables.tsx index 81f1c1c8..2fb05c96 100644 --- a/src/components/Results/ResultsTables.tsx +++ b/src/components/Results/ResultsTables.tsx @@ -26,6 +26,7 @@ export const ResultsTable = (props: Props) => { x => x.id === props.frcsInputs.treatmentid ); const treatmentName = Treatments[treatmentIndex].name; + const renderTechnicalPerformanceTable = () => { return ( @@ -69,6 +70,12 @@ export const ResultsTable = (props: Props) => { )} + + + +
Annual Generation (kWh) + {formatNumber(props.allYearResults.annualGeneration)} +
Capacity Factor (%) {props.teaInputs.ElectricalFuelBaseYear.CapacityFactor}