@likewatt/models-front 1.3.0 → 1.4.1
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.
- package/dist/core/CollectiveSite.types.d.ts +30 -0
- package/dist/core/CollectiveSite.types.js +2 -0
- package/dist/core/DefaultRate.types.d.ts +9 -0
- package/dist/core/DefaultRate.types.js +2 -0
- package/dist/core/Invitation.types.d.ts +6 -0
- package/dist/core/Invitation.types.js +2 -0
- package/dist/core/License.types.d.ts +12 -0
- package/dist/core/License.types.js +2 -0
- package/dist/core/Scenario.type.d.ts +84 -0
- package/dist/core/Scenario.type.js +33 -0
- package/dist/core/ScenarioDefaultValue.types.d.ts +51 -0
- package/dist/core/ScenarioDefaultValue.types.js +2 -0
- package/dist/core/Site.types.d.ts +12 -14
- package/dist/index.d.ts +45 -0
- package/dist/index.js +63 -0
- package/dist/scenario/BatteryParams.types.d.ts +14 -0
- package/dist/scenario/BatteryParams.types.js +2 -0
- package/dist/scenario/ConversionParams.types.d.ts +11 -0
- package/dist/scenario/ConversionParams.types.js +2 -0
- package/dist/scenario/DefaultPPATarif.types.d.ts +5 -0
- package/dist/scenario/DefaultPPATarif.types.js +2 -0
- package/dist/scenario/ECSParams.types.d.ts +12 -0
- package/dist/scenario/ECSParams.types.js +2 -0
- package/dist/scenario/ElectrolyseParams.types.d.ts +12 -0
- package/dist/scenario/ElectrolyseParams.types.js +2 -0
- package/dist/scenario/EnergyInflationRate.types.d.ts +5 -0
- package/dist/scenario/EnergyInflationRate.types.js +2 -0
- package/dist/scenario/FinancingType.types.d.ts +6 -0
- package/dist/scenario/FinancingType.types.js +2 -0
- package/dist/scenario/FuelCellParams.types.d.ts +14 -0
- package/dist/scenario/FuelCellParams.types.js +2 -0
- package/dist/scenario/GeneratorParams.types.d.ts +14 -0
- package/dist/scenario/GeneratorParams.types.js +2 -0
- package/dist/scenario/GridParams.types.d.ts +18 -0
- package/dist/scenario/GridParams.types.js +2 -0
- package/dist/scenario/H2StorageParams.types.d.ts +12 -0
- package/dist/scenario/H2StorageParams.types.js +2 -0
- package/dist/scenario/OptimizationParams.types.d.ts +8 -0
- package/dist/scenario/OptimizationParams.types.js +2 -0
- package/dist/scenario/PV2Params.types.d.ts +39 -0
- package/dist/scenario/PV2Params.types.js +2 -0
- package/dist/scenario/PVParams.types.d.ts +38 -0
- package/dist/scenario/PVParams.types.js +2 -0
- package/dist/scenario/PowerCostConfig.types copy.d.ts +7 -0
- package/dist/scenario/PowerCostConfig.types copy.js +2 -0
- package/dist/scenario/PowerCostConfig.types.d.ts +7 -0
- package/dist/scenario/PowerCostConfig.types.js +2 -0
- package/dist/scenario/ScenarioParams.types.d.ts +9 -0
- package/dist/scenario/ScenarioParams.types.js +2 -0
- package/dist/scenario/StationParams.types.d.ts +3 -0
- package/dist/scenario/StationParams.types.js +2 -0
- package/dist/scenario/ThermalStorageParams.types.d.ts +11 -0
- package/dist/scenario/ThermalStorageParams.types.js +2 -0
- package/dist/scenario/Tracker.types.d.ts +9 -0
- package/dist/scenario/Tracker.types.js +2 -0
- package/dist/scenario/VSParams.types.d.ts +10 -0
- package/dist/scenario/VSParams.types.js +2 -0
- package/dist/scenario/WindTurbineParams.types.d.ts +20 -0
- package/dist/scenario/WindTurbineParams.types.js +2 -0
- 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,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,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
|
+
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { BuildingData } from
|
|
2
|
-
import { ConsumptionIndexes } from
|
|
3
|
-
import { CustomerInfos } from
|
|
4
|
-
import { DataSourceHistory } from
|
|
5
|
-
import { EnergyPrice } from
|
|
6
|
-
import { EnergyPriceTempo } from
|
|
7
|
-
import { Profiles, SiteType } from
|
|
8
|
-
import { OffPeakHour } from
|
|
9
|
-
import { PeakHour } from
|
|
10
|
-
import { RestOfTheYearTarifs } from
|
|
11
|
-
import { Tarif } from
|
|
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
12
|
export interface Site {
|
|
13
13
|
_id?: string;
|
|
14
14
|
id?: string;
|
|
@@ -28,7 +28,6 @@ export interface Site {
|
|
|
28
28
|
owner: string;
|
|
29
29
|
name: string;
|
|
30
30
|
isC_AND_I: boolean;
|
|
31
|
-
appUrl: string;
|
|
32
31
|
addressDepartementNum: number;
|
|
33
32
|
addressZipCode: string;
|
|
34
33
|
subscribedPowers: EnergyPrice[];
|
|
@@ -54,9 +53,8 @@ export interface Site {
|
|
|
54
53
|
_lastUpdated: string;
|
|
55
54
|
_step3: boolean;
|
|
56
55
|
_step3At: Date | string;
|
|
57
|
-
analysisId: string;
|
|
58
56
|
analysisYear: number;
|
|
59
|
-
buildingData
|
|
57
|
+
buildingData?: BuildingData;
|
|
60
58
|
autoCO2?: boolean;
|
|
61
59
|
co2rate?: number;
|
|
62
60
|
connectingPower: number;
|
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,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,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,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,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,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,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,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,39 @@
|
|
|
1
|
+
import { UseCase } from "../site/enums.types";
|
|
2
|
+
import { Tracker } from "./Tracker.types";
|
|
3
|
+
export interface PV2Params {
|
|
4
|
+
tracker: Tracker;
|
|
5
|
+
pv2CapexTableA: number[];
|
|
6
|
+
pv2CapexTableV: number[];
|
|
7
|
+
pv2Opex: number[];
|
|
8
|
+
pv2CapexTot: number;
|
|
9
|
+
pv2OpexTot: number;
|
|
10
|
+
pv2SubTot: number;
|
|
11
|
+
useCase2: UseCase;
|
|
12
|
+
aoBonus2: number;
|
|
13
|
+
orientation2: number[];
|
|
14
|
+
panelYield2: number;
|
|
15
|
+
pv2Lifespan: number;
|
|
16
|
+
pv2SystemLoss: number;
|
|
17
|
+
pv2Surface: number;
|
|
18
|
+
tilt2: number[];
|
|
19
|
+
pv2DegradRate: number;
|
|
20
|
+
pv2PeakPower: number;
|
|
21
|
+
pv2MinAutoConsoRate: number;
|
|
22
|
+
pv2MaxAutoConsoRate: number;
|
|
23
|
+
pv2UsefulArea: number;
|
|
24
|
+
addTurpePV2: number;
|
|
25
|
+
pv2ExistingInstall: number;
|
|
26
|
+
roofTilt2: number;
|
|
27
|
+
pv2SellingPrice: number[];
|
|
28
|
+
pv2PpaBuilderSlots: string[];
|
|
29
|
+
pv2Productible: number;
|
|
30
|
+
pv2PanelPeakPower: number;
|
|
31
|
+
pv2Share: number[];
|
|
32
|
+
pv2Aobonus: number;
|
|
33
|
+
pv2InvertorPowerRate: number;
|
|
34
|
+
pv2Sub: number[];
|
|
35
|
+
pv2SubDuration: number;
|
|
36
|
+
pv2PurchasePrice: number[];
|
|
37
|
+
pv2LeasingLifespan: number;
|
|
38
|
+
pv2DepreciationDuration: number;
|
|
39
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { UseCase } from "../site/enums.types";
|
|
2
|
+
import { Tracker } from "./Tracker.types";
|
|
3
|
+
export interface PVParams {
|
|
4
|
+
tracker: Tracker;
|
|
5
|
+
pvCapexTableA: number[];
|
|
6
|
+
pvCapexTableV: number[];
|
|
7
|
+
pvOpex: number[];
|
|
8
|
+
pvSub: number[];
|
|
9
|
+
pvCapexTot: number;
|
|
10
|
+
pvOpexTot: number;
|
|
11
|
+
pvSubTot: number;
|
|
12
|
+
pvSubDuration: number;
|
|
13
|
+
pvPurchasePrice: number[];
|
|
14
|
+
useCase: UseCase;
|
|
15
|
+
orientation: number[];
|
|
16
|
+
panelYield: number;
|
|
17
|
+
pvLifespan: number;
|
|
18
|
+
pvSystemLoss: number;
|
|
19
|
+
pvSurface: number;
|
|
20
|
+
pvLeasingLifespan: number;
|
|
21
|
+
tilt: number[];
|
|
22
|
+
pvDegradRate: number;
|
|
23
|
+
pvPeakPower: number;
|
|
24
|
+
pvMinAutoConsoRate: number;
|
|
25
|
+
pvMaxAutoConsoRate: number;
|
|
26
|
+
pvUsefulArea: number;
|
|
27
|
+
addTurpePV: number;
|
|
28
|
+
pvExistingInstall: number;
|
|
29
|
+
roofTilt: number;
|
|
30
|
+
pvSellingPrice: number[];
|
|
31
|
+
pvPpaBuilderSlots: string[];
|
|
32
|
+
pvProductible: number;
|
|
33
|
+
pvPanelPeakPower: number;
|
|
34
|
+
pvShare: number[];
|
|
35
|
+
pvAoBonus: number;
|
|
36
|
+
pvInvertorPowerRate: number;
|
|
37
|
+
pvDepreciationDuration: number;
|
|
38
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export interface WindTurbineParams {
|
|
2
|
+
wtPower: number;
|
|
3
|
+
wtCapexTableA: number[];
|
|
4
|
+
wtCapexTableV: number[];
|
|
5
|
+
wtOpex: number[];
|
|
6
|
+
wtSellingPrice: number[];
|
|
7
|
+
wtSub: number[];
|
|
8
|
+
wtCapexTot: number;
|
|
9
|
+
wtOpexTot: number;
|
|
10
|
+
wtSubTot: number;
|
|
11
|
+
wtSubDuration: number;
|
|
12
|
+
wtLifespan: number;
|
|
13
|
+
wtYield: number;
|
|
14
|
+
wtHeight: number;
|
|
15
|
+
wtAutoconsoRate: number;
|
|
16
|
+
wtLeasingLifespan: number;
|
|
17
|
+
addTurpeWT: number;
|
|
18
|
+
wtPpaBuilderSlots: string[];
|
|
19
|
+
wtDepreciationDuration: number;
|
|
20
|
+
}
|