@likewatt/models-front 1.2.0 → 1.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (91) hide show
  1. package/dist/core/CollectiveSite.types.d.ts +30 -0
  2. package/dist/core/CollectiveSite.types.js +2 -0
  3. package/dist/core/DefaultRate.types.d.ts +9 -0
  4. package/dist/core/DefaultRate.types.js +2 -0
  5. package/dist/core/Invitation.types.d.ts +6 -0
  6. package/dist/core/Invitation.types.js +2 -0
  7. package/dist/core/License.types.d.ts +12 -0
  8. package/dist/core/License.types.js +2 -0
  9. package/dist/core/Scenario.type.d.ts +84 -0
  10. package/dist/core/Scenario.type.js +33 -0
  11. package/dist/core/ScenarioDefaultValue.types.d.ts +51 -0
  12. package/dist/core/ScenarioDefaultValue.types.js +2 -0
  13. package/dist/core/Site.types.d.ts +97 -0
  14. package/dist/core/Site.types.js +2 -0
  15. package/dist/index.d.ts +45 -0
  16. package/dist/index.js +63 -0
  17. package/dist/scenario/BatteryParams.types.d.ts +14 -0
  18. package/dist/scenario/BatteryParams.types.js +2 -0
  19. package/dist/scenario/ConversionParams.types.d.ts +11 -0
  20. package/dist/scenario/ConversionParams.types.js +2 -0
  21. package/dist/scenario/DefaultPPATarif.types.d.ts +5 -0
  22. package/dist/scenario/DefaultPPATarif.types.js +2 -0
  23. package/dist/scenario/ECSParams.types.d.ts +12 -0
  24. package/dist/scenario/ECSParams.types.js +2 -0
  25. package/dist/scenario/ElectrolyseParams.types.d.ts +12 -0
  26. package/dist/scenario/ElectrolyseParams.types.js +2 -0
  27. package/dist/scenario/EnergyInflationRate.types.d.ts +5 -0
  28. package/dist/scenario/EnergyInflationRate.types.js +2 -0
  29. package/dist/scenario/FinancingType.types.d.ts +6 -0
  30. package/dist/scenario/FinancingType.types.js +2 -0
  31. package/dist/scenario/FuelCellParams.types.d.ts +14 -0
  32. package/dist/scenario/FuelCellParams.types.js +2 -0
  33. package/dist/scenario/GeneratorParams.types.d.ts +14 -0
  34. package/dist/scenario/GeneratorParams.types.js +2 -0
  35. package/dist/scenario/GridParams.types.d.ts +18 -0
  36. package/dist/scenario/GridParams.types.js +2 -0
  37. package/dist/scenario/H2StorageParams.types.d.ts +12 -0
  38. package/dist/scenario/H2StorageParams.types.js +2 -0
  39. package/dist/scenario/OptimizationParams.types.d.ts +8 -0
  40. package/dist/scenario/OptimizationParams.types.js +2 -0
  41. package/dist/scenario/PV2Params.types.d.ts +39 -0
  42. package/dist/scenario/PV2Params.types.js +2 -0
  43. package/dist/scenario/PVParams.types.d.ts +38 -0
  44. package/dist/scenario/PVParams.types.js +2 -0
  45. package/dist/scenario/PowerCostConfig.types copy.d.ts +7 -0
  46. package/dist/scenario/PowerCostConfig.types copy.js +2 -0
  47. package/dist/scenario/PowerCostConfig.types.d.ts +7 -0
  48. package/dist/scenario/PowerCostConfig.types.js +2 -0
  49. package/dist/scenario/ScenarioParams.types.d.ts +9 -0
  50. package/dist/scenario/ScenarioParams.types.js +2 -0
  51. package/dist/scenario/StationParams.types.d.ts +3 -0
  52. package/dist/scenario/StationParams.types.js +2 -0
  53. package/dist/scenario/ThermalStorageParams.types.d.ts +11 -0
  54. package/dist/scenario/ThermalStorageParams.types.js +2 -0
  55. package/dist/scenario/Tracker.types.d.ts +9 -0
  56. package/dist/scenario/Tracker.types.js +2 -0
  57. package/dist/scenario/VSParams.types.d.ts +10 -0
  58. package/dist/scenario/VSParams.types.js +2 -0
  59. package/dist/scenario/WindTurbineParams.types.d.ts +20 -0
  60. package/dist/scenario/WindTurbineParams.types.js +2 -0
  61. package/dist/site/BoundingBox.types.d.ts +4 -0
  62. package/dist/site/BoundingBox.types.js +2 -0
  63. package/dist/site/BuildingData.types.d.ts +13 -0
  64. package/dist/site/BuildingData.types.js +2 -0
  65. package/dist/site/BuildingStats.types.d.ts +5 -0
  66. package/dist/site/BuildingStats.types.js +2 -0
  67. package/dist/site/ConsumptionIndexes.types.d.ts +14 -0
  68. package/dist/site/ConsumptionIndexes.types.js +2 -0
  69. package/dist/site/CustomerInfos.types.d.ts +8 -0
  70. package/dist/site/CustomerInfos.types.js +2 -0
  71. package/dist/site/DataSourceHistory.types.d.ts +4 -0
  72. package/dist/site/DataSourceHistory.types.js +2 -0
  73. package/dist/site/EnergyPrice.types.d.ts +8 -0
  74. package/dist/site/EnergyPrice.types.js +2 -0
  75. package/dist/site/EnergyPriceTempo.types.d.ts +9 -0
  76. package/dist/site/EnergyPriceTempo.types.js +2 -0
  77. package/dist/site/ImageryDate.types.d.ts +5 -0
  78. package/dist/site/ImageryDate.types.js +2 -0
  79. package/dist/site/OffPeakHour.types.d.ts +5 -0
  80. package/dist/site/OffPeakHour.types.js +2 -0
  81. package/dist/site/PeakHour.types.d.ts +4 -0
  82. package/dist/site/PeakHour.types.js +2 -0
  83. package/dist/site/RestOfTheYearTarifs.types.d.ts +5 -0
  84. package/dist/site/RestOfTheYearTarifs.types.js +2 -0
  85. package/dist/site/SolarPotential.types.d.ts +16 -0
  86. package/dist/site/SolarPotential.types.js +2 -0
  87. package/dist/site/Tarif.types.d.ts +11 -0
  88. package/dist/site/Tarif.types.js +2 -0
  89. package/dist/site/enums.types.d.ts +87 -0
  90. package/dist/site/enums.types.js +98 -0
  91. package/package.json +1 -1
@@ -0,0 +1,30 @@
1
+ import { SiteType } from "../site/enums.types";
2
+ export interface CollectiveSite {
3
+ _id?: string;
4
+ _createdAt: string;
5
+ _lastModified: string;
6
+ addressGeocode: number[];
7
+ type: SiteType;
8
+ description?: string;
9
+ address: string;
10
+ initialOwner: string;
11
+ name: string;
12
+ isC_AND_I: boolean;
13
+ currency: string;
14
+ autoCO2?: boolean;
15
+ co2rate?: number;
16
+ folder?: string;
17
+ TCSPE: number;
18
+ TURPE_VERSION: number;
19
+ appUrl: string;
20
+ TMYstatus: number;
21
+ addressDepartementNum: number;
22
+ addressZipCode: string;
23
+ addressCity: string;
24
+ addressDepartement: string;
25
+ user: string;
26
+ country: string;
27
+ isVisible: boolean;
28
+ timezone: number;
29
+ sites: string[];
30
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ import { RestOfTheYearTarifs } from "../site/RestOfTheYearTarifs.types";
2
+ import { Tarif } from "../site/Tarif.types";
3
+ export interface DefaultRate {
4
+ _id?: string;
5
+ name?: string;
6
+ userId?: string;
7
+ rates: Tarif[];
8
+ restOfTheYear: RestOfTheYearTarifs;
9
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,6 @@
1
+ export interface Invitation {
2
+ _id?: string;
3
+ email: string;
4
+ principal: string;
5
+ createdAt?: Date;
6
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,12 @@
1
+ export interface License {
2
+ _id?: string;
3
+ license?: string;
4
+ domain?: boolean;
5
+ startDate?: Date;
6
+ endDate?: Date;
7
+ maxUsers?: number;
8
+ maxSite?: number;
9
+ trackerOkd?: boolean;
10
+ acc?: boolean;
11
+ userId?: string;
12
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,84 @@
1
+ export declare class Objective {
2
+ id: number;
3
+ name: string;
4
+ unit: string;
5
+ value: number;
6
+ unit2?: string;
7
+ value2?: number;
8
+ }
9
+ export declare class Month {
10
+ month: number;
11
+ year?: number;
12
+ }
13
+ export declare class DemandMultiplierSlot {
14
+ days: number[];
15
+ demandMultiplier?: number;
16
+ endHour?: number;
17
+ id: string;
18
+ months?: Month[];
19
+ startHour?: number;
20
+ }
21
+ export declare class DistributionKey {
22
+ type: string;
23
+ values: (string | number)[];
24
+ }
25
+ export declare class RateOfGrowth {
26
+ id: string;
27
+ rate: number;
28
+ year?: number;
29
+ }
30
+ export declare class Technology {
31
+ id: string;
32
+ index: number;
33
+ type?: number;
34
+ settings: Record<string, unknown>;
35
+ }
36
+ export declare class ConfigScenario {
37
+ debtDuration?: number;
38
+ debtRatio?: number;
39
+ discountRate?: number;
40
+ interestRate?: number;
41
+ opexInflation?: number;
42
+ sellingPriceInflation?: number;
43
+ taxRate?: number;
44
+ }
45
+ export declare class ConfigSite {
46
+ ACI?: boolean;
47
+ consumptionReference?: string;
48
+ counterNumber?: number;
49
+ demandMultiplier?: number;
50
+ demandMultiplierSlots?: DemandMultiplierSlot[];
51
+ demandMultiplierUnit?: string;
52
+ distributionKey?: DistributionKey[];
53
+ priorityStage?: number;
54
+ rateOfGrowth?: RateOfGrowth[];
55
+ settings: Record<string, unknown>;
56
+ }
57
+ export declare class Scenario {
58
+ _id: string;
59
+ color?: string;
60
+ configScenario: ConfigScenario;
61
+ configSite?: Record<string, ConfigSite>;
62
+ error?: boolean;
63
+ isDefaultScenario?: boolean;
64
+ isOptimized?: boolean;
65
+ leasingLifespan?: number;
66
+ message?: string;
67
+ name?: string;
68
+ objectives?: Objective[];
69
+ optimizationYear?: number;
70
+ priorities?: number[];
71
+ progress?: number;
72
+ projectLifespan?: number;
73
+ sellingPriceInflation?: number;
74
+ siteId?: string;
75
+ technologies?: Technology[];
76
+ version?: number;
77
+ _createdAt: Date;
78
+ }
79
+ export declare class ScenarioType extends Scenario {
80
+ user: string;
81
+ principalUser?: string;
82
+ isACCScenario?: boolean;
83
+ siteId: string;
84
+ }
@@ -0,0 +1,33 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ScenarioType = exports.Scenario = exports.ConfigSite = exports.ConfigScenario = exports.Technology = exports.RateOfGrowth = exports.DistributionKey = exports.DemandMultiplierSlot = exports.Month = exports.Objective = void 0;
4
+ class Objective {
5
+ }
6
+ exports.Objective = Objective;
7
+ class Month {
8
+ }
9
+ exports.Month = Month;
10
+ class DemandMultiplierSlot {
11
+ }
12
+ exports.DemandMultiplierSlot = DemandMultiplierSlot;
13
+ class DistributionKey {
14
+ }
15
+ exports.DistributionKey = DistributionKey;
16
+ class RateOfGrowth {
17
+ }
18
+ exports.RateOfGrowth = RateOfGrowth;
19
+ class Technology {
20
+ }
21
+ exports.Technology = Technology;
22
+ class ConfigScenario {
23
+ }
24
+ exports.ConfigScenario = ConfigScenario;
25
+ class ConfigSite {
26
+ }
27
+ exports.ConfigSite = ConfigSite;
28
+ class Scenario {
29
+ }
30
+ exports.Scenario = Scenario;
31
+ class ScenarioType extends Scenario {
32
+ }
33
+ exports.ScenarioType = ScenarioType;
@@ -0,0 +1,51 @@
1
+ import { BatteryParams } from "../scenario/BatteryParams.types";
2
+ import { ConversionParams } from "../scenario/ConversionParams.types";
3
+ import { DefaultPPATarif } from "../scenario/DefaultPPATarif.types";
4
+ import { ECSParams } from "../scenario/ECSParams.types";
5
+ import { ElectrolyseParams } from "../scenario/ElectrolyseParams.types";
6
+ import { FinancingType } from "../scenario/FinancingType.types";
7
+ import { FuelCellParams } from "../scenario/FuelCellParams.types";
8
+ import { GeneratorParams } from "../scenario/GeneratorParams.types";
9
+ import { GridParams } from "../scenario/GridParams.types";
10
+ import { H2StorageParams } from "../scenario/H2StorageParams.types";
11
+ import { OptimizationParams } from "../scenario/OptimizationParams.types";
12
+ import { PowerCostConfig } from "../scenario/PowerCostConfig.types";
13
+ import { PV2Params } from "../scenario/PV2Params.types";
14
+ import { PVParams } from "../scenario/PVParams.types";
15
+ import { ScenarioParams } from "../scenario/ScenarioParams.types";
16
+ import { StationParams } from "../scenario/StationParams.types";
17
+ import { ThermalStorageParams } from "../scenario/ThermalStorageParams.types";
18
+ import { VSParams } from "../scenario/VSParams.types";
19
+ import { WindTurbineParams } from "../scenario/WindTurbineParams.types";
20
+ import { ConfigSite } from "./Scenario.type";
21
+ export interface ScenarioDefaultValue {
22
+ defaultPPATarif: DefaultPPATarif;
23
+ VERSION: number;
24
+ version: number;
25
+ SURPLUS_COSTS: PowerCostConfig[];
26
+ FULL_PRODUCTION_COSTS: PowerCostConfig[];
27
+ paramsBattery: BatteryParams;
28
+ paramsConversion: ConversionParams;
29
+ paramsFuelCell: FuelCellParams;
30
+ paramsGen: GeneratorParams;
31
+ paramsGrid: GridParams;
32
+ paramsOptimization: OptimizationParams;
33
+ paramsPV: PVParams;
34
+ paramsPV2: PV2Params;
35
+ paramsVS: VSParams;
36
+ paramsWindTurbine: WindTurbineParams;
37
+ paramsElectrolyse: ElectrolyseParams;
38
+ paramsStockageH2: H2StorageParams;
39
+ paramsECS: ECSParams;
40
+ paramsStockageThermal: ThermalStorageParams;
41
+ paramsStation: StationParams;
42
+ paramsScenario: ScenarioParams;
43
+ financingType: FinancingType;
44
+ configSite?: ConfigSite;
45
+ name?: string;
46
+ description?: string;
47
+ isActive?: boolean;
48
+ isOptimized?: boolean;
49
+ createdBy?: Date | string;
50
+ updatedAt?: Date | string;
51
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,97 @@
1
+ import { BuildingData } from "../site/BuildingData.types";
2
+ import { ConsumptionIndexes } from "../site/ConsumptionIndexes.types";
3
+ import { CustomerInfos } from "../site/CustomerInfos.types";
4
+ import { DataSourceHistory } from "../site/DataSourceHistory.types";
5
+ import { EnergyPrice } from "../site/EnergyPrice.types";
6
+ import { EnergyPriceTempo } from "../site/EnergyPriceTempo.types";
7
+ import { Profiles, SiteType } from "../site/enums.types";
8
+ import { OffPeakHour } from "../site/OffPeakHour.types";
9
+ import { PeakHour } from "../site/PeakHour.types";
10
+ import { RestOfTheYearTarifs } from "../site/RestOfTheYearTarifs.types";
11
+ import { Tarif } from "../site/Tarif.types";
12
+ export interface Site {
13
+ _id?: string;
14
+ id?: string;
15
+ country: string;
16
+ energyPrices: EnergyPrice[];
17
+ purchaseAreaOfTension: string;
18
+ addressGeocode: number[];
19
+ peakHours: PeakHour[];
20
+ offPeakHours: OffPeakHour[];
21
+ type: SiteType;
22
+ purchaseMeterOwner: string;
23
+ purchaseContractType: string;
24
+ description?: string;
25
+ subscriptionRates: number;
26
+ address: string;
27
+ ratesOption: string;
28
+ owner: string;
29
+ name: string;
30
+ isC_AND_I: boolean;
31
+ appUrl: string;
32
+ addressDepartementNum: number;
33
+ addressZipCode: string;
34
+ subscribedPowers: EnergyPrice[];
35
+ addressCity: string;
36
+ addressDepartement: string;
37
+ reportURL: string;
38
+ enedisNumber: string;
39
+ startDate: Date | string;
40
+ endDate: Date | string;
41
+ automaticUpdateError?: string;
42
+ scenario?: string;
43
+ user: string;
44
+ profile: Profiles;
45
+ collectiveSiteId?: string;
46
+ folder?: string;
47
+ initialOwner: string;
48
+ isExtractingData?: boolean;
49
+ customerInfos?: CustomerInfos;
50
+ TCSPE: number;
51
+ TURPE_VERSION: number;
52
+ _createdAt: Date | string;
53
+ _lastModified: Date | string;
54
+ _lastUpdated: string;
55
+ _step3: boolean;
56
+ _step3At: Date | string;
57
+ analysisId: string;
58
+ analysisYear: number;
59
+ buildingData: BuildingData;
60
+ autoCO2?: boolean;
61
+ co2rate?: number;
62
+ connectingPower: number;
63
+ consentFileUrl: string;
64
+ consumptionIndexes: ConsumptionIndexes;
65
+ creator: string;
66
+ currency: string;
67
+ customerConsentEmail: string;
68
+ customerConsentFirstName: string;
69
+ customerConsentLastName: string;
70
+ dataIsHybridFrom: string;
71
+ dataSourceHistory: DataSourceHistory[];
72
+ disabled: boolean;
73
+ enedisBuffer: string;
74
+ enedisData: boolean;
75
+ energyPricesTempo: EnergyPriceTempo[];
76
+ energyPricesWe: EnergyPrice[];
77
+ error: string;
78
+ faltyPrm?: string;
79
+ hasConsentData: boolean;
80
+ hasPeakHours: boolean;
81
+ hasWeekendPricing: boolean;
82
+ includeTURPE: boolean;
83
+ includeTVA: boolean;
84
+ isConsentMailSent: boolean;
85
+ isFullSellOut: boolean;
86
+ maxEndDate: Date | string;
87
+ maxStartDate: Date | string;
88
+ meterOwner: string;
89
+ monthlyConsumptionIndex: boolean;
90
+ restOfTheYearTarifs: RestOfTheYearTarifs;
91
+ siteHasData: boolean;
92
+ tarifBuilder: boolean;
93
+ tarifs: Tarif[];
94
+ tempoPricing: boolean;
95
+ timezone: number;
96
+ TMYstatus: number;
97
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/dist/index.d.ts CHANGED
@@ -0,0 +1,45 @@
1
+ export * from './core/CollectiveSite.types';
2
+ export * from './core/DefaultRate.types';
3
+ export * from './core/Folder.type';
4
+ export * from './core/Invitation.types';
5
+ export * from './core/License.types';
6
+ export * from './core/Scenario.type';
7
+ export * from './core/ScenarioDefaultValue.types';
8
+ export * from './core/Site.types';
9
+ export * from './core/User.type';
10
+ export * from './scenario/BatteryParams.types';
11
+ export * from './scenario/ConversionParams.types';
12
+ export * from './scenario/DefaultPPATarif.types';
13
+ export * from './scenario/ECSParams.types';
14
+ export * from './scenario/ElectrolyseParams.types';
15
+ export * from './scenario/EnergyInflationRate.types';
16
+ export * from './scenario/FinancingType.types';
17
+ export * from './scenario/FuelCellParams.types';
18
+ export * from './scenario/GeneratorParams.types';
19
+ export * from './scenario/GridParams.types';
20
+ export * from './scenario/H2StorageParams.types';
21
+ export * from './scenario/OptimizationParams.types';
22
+ export * from './scenario/PowerCostConfig.types';
23
+ export * from './scenario/PV2Params.types';
24
+ export * from './scenario/PVParams.types';
25
+ export * from './scenario/ScenarioParams.types';
26
+ export * from './scenario/StationParams.types';
27
+ export * from './scenario/ThermalStorageParams.types';
28
+ export * from './scenario/Tracker.types';
29
+ export * from './scenario/VSParams.types';
30
+ export * from './scenario/WindTurbineParams.types';
31
+ export * from './site/BoundingBox.types';
32
+ export * from './site/BuildingData.types';
33
+ export * from './site/BuildingStats.types';
34
+ export * from './site/ConsumptionIndexes.types';
35
+ export * from './site/CustomerInfos.types';
36
+ export * from './site/DataSourceHistory.types';
37
+ export * from './site/EnergyPrice.types';
38
+ export * from './site/EnergyPriceTempo.types';
39
+ export * from './site/enums.types';
40
+ export * from './site/ImageryDate.types';
41
+ export * from './site/OffPeakHour.types';
42
+ export * from './site/PeakHour.types';
43
+ export * from './site/RestOfTheYearTarifs.types';
44
+ export * from './site/SolarPotential.types';
45
+ export * from './site/Tarif.types';
package/dist/index.js CHANGED
@@ -1 +1,64 @@
1
1
  "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ // Core exports
18
+ __exportStar(require("./core/CollectiveSite.types"), exports);
19
+ __exportStar(require("./core/DefaultRate.types"), exports);
20
+ __exportStar(require("./core/Folder.type"), exports);
21
+ __exportStar(require("./core/Invitation.types"), exports);
22
+ __exportStar(require("./core/License.types"), exports);
23
+ __exportStar(require("./core/Scenario.type"), exports);
24
+ __exportStar(require("./core/ScenarioDefaultValue.types"), exports);
25
+ __exportStar(require("./core/Site.types"), exports);
26
+ __exportStar(require("./core/User.type"), exports);
27
+ // Scenario exports
28
+ __exportStar(require("./scenario/BatteryParams.types"), exports);
29
+ __exportStar(require("./scenario/ConversionParams.types"), exports);
30
+ __exportStar(require("./scenario/DefaultPPATarif.types"), exports);
31
+ __exportStar(require("./scenario/ECSParams.types"), exports);
32
+ __exportStar(require("./scenario/ElectrolyseParams.types"), exports);
33
+ __exportStar(require("./scenario/EnergyInflationRate.types"), exports);
34
+ __exportStar(require("./scenario/FinancingType.types"), exports);
35
+ __exportStar(require("./scenario/FuelCellParams.types"), exports);
36
+ __exportStar(require("./scenario/GeneratorParams.types"), exports);
37
+ __exportStar(require("./scenario/GridParams.types"), exports);
38
+ __exportStar(require("./scenario/H2StorageParams.types"), exports);
39
+ __exportStar(require("./scenario/OptimizationParams.types"), exports);
40
+ __exportStar(require("./scenario/PowerCostConfig.types"), exports);
41
+ __exportStar(require("./scenario/PV2Params.types"), exports);
42
+ __exportStar(require("./scenario/PVParams.types"), exports);
43
+ __exportStar(require("./scenario/ScenarioParams.types"), exports);
44
+ __exportStar(require("./scenario/StationParams.types"), exports);
45
+ __exportStar(require("./scenario/ThermalStorageParams.types"), exports);
46
+ __exportStar(require("./scenario/Tracker.types"), exports);
47
+ __exportStar(require("./scenario/VSParams.types"), exports);
48
+ __exportStar(require("./scenario/WindTurbineParams.types"), exports);
49
+ // Site exports
50
+ __exportStar(require("./site/BoundingBox.types"), exports);
51
+ __exportStar(require("./site/BuildingData.types"), exports);
52
+ __exportStar(require("./site/BuildingStats.types"), exports);
53
+ __exportStar(require("./site/ConsumptionIndexes.types"), exports);
54
+ __exportStar(require("./site/CustomerInfos.types"), exports);
55
+ __exportStar(require("./site/DataSourceHistory.types"), exports);
56
+ __exportStar(require("./site/EnergyPrice.types"), exports);
57
+ __exportStar(require("./site/EnergyPriceTempo.types"), exports);
58
+ __exportStar(require("./site/enums.types"), exports);
59
+ __exportStar(require("./site/ImageryDate.types"), exports);
60
+ __exportStar(require("./site/OffPeakHour.types"), exports);
61
+ __exportStar(require("./site/PeakHour.types"), exports);
62
+ __exportStar(require("./site/RestOfTheYearTarifs.types"), exports);
63
+ __exportStar(require("./site/SolarPotential.types"), exports);
64
+ __exportStar(require("./site/Tarif.types"), exports);
@@ -0,0 +1,14 @@
1
+ export interface BatteryParams {
2
+ batteryLifespan: number;
3
+ batteryMaxSoc: number;
4
+ batteryMinSoc: number;
5
+ batteryYield: number;
6
+ batteryCapexTot: number;
7
+ batteryOpexTot: number;
8
+ batteryCapexTableA: number[];
9
+ batteryCapexTableV: number[];
10
+ batteryOpex: number[];
11
+ batteryDegradRate: number;
12
+ batteryLeasingLifespan: number;
13
+ batteryDepreciationDuration: number;
14
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,11 @@
1
+ export interface ConversionParams {
2
+ conversionCapexTot: number;
3
+ conversionOpexTot: number;
4
+ conversionCapexTableA: number[];
5
+ conversionCapexTableV: number[];
6
+ conversionLifespan: number;
7
+ conversionYield: number;
8
+ conversionOpex: number[];
9
+ conversionLeasingLifespan: number;
10
+ conversionDepreciationDuration: number;
11
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,5 @@
1
+ export interface DefaultPPATarif {
2
+ siteId: string;
3
+ ppaPrice: number;
4
+ name: string;
5
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,12 @@
1
+ export interface ECSParams {
2
+ power: number;
3
+ lifespan: number;
4
+ capexTot: number;
5
+ averageConso: number;
6
+ opexTot: number;
7
+ capexTableA: number[];
8
+ capexTableV: number[];
9
+ opex: number[];
10
+ leasingLifespan: number;
11
+ depreciationDuration: number;
12
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,12 @@
1
+ export interface ElectrolyseParams {
2
+ electrolysePower: number;
3
+ electrolyseLifespan: number;
4
+ electrolyseAverageConso: number;
5
+ electrolyseCapexTot: number;
6
+ electrolyseOpexTot: number;
7
+ electrolyseCapexTableA: number[];
8
+ electrolyseCapexTableV: number[];
9
+ electrolyseOpex: number[];
10
+ electrolyseLeasingLifespan: number;
11
+ electrolyseDepreciationDuration: number;
12
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,5 @@
1
+ export interface EnergyInflationRate {
2
+ id: string;
3
+ period: number;
4
+ energyInflationRate: number;
5
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,6 @@
1
+ import { FinancingTypeEnum } from "../site/enums.types";
2
+ export interface FinancingType {
3
+ INVESTMENT: FinancingTypeEnum.INVESTMENT;
4
+ LEASING: FinancingTypeEnum.LEASING;
5
+ PPA: FinancingTypeEnum.PPA;
6
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,14 @@
1
+ export interface FuelCellParams {
2
+ fuelCellPower: number;
3
+ fuelCellCapexTot: number;
4
+ fuelCellOpexTot: number;
5
+ fuelCellCapexTableA: number[];
6
+ fuelCellCapexTableV: number[];
7
+ fuelCellAverageH2Consumption: number;
8
+ fuelCellLifespan: number;
9
+ h2Cost: number;
10
+ fuelCellOpex: number[];
11
+ h2PurchaseInflation: number;
12
+ fuelCellLeasingLifespan: number;
13
+ fuelCellDepreciationDuration: number;
14
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,14 @@
1
+ export interface GeneratorParams {
2
+ genPower: number;
3
+ genCapexTableA: number[];
4
+ genCapexTableV: number[];
5
+ genCapexTot: number;
6
+ genOpexTot: number;
7
+ fuelCost: number;
8
+ genAverageFuelConsumption: number;
9
+ genLifespan: number;
10
+ genOpex: number[];
11
+ fuelPurchaseInflation: number;
12
+ genLeasingLifespan: number;
13
+ genDepreciationDuration: number;
14
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,18 @@
1
+ import { EnergyInflationRate } from './EnergyInflationRate.types';
2
+ export interface GridParams {
3
+ ACI: number;
4
+ energyInflation: number;
5
+ subscriptionRate: number;
6
+ capex: number;
7
+ energyPrices: number[];
8
+ energyPriceTempo: number[];
9
+ subscribedPowers: (number | null)[];
10
+ priceBuilder: number;
11
+ offgrid: number;
12
+ isOffgrid: boolean;
13
+ priceBuilderSlots: string[];
14
+ demandMultiplier: number;
15
+ includeTVA: number;
16
+ includeTURPE: number;
17
+ energyInflationRates: EnergyInflationRate[];
18
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,12 @@
1
+ export interface H2StorageParams {
2
+ h2StorageCapacity: number;
3
+ h2StorageLifespan: number;
4
+ h2SellingPrice: number;
5
+ h2StorageCapexTot: number;
6
+ h2StorageOpexTot: number;
7
+ h2StorageCapexTableA: number[];
8
+ h2StorageCapexTableV: number[];
9
+ h2StorageOpex: number[];
10
+ h2StorageLeasingLifespan: number;
11
+ h2StorageDepreciationDuration: number;
12
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });