Skip to content

Commit

Permalink
Merge pull request #245 from ucdavis/srk/output-values
Browse files Browse the repository at this point in the history
added annual generation to outputs
  • Loading branch information
srkirkland authored Jul 22, 2022
2 parents 55c5fd9 + 4f42dd0 commit 086e00f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/components/Results/ResultsExport.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
7 changes: 7 additions & 0 deletions src/components/Results/ResultsTables.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ export const ResultsTable = (props: Props) => {
x => x.id === props.frcsInputs.treatmentid
);
const treatmentName = Treatments[treatmentIndex].name;

const renderTechnicalPerformanceTable = () => {
return (
<Table responsive bordered hover>
Expand Down Expand Up @@ -69,6 +70,12 @@ export const ResultsTable = (props: Props) => {
</td>
</tr>
)}
<tr>
<td>Annual Generation (kWh)</td>
<td>
{formatNumber(props.allYearResults.annualGeneration)}
</td>
</tr>
<tr>
<td>Capacity Factor (%)</td>
<td>{props.teaInputs.ElectricalFuelBaseYear.CapacityFactor}</td>
Expand Down

0 comments on commit 086e00f

Please sign in to comment.