ato-water-lib 0.0.33 → 0.0.34

Sign up to get free protection for your applications and to get access to all the features.
Files changed (80) hide show
  1. package/ng-package.json +11 -0
  2. package/package.json +3 -22
  3. package/src/lib/ato-water-lib.component.spec.ts +23 -0
  4. package/src/lib/ato-water-lib.component.ts +15 -0
  5. package/src/lib/ato-water-lib.module.ts +31 -0
  6. package/src/lib/ato-water-lib.service.spec.ts +16 -0
  7. package/src/lib/ato-water-lib.service.ts +9 -0
  8. package/src/lib/components/asset-flow/asset-flow.component.html +21 -0
  9. package/src/lib/components/asset-flow/asset-flow.component.scss +4 -0
  10. package/src/lib/components/asset-flow/asset-flow.component.spec.ts +23 -0
  11. package/src/lib/components/asset-flow/asset-flow.component.ts +137 -0
  12. package/src/lib/components/asset-params-view/asset-params-view.component.html +85 -0
  13. package/src/lib/components/asset-params-view/asset-params-view.component.scss +37 -0
  14. package/src/lib/components/asset-params-view/asset-params-view.component.spec.ts +23 -0
  15. package/src/lib/components/asset-params-view/asset-params-view.component.ts +16 -0
  16. package/src/lib/components/flow-diagram-lib/flow-diagram-lib.component.css +0 -0
  17. package/src/lib/components/flow-diagram-lib/flow-diagram-lib.component.html +25 -0
  18. package/src/lib/components/flow-diagram-lib/flow-diagram-lib.component.ts +69 -0
  19. package/src/lib/constants/applicable-prefixes-const.ts +452 -0
  20. package/src/lib/constants/base64.const.ts +5 -0
  21. package/src/lib/constants/components-group-const.ts +1637 -0
  22. package/src/lib/constants/icon-base64.const.ts +3 -0
  23. package/src/lib/constants/icon-svg.const.ts +8 -0
  24. package/src/lib/constants/key.const.ts +5 -0
  25. package/src/lib/constants/plant.constant.ts +52 -0
  26. package/src/lib/constants/value.const.ts +822 -0
  27. package/src/lib/directive/ato-loading.directive.ts +55 -0
  28. package/src/lib/directive/ng-var.directive.ts +28 -0
  29. package/src/lib/models/default-gojs-editor.model.ts +4906 -0
  30. package/{lib/models/gojs-data.model.d.ts → src/lib/models/gojs-data.model.ts} +3 -3
  31. package/src/lib/models/gojs-editor.model.ts +1901 -0
  32. package/src/lib/services/utils/utils.service.ts +141 -0
  33. package/{public-api.d.ts → src/public-api.ts} +10 -0
  34. package/tsconfig.lib.json +14 -0
  35. package/tsconfig.lib.prod.json +10 -0
  36. package/tsconfig.spec.json +14 -0
  37. package/esm2020/ato-water-lib.mjs +0 -5
  38. package/esm2020/lib/ato-water-lib.component.mjs +0 -19
  39. package/esm2020/lib/ato-water-lib.module.mjs +0 -49
  40. package/esm2020/lib/ato-water-lib.service.mjs +0 -14
  41. package/esm2020/lib/components/asset-flow/asset-flow.component.mjs +0 -121
  42. package/esm2020/lib/components/asset-params-view/asset-params-view.component.mjs +0 -26
  43. package/esm2020/lib/components/flow-diagram-lib/flow-diagram-lib.component.mjs +0 -54
  44. package/esm2020/lib/constants/applicable-prefixes-const.mjs +0 -441
  45. package/esm2020/lib/constants/base64.const.mjs +0 -5
  46. package/esm2020/lib/constants/components-group-const.mjs +0 -1476
  47. package/esm2020/lib/constants/icon-base64.const.mjs +0 -4
  48. package/esm2020/lib/constants/key.const.mjs +0 -4
  49. package/esm2020/lib/constants/plant.constant.mjs +0 -51
  50. package/esm2020/lib/constants/value.const.mjs +0 -782
  51. package/esm2020/lib/directive/ato-loading.directive.mjs +0 -55
  52. package/esm2020/lib/directive/ng-var.directive.mjs +0 -31
  53. package/esm2020/lib/models/default-gojs-editor.model.mjs +0 -3227
  54. package/esm2020/lib/models/gojs-data.model.mjs +0 -6
  55. package/esm2020/lib/models/gojs-editor.model.mjs +0 -1754
  56. package/esm2020/lib/services/utils/utils.service.mjs +0 -133
  57. package/esm2020/public-api.mjs +0 -15
  58. package/fesm2015/ato-water-lib.mjs +0 -8018
  59. package/fesm2015/ato-water-lib.mjs.map +0 -1
  60. package/fesm2020/ato-water-lib.mjs +0 -8205
  61. package/fesm2020/ato-water-lib.mjs.map +0 -1
  62. package/index.d.ts +0 -5
  63. package/lib/ato-water-lib.component.d.ts +0 -5
  64. package/lib/ato-water-lib.module.d.ts +0 -13
  65. package/lib/ato-water-lib.service.d.ts +0 -6
  66. package/lib/components/asset-flow/asset-flow.component.d.ts +0 -1336
  67. package/lib/components/asset-params-view/asset-params-view.component.d.ts +0 -10
  68. package/lib/components/flow-diagram-lib/flow-diagram-lib.component.d.ts +0 -16
  69. package/lib/constants/applicable-prefixes-const.d.ts +0 -162
  70. package/lib/constants/base64.const.d.ts +0 -3
  71. package/lib/constants/components-group-const.d.ts +0 -1561
  72. package/lib/constants/icon-base64.const.d.ts +0 -3
  73. package/lib/constants/key.const.d.ts +0 -1
  74. package/lib/constants/plant.constant.d.ts +0 -7
  75. package/lib/constants/value.const.d.ts +0 -71
  76. package/lib/directive/ato-loading.directive.d.ts +0 -14
  77. package/lib/directive/ng-var.directive.d.ts +0 -12
  78. package/lib/models/default-gojs-editor.model.d.ts +0 -197
  79. package/lib/models/gojs-editor.model.d.ts +0 -436
  80. package/lib/services/utils/utils.service.d.ts +0 -24
@@ -0,0 +1,1901 @@
1
+ import { ATO_ECOMPONENT_PLANT_TYPE } from '../constants/value.const';
2
+
3
+ export class AtoGojsEditorModel {
4
+ initialOptions: any;
5
+ data: any; // FlowGoJsComponentModel
6
+
7
+ constructor(data: any) {
8
+ this.data = data;
9
+ }
10
+ }
11
+
12
+ export namespace AtoGojsEditorModel {
13
+ export const GRID_SIZE = 20;
14
+ export const BASIC_GRID_INTERVAL_X = 24;
15
+ export const BASIC_GRID_INTERVAL_Y = 10;
16
+ export const BASIC_GRID_SIZE_WIDTH = GRID_SIZE * BASIC_GRID_INTERVAL_X;
17
+ export const BASIC_GRID_SIZE_HEIGHT = GRID_SIZE * BASIC_GRID_INTERVAL_Y;
18
+ export const DISTANCE_LAST_TO_ADD = 50;
19
+ export const PLANT_CELL_HEIGHT = 160;
20
+ export enum ENUM_LAYOUT_EDITOR {
21
+ AUTO = 'AUTO ALIGN',
22
+ GRID = 'GRID SUPPORTED',
23
+ FREEFORM = 'FREE FORM',
24
+ }
25
+
26
+ export const LAYOUT_LIST = [
27
+ {
28
+ name: 'Auto-align',
29
+ key: ENUM_LAYOUT_EDITOR.AUTO,
30
+ },
31
+ {
32
+ name: 'Grid Supported',
33
+ key: ENUM_LAYOUT_EDITOR.GRID,
34
+ },
35
+ {
36
+ name: 'Freeform',
37
+ key: ENUM_LAYOUT_EDITOR.FREEFORM,
38
+ },
39
+ ];
40
+
41
+ export enum ENUM_COLORS {
42
+ RED = '#EC7C4E',
43
+ ORANGE = '#EBB868',
44
+ BLUE = '#81B8FF',
45
+ LIGHT_BLUE = '#F4F6FB',
46
+ LIGHT_SKY_BLUE = '#cfe7fd',
47
+ WHITE = '#FFFFFF',
48
+ GRAY = '#919CA5',
49
+ CERULEAN = '#0062A9',
50
+ VIVID_VIOLET = '#804180',
51
+ RESOLUTION_BLUE = '#2D3B77',
52
+ CASHMERE = '#D6AB95',
53
+ GALLIANO = '#E09F25',
54
+ FOUNTAIN_BLUE = '#54BBBA',
55
+ ELF_GREEN = '#199C69',
56
+ MEDIUM_RED_VIOLET = '#A8438D',
57
+ GRANDIS = '#FBC96C',
58
+ SALMON = '#F47769',
59
+ NIGHT_RIDER = '#2C2C2C',
60
+ ALIZARIN = '#EC1B24',
61
+ LINK_WATER = '#CAD3DB',
62
+ ZIRCON = '#E5EBEB',
63
+ CERULEAN_ALICE_BLUE = '#E6F0F7',
64
+ DANUBE = '#7197CA',
65
+ DANUBE_ALICE_BLUE = '#F1F5FA',
66
+ AZURE = '#EEF8F8',
67
+ OLD_LACE = '#FCF6EA',
68
+ CARROT_ORANGE = '#F69122',
69
+ FLAMINGO = '#E95F47',
70
+ SNOW = '#FEF7F6'
71
+ }
72
+
73
+ export enum ENUM_LINK_TYPES {
74
+ SIMPLE = 'simple',
75
+ PIPE_ANIMATION = 'pipe animation',
76
+ PIPE = 'pipe',
77
+ PIPE_HIDDEN = 'pipe hidden',
78
+ }
79
+
80
+ // Components types
81
+ export enum ENUM_TEMPLATES {
82
+ STORAGE = 'Storage',
83
+ COOLING_TOWER = 'Cooling Tower',
84
+
85
+ WATER_TREATMENT = 'Water Treatment',
86
+ DEMIN_WATER_TREATMENT = 'Demin Water Treatment',
87
+ RO_WATER_TREATMENT = 'RO Water Treatment',
88
+
89
+ DOMESTIC_USE = 'Domestic Use',
90
+ PROCESS = 'Process',
91
+ BOILER = 'Boiler',
92
+
93
+ WASTEWATER_TREATMENT = 'Wastewater Treatment',
94
+ DAF_WASTEWATER_TREATMENT = 'DAF Wastewater Treatment',
95
+ ETP_WASTEWATER_TREATMENT = 'ETP Wastewater Treatment',
96
+ MBR_WASTEWATER_TREATMENT = 'MBR Wastewater Treatment',
97
+ ZLD_WASTEWATER_TREATMENT = 'ZLD Wastewater Treatment',
98
+
99
+ OTHER = 'Other',
100
+ LANDSCAPING_IRRIGATION = 'Landscaping/Irrigation',
101
+ TEXT_NODE = 'TextNode',
102
+ VALUE_NODE = 'ValueNode',
103
+ DATA_BOX = 'DataBox',
104
+ VALUE_LABEL = 'ValueLabel',
105
+ EMPTY = 'Empty',
106
+
107
+ SPECIAL_PROCESS = 'SPECIAL_PROCESS',
108
+ SPECIAL_STORE = 'SPECIAL_STORE',
109
+ SPECIAL_STORAGE = 'STORAGE',
110
+ SPECIAL_DISCHARGE = 'SPECIAL_DISCHARGE',
111
+ SPECIAL_OTHER = 'SPECIAL_OTHER',
112
+
113
+ // TANKER = 'Tanker',
114
+ // RAIN_WATER = 'Rainwater',
115
+ FRESH_SURFACE_WATER = 'Fresh surface water', // 'RAIN_WATER',
116
+ THIRD_PARTY_SOURCES = 'Third party sources', // TANKER
117
+ THIRD_PARTY_DESTINATIONS = 'Third party destinations',
118
+ GROUND_WATER_NON_RENEWABLE = 'Groundwater - non-renewable',
119
+ PRODUCED_ENTRAINED = 'Produced / entrained water',
120
+ BRACKISH_SURFACE_WATER = 'Brackish surface water/ seawater',
121
+
122
+ UTILITY = 'UTILITY',
123
+ GROUND_WATER_RENEWABLE = 'Groundwater - Renewable',
124
+ // Energy
125
+ ZONE = 'EnergyZones',
126
+ ZONE_ENERGY_ITEM = 'SubSystem',
127
+ //Electric
128
+ GRID = 'Grid',
129
+ DIESEL_GENERATORS = 'Diesel Generators',
130
+ ELECTRIC_METERS = 'Electric Meters',
131
+
132
+ BATTERY_ENERGY_STORAGE = 'Battery energy storage',
133
+ TRANSFORMERS = 'Transformers',
134
+ LIGHTING_SYSTEMS = 'Lighting systems',
135
+ LIGHTINGS = 'Lightings',
136
+
137
+ ELECTRIC_FLYWHEEL_ENERGY_STORAGE = 'Flywheel energy storage',
138
+ PUMPED_HYDRO_STORAGE = 'Pumped hydro storage',
139
+ THERMAL_ENERGY_STORAGE = 'Thermal energy storage',
140
+ SUPER_CAPACITOR_ENERGY_STORAGE = 'Supercapacitor energy storage',
141
+ SWITCH_GEARS = 'Switchgears',
142
+ MOTOR_CONTROLS = 'MotorControls',
143
+ VARIABLE_FREQUENCY_DRIVERS = 'VariableFrequencyDrives',
144
+ ELECTRIC_HVAC = 'Heating, ventilation, and air conditioning (HVAC) systems',
145
+ COMPRESSED_AIR_SYSTEMS = 'Compressed air',
146
+ REFRIGERATION_COOLING_SYSTEMS = 'Refrigeration and cooling',
147
+ PROCESS_CONTROL_AUTOMATION_SYSTEMS = 'Process control and automation',
148
+ OFFICE_EQUIPMENT = 'Office equipment',
149
+ PROCESS_EQUIPMENT_MACHINES = 'Process equipment and machines',
150
+ MATERIAL_HANDLING_EQUIPMENT = 'Material handling equipment',
151
+ POWER_DISTRIBUTION_CONTROL_SYSTEMS = 'Power distribution and control',
152
+ POWER_DISTRIBUTION_SYSTEMS = 'Power distribution systems',
153
+ WIND_POWER = 'Wind Power',
154
+ NATURAL_GAS_GENERATORS = 'Natural gas generators',
155
+ ELECTRIC_INDUSTRIAL_MOTORS = 'Industrial motors',
156
+ GROUNDING = 'Grounding',
157
+
158
+ // Fuel
159
+ FUELS = 'Fuels',
160
+ DIESEL_FUELS = 'DieselFuels',
161
+ GASON_LINES = 'Gasonlines',
162
+ BIODIESELS = 'Biodiesels',
163
+ KEROSENSE = 'Kerosenes',
164
+ PROPANES = 'Propanes',
165
+
166
+ TANKER_TRUCKS = 'Tanker Trucks',
167
+ PIPELINE = 'Pipeline',
168
+
169
+ INDUSTRIAL_BOILERS = 'Industrial boilers',
170
+ GENERATORS = 'Generators',
171
+ INDUSTRIAL_FURNACES = 'Industrial furnaces',
172
+ INDUSTRIAL_OVENS = 'Industrial ovens',
173
+ INDUSTRIAL_VEHICLES_AND_EQUIPMENT = 'Industrial vehicles and equipment',
174
+
175
+ FUEL_METERS = 'FuelMeters',
176
+ FUEL_DISPENSERS = 'FuelDispensers',
177
+ FUEL_STRORAGE_TANKS = 'FuelStorageTanks',
178
+ FUEL_FILTRATIONS = 'FuelFiltrations',
179
+ FUEL_MANAGEMENTS = 'FuelManagements',
180
+
181
+ // Gas
182
+ NATURAL_GAS_PIPELINES = 'Natural gas pipelines',
183
+ LIQUEFIED_NATURAL_GAS = 'Liquefied natural gas',
184
+ COMPRESSED_NATURAL_GAS_PIPELINE = 'Compressed natural gas pipeline',
185
+ ON_SITE_PRODUCTION = 'On-site production',
186
+ COMPRESSED_NATURAL_GAS_PRODUCTION = 'Compressed natural gas production',
187
+ BOILERS_AND_HEATERS = 'Boilers and heaters',
188
+ FURNACES = 'Furnaces',
189
+ POWER_GENERATION = 'Power generation',
190
+ COGENERATION = 'Cogeneration',
191
+ COMBINED_CYCLE_POWER_PLANTS = 'Combined cycle power plants',
192
+ FUEL_FOR_VEHICLES_AND_EQUIPMENT = 'Fuel for vehicles and equipment',
193
+ GAS_METERS = 'Gas meters',
194
+ BURNERS = 'Burners',
195
+ FLUE_GAS_ANALYZERS = 'Flue gas analyzers',
196
+ COMBUSTION_CONTROL_SYSTEMS = 'Combustion control systems',
197
+ GAS_STORAGE_TANKS = 'Gas storage tanks',
198
+ GAS_PRESSURE_REGULATORS = 'Gas pressure regulators',
199
+ NATURAL_GAS = 'Natural Gas',
200
+ // Solar
201
+ SOLAR_POWER = 'Solar Power',
202
+ POWER_CONDITIONING_UNIT = 'Power conditioning unit (PCU)',
203
+ INVERTERS = 'Inverters',
204
+ BATTERIES = 'Batteries',
205
+
206
+ // Uncategorized of Proxy Plant
207
+ UNCATEGORIZED = 'Uncategorized',
208
+
209
+ // Plant Cell
210
+ PLANT_CELL = 'Plant Cell',
211
+ INPUT_PLANT_CELL = 'Input Plant Cell',
212
+ OUTPUT_PLANT_CELL = 'Output Plant Cell',
213
+
214
+ PLANT_CELL_INPUT_GROUP = 'PC Input Group',
215
+ PLANT_CELL_OUTPUT_GROUP = 'PC Output Group',
216
+
217
+ // Image
218
+ IMAGE_TEMPLATE = 'Image Template',
219
+ PARAM_TABLE = 'Param Table',
220
+ MASS_BALANCE = 'Mass Balance',
221
+
222
+ // Steam Type
223
+ VALUES = 'Valves',
224
+ STEAM_TRAPS = 'Steam Traps',
225
+ PRESSURE_REGULATORS = 'Pressure Regulator',
226
+ SAFETY_VALUES_AND_EQUIPMENT = 'Safety Valves and Equipment',
227
+ CONDENSATE_RETURN_SYSTEM = 'Condensate Return System',
228
+ DEAERATORS = 'Deaerators',
229
+ FEEDWATER_PUMPS = 'Feedwater Pumps',
230
+ BLOWDOWN_TANKS = 'Blowdown Tanks',
231
+ EXPANSION_TANKS = 'Expansion Tanks',
232
+ HEAT_EXCHANGERS = 'Heat Exchangers',
233
+ TURBINES = 'Turbines',
234
+
235
+ // Plant Basic
236
+ GROUP_BASIC_COMPONENT = 'Group Basic Component',
237
+ TEXT_LABEL = 'label',
238
+ }
239
+
240
+ // System Types
241
+ export enum ENUM_TYPES {
242
+ STORAGE = 'WaterStorageTanks',
243
+
244
+ WATER_TREATMENT = 'WaterTreatmentProcesses',
245
+ DEMIN_WATER_TREATMENT = 'DeminWaterTreatments',
246
+ RO_WATER_TREATMENT = 'ROWaterTreatments',
247
+
248
+ PROCESS = 'GenericProcesses',
249
+ SPECIAL_STORAGE = 'STORAGE',
250
+
251
+ WASTEWATER_TREATMENT = 'WasteWaterTreatmentProcesses',
252
+ DAF_WASTEWATER_TREATMENT = 'DAFWasteWaterTreatments',
253
+ ETP_WASTEWATER_TREATMENT = 'ETPWasteWaterTreatments',
254
+ MBR_WASTEWATER_TREATMENT = 'MBRWasteWaterTreatments',
255
+ ZLD_WASTEWATER_TREATMENT = 'ZLDWasteWaterTreatments',
256
+
257
+ DOMESTIC_USE = 'DomesticUse',
258
+ COOLING_TOWER = 'CoolingTowers',
259
+ BOILER = 'Boilers',
260
+ OTHER = 'OtherWaterUse',
261
+ LANDSCAPING_IRRIGATION = 'IrrigationUse',
262
+
263
+ FRESH_SURFACE_WATER = 'Fresh surface water', // 'RAIN_WATER',
264
+ THIRD_PARTY_SOURCES = 'Third party sources', // TANKER
265
+ THIRD_PARTY_DESTINATIONS = 'Third party destinations',
266
+ GROUND_WATER_NON_RENEWABLE = 'Groundwater - non-renewable',
267
+ PRODUCED_ENTRAINED = 'Produced / entrained water',
268
+
269
+ // FRESH_SURFACE_WAER = 'Fresh surface water',
270
+ BRACKISH_SURFACE_WATER = 'Brackish surface water/ seawater',
271
+ GROUND_WATER_RENEWABLE = 'Groundwater - Renewable',
272
+
273
+ TANKER_WATER = 'Tanker Water',
274
+ // ENERGY
275
+ ZONE = 'EnergyZones',
276
+ // Electric
277
+ ELECTRIC_SOURCES = 'ElectricSources',
278
+ GRID = 'Grid Power',
279
+ DIESEL_GENERATORS = 'Diesel Generators',
280
+ ELECTRIC_METERS = 'ElectricMeters',
281
+ TRANSFORMERS = 'Transformers',
282
+ // Electric New
283
+ BATTERY_ENERGY_STORAGE = 'Battery energy storage',
284
+ ELECTRIC_PRODUCTIONS = 'ElectricProductions',
285
+ ELECTRIC_COMSUMINGS = 'ElectricConsumings',
286
+ ELECTRIC_STORAGES = 'ElectricityStorages',
287
+ ELECTRIC_FLYWHEEL_ENERGY_STORAGE = 'Flywheel energy storage',
288
+ PUMPED_HYDRO_STORAGE = 'Pumped hydro storage',
289
+ THERMAL_ENERGY_STORAGE = 'Thermal energy storage',
290
+ SUPER_CAPACITOR_ENERGY_STORAGE = 'Supercapacitor energy storage',
291
+ SWITCH_GEARS = 'Switchgears',
292
+ MOTOR_CONTROLS = 'MotorControls',
293
+ VARIABLE_FREQUENCY_DRIVERS = 'VariableFrequencyDrives',
294
+ LIGHTING_SYSTEMS = 'Lighting systems',
295
+ LIGHTINGS = 'Lightings',
296
+ ELECTRIC_HVAC = 'Heating, ventilation, and air conditioning (HVAC) systems',
297
+ COMPRESSED_AIR_SYSTEMS = 'Compressed air',
298
+ REFRIGERATION_COOLING_SYSTEMS = 'Refrigeration and cooling',
299
+ PROCESS_CONTROL_AUTOMATION_SYSTEMS = 'Process control and automation',
300
+ PROCESS_EQUIPMENT_MACHINES = 'Process equipment and machines',
301
+ OFFICE_EQUIPMENT = 'Office equipment',
302
+ MATERIAL_HANDLING_EQUIPMENT = 'Material handling equipment',
303
+ POWER_DISTRIBUTION_CONTROL_SYSTEMS = 'Power distribution and control',
304
+ POWER_DISTRIBUTION_SYSTEMS = 'PowerDistributions',
305
+ WIND_POWER = 'Wind Power',
306
+ NATURAL_GAS_GENERATORS = 'Natural gas generators',
307
+ ELECTRIC_INDUSTRIAL_MOTORS = 'Industrial motors',
308
+ GROUNDING = 'Groundings',
309
+ Electricals = 'Electricals',
310
+
311
+ // Gas
312
+ NATURAL_GAS_PIPELINES = 'Natural gas pipelines',
313
+ LIQUEFIED_NATURAL_GAS = 'Liquefied natural gas (LNG) shipments',
314
+ COMPRESSED_NATURAL_GAS_PIPELINE = 'Compressed natural gas pipeline (CNG)',
315
+ ON_SITE_PRODUCTION = 'On-site production',
316
+ COMPRESSED_NATURAL_GAS_PRODUCTION = 'Compressed natural gas production (CNG)',
317
+ BOILERS_AND_HEATERS = 'Boilers and heaters',
318
+ FURNACES = 'Furnaces',
319
+ POWER_GENERATION = 'Power generation',
320
+ COGENERATION = 'Cogeneration',
321
+ COMBINED_CYCLE_POWER_PLANTS = 'Combined cycle power plants',
322
+ FUEL_FOR_VEHICLES_AND_EQUIPMENT = 'Fuel for vehicles and equipment',
323
+ GAS_METERS = 'GasMeters',
324
+ BURNERS = 'Burners',
325
+ FLUE_GAS_ANALYZERS = 'FlueGasAnalyzers',
326
+ COMBUSTION_CONTROL_SYSTEMS = 'ConbustionControls',
327
+ GAS_STORAGE_TANKS = 'GasStorageTanks',
328
+ GAS_PRESSURE_REGULATORS = 'GasPressureRegulators',
329
+ NATURAL_GAS = 'Natural Gas',
330
+ // TYPE_COMPONENT Gas
331
+ GAS_SOURCE = 'GasSources',
332
+ GAS_PRODUCTION = 'GasProductions',
333
+ GAS_CONSUMINGS = 'GasConsumings',
334
+ NATURAL_GAS_SPECIAL = 'NaturalGases',
335
+
336
+ // Fuel
337
+ FUELS = 'Fuels',
338
+ DIESEL_FUELS = 'DieselFuels',
339
+ GASON_LINES = 'Gasonlines',
340
+ BIODIESELS = 'Biodiesels',
341
+ KEROSENSE = 'Kerosenes',
342
+ PROPANES = 'Propanes',
343
+
344
+ FUEL_SOURCES = 'FuelSources',
345
+
346
+ TANKER_TRUCKS = 'Tanker Trucks',
347
+ PIPELINE = 'Pipeline',
348
+
349
+ FUEL_CONSUMINGS = 'FuelConsumings',
350
+
351
+ INDUSTRIAL_BOILERS = 'Industrial boilers',
352
+ GENERATORS = 'Generators',
353
+ INDUSTRIAL_FURNACES = 'Industrial furnaces',
354
+ INDUSTRIAL_OVENS = 'Industrial ovens',
355
+ INDUSTRIAL_VEHICLES_AND_EQUIPMENT = 'Industrial vehicles and equipment',
356
+
357
+ FUEL_METERS = 'FuelMeters',
358
+ FUEL_DISPENSERS = 'FuelDispensers',
359
+ FUEL_STRORAGE_TANKS = 'FuelStorageTanks',
360
+ FUEL_FILTRATIONS = 'FuelFiltrations',
361
+ FUEL_MANAGEMENTS = 'FuelManagements',
362
+
363
+ // Solar
364
+ SOLAR_POWER = 'Solar Power',
365
+ POWER_CONDITIONING_UNIT = 'Power conditioning unit (PCU)',
366
+ INVERTERS = 'Inverters',
367
+ BATTERIES = 'Batteries',
368
+
369
+ // Plant Cell
370
+ PLANT_CELL = 'PlantCells',
371
+ PLANT_CELL_INPUT_GROUP = 'PC Input Group',
372
+ PLANT_CELL_OUTPUT_GROUP = 'PC Output Group',
373
+
374
+ // Steam
375
+ VALUES = 'Valves',
376
+ STEAM_TRAPS = 'Steam Traps',
377
+ PRESSURE_REGULATORS = 'Pressure Regulator',
378
+ SAFETY_VALUES_AND_EQUIPMENT = 'Safety Valves and Equipment',
379
+ CONDENSATE_RETURN_SYSTEM = 'Condensate Return System',
380
+ DEAERATORS = 'Deaerators',
381
+ FEEDWATER_PUMPS = 'Feedwater Pumps',
382
+ BLOWDOWN_TANKS = 'Blowdown Tanks',
383
+ EXPANSION_TANKS = 'Expansion Tanks',
384
+ HEAT_EXCHANGERS = 'SteamConsumings',
385
+ TURBINES = 'EnergyConverters',
386
+
387
+ STEAM_COMPONENT = 'SteamComponents',
388
+ STEAM_CONSUMING_SYSTEM = 'SteamConsumings',
389
+ ENERGY_CONVERTER = 'EnergyConverters',
390
+ }
391
+
392
+ export enum ENUM_CATEGORY {}
393
+
394
+ export enum DATA_COLLECTION_METHOD {
395
+ MEASURED = 'Measured',
396
+ MANUAL = 'Manual',
397
+ COMPUTED = 'Computed',
398
+ ESTIMATED = 'Estimated',
399
+ WATER_CAPACITY = 'Water Capacity',
400
+ KEY_MODEL_COMPUTED = 'M',
401
+ }
402
+
403
+ export const COLOR_COLLECTION_METHOD: {
404
+ [key in AtoGojsEditorModel.DATA_COLLECTION_METHOD]: any;
405
+ } = {
406
+ [DATA_COLLECTION_METHOD.MEASURED]: {
407
+ name: DATA_COLLECTION_METHOD.MEASURED,
408
+ color: ENUM_COLORS.RED,
409
+ classNameColor: 'color-burnt-sienna',
410
+ },
411
+ [DATA_COLLECTION_METHOD.MANUAL]: {
412
+ name: DATA_COLLECTION_METHOD.MANUAL,
413
+ color: ENUM_COLORS.ELF_GREEN,
414
+ classNameColor: 'color-elf-green',
415
+ },
416
+ [DATA_COLLECTION_METHOD.COMPUTED]: {
417
+ name: DATA_COLLECTION_METHOD.COMPUTED,
418
+ color: ENUM_COLORS.CERULEAN,
419
+ classNameColor: 'color-cerulean',
420
+ },
421
+ [DATA_COLLECTION_METHOD.ESTIMATED]: {
422
+ name: DATA_COLLECTION_METHOD.ESTIMATED,
423
+ color: ENUM_COLORS.MEDIUM_RED_VIOLET,
424
+ classNameColor: 'color-medium-red-violet',
425
+ },
426
+ [DATA_COLLECTION_METHOD.WATER_CAPACITY]: {
427
+ name: DATA_COLLECTION_METHOD.WATER_CAPACITY,
428
+ color: ENUM_COLORS.VIVID_VIOLET,
429
+ classNameColor: 'color-vivid-violet',
430
+ },
431
+ [DATA_COLLECTION_METHOD.KEY_MODEL_COMPUTED]: {
432
+ name: DATA_COLLECTION_METHOD.KEY_MODEL_COMPUTED,
433
+ color: ENUM_COLORS.GRAY,
434
+ classNameColor: 'color-bali-hai',
435
+ },
436
+ };
437
+
438
+ // export enum WITH_DRAW_TYPES {
439
+ // TANKER = 'Tanker',
440
+ // RAIN_WATER = 'Rainwater',
441
+ // }
442
+
443
+ export enum WITH_DRAW_SYSTEM_TYPES {
444
+ WATER_SOURCE = 'WaterSource',
445
+ }
446
+
447
+ // export enum DISCHARGE_TYPES {
448
+ // GROUND_WATER_RENEWABLE = 'Ground Water Renewable',
449
+ // }
450
+
451
+ export enum DISCHARGE_TYPES_SYSTEM_TYPES {
452
+ GROUND_WATER_RANEWABLE = 'GroundWaterRenewable',
453
+ }
454
+
455
+ export const WaterWithdrawSources = 'WaterWithdrawSources';
456
+ export const WaterWithdrawSourcesPath =
457
+ 'GetFlowTopology.Plant.WaterWithdrawSources.ComponentWaterFlow.InFlows.InflowWaterRecord.QuantityParams';
458
+
459
+ export const WaterDischargeDestinations = 'WaterDischargeDestinations';
460
+ export const WaterDischargeDestinationsPath =
461
+ 'GetFlowTopology.Plant.WaterDischargeDestinations.ComponentWaterFlow.InFlows.InflowWaterRecord.QuantityParams';
462
+
463
+ export const SOURCES_COMPONENTS = [
464
+ WaterWithdrawSources,
465
+ WaterDischargeDestinations,
466
+ ENUM_TYPES.ELECTRIC_SOURCES,
467
+ ENUM_TYPES.ELECTRIC_PRODUCTIONS,
468
+ ENUM_TYPES.GAS_SOURCE,
469
+ ENUM_TYPES.GAS_PRODUCTION,
470
+ ENUM_TYPES.FUEL_SOURCES,
471
+ // ENUM_TYPES.FUEL_STORAGE_TANKS,
472
+ ];
473
+
474
+ export const SOURCES_WITHDRAW = [
475
+ WaterWithdrawSources,
476
+ ENUM_TYPES.ELECTRIC_SOURCES,
477
+ ENUM_TYPES.ELECTRIC_PRODUCTIONS,
478
+ ENUM_TYPES.GAS_SOURCE,
479
+ ENUM_TYPES.GAS_PRODUCTION,
480
+ ENUM_TYPES.FUEL_SOURCES,
481
+ // ENUM_TYPES.FUEL_STORAGE_TANKS,
482
+ ];
483
+
484
+ export const SOURCES_DISCHARGE = [
485
+ WaterDischargeDestinations,
486
+ // ENUM_TYPES.ELECTRIC_SOURCES,
487
+ // ENUM_TYPES.ELECTRIC_PRODUCTIONS,
488
+ // ENUM_TYPES.GAS_SOURCE,
489
+ // ENUM_TYPES.GAS_PRODUCTION,
490
+ // ENUM_TYPES.FUEL_SOURCES,
491
+ ];
492
+
493
+ export const COMPONENTS_HAVE_SPECIAL_CATEGORY = [
494
+ // Water
495
+ WaterWithdrawSources,
496
+ WaterDischargeDestinations,
497
+
498
+ // ENUM_TYPES.FRESH_SURFACE_WAER,
499
+ // ENUM_TYPES.THIRD_PARTY_SOURCES,
500
+ // ENUM_TYPES.GROUND_WATER_NON_RENEWABLE,
501
+ // ENUM_TYPES.PRODUCED_ENTRAINED,
502
+ // ENUM_TYPES.BRACKISH_SURFACE_WATER,
503
+ // ENUM_TYPES.GROUND_WATER_RENEWABLE,
504
+
505
+ // Energy
506
+ ENUM_TYPES.ZONE,
507
+ // Electric===================
508
+ ENUM_TYPES.GRID,
509
+ ENUM_TYPES.ELECTRIC_PRODUCTIONS,
510
+ ENUM_TYPES.DIESEL_GENERATORS,
511
+ ENUM_TYPES.NATURAL_GAS_GENERATORS,
512
+ ENUM_TYPES.SOLAR_POWER,
513
+ ENUM_TYPES.ELECTRIC_SOURCES,
514
+ ENUM_TYPES.Electricals,
515
+ // ENUM_TYPES.ELECTRIC_COMSUMINGS,
516
+ // ENUM_TYPES.ELECTRIC_STORAGES,
517
+ // ENUM_TYPES.PROCESS_CONTROL_AUTOMATION_SYSTEMS,
518
+ // ENUM_TYPES.POWER_DISTRIBUTION_CONTROL_SYSTEMS,
519
+
520
+ // Gas========================
521
+ // ENUM_TYPES.NATURAL_GAS_PIPELINES,
522
+ ENUM_TYPES.GAS_SOURCE,
523
+ ENUM_TYPES.GAS_PRODUCTION,
524
+ ENUM_TYPES.LIQUEFIED_NATURAL_GAS,
525
+ ENUM_TYPES.ON_SITE_PRODUCTION,
526
+ ENUM_TYPES.NATURAL_GAS_PIPELINES,
527
+ ENUM_TYPES.LIQUEFIED_NATURAL_GAS,
528
+ ENUM_TYPES.COMPRESSED_NATURAL_GAS_PRODUCTION,
529
+ // ENUM_TYPES.COMPRESSED_NATURAL_GAS_PIPELINE,
530
+ // ENUM_TYPES.COMPRESSED_NATURAL_GAS_PRODUCTION,
531
+ // ENUM_TYPES.FURNACES,
532
+ // ENUM_TYPES.POWER_GENERATION,
533
+ // ENUM_TYPES.COGENERATION,
534
+ // ENUM_TYPES.COMBINED_CYCLE_POWER_PLANTS,
535
+ // ENUM_TYPES.FUEL_FOR_VEHICLES_AND_EQUIPMENT,
536
+ ENUM_TYPES.NATURAL_GAS_SPECIAL,
537
+ //Fuel========================
538
+ ENUM_TYPES.FUEL_SOURCES,
539
+ ENUM_TYPES.TANKER_TRUCKS,
540
+ ENUM_TYPES.PIPELINE,
541
+ ENUM_TYPES.FUELS,
542
+ ];
543
+
544
+ export const WITH_DRAW_TYPE_LIST = [
545
+ ENUM_TYPES.THIRD_PARTY_SOURCES,
546
+ ENUM_TYPES.FRESH_SURFACE_WATER,
547
+ ENUM_TYPES.BRACKISH_SURFACE_WATER,
548
+ ENUM_TYPES.GROUND_WATER_RENEWABLE,
549
+ ENUM_TYPES.GROUND_WATER_NON_RENEWABLE,
550
+ ENUM_TYPES.PRODUCED_ENTRAINED,
551
+ ] as string[];
552
+ export const DISCHARGE_TYPE_LIST = [
553
+ ENUM_TYPES.FRESH_SURFACE_WATER,
554
+ ENUM_TYPES.BRACKISH_SURFACE_WATER,
555
+ ENUM_TYPES.GROUND_WATER_RENEWABLE,
556
+ ENUM_TYPES.THIRD_PARTY_DESTINATIONS,
557
+ ] as string[];
558
+
559
+ export const WITH_DRAW_SYSTEM_TYPE_LIST = [
560
+ WITH_DRAW_SYSTEM_TYPES.WATER_SOURCE,
561
+ ];
562
+ export const DISCHARGE_SYSTEM_TYPE_LIST = [
563
+ DISCHARGE_TYPES_SYSTEM_TYPES.GROUND_WATER_RANEWABLE,
564
+ ];
565
+
566
+ // system type
567
+ export const TYPE_COMPONENT = [
568
+ ENUM_TYPES.STORAGE,
569
+
570
+ ENUM_TYPES.WATER_TREATMENT,
571
+ ENUM_TYPES.DEMIN_WATER_TREATMENT,
572
+ ENUM_TYPES.RO_WATER_TREATMENT,
573
+
574
+ ENUM_TYPES.PROCESS,
575
+
576
+ ENUM_TYPES.WASTEWATER_TREATMENT,
577
+ ENUM_TYPES.DAF_WASTEWATER_TREATMENT,
578
+ ENUM_TYPES.ETP_WASTEWATER_TREATMENT,
579
+ ENUM_TYPES.MBR_WASTEWATER_TREATMENT,
580
+ ENUM_TYPES.ZLD_WASTEWATER_TREATMENT,
581
+
582
+ ENUM_TYPES.DOMESTIC_USE,
583
+ ENUM_TYPES.COOLING_TOWER,
584
+ ENUM_TYPES.BOILER,
585
+ ENUM_TYPES.OTHER,
586
+ ENUM_TYPES.LANDSCAPING_IRRIGATION,
587
+ AtoGojsEditorModel.WaterWithdrawSources,
588
+ AtoGojsEditorModel.WaterDischargeDestinations,
589
+ // Energy
590
+ ENUM_TYPES.ZONE,
591
+ // Electricity==========================
592
+ ENUM_TYPES.GRID,
593
+ ENUM_TYPES.DIESEL_GENERATORS,
594
+ ENUM_TYPES.BATTERY_ENERGY_STORAGE,
595
+ ENUM_TYPES.LIGHTING_SYSTEMS,
596
+ ENUM_TYPES.LIGHTINGS,
597
+ ENUM_TYPES.ELECTRIC_METERS,
598
+ ENUM_TYPES.TRANSFORMERS,
599
+ ENUM_TYPES.ELECTRIC_FLYWHEEL_ENERGY_STORAGE,
600
+ ENUM_TYPES.PUMPED_HYDRO_STORAGE,
601
+ ENUM_TYPES.THERMAL_ENERGY_STORAGE,
602
+ ENUM_TYPES.SUPER_CAPACITOR_ENERGY_STORAGE,
603
+ ENUM_TYPES.SWITCH_GEARS,
604
+ ENUM_TYPES.PROCESS_CONTROL_AUTOMATION_SYSTEMS,
605
+ ENUM_TYPES.PROCESS_EQUIPMENT_MACHINES,
606
+ ENUM_TYPES.OFFICE_EQUIPMENT,
607
+ ENUM_TYPES.POWER_DISTRIBUTION_CONTROL_SYSTEMS,
608
+ ENUM_TYPES.POWER_DISTRIBUTION_SYSTEMS,
609
+ ENUM_TYPES.NATURAL_GAS_GENERATORS,
610
+ ENUM_TYPES.MOTOR_CONTROLS,
611
+ ENUM_TYPES.VARIABLE_FREQUENCY_DRIVERS,
612
+ ENUM_TYPES.ELECTRIC_HVAC,
613
+ ENUM_TYPES.COMPRESSED_AIR_SYSTEMS,
614
+ ENUM_TYPES.REFRIGERATION_COOLING_SYSTEMS,
615
+ ENUM_TYPES.MATERIAL_HANDLING_EQUIPMENT,
616
+ ENUM_TYPES.WIND_POWER,
617
+ ENUM_TYPES.ELECTRIC_INDUSTRIAL_MOTORS,
618
+ ENUM_TYPES.GROUNDING,
619
+ ENUM_TYPES.ELECTRIC_STORAGES,
620
+ ENUM_TYPES.ELECTRIC_COMSUMINGS,
621
+
622
+ // TEST
623
+ ENUM_TYPES.ELECTRIC_SOURCES,
624
+ // Gas==========================
625
+ ENUM_TYPES.NATURAL_GAS_PIPELINES,
626
+ ENUM_TYPES.LIQUEFIED_NATURAL_GAS,
627
+ ENUM_TYPES.COMPRESSED_NATURAL_GAS_PIPELINE,
628
+ ENUM_TYPES.ON_SITE_PRODUCTION,
629
+ ENUM_TYPES.COMPRESSED_NATURAL_GAS_PRODUCTION,
630
+ ENUM_TYPES.BOILERS_AND_HEATERS,
631
+ ENUM_TYPES.FURNACES,
632
+ ENUM_TYPES.POWER_GENERATION,
633
+ ENUM_TYPES.COGENERATION,
634
+ ENUM_TYPES.COMBINED_CYCLE_POWER_PLANTS,
635
+ ENUM_TYPES.FUEL_FOR_VEHICLES_AND_EQUIPMENT,
636
+ ENUM_TYPES.GAS_METERS,
637
+ ENUM_TYPES.BURNERS,
638
+ ENUM_TYPES.FLUE_GAS_ANALYZERS,
639
+ ENUM_TYPES.COMBUSTION_CONTROL_SYSTEMS,
640
+ ENUM_TYPES.GAS_STORAGE_TANKS,
641
+ ENUM_TYPES.GAS_PRESSURE_REGULATORS,
642
+ ENUM_TYPES.NATURAL_GAS,
643
+
644
+ ENUM_TYPES.GAS_SOURCE,
645
+ // ENUM_TYPES.GAS_PRODUCTION,
646
+ ENUM_TYPES.GAS_CONSUMINGS,
647
+
648
+ // Fuel==========================
649
+ ENUM_TYPES.DIESEL_FUELS,
650
+ ENUM_TYPES.GASON_LINES,
651
+ ENUM_TYPES.BIODIESELS,
652
+ ENUM_TYPES.KEROSENSE,
653
+ ENUM_TYPES.PROPANES,
654
+ ENUM_TYPES.FUEL_CONSUMINGS,
655
+ ENUM_TYPES.INDUSTRIAL_BOILERS,
656
+ ENUM_TYPES.GENERATORS,
657
+ ENUM_TYPES.INDUSTRIAL_FURNACES,
658
+ ENUM_TYPES.INDUSTRIAL_OVENS,
659
+ ENUM_TYPES.INDUSTRIAL_VEHICLES_AND_EQUIPMENT,
660
+ ENUM_TYPES.FUEL_METERS,
661
+ ENUM_TYPES.FUEL_DISPENSERS,
662
+ ENUM_TYPES.FUEL_STRORAGE_TANKS,
663
+ ENUM_TYPES.FUEL_FILTRATIONS,
664
+ ENUM_TYPES.FUEL_MANAGEMENTS,
665
+ ENUM_TYPES.FUELS,
666
+
667
+ // Solar =============================
668
+ ENUM_TYPES.SOLAR_POWER,
669
+ ENUM_TYPES.BATTERIES,
670
+ ENUM_TYPES.INVERTERS,
671
+ ENUM_TYPES.POWER_CONDITIONING_UNIT,
672
+
673
+ // Plant Cell
674
+ ENUM_TYPES.PLANT_CELL,
675
+
676
+ // Copy form ENUM_TYPES
677
+ ENUM_TYPES.STORAGE,
678
+
679
+ ENUM_TYPES.WATER_TREATMENT,
680
+ ENUM_TYPES.DEMIN_WATER_TREATMENT,
681
+ ENUM_TYPES.RO_WATER_TREATMENT,
682
+
683
+ ENUM_TYPES.PROCESS,
684
+ ENUM_TYPES.SPECIAL_STORAGE,
685
+
686
+ ENUM_TYPES.WASTEWATER_TREATMENT,
687
+ ENUM_TYPES.DAF_WASTEWATER_TREATMENT,
688
+ ENUM_TYPES.ETP_WASTEWATER_TREATMENT,
689
+ ENUM_TYPES.MBR_WASTEWATER_TREATMENT,
690
+ ENUM_TYPES.ZLD_WASTEWATER_TREATMENT,
691
+
692
+ ENUM_TYPES.DOMESTIC_USE,
693
+ ENUM_TYPES.COOLING_TOWER,
694
+ ENUM_TYPES.BOILER,
695
+ ENUM_TYPES.OTHER,
696
+ ENUM_TYPES.LANDSCAPING_IRRIGATION,
697
+
698
+ ENUM_TYPES.FRESH_SURFACE_WATER,
699
+ ENUM_TYPES.THIRD_PARTY_SOURCES,
700
+ ENUM_TYPES.THIRD_PARTY_DESTINATIONS,
701
+ ENUM_TYPES.GROUND_WATER_NON_RENEWABLE,
702
+ ENUM_TYPES.PRODUCED_ENTRAINED,
703
+
704
+ // FRESH_SURFACE_WAER = 'Fresh surface water',
705
+ ENUM_TYPES.BRACKISH_SURFACE_WATER,
706
+ ENUM_TYPES.GROUND_WATER_RENEWABLE,
707
+
708
+ ENUM_TYPES.TANKER_WATER,
709
+ // ENERGY
710
+ ENUM_TYPES.ZONE,
711
+ // Electric
712
+ ENUM_TYPES.ELECTRIC_SOURCES,
713
+ ENUM_TYPES.GRID,
714
+ ENUM_TYPES.DIESEL_GENERATORS,
715
+ ENUM_TYPES.ELECTRIC_METERS,
716
+ ENUM_TYPES.TRANSFORMERS,
717
+ // Electric New
718
+ ENUM_TYPES.BATTERY_ENERGY_STORAGE,
719
+ ENUM_TYPES.ELECTRIC_PRODUCTIONS,
720
+ ENUM_TYPES.ELECTRIC_COMSUMINGS,
721
+ ENUM_TYPES.ELECTRIC_STORAGES,
722
+ ENUM_TYPES.ELECTRIC_FLYWHEEL_ENERGY_STORAGE,
723
+ ENUM_TYPES.PUMPED_HYDRO_STORAGE,
724
+ ENUM_TYPES.THERMAL_ENERGY_STORAGE,
725
+ ENUM_TYPES.SUPER_CAPACITOR_ENERGY_STORAGE,
726
+ ENUM_TYPES.SWITCH_GEARS,
727
+ ENUM_TYPES.MOTOR_CONTROLS,
728
+ ENUM_TYPES.VARIABLE_FREQUENCY_DRIVERS,
729
+ ENUM_TYPES.LIGHTING_SYSTEMS,
730
+ ENUM_TYPES.LIGHTINGS,
731
+ ENUM_TYPES.ELECTRIC_HVAC,
732
+ ENUM_TYPES.COMPRESSED_AIR_SYSTEMS,
733
+ ENUM_TYPES.REFRIGERATION_COOLING_SYSTEMS,
734
+ ENUM_TYPES.PROCESS_EQUIPMENT_MACHINES,
735
+ ENUM_TYPES.PROCESS_CONTROL_AUTOMATION_SYSTEMS,
736
+ ENUM_TYPES.OFFICE_EQUIPMENT,
737
+ ENUM_TYPES.MATERIAL_HANDLING_EQUIPMENT,
738
+ ENUM_TYPES.POWER_DISTRIBUTION_CONTROL_SYSTEMS,
739
+ ENUM_TYPES.POWER_DISTRIBUTION_SYSTEMS,
740
+ ENUM_TYPES.WIND_POWER,
741
+ ENUM_TYPES.NATURAL_GAS_GENERATORS,
742
+ ENUM_TYPES.ELECTRIC_INDUSTRIAL_MOTORS,
743
+ ENUM_TYPES.GROUNDING,
744
+ ENUM_TYPES.Electricals,
745
+
746
+ // Gas
747
+ ENUM_TYPES.NATURAL_GAS_PIPELINES,
748
+ ENUM_TYPES.LIQUEFIED_NATURAL_GAS,
749
+ ENUM_TYPES.COMPRESSED_NATURAL_GAS_PIPELINE,
750
+ ENUM_TYPES.ON_SITE_PRODUCTION,
751
+ ENUM_TYPES.COMPRESSED_NATURAL_GAS_PRODUCTION,
752
+ ENUM_TYPES.BOILERS_AND_HEATERS,
753
+ ENUM_TYPES.FURNACES,
754
+ ENUM_TYPES.POWER_GENERATION,
755
+ ENUM_TYPES.COGENERATION,
756
+ ENUM_TYPES.COMBINED_CYCLE_POWER_PLANTS,
757
+ ENUM_TYPES.FUEL_FOR_VEHICLES_AND_EQUIPMENT,
758
+ ENUM_TYPES.GAS_METERS,
759
+ ENUM_TYPES.BURNERS,
760
+ ENUM_TYPES.FLUE_GAS_ANALYZERS,
761
+ ENUM_TYPES.COMBUSTION_CONTROL_SYSTEMS,
762
+ ENUM_TYPES.GAS_STORAGE_TANKS,
763
+ ENUM_TYPES.GAS_PRESSURE_REGULATORS,
764
+ ENUM_TYPES.NATURAL_GAS,
765
+ // TYPE_COMPONENT Gas
766
+ ENUM_TYPES.GAS_SOURCE,
767
+ ENUM_TYPES.GAS_PRODUCTION,
768
+ ENUM_TYPES.GAS_CONSUMINGS,
769
+ ENUM_TYPES.NATURAL_GAS_SPECIAL,
770
+
771
+ // Fuel
772
+ ENUM_TYPES.FUELS,
773
+ ENUM_TYPES.DIESEL_FUELS,
774
+ ENUM_TYPES.GASON_LINES,
775
+ ENUM_TYPES.BIODIESELS,
776
+ ENUM_TYPES.KEROSENSE,
777
+ ENUM_TYPES.PROPANES,
778
+
779
+ ENUM_TYPES.FUEL_SOURCES,
780
+
781
+ ENUM_TYPES.TANKER_TRUCKS,
782
+ ENUM_TYPES.PIPELINE,
783
+
784
+ ENUM_TYPES.FUEL_CONSUMINGS,
785
+
786
+ ENUM_TYPES.INDUSTRIAL_BOILERS,
787
+ ENUM_TYPES.GENERATORS,
788
+ ENUM_TYPES.INDUSTRIAL_FURNACES,
789
+ ENUM_TYPES.INDUSTRIAL_OVENS,
790
+ ENUM_TYPES.INDUSTRIAL_VEHICLES_AND_EQUIPMENT,
791
+
792
+ ENUM_TYPES.FUEL_METERS,
793
+ ENUM_TYPES.FUEL_DISPENSERS,
794
+ ENUM_TYPES.FUEL_STRORAGE_TANKS,
795
+ ENUM_TYPES.FUEL_FILTRATIONS,
796
+ ENUM_TYPES.FUEL_MANAGEMENTS,
797
+
798
+ // Solar
799
+ ENUM_TYPES.SOLAR_POWER,
800
+ ENUM_TYPES.POWER_CONDITIONING_UNIT,
801
+ ENUM_TYPES.INVERTERS,
802
+ ENUM_TYPES.BATTERIES,
803
+
804
+ // Plant Cell
805
+ ENUM_TYPES.PLANT_CELL,
806
+ ENUM_TYPES.PLANT_CELL_INPUT_GROUP,
807
+ ENUM_TYPES.PLANT_CELL_OUTPUT_GROUP,
808
+
809
+ // Steam
810
+ ENUM_TYPES.VALUES,
811
+ ENUM_TYPES.STEAM_TRAPS,
812
+ ENUM_TYPES.PRESSURE_REGULATORS,
813
+ ENUM_TYPES.SAFETY_VALUES_AND_EQUIPMENT,
814
+ ENUM_TYPES.CONDENSATE_RETURN_SYSTEM,
815
+ ENUM_TYPES.DEAERATORS,
816
+ ENUM_TYPES.FEEDWATER_PUMPS,
817
+ ENUM_TYPES.BLOWDOWN_TANKS,
818
+ ENUM_TYPES.EXPANSION_TANKS,
819
+ ENUM_TYPES.HEAT_EXCHANGERS,
820
+ ENUM_TYPES.TURBINES,
821
+ ENUM_TYPES.STEAM_COMPONENT,
822
+ ENUM_TYPES.STEAM_CONSUMING_SYSTEM,
823
+ ENUM_TYPES.ENERGY_CONVERTER,
824
+ ] as string[];
825
+
826
+ export const ICON_ASSET_PATH: string = 'assets/images/editor/icons';
827
+ export const ICON_ASSET_WITHDRAW_DISCHARGE_ICON: string =
828
+ '/assets/images/icons/hoskote_plant';
829
+ export const IMAGE_RO_WATER_TREATMENT_PATH =
830
+ '/assets/images/ro-water-treatment/RO_WATER_TREATMENT_BG.png';
831
+ export const IMAGE_BOILER_PATH = 'assets/images/boiler/cms_boiler.png';
832
+ export const IMAGE_COOLING_TOWER_PATH =
833
+ 'assets/images/process-water/cooling-tower-4.png';
834
+ export const SPECIAL_ICON_ASSET_PATH: string = 'assets/images/editor/special';
835
+ export const ENERGY_ICON_ASSET_PATH = 'assets/images/editor/energy';
836
+ export const GAS_ICON_ASSET_PATH = 'assets/images/editor/gas';
837
+ export const FUEL_ICON_ASSET_PATH = 'assets/images/editor/fuel';
838
+ export const STEAM_ICON_ASSET_PATH = 'assets/images/editor/steam';
839
+ export const PLANT_CELL_PATH = 'assets/images/editor/plant-cell';
840
+ export const DATA_BOX = 'assets/images/editor/data-box';
841
+
842
+ export const LINK_TEMPLATES: {
843
+ [key in AtoGojsEditorModel.ENUM_LINK_TYPES]: any;
844
+ } = {
845
+ [ENUM_LINK_TYPES.SIMPLE]: {
846
+ toShortLength: 8,
847
+ strokeWidth: 8,
848
+ arrow: {
849
+ toArrow: 'Triangle',
850
+ visible: true,
851
+ stroke: AtoGojsEditorModel.ENUM_COLORS.GRAY,
852
+ fill: AtoGojsEditorModel.ENUM_COLORS.GRAY,
853
+ scale: 1.7,
854
+ },
855
+ },
856
+ [ENUM_LINK_TYPES.PIPE]: {
857
+ strokeWidth: 8,
858
+ },
859
+ [ENUM_LINK_TYPES.PIPE_ANIMATION]: {
860
+ strokeWidth: 8,
861
+ animation: {
862
+ isPanelMain: true,
863
+ stroke: 'white',
864
+ strokeWidth: 2,
865
+ name: 'PIPE',
866
+ strokeDashArray: [10, 20],
867
+ visible: false,
868
+ },
869
+ },
870
+ [ENUM_LINK_TYPES.PIPE_HIDDEN]: {
871
+ strokeWidth: 0,
872
+ selectable: false,
873
+ arrow: {
874
+ visible: false,
875
+ },
876
+ },
877
+ };
878
+
879
+ export interface I_TEMPLATE_ITEM {
880
+ name: AtoGojsEditorModel.ENUM_TEMPLATES;
881
+ icon?: string;
882
+ size?: { w: number; h: number };
883
+ systemType?: string;
884
+ }
885
+
886
+ export const ATTRNAME_COMPONENT: any[] = [
887
+ 'waterWithdrawName',
888
+ 'waterDischargeName',
889
+ 'wasteWaterProcessName',
890
+ 'waterTreatmentName',
891
+ 'waterStorageTankName',
892
+ 'genericProcessName',
893
+ 'boilerName',
894
+ 'coolingTowerName',
895
+ 'facilityFunctionName',
896
+ 'miscWaterUseName',
897
+ 'plantTopologyName',
898
+ ];
899
+
900
+ // export enum GROUP_COMPONENT_TYPE {
901
+ // WITHDRAW_SOURCES = 'Withdraw Sources',
902
+ // PROCESSE = 'Processe',
903
+ // WASTEWATER_TREATEMENTS = 'WasteWater Treatements',
904
+ // WATER_TREATMENT = 'Water Treatments',
905
+ // DISCHARGE_DESTINATIONS = 'Discharge Destinations',
906
+ // WATER_STORAGE = 'Water Storage',
907
+ // FACILITY_FUNCTIONS = 'Facility functions',
908
+ // OTHER = 'Other',
909
+ // }
910
+
911
+ export const NODE_TEMPLATES: {
912
+ [key in AtoGojsEditorModel.ENUM_TEMPLATES]: I_TEMPLATE_ITEM;
913
+ } = {
914
+ [ENUM_TEMPLATES.STORAGE]: {
915
+ name: ENUM_TEMPLATES.STORAGE,
916
+ icon: `${ICON_ASSET_PATH}/Raw Water Tank.svg`,
917
+ systemType: ENUM_TYPES.STORAGE,
918
+ },
919
+ [ENUM_TEMPLATES.COOLING_TOWER]: {
920
+ name: ENUM_TEMPLATES.COOLING_TOWER,
921
+ icon: `${ICON_ASSET_PATH}/cooling_tower.svg`,
922
+ systemType: ENUM_TYPES.COOLING_TOWER,
923
+ },
924
+
925
+ // WATER_TREATMENT
926
+ [ENUM_TEMPLATES.WATER_TREATMENT]: {
927
+ name: ENUM_TEMPLATES.WATER_TREATMENT,
928
+ icon: `${ICON_ASSET_PATH}/water_treatment.svg`,
929
+ systemType: ENUM_TYPES.WATER_TREATMENT,
930
+ },
931
+ [ENUM_TEMPLATES.DEMIN_WATER_TREATMENT]: {
932
+ name: ENUM_TEMPLATES.DEMIN_WATER_TREATMENT,
933
+ icon: `${ICON_ASSET_PATH}/Demin.svg`,
934
+ systemType: ENUM_TYPES.DEMIN_WATER_TREATMENT,
935
+ },
936
+ [ENUM_TEMPLATES.RO_WATER_TREATMENT]: {
937
+ name: ENUM_TEMPLATES.RO_WATER_TREATMENT,
938
+ icon: `${ICON_ASSET_PATH}/RO.svg`,
939
+ systemType: ENUM_TYPES.RO_WATER_TREATMENT,
940
+ },
941
+
942
+ [ENUM_TEMPLATES.DOMESTIC_USE]: {
943
+ name: ENUM_TEMPLATES.DOMESTIC_USE,
944
+ icon: `${ICON_ASSET_PATH}/Domestic_new.svg`,
945
+ systemType: ENUM_TYPES.DOMESTIC_USE,
946
+ },
947
+ [ENUM_TEMPLATES.PROCESS]: {
948
+ name: ENUM_TEMPLATES.PROCESS,
949
+ // icon: `${ICON_ASSET_PATH}/process.svg`,
950
+ icon: `${ICON_ASSET_PATH}/Generic Process.svg`,
951
+ systemType: ENUM_TYPES.PROCESS,
952
+ },
953
+ [ENUM_TEMPLATES.SPECIAL_STORAGE]: {
954
+ name: ENUM_TEMPLATES.SPECIAL_STORAGE,
955
+ icon: `${ICON_ASSET_PATH}/process.svg`,
956
+ systemType: ENUM_TYPES.SPECIAL_STORAGE,
957
+ },
958
+ [ENUM_TEMPLATES.BOILER]: {
959
+ name: ENUM_TEMPLATES.BOILER,
960
+ icon: `${ICON_ASSET_PATH}/Boiler.svg`,
961
+ systemType: ENUM_TYPES.BOILER,
962
+ },
963
+
964
+ // WASTEWATER_TREATMENT
965
+ [ENUM_TEMPLATES.WASTEWATER_TREATMENT]: {
966
+ name: ENUM_TEMPLATES.WASTEWATER_TREATMENT,
967
+ icon: `${ICON_ASSET_PATH}/wastewater_treatment.svg`,
968
+ // size: {
969
+ // w: GRID_SIZE * 8,
970
+ // h: GRID_SIZE * 6,
971
+ // },
972
+ systemType: ENUM_TYPES.WASTEWATER_TREATMENT,
973
+ },
974
+ [ENUM_TEMPLATES.DAF_WASTEWATER_TREATMENT]: {
975
+ name: ENUM_TEMPLATES.DAF_WASTEWATER_TREATMENT,
976
+ icon: `${ICON_ASSET_PATH}/DAF.svg`,
977
+ // size: {
978
+ // w: GRID_SIZE * 8,
979
+ // h: GRID_SIZE * 6,
980
+ // },
981
+ systemType: ENUM_TYPES.DAF_WASTEWATER_TREATMENT,
982
+ },
983
+ [ENUM_TEMPLATES.ETP_WASTEWATER_TREATMENT]: {
984
+ name: ENUM_TEMPLATES.ETP_WASTEWATER_TREATMENT,
985
+ icon: `${ICON_ASSET_PATH}/water_treatment.svg`,
986
+ systemType: ENUM_TYPES.ETP_WASTEWATER_TREATMENT,
987
+ },
988
+ [ENUM_TEMPLATES.MBR_WASTEWATER_TREATMENT]: {
989
+ name: ENUM_TEMPLATES.MBR_WASTEWATER_TREATMENT,
990
+ icon: `${ICON_ASSET_PATH}/MBR.svg`,
991
+ // size: {
992
+ // w: GRID_SIZE * 8,
993
+ // h: GRID_SIZE * 6,
994
+ // },
995
+ systemType: ENUM_TYPES.MBR_WASTEWATER_TREATMENT,
996
+ },
997
+ [ENUM_TEMPLATES.ZLD_WASTEWATER_TREATMENT]: {
998
+ name: ENUM_TEMPLATES.ZLD_WASTEWATER_TREATMENT,
999
+ icon: `${ICON_ASSET_PATH}/ZLD.svg`,
1000
+ // size: {
1001
+ // w: GRID_SIZE * 8,
1002
+ // h: GRID_SIZE * 6,
1003
+ // },
1004
+ systemType: ENUM_TYPES.ZLD_WASTEWATER_TREATMENT,
1005
+ },
1006
+
1007
+ [ENUM_TEMPLATES.LANDSCAPING_IRRIGATION]: {
1008
+ name: ENUM_TEMPLATES.LANDSCAPING_IRRIGATION,
1009
+ icon: `${ICON_ASSET_PATH}/Irrigation.svg`,
1010
+ // size: {
1011
+ // w: GRID_SIZE * 8,
1012
+ // h: GRID_SIZE * 6,
1013
+ // },
1014
+ systemType: ENUM_TYPES.LANDSCAPING_IRRIGATION,
1015
+ },
1016
+ [ENUM_TEMPLATES.OTHER]: {
1017
+ name: ENUM_TEMPLATES.OTHER,
1018
+ icon: `${ICON_ASSET_PATH}/other.svg`,
1019
+ systemType: ENUM_TYPES.OTHER,
1020
+ },
1021
+ [ENUM_TEMPLATES.TEXT_NODE]: {
1022
+ name: ENUM_TEMPLATES.TEXT_NODE,
1023
+ },
1024
+ [ENUM_TEMPLATES.EMPTY]: {
1025
+ name: ENUM_TEMPLATES.EMPTY,
1026
+ },
1027
+
1028
+ [ENUM_TEMPLATES.VALUE_NODE]: {
1029
+ name: ENUM_TEMPLATES.VALUE_NODE,
1030
+ },
1031
+ [ENUM_TEMPLATES.VALUE_LABEL]: {
1032
+ name: ENUM_TEMPLATES.VALUE_LABEL,
1033
+ },
1034
+ [ENUM_TEMPLATES.TEXT_LABEL]: {
1035
+ name: ENUM_TEMPLATES.TEXT_LABEL,
1036
+ },
1037
+ [ENUM_TEMPLATES.DATA_BOX]: {
1038
+ name: ENUM_TEMPLATES.DATA_BOX,
1039
+ },
1040
+
1041
+ [ENUM_TEMPLATES.SPECIAL_PROCESS]: {
1042
+ name: ENUM_TEMPLATES.SPECIAL_PROCESS,
1043
+ icon: `${SPECIAL_ICON_ASSET_PATH}/process.svg`,
1044
+ },
1045
+ [ENUM_TEMPLATES.SPECIAL_STORE]: {
1046
+ name: ENUM_TEMPLATES.SPECIAL_STORE,
1047
+ icon: `${SPECIAL_ICON_ASSET_PATH}/Discharge.svg`,
1048
+ },
1049
+ [ENUM_TEMPLATES.SPECIAL_DISCHARGE]: {
1050
+ name: ENUM_TEMPLATES.SPECIAL_DISCHARGE,
1051
+ icon: `${SPECIAL_ICON_ASSET_PATH}/Discharge.svg`,
1052
+ },
1053
+
1054
+ [ENUM_TEMPLATES.THIRD_PARTY_SOURCES]: {
1055
+ name: ENUM_TEMPLATES.THIRD_PARTY_SOURCES,
1056
+ // icon: `${ICON_ASSET_PATH}/Intake.svg`,
1057
+ icon: `${ICON_ASSET_PATH}/Third Party Sources.svg`,
1058
+ systemType: ENUM_TYPES.THIRD_PARTY_SOURCES,
1059
+ },
1060
+
1061
+ [ENUM_TEMPLATES.THIRD_PARTY_DESTINATIONS]: {
1062
+ name: ENUM_TEMPLATES.THIRD_PARTY_DESTINATIONS,
1063
+ // icon: `${ICON_ASSET_PATH}/Intake.svg`,
1064
+ icon: `${ICON_ASSET_PATH}/Third party destinations.svg`,
1065
+ systemType: ENUM_TYPES.THIRD_PARTY_DESTINATIONS,
1066
+ },
1067
+
1068
+ [ENUM_TEMPLATES.GROUND_WATER_NON_RENEWABLE]: {
1069
+ name: ENUM_TEMPLATES.GROUND_WATER_NON_RENEWABLE,
1070
+ icon: `${ICON_ASSET_PATH}/Groundwater - Non-Renewable.svg`,
1071
+ systemType: ENUM_TYPES.GROUND_WATER_NON_RENEWABLE,
1072
+ },
1073
+ [ENUM_TEMPLATES.PRODUCED_ENTRAINED]: {
1074
+ name: ENUM_TEMPLATES.PRODUCED_ENTRAINED,
1075
+ icon: `${ICON_ASSET_PATH}/Produced Entrained Water.svg`,
1076
+ systemType: ENUM_TYPES.PRODUCED_ENTRAINED,
1077
+ },
1078
+ [ENUM_TEMPLATES.BRACKISH_SURFACE_WATER]: {
1079
+ name: ENUM_TEMPLATES.BRACKISH_SURFACE_WATER,
1080
+ icon: `${ICON_ASSET_PATH}/Brackisk Surface Water Seawater.svg`,
1081
+ systemType: ENUM_TYPES.BRACKISH_SURFACE_WATER,
1082
+ },
1083
+
1084
+ [ENUM_TEMPLATES.FRESH_SURFACE_WATER]: {
1085
+ name: ENUM_TEMPLATES.FRESH_SURFACE_WATER,
1086
+ icon: `${ICON_ASSET_PATH}/Fresh Surface Water.svg`,
1087
+ systemType: ENUM_TYPES.FRESH_SURFACE_WATER,
1088
+ },
1089
+ [ENUM_TEMPLATES.UTILITY]: {
1090
+ name: ENUM_TEMPLATES.UTILITY,
1091
+ icon: '',
1092
+ // `${ICON_ASSET_PATH}/rain.svg`,
1093
+ },
1094
+
1095
+ [ENUM_TEMPLATES.GROUND_WATER_RENEWABLE]: {
1096
+ name: ENUM_TEMPLATES.GROUND_WATER_RENEWABLE,
1097
+ icon: `${ICON_ASSET_PATH}/Groundwater - Renewable.svg`,
1098
+ systemType: ENUM_TYPES.GROUND_WATER_RENEWABLE,
1099
+ },
1100
+ [ENUM_TEMPLATES.SPECIAL_OTHER]: {
1101
+ name: ENUM_TEMPLATES.SPECIAL_OTHER,
1102
+ icon: `${SPECIAL_ICON_ASSET_PATH}/Discharge.svg`,
1103
+ },
1104
+ // Energy
1105
+ // Electric Node Template ====================================================================
1106
+ [ENUM_TEMPLATES.GRID]: {
1107
+ name: ENUM_TEMPLATES.GRID,
1108
+ icon: `${ENERGY_ICON_ASSET_PATH}/Grid.svg`,
1109
+ systemType: ENUM_TYPES.GRID,
1110
+ // size: {
1111
+ // h: GRID_SIZE * 8,
1112
+ // w: GRID_SIZE * 6,
1113
+ // },
1114
+ },
1115
+ [ENUM_TEMPLATES.DIESEL_GENERATORS]: {
1116
+ name: ENUM_TEMPLATES.DIESEL_GENERATORS,
1117
+ icon: `${ENERGY_ICON_ASSET_PATH}/Diesel Generators.svg`,
1118
+ systemType: ENUM_TYPES.DIESEL_GENERATORS,
1119
+ // size: {
1120
+ // h: GRID_SIZE * 8,
1121
+ // w: GRID_SIZE * 6,
1122
+ // },
1123
+ },
1124
+ [ENUM_TEMPLATES.BATTERY_ENERGY_STORAGE]: {
1125
+ name: ENUM_TEMPLATES.BATTERY_ENERGY_STORAGE,
1126
+ icon: `${ENERGY_ICON_ASSET_PATH}/Battery.svg`,
1127
+ systemType: ENUM_TYPES.BATTERY_ENERGY_STORAGE,
1128
+ },
1129
+ [ENUM_TEMPLATES.LIGHTING_SYSTEMS]: {
1130
+ name: ENUM_TEMPLATES.LIGHTING_SYSTEMS,
1131
+ icon: `${ENERGY_ICON_ASSET_PATH}/Lighting systems.svg`,
1132
+ systemType: ENUM_TYPES.LIGHTING_SYSTEMS,
1133
+ },
1134
+ [ENUM_TEMPLATES.LIGHTINGS]: {
1135
+ name: ENUM_TEMPLATES.LIGHTINGS,
1136
+ icon: `${ENERGY_ICON_ASSET_PATH}/Lights.svg`,
1137
+ systemType: ENUM_TYPES.LIGHTINGS,
1138
+ },
1139
+ [ENUM_TEMPLATES.ELECTRIC_METERS]: {
1140
+ name: ENUM_TEMPLATES.ELECTRIC_METERS,
1141
+ icon: `${ENERGY_ICON_ASSET_PATH}/Meter.svg`,
1142
+ systemType: ENUM_TYPES.ELECTRIC_METERS,
1143
+ },
1144
+
1145
+ [ENUM_TEMPLATES.TRANSFORMERS]: {
1146
+ name: ENUM_TEMPLATES.TRANSFORMERS,
1147
+ icon: `${ENERGY_ICON_ASSET_PATH}/Transformer.svg`,
1148
+ systemType: ENUM_TYPES.TRANSFORMERS,
1149
+ },
1150
+ [ENUM_TEMPLATES.ELECTRIC_FLYWHEEL_ENERGY_STORAGE]: {
1151
+ name: ENUM_TEMPLATES.ELECTRIC_FLYWHEEL_ENERGY_STORAGE,
1152
+ icon: `${ENERGY_ICON_ASSET_PATH}/Pumped hydro storage systems.svg`,
1153
+ systemType: ENUM_TYPES.ELECTRIC_FLYWHEEL_ENERGY_STORAGE,
1154
+ },
1155
+ [ENUM_TEMPLATES.PUMPED_HYDRO_STORAGE]: {
1156
+ name: ENUM_TEMPLATES.PUMPED_HYDRO_STORAGE,
1157
+ icon: `${ENERGY_ICON_ASSET_PATH}/Pumped hydro storage systems.svg`,
1158
+ systemType: ENUM_TYPES.PUMPED_HYDRO_STORAGE,
1159
+ },
1160
+ [ENUM_TEMPLATES.THERMAL_ENERGY_STORAGE]: {
1161
+ name: ENUM_TEMPLATES.THERMAL_ENERGY_STORAGE,
1162
+ icon: `${ENERGY_ICON_ASSET_PATH}/Thermal energy storage systems.svg`,
1163
+ systemType: ENUM_TYPES.THERMAL_ENERGY_STORAGE,
1164
+ },
1165
+ [ENUM_TEMPLATES.SUPER_CAPACITOR_ENERGY_STORAGE]: {
1166
+ name: ENUM_TEMPLATES.SUPER_CAPACITOR_ENERGY_STORAGE,
1167
+ icon: `${ENERGY_ICON_ASSET_PATH}/Supercapacitor energy storage systems.svg`,
1168
+ systemType: ENUM_TYPES.SUPER_CAPACITOR_ENERGY_STORAGE,
1169
+ },
1170
+ [ENUM_TEMPLATES.SWITCH_GEARS]: {
1171
+ name: ENUM_TEMPLATES.SWITCH_GEARS,
1172
+ icon: `${ENERGY_ICON_ASSET_PATH}/Switchgear.svg`,
1173
+ systemType: ENUM_TYPES.SWITCH_GEARS,
1174
+ },
1175
+ [ENUM_TEMPLATES.PROCESS_CONTROL_AUTOMATION_SYSTEMS]: {
1176
+ name: ENUM_TEMPLATES.PROCESS_CONTROL_AUTOMATION_SYSTEMS,
1177
+ icon: `${ENERGY_ICON_ASSET_PATH}/Process control and automation systems.svg`,
1178
+ systemType: ENUM_TYPES.PROCESS_CONTROL_AUTOMATION_SYSTEMS,
1179
+ },
1180
+ [ENUM_TEMPLATES.PROCESS_EQUIPMENT_MACHINES]: {
1181
+ name: ENUM_TEMPLATES.PROCESS_EQUIPMENT_MACHINES,
1182
+ icon: `${ENERGY_ICON_ASSET_PATH}/Process equipment and machines.svg`,
1183
+ systemType: ENUM_TYPES.PROCESS_EQUIPMENT_MACHINES,
1184
+ },
1185
+ [ENUM_TEMPLATES.OFFICE_EQUIPMENT]: {
1186
+ name: ENUM_TEMPLATES.OFFICE_EQUIPMENT,
1187
+ icon: `${ENERGY_ICON_ASSET_PATH}/Office equipment.svg`,
1188
+ systemType: ENUM_TYPES.OFFICE_EQUIPMENT,
1189
+ },
1190
+ [ENUM_TEMPLATES.POWER_DISTRIBUTION_CONTROL_SYSTEMS]: {
1191
+ name: ENUM_TEMPLATES.POWER_DISTRIBUTION_CONTROL_SYSTEMS,
1192
+ icon: `${ENERGY_ICON_ASSET_PATH}/Power distribution and control systems.svg`,
1193
+ systemType: ENUM_TYPES.POWER_DISTRIBUTION_CONTROL_SYSTEMS,
1194
+ },
1195
+ [ENUM_TEMPLATES.POWER_DISTRIBUTION_SYSTEMS]: {
1196
+ name: ENUM_TEMPLATES.POWER_DISTRIBUTION_SYSTEMS,
1197
+ icon: `${ENERGY_ICON_ASSET_PATH}/Power distribution systems.svg`,
1198
+ systemType: ENUM_TYPES.POWER_DISTRIBUTION_SYSTEMS,
1199
+ },
1200
+ [ENUM_TEMPLATES.NATURAL_GAS_GENERATORS]: {
1201
+ name: ENUM_TEMPLATES.NATURAL_GAS_GENERATORS,
1202
+ icon: `${ENERGY_ICON_ASSET_PATH}/Natural gas generators.svg`,
1203
+ systemType: ENUM_TYPES.NATURAL_GAS_GENERATORS,
1204
+ },
1205
+ [ENUM_TEMPLATES.MOTOR_CONTROLS]: {
1206
+ name: ENUM_TEMPLATES.MOTOR_CONTROLS,
1207
+ icon: `${ENERGY_ICON_ASSET_PATH}/Motor control centers (MCCs).svg`,
1208
+ systemType: ENUM_TYPES.MOTOR_CONTROLS,
1209
+ },
1210
+ [ENUM_TEMPLATES.VARIABLE_FREQUENCY_DRIVERS]: {
1211
+ name: ENUM_TEMPLATES.VARIABLE_FREQUENCY_DRIVERS,
1212
+ icon: `${ENERGY_ICON_ASSET_PATH}/Variable frequency drives (VFDs).svg`,
1213
+ systemType: ENUM_TYPES.VARIABLE_FREQUENCY_DRIVERS,
1214
+ },
1215
+ [ENUM_TEMPLATES.ELECTRIC_HVAC]: {
1216
+ name: ENUM_TEMPLATES.ELECTRIC_HVAC,
1217
+ icon: `${ENERGY_ICON_ASSET_PATH}/Gas HVAC.svg`,
1218
+ systemType: ENUM_TYPES.ELECTRIC_HVAC,
1219
+ },
1220
+ [ENUM_TEMPLATES.COMPRESSED_AIR_SYSTEMS]: {
1221
+ name: ENUM_TEMPLATES.COMPRESSED_AIR_SYSTEMS,
1222
+ icon: `${ENERGY_ICON_ASSET_PATH}/Compressed air.svg`,
1223
+ systemType: ENUM_TYPES.COMPRESSED_AIR_SYSTEMS,
1224
+ },
1225
+ [ENUM_TEMPLATES.REFRIGERATION_COOLING_SYSTEMS]: {
1226
+ name: ENUM_TEMPLATES.REFRIGERATION_COOLING_SYSTEMS,
1227
+ icon: `${ENERGY_ICON_ASSET_PATH}/Refrigeration and cooling systems.svg`,
1228
+ systemType: ENUM_TYPES.REFRIGERATION_COOLING_SYSTEMS,
1229
+ },
1230
+
1231
+ [ENUM_TEMPLATES.MATERIAL_HANDLING_EQUIPMENT]: {
1232
+ name: ENUM_TEMPLATES.MATERIAL_HANDLING_EQUIPMENT,
1233
+ icon: `${ENERGY_ICON_ASSET_PATH}/Material handling equipment.svg`,
1234
+ systemType: ENUM_TYPES.MATERIAL_HANDLING_EQUIPMENT,
1235
+ },
1236
+ [ENUM_TEMPLATES.WIND_POWER]: {
1237
+ name: ENUM_TEMPLATES.WIND_POWER,
1238
+ icon: `${ENERGY_ICON_ASSET_PATH}/Wind Power.svg`,
1239
+ systemType: ENUM_TYPES.WIND_POWER,
1240
+ },
1241
+
1242
+ [ENUM_TEMPLATES.ELECTRIC_INDUSTRIAL_MOTORS]: {
1243
+ name: ENUM_TEMPLATES.ELECTRIC_INDUSTRIAL_MOTORS,
1244
+ icon: `${ENERGY_ICON_ASSET_PATH}/Industrial motors.svg`,
1245
+ systemType: ENUM_TYPES.ELECTRIC_INDUSTRIAL_MOTORS,
1246
+ },
1247
+ [ENUM_TEMPLATES.GROUNDING]: {
1248
+ name: ENUM_TEMPLATES.GROUNDING,
1249
+ icon: `${ENERGY_ICON_ASSET_PATH}/Grounding systems.svg`,
1250
+ systemType: ENUM_TYPES.GROUNDING,
1251
+ },
1252
+ // Gas ================================================================================
1253
+
1254
+ [ENUM_TEMPLATES.NATURAL_GAS_PIPELINES]: {
1255
+ name: ENUM_TEMPLATES.NATURAL_GAS_PIPELINES,
1256
+ icon: `${GAS_ICON_ASSET_PATH}/Natural gas pipelines.svg`,
1257
+ systemType: ENUM_TYPES.NATURAL_GAS_PIPELINES,
1258
+ },
1259
+ // [ENUM_TEMPLATES.LIQUEFIED_NATURAL_GAS]: {
1260
+ // name: ENUM_TEMPLATES.LIQUEFIED_NATURAL_GAS,
1261
+ // icon: `${GAS_ICON_ASSET_PATH}/Liquefied natural gas (LNG) shipments.svg`,
1262
+ // systemType: ENUM_TYPES.LIQUEFIED_NATURAL_GAS,
1263
+ // },
1264
+ [ENUM_TEMPLATES.COMPRESSED_NATURAL_GAS_PIPELINE]: {
1265
+ name: ENUM_TEMPLATES.COMPRESSED_NATURAL_GAS_PIPELINE,
1266
+ icon: `${GAS_ICON_ASSET_PATH}/Compressed natural gas pipeline (CNG).svg`,
1267
+ systemType: ENUM_TYPES.COMPRESSED_NATURAL_GAS_PIPELINE,
1268
+ },
1269
+ // [ENUM_TEMPLATES.ON_SITE_PRODUCTION]: {
1270
+ // name: ENUM_TEMPLATES.ON_SITE_PRODUCTION,
1271
+ // icon: `${GAS_ICON_ASSET_PATH}/On-site production.svg`,
1272
+ // systemType: ENUM_TYPES.ON_SITE_PRODUCTION,
1273
+ // },
1274
+ [ENUM_TEMPLATES.COMPRESSED_NATURAL_GAS_PRODUCTION]: {
1275
+ name: ENUM_TEMPLATES.COMPRESSED_NATURAL_GAS_PRODUCTION,
1276
+ icon: `${GAS_ICON_ASSET_PATH}/Compressed natural gas pipeline (CNG).svg`,
1277
+ systemType: ENUM_TYPES.COMPRESSED_NATURAL_GAS_PRODUCTION,
1278
+ },
1279
+ [ENUM_TEMPLATES.BOILERS_AND_HEATERS]: {
1280
+ name: ENUM_TEMPLATES.BOILERS_AND_HEATERS,
1281
+ icon: `${GAS_ICON_ASSET_PATH}/Boilers and heaters.svg`,
1282
+ systemType: ENUM_TYPES.BOILERS_AND_HEATERS,
1283
+ },
1284
+ [ENUM_TEMPLATES.FURNACES]: {
1285
+ name: ENUM_TEMPLATES.FURNACES,
1286
+ icon: `${GAS_ICON_ASSET_PATH}/Furnaces.svg`,
1287
+ systemType: ENUM_TYPES.FURNACES,
1288
+ },
1289
+ [ENUM_TEMPLATES.POWER_GENERATION]: {
1290
+ name: ENUM_TEMPLATES.POWER_GENERATION,
1291
+ icon: `${GAS_ICON_ASSET_PATH}/Power generation.svg`,
1292
+ systemType: ENUM_TYPES.POWER_GENERATION,
1293
+ },
1294
+ [ENUM_TEMPLATES.COGENERATION]: {
1295
+ name: ENUM_TEMPLATES.COGENERATION,
1296
+ icon: `${GAS_ICON_ASSET_PATH}/Cogeneration.svg`,
1297
+ systemType: ENUM_TYPES.COGENERATION,
1298
+ },
1299
+ [ENUM_TEMPLATES.COMBINED_CYCLE_POWER_PLANTS]: {
1300
+ name: ENUM_TEMPLATES.COMBINED_CYCLE_POWER_PLANTS,
1301
+ icon: `${GAS_ICON_ASSET_PATH}/Combined cycle power plants.svg`,
1302
+ systemType: ENUM_TYPES.COMBINED_CYCLE_POWER_PLANTS,
1303
+ },
1304
+ [ENUM_TEMPLATES.FUEL_FOR_VEHICLES_AND_EQUIPMENT]: {
1305
+ name: ENUM_TEMPLATES.FUEL_FOR_VEHICLES_AND_EQUIPMENT,
1306
+ icon: `${GAS_ICON_ASSET_PATH}/Fuel for vehicles and equipment.svg`,
1307
+ systemType: ENUM_TYPES.FUEL_FOR_VEHICLES_AND_EQUIPMENT,
1308
+ },
1309
+ [ENUM_TEMPLATES.GAS_METERS]: {
1310
+ name: ENUM_TEMPLATES.GAS_METERS,
1311
+ icon: `${GAS_ICON_ASSET_PATH}/Gas meters.svg`,
1312
+ systemType: ENUM_TYPES.GAS_METERS,
1313
+ },
1314
+ // [ENUM_TEMPLATES.BURNERS]: {
1315
+ // name: ENUM_TEMPLATES.BURNERS,
1316
+ // icon: `${GAS_ICON_ASSET_PATH}/Burners.svg`,
1317
+ // systemType: ENUM_TYPES.BURNERS,
1318
+ // },
1319
+ // [ENUM_TEMPLATES.FLUE_GAS_ANALYZERS]: {
1320
+ // name: ENUM_TEMPLATES.FLUE_GAS_ANALYZERS,
1321
+ // icon: `${GAS_ICON_ASSET_PATH}/Flue gas analyzers.svg`,
1322
+ // systemType: ENUM_TYPES.FLUE_GAS_ANALYZERS,
1323
+ // },
1324
+ [ENUM_TEMPLATES.COMBUSTION_CONTROL_SYSTEMS]: {
1325
+ name: ENUM_TEMPLATES.COMBUSTION_CONTROL_SYSTEMS,
1326
+ icon: `${GAS_ICON_ASSET_PATH}/Combustion control systems.svg`,
1327
+ systemType: ENUM_TYPES.COMBUSTION_CONTROL_SYSTEMS,
1328
+ },
1329
+ [ENUM_TEMPLATES.GAS_STORAGE_TANKS]: {
1330
+ name: ENUM_TEMPLATES.GAS_STORAGE_TANKS,
1331
+ icon: `${GAS_ICON_ASSET_PATH}/Gas storage tanks.svg`,
1332
+ systemType: ENUM_TYPES.GAS_STORAGE_TANKS,
1333
+ },
1334
+ [ENUM_TEMPLATES.GAS_PRESSURE_REGULATORS]: {
1335
+ name: ENUM_TEMPLATES.GAS_PRESSURE_REGULATORS,
1336
+ icon: `${GAS_ICON_ASSET_PATH}/Gas pressure regulators.svg`,
1337
+ systemType: ENUM_TYPES.GAS_PRESSURE_REGULATORS,
1338
+ },
1339
+ [ENUM_TEMPLATES.NATURAL_GAS]: {
1340
+ name: ENUM_TEMPLATES.NATURAL_GAS,
1341
+ icon: `${GAS_ICON_ASSET_PATH}/Natural Gas.svg`,
1342
+ systemType: ENUM_TYPES.NATURAL_GAS,
1343
+ },
1344
+ // Fuel==========================================================
1345
+ [ENUM_TEMPLATES.DIESEL_FUELS]: {
1346
+ name: ENUM_TEMPLATES.DIESEL_FUELS,
1347
+ icon: `${FUEL_ICON_ASSET_PATH}/Diesel fuel.svg`,
1348
+ systemType: ENUM_TYPES.DIESEL_FUELS,
1349
+ },
1350
+ [ENUM_TEMPLATES.GASON_LINES]: {
1351
+ name: ENUM_TEMPLATES.GASON_LINES,
1352
+ icon: `${FUEL_ICON_ASSET_PATH}/Gasoline.svg`,
1353
+ systemType: ENUM_TYPES.GASON_LINES,
1354
+ },
1355
+ [ENUM_TEMPLATES.BIODIESELS]: {
1356
+ name: ENUM_TEMPLATES.BIODIESELS,
1357
+ icon: `${FUEL_ICON_ASSET_PATH}/Biodiesel.svg`,
1358
+ systemType: ENUM_TYPES.BIODIESELS,
1359
+ },
1360
+ [ENUM_TEMPLATES.KEROSENSE]: {
1361
+ name: ENUM_TEMPLATES.KEROSENSE,
1362
+ icon: `${FUEL_ICON_ASSET_PATH}/Kerosene.svg`,
1363
+ systemType: ENUM_TYPES.KEROSENSE,
1364
+ },
1365
+ [ENUM_TEMPLATES.PROPANES]: {
1366
+ name: ENUM_TEMPLATES.PROPANES,
1367
+ icon: `${FUEL_ICON_ASSET_PATH}/Propane.svg`,
1368
+ systemType: ENUM_TYPES.PROPANES,
1369
+ },
1370
+ [ENUM_TEMPLATES.TANKER_TRUCKS]: {
1371
+ name: ENUM_TEMPLATES.TANKER_TRUCKS,
1372
+ icon: `${FUEL_ICON_ASSET_PATH}/Tanker Trucks.svg`,
1373
+ systemType: ENUM_TYPES.TANKER_TRUCKS,
1374
+ },
1375
+ [ENUM_TEMPLATES.PIPELINE]: {
1376
+ name: ENUM_TEMPLATES.PIPELINE,
1377
+ icon: `${FUEL_ICON_ASSET_PATH}/Pipeline.svg`,
1378
+ systemType: ENUM_TYPES.PIPELINE,
1379
+ },
1380
+
1381
+ [ENUM_TEMPLATES.INDUSTRIAL_BOILERS]: {
1382
+ name: ENUM_TEMPLATES.INDUSTRIAL_BOILERS,
1383
+ icon: `${FUEL_ICON_ASSET_PATH}/Industrial boilers.svg`,
1384
+ systemType: ENUM_TYPES.INDUSTRIAL_BOILERS,
1385
+ },
1386
+ [ENUM_TEMPLATES.GENERATORS]: {
1387
+ name: ENUM_TEMPLATES.GENERATORS,
1388
+ icon: `${FUEL_ICON_ASSET_PATH}/Generators.svg`,
1389
+ systemType: ENUM_TYPES.GENERATORS,
1390
+ },
1391
+ [ENUM_TEMPLATES.INDUSTRIAL_FURNACES]: {
1392
+ name: ENUM_TEMPLATES.INDUSTRIAL_FURNACES,
1393
+ icon: `${FUEL_ICON_ASSET_PATH}/Industrial furnaces.svg`,
1394
+ systemType: ENUM_TYPES.INDUSTRIAL_FURNACES,
1395
+ },
1396
+ [ENUM_TEMPLATES.INDUSTRIAL_OVENS]: {
1397
+ name: ENUM_TEMPLATES.INDUSTRIAL_OVENS,
1398
+ icon: `${FUEL_ICON_ASSET_PATH}/Industrial ovens.svg`,
1399
+ systemType: ENUM_TYPES.INDUSTRIAL_OVENS,
1400
+ },
1401
+ [ENUM_TEMPLATES.INDUSTRIAL_VEHICLES_AND_EQUIPMENT]: {
1402
+ name: ENUM_TEMPLATES.INDUSTRIAL_VEHICLES_AND_EQUIPMENT,
1403
+ icon: `${FUEL_ICON_ASSET_PATH}/Industrial vehicles and equipment.svg`,
1404
+ systemType: ENUM_TYPES.INDUSTRIAL_VEHICLES_AND_EQUIPMENT,
1405
+ },
1406
+
1407
+ [ENUM_TEMPLATES.FUEL_METERS]: {
1408
+ name: ENUM_TEMPLATES.FUEL_METERS,
1409
+ icon: `${FUEL_ICON_ASSET_PATH}/Fuel meters.svg`,
1410
+ systemType: ENUM_TYPES.FUEL_METERS,
1411
+ },
1412
+ [ENUM_TEMPLATES.FUEL_DISPENSERS]: {
1413
+ name: ENUM_TEMPLATES.FUEL_DISPENSERS,
1414
+ icon: `${FUEL_ICON_ASSET_PATH}/Fuel dispensers.svg`,
1415
+ systemType: ENUM_TYPES.FUEL_DISPENSERS,
1416
+ },
1417
+ [ENUM_TEMPLATES.FUEL_STRORAGE_TANKS]: {
1418
+ name: ENUM_TEMPLATES.FUEL_STRORAGE_TANKS,
1419
+ icon: `${FUEL_ICON_ASSET_PATH}/Fuel storage tanks.svg`,
1420
+ systemType: ENUM_TYPES.FUEL_STRORAGE_TANKS,
1421
+ },
1422
+ [ENUM_TEMPLATES.FUEL_FILTRATIONS]: {
1423
+ name: ENUM_TEMPLATES.FUEL_FILTRATIONS,
1424
+ icon: `${FUEL_ICON_ASSET_PATH}/Fuel filtration systems.svg`,
1425
+ systemType: ENUM_TYPES.FUEL_FILTRATIONS,
1426
+ },
1427
+ [ENUM_TEMPLATES.FUEL_MANAGEMENTS]: {
1428
+ name: ENUM_TEMPLATES.FUEL_MANAGEMENTS,
1429
+ icon: `${FUEL_ICON_ASSET_PATH}/Fuel management systems.svg`,
1430
+ systemType: ENUM_TYPES.FUEL_MANAGEMENTS,
1431
+ },
1432
+
1433
+ [ENUM_TEMPLATES.FUELS]: {
1434
+ name: ENUM_TEMPLATES.FUELS,
1435
+ icon: `${FUEL_ICON_ASSET_PATH}/Diesel fuel.svg`,
1436
+ systemType: ENUM_TYPES.FUELS,
1437
+ },
1438
+
1439
+ // Gas new
1440
+ [ENUM_TEMPLATES.LIQUEFIED_NATURAL_GAS]: {
1441
+ name: ENUM_TEMPLATES.LIQUEFIED_NATURAL_GAS,
1442
+ icon: `${ENERGY_ICON_ASSET_PATH}/Natural gas generators.svg`,
1443
+ systemType: ENUM_TYPES.LIQUEFIED_NATURAL_GAS,
1444
+ },
1445
+ [ENUM_TEMPLATES.ON_SITE_PRODUCTION]: {
1446
+ name: ENUM_TEMPLATES.ON_SITE_PRODUCTION,
1447
+ icon: `${ENERGY_ICON_ASSET_PATH}/Natural gas generators.svg`,
1448
+ systemType: ENUM_TYPES.ON_SITE_PRODUCTION,
1449
+ },
1450
+
1451
+ [ENUM_TEMPLATES.BURNERS]: {
1452
+ name: ENUM_TEMPLATES.BURNERS,
1453
+ icon: `${ENERGY_ICON_ASSET_PATH}/Power conditioning unit (PCU).svg`,
1454
+ systemType: ENUM_TYPES.BURNERS,
1455
+ },
1456
+ [ENUM_TEMPLATES.FLUE_GAS_ANALYZERS]: {
1457
+ name: ENUM_TEMPLATES.FLUE_GAS_ANALYZERS,
1458
+ icon: `${ENERGY_ICON_ASSET_PATH}/Power conditioning unit (PCU).svg`,
1459
+ systemType: ENUM_TYPES.FLUE_GAS_ANALYZERS,
1460
+ },
1461
+ // Solar ==========================================================
1462
+ [ENUM_TEMPLATES.SOLAR_POWER]: {
1463
+ name: ENUM_TEMPLATES.SOLAR_POWER,
1464
+ icon: `${ENERGY_ICON_ASSET_PATH}/Solar.svg`,
1465
+ systemType: ENUM_TYPES.SOLAR_POWER,
1466
+ },
1467
+ [ENUM_TEMPLATES.POWER_CONDITIONING_UNIT]: {
1468
+ name: ENUM_TEMPLATES.POWER_CONDITIONING_UNIT,
1469
+ icon: `${ENERGY_ICON_ASSET_PATH}/Power conditioning unit (PCU).svg`,
1470
+ systemType: ENUM_TYPES.POWER_CONDITIONING_UNIT,
1471
+ },
1472
+ [ENUM_TEMPLATES.INVERTERS]: {
1473
+ name: ENUM_TEMPLATES.INVERTERS,
1474
+ icon: `${ENERGY_ICON_ASSET_PATH}/Inverter.svg`,
1475
+ systemType: ENUM_TYPES.INVERTERS,
1476
+ },
1477
+ [ENUM_TEMPLATES.BATTERIES]: {
1478
+ name: ENUM_TEMPLATES.BATTERIES,
1479
+ icon: `${ENERGY_ICON_ASSET_PATH}/Battery.svg`,
1480
+ systemType: ENUM_TYPES.BATTERIES,
1481
+ },
1482
+
1483
+ [ENUM_TEMPLATES.ZONE]: {
1484
+ name: ENUM_TEMPLATES.ZONE,
1485
+ // icon: `${ENERGY_ICON_ASSET_PATH}/Battery.svg`,
1486
+ },
1487
+ [ENUM_TEMPLATES.ZONE_ENERGY_ITEM]: {
1488
+ name: ENUM_TEMPLATES.ZONE_ENERGY_ITEM,
1489
+ },
1490
+
1491
+ // UNCATEGORIZED
1492
+ [ENUM_TEMPLATES.UNCATEGORIZED]: {
1493
+ name: ENUM_TEMPLATES.UNCATEGORIZED,
1494
+ icon: '',
1495
+ // `${ICON_ASSET_PATH}/rain.svg`,
1496
+ },
1497
+
1498
+ // Plant Cell
1499
+ [ENUM_TEMPLATES.PLANT_CELL]: {
1500
+ name: ENUM_TEMPLATES.PLANT_CELL,
1501
+ icon: `${PLANT_CELL_PATH}/Cell.svg`,
1502
+ systemType: ENUM_TYPES.PLANT_CELL,
1503
+ },
1504
+ [ENUM_TEMPLATES.INPUT_PLANT_CELL]: {
1505
+ name: ENUM_TEMPLATES.INPUT_PLANT_CELL,
1506
+ icon: '',
1507
+ },
1508
+ [ENUM_TEMPLATES.OUTPUT_PLANT_CELL]: {
1509
+ name: ENUM_TEMPLATES.OUTPUT_PLANT_CELL,
1510
+ icon: '',
1511
+ },
1512
+
1513
+ [ENUM_TEMPLATES.PLANT_CELL_INPUT_GROUP]: {
1514
+ name: ENUM_TEMPLATES.PLANT_CELL_INPUT_GROUP,
1515
+ icon: ``,
1516
+ },
1517
+ [ENUM_TEMPLATES.PLANT_CELL_OUTPUT_GROUP]: {
1518
+ name: ENUM_TEMPLATES.PLANT_CELL_OUTPUT_GROUP,
1519
+ icon: ``,
1520
+ },
1521
+
1522
+ [ENUM_TEMPLATES.IMAGE_TEMPLATE]: {
1523
+ name: ENUM_TEMPLATES.IMAGE_TEMPLATE,
1524
+ icon: ``,
1525
+ },
1526
+ [ENUM_TEMPLATES.PARAM_TABLE]: {
1527
+ name: ENUM_TEMPLATES.PARAM_TABLE,
1528
+ icon: ``,
1529
+ },
1530
+ [ENUM_TEMPLATES.MASS_BALANCE]: {
1531
+ name: ENUM_TEMPLATES.MASS_BALANCE,
1532
+ icon: ``,
1533
+ },
1534
+
1535
+ // STEAM
1536
+ [ENUM_TEMPLATES.VALUES]: {
1537
+ name: ENUM_TEMPLATES.VALUES,
1538
+ icon: `${STEAM_ICON_ASSET_PATH}/Steam_Valve.png`,
1539
+ },
1540
+ [ENUM_TEMPLATES.STEAM_TRAPS]: {
1541
+ name: ENUM_TEMPLATES.STEAM_TRAPS,
1542
+ icon: `${STEAM_ICON_ASSET_PATH}/Trap.png`,
1543
+ },
1544
+ [ENUM_TEMPLATES.PRESSURE_REGULATORS]: {
1545
+ name: ENUM_TEMPLATES.PRESSURE_REGULATORS,
1546
+ icon: `${STEAM_ICON_ASSET_PATH}/Pressure_Regulator.png`,
1547
+ },
1548
+ [ENUM_TEMPLATES.SAFETY_VALUES_AND_EQUIPMENT]: {
1549
+ name: ENUM_TEMPLATES.SAFETY_VALUES_AND_EQUIPMENT,
1550
+ icon: `${STEAM_ICON_ASSET_PATH}/safety valve.png`,
1551
+ },
1552
+ [ENUM_TEMPLATES.CONDENSATE_RETURN_SYSTEM]: {
1553
+ name: ENUM_TEMPLATES.CONDENSATE_RETURN_SYSTEM,
1554
+ icon: `${STEAM_ICON_ASSET_PATH}/Condensate Return System.png`,
1555
+ },
1556
+ [ENUM_TEMPLATES.DEAERATORS]: {
1557
+ name: ENUM_TEMPLATES.DEAERATORS,
1558
+ icon: `${STEAM_ICON_ASSET_PATH}/Deaerators.png`,
1559
+ },
1560
+ [ENUM_TEMPLATES.FEEDWATER_PUMPS]: {
1561
+ name: ENUM_TEMPLATES.FEEDWATER_PUMPS,
1562
+ icon: `${STEAM_ICON_ASSET_PATH}/Feed Water Pump.png`,
1563
+ },
1564
+ [ENUM_TEMPLATES.BLOWDOWN_TANKS]: {
1565
+ name: ENUM_TEMPLATES.BLOWDOWN_TANKS,
1566
+ icon: `${STEAM_ICON_ASSET_PATH}/Blowdown tank.png`,
1567
+ },
1568
+ [ENUM_TEMPLATES.EXPANSION_TANKS]: {
1569
+ name: ENUM_TEMPLATES.EXPANSION_TANKS,
1570
+ icon: `${STEAM_ICON_ASSET_PATH}/Expansion Tanks.png`,
1571
+ },
1572
+ [ENUM_TEMPLATES.HEAT_EXCHANGERS]: {
1573
+ name: ENUM_TEMPLATES.HEAT_EXCHANGERS,
1574
+ icon: `${STEAM_ICON_ASSET_PATH}/heat exchangers.png`,
1575
+ },
1576
+ [ENUM_TEMPLATES.TURBINES]: {
1577
+ name: ENUM_TEMPLATES.TURBINES,
1578
+ icon: `${STEAM_ICON_ASSET_PATH}/steam turbine.png`,
1579
+ },
1580
+
1581
+ // Plant Basic
1582
+ [ENUM_TEMPLATES.GROUP_BASIC_COMPONENT]: {
1583
+ name: ENUM_TEMPLATES.GROUP_BASIC_COMPONENT,
1584
+ icon: ``,
1585
+ },
1586
+ };
1587
+
1588
+ export const WITHDRAW_DISCHARGE_ICON: {
1589
+ [key in string]: any;
1590
+ } = {
1591
+ [ENUM_TYPES.FRESH_SURFACE_WATER]: {
1592
+ name: ENUM_TEMPLATES.FRESH_SURFACE_WATER,
1593
+ iconActive: `${ICON_ASSET_WITHDRAW_DISCHARGE_ICON}/Fresh surface water - Duo.svg`,
1594
+ iconDisabled: `${ICON_ASSET_WITHDRAW_DISCHARGE_ICON}/Fresh surface water.svg`,
1595
+ },
1596
+ [ENUM_TYPES.THIRD_PARTY_SOURCES]: {
1597
+ name: ENUM_TEMPLATES.THIRD_PARTY_SOURCES,
1598
+ iconActive: `${ICON_ASSET_WITHDRAW_DISCHARGE_ICON}/Third party sources - Duo.svg`,
1599
+ iconDisabled: `${ICON_ASSET_WITHDRAW_DISCHARGE_ICON}/Third party sources.svg`,
1600
+ isHasWaterCapcity: true,
1601
+ },
1602
+ [ENUM_TYPES.THIRD_PARTY_DESTINATIONS]: {
1603
+ name: ENUM_TEMPLATES.THIRD_PARTY_DESTINATIONS,
1604
+ iconActive: `${ICON_ASSET_WITHDRAW_DISCHARGE_ICON}/Third party sources - Duo.svg`,
1605
+ iconDisabled: `${ICON_ASSET_WITHDRAW_DISCHARGE_ICON}/Third party sources.svg`,
1606
+ isHasWaterCapcity: true,
1607
+ },
1608
+ [ENUM_TYPES.GROUND_WATER_NON_RENEWABLE]: {
1609
+ name: ENUM_TEMPLATES.GROUND_WATER_NON_RENEWABLE,
1610
+ iconActive: `${ICON_ASSET_WITHDRAW_DISCHARGE_ICON}/Groundwater - non-renewable - Duo.svg`,
1611
+ iconDisabled: `${ICON_ASSET_WITHDRAW_DISCHARGE_ICON}/Groundwater - non-renewable.svg`,
1612
+ },
1613
+ [ENUM_TYPES.PRODUCED_ENTRAINED]: {
1614
+ name: ENUM_TEMPLATES.PRODUCED_ENTRAINED,
1615
+ iconActive: `${ICON_ASSET_WITHDRAW_DISCHARGE_ICON}/Groundwater - renewable - Duo.svg`,
1616
+ iconDisabled: `${ICON_ASSET_WITHDRAW_DISCHARGE_ICON}/Groundwater - renewable.svg`,
1617
+ },
1618
+ [ENUM_TYPES.BRACKISH_SURFACE_WATER]: {
1619
+ name: ENUM_TEMPLATES.BRACKISH_SURFACE_WATER,
1620
+ iconiconActive: `${ICON_ASSET_WITHDRAW_DISCHARGE_ICON}/Brackish surface - Duo.svg`,
1621
+ iconDisabled: `${ICON_ASSET_WITHDRAW_DISCHARGE_ICON}/Brackish surface.svg`,
1622
+ },
1623
+ [ENUM_TYPES.GROUND_WATER_RENEWABLE]: {
1624
+ name: ENUM_TEMPLATES.GROUND_WATER_RENEWABLE,
1625
+ iconActive: `${ICON_ASSET_WITHDRAW_DISCHARGE_ICON}/Groundwater - renewable - Duo.svg`,
1626
+ iconDisabled: `${ICON_ASSET_WITHDRAW_DISCHARGE_ICON}/Groundwater - renewable.svg`,
1627
+ },
1628
+ };
1629
+
1630
+ export const WITHDRAW_DISCHARGE_DIAGRAM_HOME = {
1631
+ withdrawSourcesChildren: [
1632
+ ENUM_TYPES.WATER_TREATMENT,
1633
+ ENUM_TYPES.DEMIN_WATER_TREATMENT,
1634
+ ENUM_TYPES.RO_WATER_TREATMENT,
1635
+ ],
1636
+ dischargeDestinationsChildren: [
1637
+ ENUM_TYPES.WASTEWATER_TREATMENT,
1638
+ ENUM_TYPES.DAF_WASTEWATER_TREATMENT,
1639
+ ENUM_TYPES.ETP_WASTEWATER_TREATMENT,
1640
+ ENUM_TYPES.MBR_WASTEWATER_TREATMENT,
1641
+ ENUM_TYPES.ZLD_WASTEWATER_TREATMENT,
1642
+ ],
1643
+ };
1644
+
1645
+ export enum ACTION_RIGHT_MENU_GROUP {
1646
+ PLANT_TEMPLATES = 'Plant Templates',
1647
+ PLANT_CELLS = 'Plant Cell',
1648
+ DATA_BOX = 'Measurement',
1649
+ SYSTEM_TEMPLATES = 'System Templates',
1650
+ WATER_COMPONENT = 'Water Components',
1651
+ }
1652
+
1653
+ export enum DATA_BOX_NAME_OF_COMPONENT {
1654
+ INFLOW = 'Inflow Of',
1655
+ OUTFLOW = 'Outflow From',
1656
+ }
1657
+
1658
+ export enum ACTION_RIGHT_MENU {
1659
+ APPLY_TEMPLATE = 'ApplyTemplate',
1660
+ NEW_PLANT_CELL = 'NewPlantCell',
1661
+ NAME_PLANT_CELL = 'NamePlantCell',
1662
+ ADD_COMPONENT = 'AddComponent',
1663
+ }
1664
+
1665
+ export const DATA_MENU = [
1666
+ {
1667
+ name: 'Plant Templates',
1668
+ componentType: ATO_ECOMPONENT_PLANT_TYPE.WATER,
1669
+ isFilterType: true,
1670
+ groupType: ACTION_RIGHT_MENU_GROUP.PLANT_TEMPLATES,
1671
+ children: [
1672
+ {
1673
+ name: 'Food and Beverages',
1674
+ children: [],
1675
+ actionType: ACTION_RIGHT_MENU.APPLY_TEMPLATE,
1676
+ isDrag: true,
1677
+ },
1678
+ {
1679
+ name: 'Power plant',
1680
+ children: [],
1681
+ actionType: ACTION_RIGHT_MENU.APPLY_TEMPLATE,
1682
+ isDrag: true,
1683
+ },
1684
+ ],
1685
+ },
1686
+
1687
+ // {
1688
+ // name: 'Plant Cells',
1689
+ // groupType: ACTION_RIGHT_MENU_GROUP.PLANT_CELLS,
1690
+ // componentType: E_COMPONENT_PLANT_TYPE.WATER,
1691
+ // isFilterType: true,
1692
+ // children: [
1693
+ // {
1694
+ // name: 'Beer Production cell',
1695
+ // children: [],
1696
+ // actionType: ACTION_RIGHT_MENU.NAME_PLANT_CELL,
1697
+ // isDrag: true,
1698
+ // isViewMode: true,
1699
+ // systemType: ENUM_TYPES.PLANT_CELL,
1700
+ // type: ENUM_TYPES.PLANT_CELL,
1701
+ // inputType: TYPE_INPUT.TEXT,
1702
+ // fc: new FormControl('Beer Production cell', Validators.required),
1703
+ // fcBackup: new FormControl('Beer Production cell', Validators.required),
1704
+ // },
1705
+ // {
1706
+ // name: 'New Plant Cell',
1707
+ // children: [],
1708
+ // actionType: ACTION_RIGHT_MENU.NEW_PLANT_CELL,
1709
+ // isDrag: false,
1710
+ // },
1711
+ // ],
1712
+ // },
1713
+ ];
1714
+
1715
+ export const WATER_USING_SYSTEM = [
1716
+ ENUM_TYPES.COOLING_TOWER,
1717
+ ENUM_TYPES.BOILER,
1718
+ ENUM_TYPES.OTHER,
1719
+ ENUM_TYPES.PROCESS,
1720
+ ENUM_TYPES.DOMESTIC_USE,
1721
+ ENUM_TYPES.LANDSCAPING_IRRIGATION,
1722
+ ];
1723
+
1724
+ export const PARAM_TABLE_STYLE = {
1725
+ [ENUM_COLORS.CERULEAN]: {
1726
+ borderTable: ENUM_COLORS.CERULEAN,
1727
+ bgColor: ENUM_COLORS.CERULEAN_ALICE_BLUE,
1728
+ },
1729
+ [ENUM_COLORS.DANUBE]: {
1730
+ borderTable: ENUM_COLORS.DANUBE,
1731
+ bgColor: ENUM_COLORS.DANUBE_ALICE_BLUE,
1732
+ },
1733
+ [ENUM_COLORS.FOUNTAIN_BLUE]: {
1734
+ borderTable: ENUM_COLORS.FOUNTAIN_BLUE,
1735
+ bgColor: ENUM_COLORS.AZURE,
1736
+ },
1737
+ [ENUM_COLORS.GALLIANO]: {
1738
+ borderTable: ENUM_COLORS.GALLIANO,
1739
+ bgColor: ENUM_COLORS.OLD_LACE,
1740
+ },
1741
+ [ENUM_COLORS.WHITE]: {
1742
+ borderTable: ENUM_COLORS.WHITE,
1743
+ bgColor: ENUM_COLORS.WHITE,
1744
+ },
1745
+ };
1746
+
1747
+ // System type include Water
1748
+ export const TYPE_COMPONENT_WATER: string[] = [
1749
+ ENUM_TYPES.STORAGE,
1750
+
1751
+ ENUM_TYPES.WATER_TREATMENT,
1752
+ ENUM_TYPES.DEMIN_WATER_TREATMENT,
1753
+ ENUM_TYPES.RO_WATER_TREATMENT,
1754
+
1755
+ ENUM_TYPES.PROCESS,
1756
+
1757
+ ENUM_TYPES.WASTEWATER_TREATMENT,
1758
+ ENUM_TYPES.DAF_WASTEWATER_TREATMENT,
1759
+ ENUM_TYPES.ETP_WASTEWATER_TREATMENT,
1760
+ ENUM_TYPES.MBR_WASTEWATER_TREATMENT,
1761
+ ENUM_TYPES.ZLD_WASTEWATER_TREATMENT,
1762
+
1763
+ ENUM_TYPES.DOMESTIC_USE,
1764
+ ENUM_TYPES.COOLING_TOWER,
1765
+ ENUM_TYPES.BOILER,
1766
+ ENUM_TYPES.OTHER,
1767
+ ENUM_TYPES.LANDSCAPING_IRRIGATION,
1768
+ AtoGojsEditorModel.WaterWithdrawSources,
1769
+ AtoGojsEditorModel.WaterDischargeDestinations,
1770
+ ];
1771
+
1772
+ // Template type includes Water
1773
+ export const TYPE_TEMPLATE_WATER_NORMAL: string[] = [
1774
+ AtoGojsEditorModel.ENUM_TEMPLATES.PROCESS,
1775
+ AtoGojsEditorModel.ENUM_TEMPLATES.BOILER,
1776
+ AtoGojsEditorModel.ENUM_TEMPLATES.COOLING_TOWER,
1777
+ AtoGojsEditorModel.ENUM_TEMPLATES.ETP_WASTEWATER_TREATMENT,
1778
+ AtoGojsEditorModel.ENUM_TEMPLATES.ZLD_WASTEWATER_TREATMENT,
1779
+ AtoGojsEditorModel.ENUM_TEMPLATES.MBR_WASTEWATER_TREATMENT,
1780
+ AtoGojsEditorModel.ENUM_TEMPLATES.DAF_WASTEWATER_TREATMENT,
1781
+ AtoGojsEditorModel.ENUM_TEMPLATES.RO_WATER_TREATMENT,
1782
+ AtoGojsEditorModel.ENUM_TEMPLATES.DEMIN_WATER_TREATMENT,
1783
+ AtoGojsEditorModel.ENUM_TEMPLATES.STORAGE,
1784
+ AtoGojsEditorModel.ENUM_TEMPLATES.DOMESTIC_USE,
1785
+ AtoGojsEditorModel.ENUM_TEMPLATES.LANDSCAPING_IRRIGATION,
1786
+ AtoGojsEditorModel.ENUM_TEMPLATES.OTHER,
1787
+ ];
1788
+ // ['Process', 'Boiler', 'Cooling Tower', 'ETP Wastewater Treatment', 'ZLD Wastewater Treatment', 'MBR Wastewater Treatment', 'DAF Wastewater Treatment',
1789
+ // 'RO Water Treatment', 'Demin Water Treatment', 'Storage', 'Domestic Use', 'Landscaping/Irrigation', 'Other'];
1790
+ export const TYPE_TEMPLATE_WATER_WITHDRAW_OR_DISCHARGE: string[] = [
1791
+ AtoGojsEditorModel.ENUM_TEMPLATES.FRESH_SURFACE_WATER,
1792
+ AtoGojsEditorModel.ENUM_TEMPLATES.BRACKISH_SURFACE_WATER,
1793
+ AtoGojsEditorModel.ENUM_TEMPLATES.GROUND_WATER_RENEWABLE,
1794
+ AtoGojsEditorModel.ENUM_TEMPLATES.GROUND_WATER_NON_RENEWABLE,
1795
+ AtoGojsEditorModel.ENUM_TEMPLATES.PRODUCED_ENTRAINED,
1796
+ AtoGojsEditorModel.ENUM_TEMPLATES.THIRD_PARTY_SOURCES,
1797
+ AtoGojsEditorModel.ENUM_TEMPLATES.THIRD_PARTY_DESTINATIONS,
1798
+ ];
1799
+ // ['Fresh surface water', 'Brackish surface water/ seawater', 'Groundwater - Renewable', 'Groundwater - non-renewable', 'Produced / entrained water', 'Third party sources', 'Third party destinations'];
1800
+ export const TYPE_TEMPLATE_ELECTRICITY: string[] = [
1801
+ AtoGojsEditorModel.ENUM_TEMPLATES.GRID,
1802
+ AtoGojsEditorModel.ENUM_TEMPLATES.DIESEL_GENERATORS,
1803
+ AtoGojsEditorModel.ENUM_TEMPLATES.NATURAL_GAS_GENERATORS,
1804
+ AtoGojsEditorModel.ENUM_TEMPLATES.SOLAR_POWER,
1805
+ AtoGojsEditorModel.ENUM_TEMPLATES.TRANSFORMERS,
1806
+ AtoGojsEditorModel.ENUM_TEMPLATES.SWITCH_GEARS,
1807
+ AtoGojsEditorModel.ENUM_TEMPLATES.MOTOR_CONTROLS,
1808
+ AtoGojsEditorModel.ENUM_TEMPLATES.VARIABLE_FREQUENCY_DRIVERS,
1809
+ AtoGojsEditorModel.ENUM_TEMPLATES.POWER_DISTRIBUTION_SYSTEMS,
1810
+ AtoGojsEditorModel.ENUM_TEMPLATES.LIGHTINGS,
1811
+ AtoGojsEditorModel.ENUM_TEMPLATES.GROUNDING,
1812
+ AtoGojsEditorModel.ENUM_TEMPLATES.ELECTRIC_METERS,
1813
+ AtoGojsEditorModel.ENUM_TEMPLATES.ELECTRIC_INDUSTRIAL_MOTORS,
1814
+ AtoGojsEditorModel.ENUM_TEMPLATES.LIGHTING_SYSTEMS,
1815
+ AtoGojsEditorModel.ENUM_TEMPLATES.ELECTRIC_HVAC,
1816
+ AtoGojsEditorModel.ENUM_TEMPLATES.REFRIGERATION_COOLING_SYSTEMS,
1817
+ AtoGojsEditorModel.ENUM_TEMPLATES.PROCESS_CONTROL_AUTOMATION_SYSTEMS,
1818
+ AtoGojsEditorModel.ENUM_TEMPLATES.OFFICE_EQUIPMENT,
1819
+ AtoGojsEditorModel.ENUM_TEMPLATES.COMPRESSED_AIR_SYSTEMS,
1820
+ AtoGojsEditorModel.ENUM_TEMPLATES.PROCESS_EQUIPMENT_MACHINES,
1821
+ AtoGojsEditorModel.ENUM_TEMPLATES.MATERIAL_HANDLING_EQUIPMENT,
1822
+ AtoGojsEditorModel.ENUM_TEMPLATES.POWER_DISTRIBUTION_CONTROL_SYSTEMS,
1823
+ AtoGojsEditorModel.ENUM_TEMPLATES.BATTERY_ENERGY_STORAGE,
1824
+ AtoGojsEditorModel.ENUM_TEMPLATES.ELECTRIC_FLYWHEEL_ENERGY_STORAGE,
1825
+ AtoGojsEditorModel.ENUM_TEMPLATES.PUMPED_HYDRO_STORAGE,
1826
+ AtoGojsEditorModel.ENUM_TEMPLATES.THERMAL_ENERGY_STORAGE,
1827
+ AtoGojsEditorModel.ENUM_TEMPLATES.SUPER_CAPACITOR_ENERGY_STORAGE,
1828
+ ];
1829
+ // ['Grid', 'Diesel Generators', 'Natural gas generators', 'Solar Power', 'Transformers', 'Switchgears', 'MotorControls', 'VariableFrequencyDrives',
1830
+ // 'Power distribution systems', 'Lightings', 'Grounding', 'Electric Meters', 'Industrial motors',
1831
+ // 'Lighting systems', 'Heating, ventilation, and air conditioning (HVAC) systems', 'Refrigeration and cooling', 'Process control and automation', 'Office equipment', 'Compressed air',
1832
+ // 'Process equipment and machines', 'Material handling equipment', 'Power distribution and control', 'Battery energy storage', 'Flywheel energy storage',
1833
+ // 'Pumped hydro storage', 'Thermal energy storage', 'Supercapacitor energy storage'];
1834
+ export const TYPE_TEMPLATE_NATURAL_GAS: string[] = [
1835
+ AtoGojsEditorModel.ENUM_TEMPLATES.NATURAL_GAS_PIPELINES,
1836
+ AtoGojsEditorModel.ENUM_TEMPLATES.LIQUEFIED_NATURAL_GAS,
1837
+ AtoGojsEditorModel.ENUM_TEMPLATES.COMPRESSED_NATURAL_GAS_PIPELINE,
1838
+ AtoGojsEditorModel.ENUM_TEMPLATES.ON_SITE_PRODUCTION,
1839
+ AtoGojsEditorModel.ENUM_TEMPLATES.COMPRESSED_NATURAL_GAS_PRODUCTION,
1840
+ AtoGojsEditorModel.ENUM_TEMPLATES.BOILERS_AND_HEATERS,
1841
+ AtoGojsEditorModel.ENUM_TEMPLATES.FURNACES,
1842
+ AtoGojsEditorModel.ENUM_TEMPLATES.POWER_GENERATION,
1843
+ AtoGojsEditorModel.ENUM_TEMPLATES.COGENERATION,
1844
+ AtoGojsEditorModel.ENUM_TEMPLATES.COMBINED_CYCLE_POWER_PLANTS,
1845
+ AtoGojsEditorModel.ENUM_TEMPLATES.FUEL_FOR_VEHICLES_AND_EQUIPMENT,
1846
+ AtoGojsEditorModel.ENUM_TEMPLATES.GAS_METERS,
1847
+ AtoGojsEditorModel.ENUM_TEMPLATES.BURNERS,
1848
+ AtoGojsEditorModel.ENUM_TEMPLATES.FLUE_GAS_ANALYZERS,
1849
+ AtoGojsEditorModel.ENUM_TEMPLATES.COMBUSTION_CONTROL_SYSTEMS,
1850
+ AtoGojsEditorModel.ENUM_TEMPLATES.GAS_STORAGE_TANKS,
1851
+ AtoGojsEditorModel.ENUM_TEMPLATES.GAS_PRESSURE_REGULATORS,
1852
+ ];
1853
+ // ['Natural gas pipelines', 'Liquefied natural gas', 'Compressed natural gas pipeline', 'On-site production',
1854
+ // 'Compressed natural gas production', 'Boilers and heaters', 'Furnaces', 'Power generation', 'Cogeneration', 'Combined cycle power plants',
1855
+ // 'Fuel for vehicles and equipment', 'Gas meters', 'Burners', 'Flue gas analyzers', 'Combustion control systems', 'Gas storage tanks',
1856
+ // 'Gas pressure regulators'];
1857
+ export const TYPE_TEMPLATE_FUEL: string[] = [
1858
+ AtoGojsEditorModel.ENUM_TEMPLATES.DIESEL_FUELS,
1859
+ AtoGojsEditorModel.ENUM_TEMPLATES.GASON_LINES,
1860
+ AtoGojsEditorModel.ENUM_TEMPLATES.BIODIESELS,
1861
+ AtoGojsEditorModel.ENUM_TEMPLATES.KEROSENSE,
1862
+ AtoGojsEditorModel.ENUM_TEMPLATES.PROPANES,
1863
+ AtoGojsEditorModel.ENUM_TEMPLATES.TANKER_TRUCKS,
1864
+ AtoGojsEditorModel.ENUM_TEMPLATES.PIPELINE,
1865
+ AtoGojsEditorModel.ENUM_TEMPLATES.INDUSTRIAL_BOILERS,
1866
+ AtoGojsEditorModel.ENUM_TEMPLATES.GENERATORS,
1867
+ AtoGojsEditorModel.ENUM_TEMPLATES.INDUSTRIAL_FURNACES,
1868
+ AtoGojsEditorModel.ENUM_TEMPLATES.INDUSTRIAL_OVENS,
1869
+ AtoGojsEditorModel.ENUM_TEMPLATES.INDUSTRIAL_VEHICLES_AND_EQUIPMENT,
1870
+ AtoGojsEditorModel.ENUM_TEMPLATES.FUEL_METERS,
1871
+ AtoGojsEditorModel.ENUM_TEMPLATES.FUEL_DISPENSERS,
1872
+ AtoGojsEditorModel.ENUM_TEMPLATES.FUEL_STRORAGE_TANKS,
1873
+ AtoGojsEditorModel.ENUM_TEMPLATES.FUEL_FILTRATIONS,
1874
+ AtoGojsEditorModel.ENUM_TEMPLATES.FUEL_MANAGEMENTS,
1875
+ ];
1876
+ // ['DieselFuels', 'Gasonlines', 'Biodiesels', 'Kerosenes', 'Propanes', 'Tanker Trucks',
1877
+ // 'Pipeline', 'Industrial boilers', 'Generators', 'Industrial furnaces', 'Industrial ovens', 'Industrial vehicles and equipment',
1878
+ // 'FuelMeters', 'FuelDispensers', 'FuelStorageTanks', 'FuelFiltrations', 'FuelManagements'];
1879
+ export const TYPE_TEMPLATE_STEAM: string[] = [
1880
+ AtoGojsEditorModel.ENUM_TEMPLATES.VALUES,
1881
+ AtoGojsEditorModel.ENUM_TEMPLATES.STEAM_TRAPS,
1882
+ AtoGojsEditorModel.ENUM_TEMPLATES.PRESSURE_REGULATORS,
1883
+ AtoGojsEditorModel.ENUM_TEMPLATES.SAFETY_VALUES_AND_EQUIPMENT,
1884
+ AtoGojsEditorModel.ENUM_TEMPLATES.CONDENSATE_RETURN_SYSTEM,
1885
+ AtoGojsEditorModel.ENUM_TEMPLATES.DEAERATORS,
1886
+ AtoGojsEditorModel.ENUM_TEMPLATES.FEEDWATER_PUMPS,
1887
+ AtoGojsEditorModel.ENUM_TEMPLATES.BLOWDOWN_TANKS,
1888
+ AtoGojsEditorModel.ENUM_TEMPLATES.EXPANSION_TANKS,
1889
+ AtoGojsEditorModel.ENUM_TEMPLATES.HEAT_EXCHANGERS,
1890
+ AtoGojsEditorModel.ENUM_TEMPLATES.TURBINES,
1891
+ ];
1892
+ // ['Valves', 'Steam Traps', 'Pressure Regulator', 'Safety Valves and Equipment', 'Condensate Return System', 'Deaerators',
1893
+ // 'Feedwater Pumps', 'Blowdown Tanks', 'Expansion Tanks', 'Heat Exchangers', 'Turbines'];
1894
+ export const TYPE_TEMPLATE_SPECIAL: string[] = [
1895
+ AtoGojsEditorModel.ENUM_TEMPLATES.SPECIAL_PROCESS,
1896
+ AtoGojsEditorModel.ENUM_TEMPLATES.SPECIAL_STORAGE,
1897
+ AtoGojsEditorModel.ENUM_TEMPLATES.SPECIAL_STORE,
1898
+ AtoGojsEditorModel.ENUM_TEMPLATES.SPECIAL_DISCHARGE,
1899
+ AtoGojsEditorModel.ENUM_TEMPLATES.SPECIAL_OTHER,
1900
+ ];
1901
+ }