Skip to content

Commit

Permalink
update typescript models, system mocks with new parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
lboeman committed Jul 24, 2023
1 parent f43998e commit 56bc515
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dashboard/src/api/__mocks__/systems.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ const systems: Array<StoredPVSystem> = [
tilt: 20,
azimuth: 180,
},
apply_variability_multiplier: false,
},
},
{
Expand Down Expand Up @@ -119,6 +120,7 @@ const systems: Array<StoredPVSystem> = [
gcr: 0.5,
backtracking: false,
},
apply_variability_multiplier: false,
},
},
];
Expand Down
1 change: 1 addition & 0 deletions dashboard/src/models.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ export interface PVSystem {
ac_capacity: number;
dc_ac_ratio: number;
albedo: number;
apply_variability_multiplier: boolean;
}

export interface StoredPVSystem {
Expand Down

0 comments on commit 56bc515

Please sign in to comment.