Skip to content

Commit 086e00f

Browse files
authored
Merge pull request #245 from ucdavis/srk/output-values
added annual generation to outputs
2 parents 55c5fd9 + 4f42dd0 commit 086e00f

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

src/components/Results/ResultsExport.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,10 @@ export const ResultsExport = (props: Props) => {
7171
props.teaInputs.ElectricalFuelBaseYear.NetStationEfficiency
7272
)
7373
],
74+
[
75+
'Annual Generation (kWh)',
76+
formatNumber(props.allYearResults.annualGeneration)
77+
],
7478
[
7579
'Capacity Factor (%)',
7680
formatNumber(props.teaInputs.ElectricalFuelBaseYear.CapacityFactor)

src/components/Results/ResultsTables.tsx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ export const ResultsTable = (props: Props) => {
2626
x => x.id === props.frcsInputs.treatmentid
2727
);
2828
const treatmentName = Treatments[treatmentIndex].name;
29+
2930
const renderTechnicalPerformanceTable = () => {
3031
return (
3132
<Table responsive bordered hover>
@@ -69,6 +70,12 @@ export const ResultsTable = (props: Props) => {
6970
</td>
7071
</tr>
7172
)}
73+
<tr>
74+
<td>Annual Generation (kWh)</td>
75+
<td>
76+
{formatNumber(props.allYearResults.annualGeneration)}
77+
</td>
78+
</tr>
7279
<tr>
7380
<td>Capacity Factor (%)</td>
7481
<td>{props.teaInputs.ElectricalFuelBaseYear.CapacityFactor}</td>

0 commit comments

Comments
 (0)