From 56bc515a007cab2e6c68c73c45ab94061f6f0767 Mon Sep 17 00:00:00 2001 From: Leland Boeman Date: Mon, 24 Jul 2023 15:02:34 -0700 Subject: [PATCH] update typescript models, system mocks with new parameters --- dashboard/src/api/__mocks__/systems.ts | 2 ++ dashboard/src/models.ts | 1 + 2 files changed, 3 insertions(+) diff --git a/dashboard/src/api/__mocks__/systems.ts b/dashboard/src/api/__mocks__/systems.ts index c2f38ef..b9f94b5 100644 --- a/dashboard/src/api/__mocks__/systems.ts +++ b/dashboard/src/api/__mocks__/systems.ts @@ -91,6 +91,7 @@ const systems: Array = [ tilt: 20, azimuth: 180, }, + apply_variability_multiplier: false, }, }, { @@ -119,6 +120,7 @@ const systems: Array = [ gcr: 0.5, backtracking: false, }, + apply_variability_multiplier: false, }, }, ]; diff --git a/dashboard/src/models.ts b/dashboard/src/models.ts index dd12577..6dd4f66 100644 --- a/dashboard/src/models.ts +++ b/dashboard/src/models.ts @@ -27,6 +27,7 @@ export interface PVSystem { ac_capacity: number; dc_ac_ratio: number; albedo: number; + apply_variability_multiplier: boolean; } export interface StoredPVSystem {