@likewatt/models 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/enums/ImageryQuality.d.ts +6 -0
- package/dist/core/enums/ImageryQuality.js +10 -0
- package/dist/core/internal/bounding-box.d.ts +6 -5
- package/dist/core/internal/bounding-box.js +13 -12
- package/dist/core/internal/building-data.d.ts +4 -3
- package/dist/core/internal/building-data.js +4 -3
- package/dist/core/internal/energy-inflation-rates.d.ts +14 -0
- package/dist/core/internal/{energy-inflation-rate.js → energy-inflation-rates.js} +9 -9
- package/dist/core/internal/grid-params.d.ts +2 -2
- package/dist/core/internal/grid-params.js +2 -2
- package/dist/core/internal/lat-lng.d.ts +13 -0
- package/dist/core/internal/lat-lng.js +28 -0
- package/dist/index.d.ts +3 -2
- package/dist/index.js +4 -26
- package/package.json +1 -1
- package/dist/core/internal/energy-inflation-rate.d.ts +0 -14
- package/dist/frontend/BatteryParams.types.d.ts +0 -14
- package/dist/frontend/BatteryParams.types.js +0 -2
- package/dist/frontend/BoundingBox.types.d.ts +0 -4
- package/dist/frontend/BoundingBox.types.js +0 -2
- package/dist/frontend/BuildingData.types.d.ts +0 -13
- package/dist/frontend/BuildingData.types.js +0 -2
- package/dist/frontend/BuildingStats.types.d.ts +0 -5
- package/dist/frontend/BuildingStats.types.js +0 -2
- package/dist/frontend/CollectiveSite.types.d.ts +0 -29
- package/dist/frontend/CollectiveSite.types.js +0 -2
- package/dist/frontend/ConsumptionIndexes.types.d.ts +0 -14
- package/dist/frontend/ConsumptionIndexes.types.js +0 -2
- package/dist/frontend/ConversionParams.types.d.ts +0 -11
- package/dist/frontend/ConversionParams.types.js +0 -2
- package/dist/frontend/CustomerInfos.types.d.ts +0 -8
- package/dist/frontend/CustomerInfos.types.js +0 -2
- package/dist/frontend/DataSourceHistory.types.d.ts +0 -4
- package/dist/frontend/DataSourceHistory.types.js +0 -2
- package/dist/frontend/DefaultPPATarif.types.d.ts +0 -5
- package/dist/frontend/DefaultPPATarif.types.js +0 -2
- package/dist/frontend/DefaultRate.types.d.ts +0 -9
- package/dist/frontend/DefaultRate.types.js +0 -2
- package/dist/frontend/ECSParams.types.d.ts +0 -12
- package/dist/frontend/ECSParams.types.js +0 -2
- package/dist/frontend/ElectrolyseParams.types.d.ts +0 -12
- package/dist/frontend/ElectrolyseParams.types.js +0 -2
- package/dist/frontend/EnergyInflationRate.types.d.ts +0 -5
- package/dist/frontend/EnergyInflationRate.types.js +0 -2
- package/dist/frontend/EnergyPrice.types.d.ts +0 -8
- package/dist/frontend/EnergyPrice.types.js +0 -2
- package/dist/frontend/EnergyPriceTempo.types.d.ts +0 -9
- package/dist/frontend/EnergyPriceTempo.types.js +0 -2
- package/dist/frontend/FinancingType.types.d.ts +0 -6
- package/dist/frontend/FinancingType.types.js +0 -2
- package/dist/frontend/Folder.types.d.ts +0 -4
- package/dist/frontend/Folder.types.js +0 -2
- package/dist/frontend/FuelCellParams.types.d.ts +0 -14
- package/dist/frontend/FuelCellParams.types.js +0 -2
- package/dist/frontend/GeneratorParams.types.d.ts +0 -14
- package/dist/frontend/GeneratorParams.types.js +0 -2
- package/dist/frontend/GridParams.types.d.ts +0 -18
- package/dist/frontend/GridParams.types.js +0 -2
- package/dist/frontend/H2StorageParams.types.d.ts +0 -12
- package/dist/frontend/H2StorageParams.types.js +0 -2
- package/dist/frontend/ImageryDate.types.d.ts +0 -5
- package/dist/frontend/ImageryDate.types.js +0 -2
- package/dist/frontend/Invitation.types.d.ts +0 -6
- package/dist/frontend/Invitation.types.js +0 -2
- package/dist/frontend/License.types.d.ts +0 -12
- package/dist/frontend/License.types.js +0 -2
- package/dist/frontend/OffPeakHour.types.d.ts +0 -5
- package/dist/frontend/OffPeakHour.types.js +0 -2
- package/dist/frontend/OptimizationParams.types.d.ts +0 -8
- package/dist/frontend/OptimizationParams.types.js +0 -2
- package/dist/frontend/OptimizationResult.types.d.ts +0 -216
- package/dist/frontend/OptimizationResult.types.js +0 -5
- package/dist/frontend/PV2Params.types.d.ts +0 -39
- package/dist/frontend/PV2Params.types.js +0 -2
- package/dist/frontend/PVParams.types.d.ts +0 -38
- package/dist/frontend/PVParams.types.js +0 -2
- package/dist/frontend/PeakHour.types.d.ts +0 -4
- package/dist/frontend/PeakHour.types.js +0 -2
- package/dist/frontend/PowerCostConfig.types.d.ts +0 -7
- package/dist/frontend/PowerCostConfig.types.js +0 -2
- package/dist/frontend/RestOfTheYearTarifs.types.d.ts +0 -5
- package/dist/frontend/RestOfTheYearTarifs.types.js +0 -2
- package/dist/frontend/Scenario.types.d.ts +0 -82
- package/dist/frontend/Scenario.types.js +0 -2
- package/dist/frontend/ScenarioDefaultValue.types.d.ts +0 -51
- package/dist/frontend/ScenarioDefaultValue.types.js +0 -2
- package/dist/frontend/ScenarioParams.types.d.ts +0 -9
- package/dist/frontend/ScenarioParams.types.js +0 -2
- package/dist/frontend/Site.types.d.ts +0 -98
- package/dist/frontend/Site.types.js +0 -2
- package/dist/frontend/SolarPotential.types.d.ts +0 -16
- package/dist/frontend/SolarPotential.types.js +0 -2
- package/dist/frontend/StationParams.types.d.ts +0 -3
- package/dist/frontend/StationParams.types.js +0 -2
- package/dist/frontend/Tarif.types.d.ts +0 -11
- package/dist/frontend/Tarif.types.js +0 -2
- package/dist/frontend/ThermalStorageParams.types.d.ts +0 -11
- package/dist/frontend/ThermalStorageParams.types.js +0 -2
- package/dist/frontend/Tracker.types.d.ts +0 -9
- package/dist/frontend/Tracker.types.js +0 -2
- package/dist/frontend/TypeORM.types.d.ts +0 -64
- package/dist/frontend/TypeORM.types.js +0 -2
- package/dist/frontend/User.types.d.ts +0 -47
- package/dist/frontend/User.types.js +0 -2
- package/dist/frontend/VSParams.types.d.ts +0 -10
- package/dist/frontend/VSParams.types.js +0 -2
- package/dist/frontend/WindTurbineParams.types.d.ts +0 -20
- package/dist/frontend/WindTurbineParams.types.js +0 -2
- package/dist/frontend/enums.types.d.ts +0 -87
- package/dist/frontend/enums.types.js +0 -98
- package/dist/frontend/index.d.ts +0 -46
- package/dist/frontend/index.js +0 -66
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
import { SiteType, Profiles } from './enums.types';
|
|
2
|
-
import { EnergyPrice } from './EnergyPrice.types';
|
|
3
|
-
import { PeakHour } from './PeakHour.types';
|
|
4
|
-
import { OffPeakHour } from './OffPeakHour.types';
|
|
5
|
-
import { CustomerInfos } from './CustomerInfos.types';
|
|
6
|
-
import { BuildingData } from './BuildingData.types';
|
|
7
|
-
import { RestOfTheYearTarifs } from './RestOfTheYearTarifs.types';
|
|
8
|
-
import { DataSourceHistory } from './DataSourceHistory.types';
|
|
9
|
-
import { ConsumptionIndexes } from './ConsumptionIndexes.types';
|
|
10
|
-
import { EnergyPriceTempo } from './EnergyPriceTempo.types';
|
|
11
|
-
import { Tarif } from './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
|
-
addressDepartementNum: number;
|
|
32
|
-
addressZipCode: string;
|
|
33
|
-
subscribedPowers: EnergyPrice[];
|
|
34
|
-
addressCity: string;
|
|
35
|
-
addressDepartement: string;
|
|
36
|
-
reportURL?: string;
|
|
37
|
-
enedisNumber?: string;
|
|
38
|
-
strasbourgNumber?: string;
|
|
39
|
-
startDate?: Date | string;
|
|
40
|
-
endDate?: Date | string;
|
|
41
|
-
automaticUpdateError?: string | null;
|
|
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
|
-
analysisYear?: number;
|
|
58
|
-
buildingData?: BuildingData | null;
|
|
59
|
-
autoCO2?: boolean | null;
|
|
60
|
-
co2rate?: number | null;
|
|
61
|
-
connectingPower: number;
|
|
62
|
-
consentFileUrl?: string;
|
|
63
|
-
consumptionIndexes?: ConsumptionIndexes;
|
|
64
|
-
creator?: string;
|
|
65
|
-
currency: string;
|
|
66
|
-
customerConsentEmail?: string;
|
|
67
|
-
customerConsentFirstName?: string;
|
|
68
|
-
customerConsentLastName?: string;
|
|
69
|
-
dataIsHybridFrom?: string;
|
|
70
|
-
dataSourceHistory: DataSourceHistory[];
|
|
71
|
-
dataSource: string;
|
|
72
|
-
selectedDataSource?: string;
|
|
73
|
-
disabled?: boolean;
|
|
74
|
-
enedisBuffer?: string;
|
|
75
|
-
enedisData?: boolean;
|
|
76
|
-
energyPricesTempo: EnergyPriceTempo[];
|
|
77
|
-
energyPricesWe: EnergyPrice[];
|
|
78
|
-
error?: string;
|
|
79
|
-
faltyPrm?: string | null | boolean;
|
|
80
|
-
hasConsentData?: boolean;
|
|
81
|
-
hasPeakHours?: boolean;
|
|
82
|
-
hasWeekendPricing?: boolean;
|
|
83
|
-
includeTURPE?: boolean;
|
|
84
|
-
includeTVA?: boolean;
|
|
85
|
-
isConsentMailSent?: boolean;
|
|
86
|
-
isFullSellOut?: boolean;
|
|
87
|
-
maxEndDate?: Date | string;
|
|
88
|
-
maxStartDate?: Date | string;
|
|
89
|
-
meterOwner?: string;
|
|
90
|
-
monthlyConsumptionIndex?: boolean;
|
|
91
|
-
restOfTheYearTarifs?: RestOfTheYearTarifs;
|
|
92
|
-
siteHasData?: boolean;
|
|
93
|
-
tarifBuilder?: boolean;
|
|
94
|
-
tarifs: Tarif[];
|
|
95
|
-
tempoPricing?: boolean;
|
|
96
|
-
timezone: number;
|
|
97
|
-
TMYstatus?: number;
|
|
98
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { BuildingStats } from './BuildingStats.types';
|
|
2
|
-
export interface SolarPotential {
|
|
3
|
-
buildingStats: BuildingStats;
|
|
4
|
-
carbonOffsetFactorKgPerMwh: number;
|
|
5
|
-
maxArrayAreaMeters2: number;
|
|
6
|
-
maxArrayPanelsCount: number;
|
|
7
|
-
maxSunshineHoursPerYear: number;
|
|
8
|
-
panelCapacityWatts: number;
|
|
9
|
-
panelHeightMeters: number;
|
|
10
|
-
panelLifetimeYears: number;
|
|
11
|
-
panelWidthMeters: number;
|
|
12
|
-
roofSegmentStats: number | null;
|
|
13
|
-
solarPanelConfigs: number | null;
|
|
14
|
-
solarPanels: number | null;
|
|
15
|
-
wholeRoofStats: BuildingStats;
|
|
16
|
-
}
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
export interface Analysis {
|
|
2
|
-
uid: string;
|
|
3
|
-
idUser: string;
|
|
4
|
-
idSite: string;
|
|
5
|
-
idCollectiveSite: string;
|
|
6
|
-
status: string;
|
|
7
|
-
step: number;
|
|
8
|
-
error: boolean;
|
|
9
|
-
finishedOn: Date | string;
|
|
10
|
-
createdOn?: Date | string;
|
|
11
|
-
updatedOn?: Date | string;
|
|
12
|
-
}
|
|
13
|
-
export interface Optimization {
|
|
14
|
-
id: string;
|
|
15
|
-
idUser: string;
|
|
16
|
-
type: string;
|
|
17
|
-
idSite: string;
|
|
18
|
-
idScenario: string;
|
|
19
|
-
status: string;
|
|
20
|
-
step: number;
|
|
21
|
-
error: boolean;
|
|
22
|
-
finishedOn: Date | string;
|
|
23
|
-
createdOn?: Date | string;
|
|
24
|
-
updatedOn?: Date | string;
|
|
25
|
-
}
|
|
26
|
-
export interface PvgisHistory {
|
|
27
|
-
id: string;
|
|
28
|
-
result: string;
|
|
29
|
-
error: boolean;
|
|
30
|
-
extraInfos: string;
|
|
31
|
-
createdOn?: Date | string;
|
|
32
|
-
updatedOn?: Date | string;
|
|
33
|
-
}
|
|
34
|
-
export interface OkwindHistory {
|
|
35
|
-
id: string;
|
|
36
|
-
result: string;
|
|
37
|
-
error: boolean;
|
|
38
|
-
extraInfos: string;
|
|
39
|
-
createdOn?: Date | string;
|
|
40
|
-
updatedOn?: Date | string;
|
|
41
|
-
}
|
|
42
|
-
export interface TempoHistory {
|
|
43
|
-
id: string;
|
|
44
|
-
error: boolean;
|
|
45
|
-
extraInfos: string;
|
|
46
|
-
createdOn?: Date | string;
|
|
47
|
-
updatedOn?: Date | string;
|
|
48
|
-
}
|
|
49
|
-
export interface UserFilters {
|
|
50
|
-
id: string;
|
|
51
|
-
fullName: string;
|
|
52
|
-
email: string;
|
|
53
|
-
createdOn?: Date | string;
|
|
54
|
-
updatedOn?: Date | string;
|
|
55
|
-
}
|
|
56
|
-
export interface WebhookOutput {
|
|
57
|
-
firstname?: string;
|
|
58
|
-
lastname?: string;
|
|
59
|
-
zip?: string;
|
|
60
|
-
address?: string;
|
|
61
|
-
city?: string;
|
|
62
|
-
email?: string;
|
|
63
|
-
phone?: string;
|
|
64
|
-
}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { Rights } from '../core/User';
|
|
2
|
-
import { Folder } from './Folder.types';
|
|
3
|
-
export interface SiteTag {
|
|
4
|
-
hasConsumerTag: boolean;
|
|
5
|
-
}
|
|
6
|
-
export interface User {
|
|
7
|
-
_id?: string;
|
|
8
|
-
email: string;
|
|
9
|
-
password: string;
|
|
10
|
-
firstname: string;
|
|
11
|
-
folders: Folder[];
|
|
12
|
-
lastname: string;
|
|
13
|
-
phone?: string;
|
|
14
|
-
company?: string;
|
|
15
|
-
address?: string;
|
|
16
|
-
addressCity?: string;
|
|
17
|
-
addressZipCode?: string;
|
|
18
|
-
isAdmin: boolean;
|
|
19
|
-
isManager: boolean;
|
|
20
|
-
active: boolean;
|
|
21
|
-
demo: boolean;
|
|
22
|
-
emailVerified: boolean;
|
|
23
|
-
principal: boolean;
|
|
24
|
-
principalUser?: string;
|
|
25
|
-
type?: string;
|
|
26
|
-
domain?: string;
|
|
27
|
-
license?: string;
|
|
28
|
-
licenseId?: string;
|
|
29
|
-
allowedNumberOfSites?: number;
|
|
30
|
-
maxUsers?: number;
|
|
31
|
-
trackerOkd: boolean;
|
|
32
|
-
isSignUpEmailSent: boolean;
|
|
33
|
-
isAdminEmailSent: boolean;
|
|
34
|
-
optimNumber?: number;
|
|
35
|
-
nbSitesActive?: number;
|
|
36
|
-
analysis_individual: string[];
|
|
37
|
-
analysis_collective: string[];
|
|
38
|
-
optim_general_consumer: string[];
|
|
39
|
-
optim_scenario_consumer: string[];
|
|
40
|
-
synthesis_fi: string[];
|
|
41
|
-
siteTag: SiteTag;
|
|
42
|
-
rights: Rights;
|
|
43
|
-
_createdAt?: string;
|
|
44
|
-
_lastConnected?: string;
|
|
45
|
-
createdAt?: Date | string;
|
|
46
|
-
updatedAt?: Date | string;
|
|
47
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
export declare enum FileType {
|
|
2
|
-
DATA = "ConsoData.csv",
|
|
3
|
-
DATA2 = "ConsoData2.csv",
|
|
4
|
-
CONFIG = "optim_params.json",
|
|
5
|
-
PVGIS = "TMY.csv",
|
|
6
|
-
SOLUTION = "solution.json",
|
|
7
|
-
POWER = "Powers1.csv",
|
|
8
|
-
POWER10 = "Powers10.csv",
|
|
9
|
-
POWER1NO = "Powers1no.csv",
|
|
10
|
-
POWER10NO = "Powers10no.csv",
|
|
11
|
-
RESULTS = "optimizationResults.json",
|
|
12
|
-
PVTMY = "pvTMY.csv",
|
|
13
|
-
PV1POWERS = "pvPowers.csv",
|
|
14
|
-
PV2POWERS = "pv2Powers.csv",
|
|
15
|
-
WINDTURBINETMY = "windTurbineTMY.csv",
|
|
16
|
-
WINDTURBINEPOWERS = "windTurbinePowers.csv",
|
|
17
|
-
FCRPRICES = "fcrPrices.csv",
|
|
18
|
-
PVPPA = "pvPpa.csv",
|
|
19
|
-
WINDTURBINEPPA = "windTurbinePpa.csv",
|
|
20
|
-
FCRDATA = "FcrMarket_2020.csv",
|
|
21
|
-
TEMPODATA = "tempoValues.csv",
|
|
22
|
-
ELECTROLYSISDEMAND = "h2Demand.csv",
|
|
23
|
-
ECSDEMAND = "ecsDemand.csv",
|
|
24
|
-
PVSPOT = "pvSpot.csv",
|
|
25
|
-
WINDTURBINESPOT = "windTurbineSpot.csv",
|
|
26
|
-
SPOTPRICES = "spotPrices.csv",
|
|
27
|
-
'ENT1' = "ENT1.xlsx",
|
|
28
|
-
'ENT3' = "ENT3.xlsx",
|
|
29
|
-
'PRO1' = "PRO1.xlsx",
|
|
30
|
-
'PRO2' = "PRO2.xlsx",
|
|
31
|
-
'RES1' = "RES1.xlsx",
|
|
32
|
-
'RES11' = "RES11.xlsx",
|
|
33
|
-
'RES2' = "RES2.xlsx",
|
|
34
|
-
'RES5' = "RES5.xlsx",
|
|
35
|
-
'RES3-F' = "RES3-F.xlsx",
|
|
36
|
-
ANALYSIS = "analyse.json",
|
|
37
|
-
DATA_FILTERED = "ConsoDataFiltered.csv",
|
|
38
|
-
DEFAULT_VALUES = "defaultValues.json",
|
|
39
|
-
DEFAULT_VALUES_CONSUMER_PLUS = "defaultValuesConsumerPlus.json",
|
|
40
|
-
DEFAULT_VALUES_SUPPLIER = "defaultValuesSupplier.json",
|
|
41
|
-
PROFILE_RES1 = "PROFILE_RES1",
|
|
42
|
-
PROFILE_RES2 = "PROFILE_RES2",
|
|
43
|
-
PROFILE_RES11 = "PROFILE_RES11",
|
|
44
|
-
PROFILE_RES5 = "PROFILE_RES5",
|
|
45
|
-
PROFILE_RES3F = "PROFILE_RES3F",
|
|
46
|
-
PROFILE_PRO1 = "PROFILE_PRO1",
|
|
47
|
-
PROFILE_PRO2 = "PROFILE_PRO2",
|
|
48
|
-
PROFILE_ENT1 = "PROFILE_ENT1",
|
|
49
|
-
PROFILE_ENT3 = "PROFILE_ENT3",
|
|
50
|
-
BASE_PATH = "BASE_PATH"
|
|
51
|
-
}
|
|
52
|
-
export declare enum FileName_Extra {
|
|
53
|
-
LOG = "optiwize.log`"
|
|
54
|
-
}
|
|
55
|
-
export declare enum SiteType {
|
|
56
|
-
CONSUMER = "CONSUMER",
|
|
57
|
-
PRODUCER = "PRODUCER",
|
|
58
|
-
CONSUMER_PLUS = "CONSUMER_PLUS"
|
|
59
|
-
}
|
|
60
|
-
export declare enum Profiles {
|
|
61
|
-
'RES_BASE_INF_6' = "RES_BASE_INF_6",
|
|
62
|
-
'RES_BASE_SUP_6' = "RES_BASE_SUP_6",
|
|
63
|
-
RES_HP_HC = "RES_HP_HC",
|
|
64
|
-
PRO_BASE = "PRO_BASE",
|
|
65
|
-
PRO_HP_HC = "PRO_HP_HC",
|
|
66
|
-
ENT_BT_SUP = "ENT_BT_SUP",
|
|
67
|
-
ENT_HTA = "ENT_HTA",
|
|
68
|
-
BBR = "BBR"
|
|
69
|
-
}
|
|
70
|
-
export declare enum FinancingTypeEnum {
|
|
71
|
-
INVESTMENT = "Investissement",
|
|
72
|
-
LEASING = "Location",
|
|
73
|
-
PPA = "PPA"
|
|
74
|
-
}
|
|
75
|
-
export declare enum TrackerType {
|
|
76
|
-
OFF = "OFF",
|
|
77
|
-
SINGLE_AXIS = "SINGLE_AXIS",
|
|
78
|
-
DUAL_AXIS = "DUAL_AXIS"
|
|
79
|
-
}
|
|
80
|
-
export declare enum UseCase {
|
|
81
|
-
AOVS = "AOVS",
|
|
82
|
-
AUTOCONSOMMATION = "AUTOCONSOMMATION",
|
|
83
|
-
VENTE_TOTALE = "VENTE_TOTALE"
|
|
84
|
-
}
|
|
85
|
-
export declare enum Reference {
|
|
86
|
-
REFERENCE = "REFERENCE"
|
|
87
|
-
}
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Reference = exports.UseCase = exports.TrackerType = exports.FinancingTypeEnum = exports.Profiles = exports.SiteType = exports.FileName_Extra = exports.FileType = void 0;
|
|
4
|
-
var FileType;
|
|
5
|
-
(function (FileType) {
|
|
6
|
-
FileType["DATA"] = "ConsoData.csv";
|
|
7
|
-
FileType["DATA2"] = "ConsoData2.csv";
|
|
8
|
-
FileType["CONFIG"] = "optim_params.json";
|
|
9
|
-
FileType["PVGIS"] = "TMY.csv";
|
|
10
|
-
FileType["SOLUTION"] = "solution.json";
|
|
11
|
-
FileType["POWER"] = "Powers1.csv";
|
|
12
|
-
FileType["POWER10"] = "Powers10.csv";
|
|
13
|
-
FileType["POWER1NO"] = "Powers1no.csv";
|
|
14
|
-
FileType["POWER10NO"] = "Powers10no.csv";
|
|
15
|
-
FileType["RESULTS"] = "optimizationResults.json";
|
|
16
|
-
FileType["PVTMY"] = "pvTMY.csv";
|
|
17
|
-
FileType["PV1POWERS"] = "pvPowers.csv";
|
|
18
|
-
FileType["PV2POWERS"] = "pv2Powers.csv";
|
|
19
|
-
FileType["WINDTURBINETMY"] = "windTurbineTMY.csv";
|
|
20
|
-
FileType["WINDTURBINEPOWERS"] = "windTurbinePowers.csv";
|
|
21
|
-
FileType["FCRPRICES"] = "fcrPrices.csv";
|
|
22
|
-
FileType["PVPPA"] = "pvPpa.csv";
|
|
23
|
-
FileType["WINDTURBINEPPA"] = "windTurbinePpa.csv";
|
|
24
|
-
FileType["FCRDATA"] = "FcrMarket_2020.csv";
|
|
25
|
-
FileType["TEMPODATA"] = "tempoValues.csv";
|
|
26
|
-
FileType["ELECTROLYSISDEMAND"] = "h2Demand.csv";
|
|
27
|
-
FileType["ECSDEMAND"] = "ecsDemand.csv";
|
|
28
|
-
FileType["PVSPOT"] = "pvSpot.csv";
|
|
29
|
-
FileType["WINDTURBINESPOT"] = "windTurbineSpot.csv";
|
|
30
|
-
FileType["SPOTPRICES"] = "spotPrices.csv";
|
|
31
|
-
FileType["ENT1"] = "ENT1.xlsx";
|
|
32
|
-
FileType["ENT3"] = "ENT3.xlsx";
|
|
33
|
-
FileType["PRO1"] = "PRO1.xlsx";
|
|
34
|
-
FileType["PRO2"] = "PRO2.xlsx";
|
|
35
|
-
FileType["RES1"] = "RES1.xlsx";
|
|
36
|
-
FileType["RES11"] = "RES11.xlsx";
|
|
37
|
-
FileType["RES2"] = "RES2.xlsx";
|
|
38
|
-
FileType["RES5"] = "RES5.xlsx";
|
|
39
|
-
FileType["RES3-F"] = "RES3-F.xlsx";
|
|
40
|
-
FileType["ANALYSIS"] = "analyse.json";
|
|
41
|
-
FileType["DATA_FILTERED"] = "ConsoDataFiltered.csv";
|
|
42
|
-
FileType["DEFAULT_VALUES"] = "defaultValues.json";
|
|
43
|
-
FileType["DEFAULT_VALUES_CONSUMER_PLUS"] = "defaultValuesConsumerPlus.json";
|
|
44
|
-
FileType["DEFAULT_VALUES_SUPPLIER"] = "defaultValuesSupplier.json";
|
|
45
|
-
FileType["PROFILE_RES1"] = "PROFILE_RES1";
|
|
46
|
-
FileType["PROFILE_RES2"] = "PROFILE_RES2";
|
|
47
|
-
FileType["PROFILE_RES11"] = "PROFILE_RES11";
|
|
48
|
-
FileType["PROFILE_RES5"] = "PROFILE_RES5";
|
|
49
|
-
FileType["PROFILE_RES3F"] = "PROFILE_RES3F";
|
|
50
|
-
FileType["PROFILE_PRO1"] = "PROFILE_PRO1";
|
|
51
|
-
FileType["PROFILE_PRO2"] = "PROFILE_PRO2";
|
|
52
|
-
FileType["PROFILE_ENT1"] = "PROFILE_ENT1";
|
|
53
|
-
FileType["PROFILE_ENT3"] = "PROFILE_ENT3";
|
|
54
|
-
FileType["BASE_PATH"] = "BASE_PATH";
|
|
55
|
-
})(FileType || (exports.FileType = FileType = {}));
|
|
56
|
-
var FileName_Extra;
|
|
57
|
-
(function (FileName_Extra) {
|
|
58
|
-
FileName_Extra["LOG"] = "optiwize.log`";
|
|
59
|
-
})(FileName_Extra || (exports.FileName_Extra = FileName_Extra = {}));
|
|
60
|
-
var SiteType;
|
|
61
|
-
(function (SiteType) {
|
|
62
|
-
SiteType["CONSUMER"] = "CONSUMER";
|
|
63
|
-
SiteType["PRODUCER"] = "PRODUCER";
|
|
64
|
-
SiteType["CONSUMER_PLUS"] = "CONSUMER_PLUS";
|
|
65
|
-
})(SiteType || (exports.SiteType = SiteType = {}));
|
|
66
|
-
var Profiles;
|
|
67
|
-
(function (Profiles) {
|
|
68
|
-
Profiles["RES_BASE_INF_6"] = "RES_BASE_INF_6";
|
|
69
|
-
Profiles["RES_BASE_SUP_6"] = "RES_BASE_SUP_6";
|
|
70
|
-
Profiles["RES_HP_HC"] = "RES_HP_HC";
|
|
71
|
-
Profiles["PRO_BASE"] = "PRO_BASE";
|
|
72
|
-
Profiles["PRO_HP_HC"] = "PRO_HP_HC";
|
|
73
|
-
Profiles["ENT_BT_SUP"] = "ENT_BT_SUP";
|
|
74
|
-
Profiles["ENT_HTA"] = "ENT_HTA";
|
|
75
|
-
Profiles["BBR"] = "BBR";
|
|
76
|
-
})(Profiles || (exports.Profiles = Profiles = {}));
|
|
77
|
-
var FinancingTypeEnum;
|
|
78
|
-
(function (FinancingTypeEnum) {
|
|
79
|
-
FinancingTypeEnum["INVESTMENT"] = "Investissement";
|
|
80
|
-
FinancingTypeEnum["LEASING"] = "Location";
|
|
81
|
-
FinancingTypeEnum["PPA"] = "PPA";
|
|
82
|
-
})(FinancingTypeEnum || (exports.FinancingTypeEnum = FinancingTypeEnum = {}));
|
|
83
|
-
var TrackerType;
|
|
84
|
-
(function (TrackerType) {
|
|
85
|
-
TrackerType["OFF"] = "OFF";
|
|
86
|
-
TrackerType["SINGLE_AXIS"] = "SINGLE_AXIS";
|
|
87
|
-
TrackerType["DUAL_AXIS"] = "DUAL_AXIS";
|
|
88
|
-
})(TrackerType || (exports.TrackerType = TrackerType = {}));
|
|
89
|
-
var UseCase;
|
|
90
|
-
(function (UseCase) {
|
|
91
|
-
UseCase["AOVS"] = "AOVS";
|
|
92
|
-
UseCase["AUTOCONSOMMATION"] = "AUTOCONSOMMATION";
|
|
93
|
-
UseCase["VENTE_TOTALE"] = "VENTE_TOTALE";
|
|
94
|
-
})(UseCase || (exports.UseCase = UseCase = {}));
|
|
95
|
-
var Reference;
|
|
96
|
-
(function (Reference) {
|
|
97
|
-
Reference["REFERENCE"] = "REFERENCE";
|
|
98
|
-
})(Reference || (exports.Reference = Reference = {}));
|
package/dist/frontend/index.d.ts
DELETED
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
export * from './Site.types';
|
|
2
|
-
export * from './User.types';
|
|
3
|
-
export * from './Scenario.types';
|
|
4
|
-
export * from './CollectiveSite.types';
|
|
5
|
-
export * from './ScenarioDefaultValue.types';
|
|
6
|
-
export * from './Invitation.types';
|
|
7
|
-
export * from './DefaultRate.types';
|
|
8
|
-
export * from './TypeORM.types';
|
|
9
|
-
export * from './enums.types';
|
|
10
|
-
export * from './BatteryParams.types';
|
|
11
|
-
export * from './BoundingBox.types';
|
|
12
|
-
export * from './BuildingData.types';
|
|
13
|
-
export * from './BuildingStats.types';
|
|
14
|
-
export * from './ConsumptionIndexes.types';
|
|
15
|
-
export * from './ConversionParams.types';
|
|
16
|
-
export * from './CustomerInfos.types';
|
|
17
|
-
export * from './DataSourceHistory.types';
|
|
18
|
-
export * from './DefaultPPATarif.types';
|
|
19
|
-
export * from './ECSParams.types';
|
|
20
|
-
export * from './ElectrolyseParams.types';
|
|
21
|
-
export * from './EnergyInflationRate.types';
|
|
22
|
-
export * from './EnergyPrice.types';
|
|
23
|
-
export * from './EnergyPriceTempo.types';
|
|
24
|
-
export * from './FinancingType.types';
|
|
25
|
-
export * from './Folder.types';
|
|
26
|
-
export * from './FuelCellParams.types';
|
|
27
|
-
export * from './GeneratorParams.types';
|
|
28
|
-
export * from './GridParams.types';
|
|
29
|
-
export * from './H2StorageParams.types';
|
|
30
|
-
export * from './ImageryDate.types';
|
|
31
|
-
export * from './OffPeakHour.types';
|
|
32
|
-
export * from './OptimizationParams.types';
|
|
33
|
-
export * from './OptimizationResult.types';
|
|
34
|
-
export * from './PeakHour.types';
|
|
35
|
-
export * from './PowerCostConfig.types';
|
|
36
|
-
export * from './PVParams.types';
|
|
37
|
-
export * from './PV2Params.types';
|
|
38
|
-
export * from './RestOfTheYearTarifs.types';
|
|
39
|
-
export * from './ScenarioParams.types';
|
|
40
|
-
export * from './SolarPotential.types';
|
|
41
|
-
export * from './StationParams.types';
|
|
42
|
-
export * from './Tarif.types';
|
|
43
|
-
export * from './ThermalStorageParams.types';
|
|
44
|
-
export * from './Tracker.types';
|
|
45
|
-
export * from './VSParams.types';
|
|
46
|
-
export * from './WindTurbineParams.types';
|
package/dist/frontend/index.js
DELETED
|
@@ -1,66 +0,0 @@
|
|
|
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
|
-
// Main entities
|
|
18
|
-
__exportStar(require("./Site.types"), exports);
|
|
19
|
-
__exportStar(require("./User.types"), exports);
|
|
20
|
-
__exportStar(require("./Scenario.types"), exports);
|
|
21
|
-
__exportStar(require("./CollectiveSite.types"), exports);
|
|
22
|
-
__exportStar(require("./ScenarioDefaultValue.types"), exports);
|
|
23
|
-
__exportStar(require("./Invitation.types"), exports);
|
|
24
|
-
__exportStar(require("./DefaultRate.types"), exports);
|
|
25
|
-
// TypeORM entities
|
|
26
|
-
__exportStar(require("./TypeORM.types"), exports);
|
|
27
|
-
// Enums
|
|
28
|
-
__exportStar(require("./enums.types"), exports);
|
|
29
|
-
// Sub-models
|
|
30
|
-
__exportStar(require("./BatteryParams.types"), exports);
|
|
31
|
-
__exportStar(require("./BoundingBox.types"), exports);
|
|
32
|
-
__exportStar(require("./BuildingData.types"), exports);
|
|
33
|
-
__exportStar(require("./BuildingStats.types"), exports);
|
|
34
|
-
__exportStar(require("./ConsumptionIndexes.types"), exports);
|
|
35
|
-
__exportStar(require("./ConversionParams.types"), exports);
|
|
36
|
-
__exportStar(require("./CustomerInfos.types"), exports);
|
|
37
|
-
__exportStar(require("./DataSourceHistory.types"), exports);
|
|
38
|
-
__exportStar(require("./DefaultPPATarif.types"), exports);
|
|
39
|
-
__exportStar(require("./ECSParams.types"), exports);
|
|
40
|
-
__exportStar(require("./ElectrolyseParams.types"), exports);
|
|
41
|
-
__exportStar(require("./EnergyInflationRate.types"), exports);
|
|
42
|
-
__exportStar(require("./EnergyPrice.types"), exports);
|
|
43
|
-
__exportStar(require("./EnergyPriceTempo.types"), exports);
|
|
44
|
-
__exportStar(require("./FinancingType.types"), exports);
|
|
45
|
-
__exportStar(require("./Folder.types"), exports);
|
|
46
|
-
__exportStar(require("./FuelCellParams.types"), exports);
|
|
47
|
-
__exportStar(require("./GeneratorParams.types"), exports);
|
|
48
|
-
__exportStar(require("./GridParams.types"), exports);
|
|
49
|
-
__exportStar(require("./H2StorageParams.types"), exports);
|
|
50
|
-
__exportStar(require("./ImageryDate.types"), exports);
|
|
51
|
-
__exportStar(require("./OffPeakHour.types"), exports);
|
|
52
|
-
__exportStar(require("./OptimizationParams.types"), exports);
|
|
53
|
-
__exportStar(require("./OptimizationResult.types"), exports);
|
|
54
|
-
__exportStar(require("./PeakHour.types"), exports);
|
|
55
|
-
__exportStar(require("./PowerCostConfig.types"), exports);
|
|
56
|
-
__exportStar(require("./PVParams.types"), exports);
|
|
57
|
-
__exportStar(require("./PV2Params.types"), exports);
|
|
58
|
-
__exportStar(require("./RestOfTheYearTarifs.types"), exports);
|
|
59
|
-
__exportStar(require("./ScenarioParams.types"), exports);
|
|
60
|
-
__exportStar(require("./SolarPotential.types"), exports);
|
|
61
|
-
__exportStar(require("./StationParams.types"), exports);
|
|
62
|
-
__exportStar(require("./Tarif.types"), exports);
|
|
63
|
-
__exportStar(require("./ThermalStorageParams.types"), exports);
|
|
64
|
-
__exportStar(require("./Tracker.types"), exports);
|
|
65
|
-
__exportStar(require("./VSParams.types"), exports);
|
|
66
|
-
__exportStar(require("./WindTurbineParams.types"), exports);
|