-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvpp.html
More file actions
515 lines (487 loc) · 24.5 KB
/
vpp.html
File metadata and controls
515 lines (487 loc) · 24.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Virtual Power Plant - Mission Control</title>
<link rel="stylesheet" href="./css/style.css">
<link rel="stylesheet" href="./css/vpp.css">
<script src="https://kit.fontawesome.com/f0434077eb.js" crossorigin="anonymous"></script>
<script src="https://cdn.plot.ly/plotly-latest.min.js"></script>
</head>
<body>
<header>
<nav>
<div class="logo">
<a href="/">
<img src="./images/logo.png" alt="Mission Control" />
</a>
<span class="company-name">Mission Control - VPP</span>
</div>
<div class="nav-right">
<div class="nav-links">
<a href="index.html">Dashboard</a>
<a href="#vpp-overview" class="fix">VPP Overview</a>
<a href="#renewable-assets">Renewables</a>
<a href="#grid-services">Grid Services</a>
<a href="#forecasting">Forecasting</a>
<a href="#optimization">Optimization</a>
</div>
<div class="user-profile">
<div class="notification-bell">🔔</div>
<div class="user-avatar">⚡</div>
</div>
</div>
</nav>
</header>
<main class="vpp-main">
<!-- VPP Overview Section -->
<section id="vpp-overview" class="vpp-section container">
<h1 class="section-title">Virtual Power Plant Control Center</h1>
<div class="vpp-status-grid">
<div class="vpp-status-card">
<h3>🔋 Total Capacity</h3>
<div class="status-value">247.5 MW</div>
<div class="status-detail">Aggregated renewable capacity</div>
</div>
<div class="vpp-status-card">
<h3>⚡ Current Output</h3>
<div class="status-value">182.3 MW</div>
<div class="status-detail">73.6% capacity factor</div>
</div>
<div class="vpp-status-card">
<h3>🏠 Connected Assets</h3>
<div class="status-value">1,247</div>
<div class="status-detail">Distributed resources</div>
</div>
<div class="vpp-status-card">
<h3>💰 Revenue Today</h3>
<div class="status-value">$18,740</div>
<div class="status-detail">Grid services & energy sales</div>
</div>
</div>
<div class="vpp-control-panel">
<div class="control-section">
<h3>Grid Services Active</h3>
<div class="service-toggles">
<div class="service-toggle active">
<span class="service-name">Frequency Regulation</span>
<div class="toggle-switch" onclick="toggleService('frequency')">
<div class="toggle-slider"></div>
</div>
<span class="service-revenue">+$2,340/day</span>
</div>
<div class="service-toggle active">
<span class="service-name">Load Following</span>
<div class="toggle-switch" onclick="toggleService('load-follow')">
<div class="toggle-slider"></div>
</div>
<span class="service-revenue">+$1,890/day</span>
</div>
<div class="service-toggle">
<span class="service-name">Spinning Reserves</span>
<div class="toggle-switch" onclick="toggleService('reserves')">
<div class="toggle-slider"></div>
</div>
<span class="service-revenue">+$760/day</span>
</div>
</div>
</div>
<div class="control-section">
<h3>Real-Time Market</h3>
<div class="market-data">
<div class="price-display">
<span class="price-label">LMP</span>
<span class="price-value">$45.23/MWh</span>
<span class="price-trend up">↗ +2.1%</span>
</div>
<div class="dispatch-status">
<span class="dispatch-label">Dispatch Signal</span>
<span class="dispatch-value increase">Increase Output</span>
</div>
</div>
</div>
</div>
<div class="vpp-charts">
<div class="chart-container">
<h4>VPP Output vs Grid Demand</h4>
<div id="output-demand-chart"></div>
</div>
<div class="chart-container">
<h4>Revenue Streams</h4>
<div id="revenue-chart"></div>
</div>
</div>
</section>
<!-- Renewable Assets Section -->
<section id="renewable-assets" class="vpp-section container">
<h2 class="section-title">Renewable Asset Portfolio</h2>
<div class="asset-categories">
<div class="asset-category">
<h3>☀️ Solar PV Fleet</h3>
<div class="asset-stats">
<div class="stat">
<span class="stat-label">Total Capacity</span>
<span class="stat-value">156.8 MW</span>
</div>
<div class="stat">
<span class="stat-label">Current Output</span>
<span class="stat-value">124.2 MW</span>
</div>
<div class="stat">
<span class="stat-label">Capacity Factor</span>
<span class="stat-value">79.2%</span>
</div>
</div>
<div class="asset-list">
<div class="asset-item">
<span class="asset-name">Residential Solar Program</span>
<span class="asset-capacity">89.3 MW</span>
<span class="asset-status online">Online</span>
</div>
<div class="asset-item">
<span class="asset-name">Commercial Rooftop Fleet</span>
<span class="asset-capacity">45.2 MW</span>
<span class="asset-status online">Online</span>
</div>
<div class="asset-item">
<span class="asset-name">Community Solar Gardens</span>
<span class="asset-capacity">22.3 MW</span>
<span class="asset-status maintenance">Maintenance</span>
</div>
</div>
</div>
<div class="asset-category">
<h3>🔋 Energy Storage Systems</h3>
<div class="asset-stats">
<div class="stat">
<span class="stat-label">Total Capacity</span>
<span class="stat-value">68.4 MWh</span>
</div>
<div class="stat">
<span class="stat-label">Current SOC</span>
<span class="stat-value">76.3%</span>
</div>
<div class="stat">
<span class="stat-label">Available Power</span>
<span class="stat-value">45.7 MW</span>
</div>
</div>
<div class="bess-grid">
<div class="bess-item">
<h4>Residential BESS</h4>
<div class="bess-soc-bar">
<div class="soc-fill" style="width: 82%"></div>
</div>
<span class="soc-percentage">82% SOC</span>
</div>
<div class="bess-item">
<h4>Commercial BESS</h4>
<div class="bess-soc-bar">
<div class="soc-fill" style="width: 71%"></div>
</div>
<span class="soc-percentage">71% SOC</span>
</div>
<div class="bess-item">
<h4>Grid-Scale BESS</h4>
<div class="bess-soc-bar">
<div class="soc-fill" style="width: 65%"></div>
</div>
<span class="soc-percentage">65% SOC</span>
</div>
</div>
</div>
<div class="asset-category">
<h3>💨 Wind Generation</h3>
<div class="asset-stats">
<div class="stat">
<span class="stat-label">Total Capacity</span>
<span class="stat-value">22.3 MW</span>
</div>
<div class="stat">
<span class="stat-label">Current Output</span>
<span class="stat-value">12.4 MW</span>
</div>
<div class="stat">
<span class="stat-label">Wind Speed</span>
<span class="stat-value">7.2 m/s</span>
</div>
</div>
<div class="wind-turbines">
<div class="turbine-status">
<span class="turbine-id">WT-001 to WT-008</span>
<span class="turbine-output">8.7 MW</span>
<span class="turbine-status-indicator operational">Operational</span>
</div>
<div class="turbine-status">
<span class="turbine-id">WT-009 to WT-012</span>
<span class="turbine-output">3.7 MW</span>
<span class="turbine-status-indicator operational">Operational</span>
</div>
</div>
</div>
</div>
</section>
<!-- Grid Services Section -->
<section id="grid-services" class="vpp-section container">
<h2 class="section-title">Grid Services & Market Participation</h2>
<div class="services-dashboard">
<div class="service-module">
<h3>⚡ Frequency Regulation</h3>
<div class="regulation-display">
<div class="frequency-meter">
<div class="meter-display">
<span class="frequency-value">59.98 Hz</span>
<div class="frequency-bar">
<div class="frequency-indicator" style="left: 48%"></div>
</div>
<div class="frequency-labels">
<span>59.8</span>
<span>60.0</span>
<span>60.2</span>
</div>
</div>
</div>
<div class="regulation-response">
<span class="response-label">AGC Signal</span>
<span class="response-value">+12.3 MW</span>
<span class="response-speed">Response: 2.1s</span>
</div>
</div>
</div>
<div class="service-module">
<h3>📈 Demand Response</h3>
<div class="dr-programs">
<div class="dr-program">
<span class="program-name">Peak Shaving Program</span>
<span class="program-status active">Active</span>
<span class="program-reduction">-15.7 MW</span>
</div>
<div class="dr-program">
<span class="program-name">Emergency DR</span>
<span class="program-status standby">Standby</span>
<span class="program-potential">-28.4 MW</span>
</div>
<div class="dr-program">
<span class="program-name">Economic DR</span>
<span class="program-status active">Active</span>
<span class="program-reduction">-8.2 MW</span>
</div>
</div>
</div>
<div class="service-module">
<h3>🔄 Energy Arbitrage</h3>
<div class="arbitrage-strategy">
<div class="price-zones">
<div class="zone">
<span class="zone-time">Off-Peak (2-6 AM)</span>
<span class="zone-action">Charge BESS</span>
<span class="zone-price">$23.45/MWh</span>
</div>
<div class="zone active">
<span class="zone-time">Peak (4-8 PM)</span>
<span class="zone-action">Discharge BESS</span>
<span class="zone-price">$78.92/MWh</span>
</div>
</div>
<div class="arbitrage-profit">
<span class="profit-label">Today's Arbitrage</span>
<span class="profit-value">+$4,230</span>
</div>
</div>
</div>
</div>
<div class="market-participation">
<h3>Market Bids & Offers</h3>
<div class="bid-stack">
<div class="bid-header">
<span>Time</span>
<span>Service</span>
<span>Quantity</span>
<span>Price</span>
<span>Status</span>
</div>
<div class="bid-row">
<span>15:00</span>
<span>Regulation Up</span>
<span>25 MW</span>
<span>$18.50/MW</span>
<span class="status-accepted">Accepted</span>
</div>
<div class="bid-row">
<span>15:15</span>
<span>Load Following</span>
<span>40 MW</span>
<span>$12.30/MW</span>
<span class="status-accepted">Accepted</span>
</div>
<div class="bid-row">
<span>15:30</span>
<span>Spinning Reserve</span>
<span>15 MW</span>
<span>$8.75/MW</span>
<span class="status-pending">Pending</span>
</div>
</div>
</div>
</section>
<!-- Forecasting Section -->
<section id="forecasting" class="vpp-section container">
<h2 class="section-title">AI-Powered Forecasting Engine</h2>
<div class="forecast-dashboard">
<div class="forecast-module">
<h3>☀️ Solar Generation Forecast</h3>
<div class="forecast-chart">
<div id="solar-forecast-chart"></div>
</div>
<div class="forecast-accuracy">
<span class="accuracy-label">24h Accuracy</span>
<span class="accuracy-value">94.2%</span>
<span class="accuracy-model">Weather ML + Satellite</span>
</div>
</div>
<div class="forecast-module">
<h3>⚡ Demand Forecast</h3>
<div class="forecast-chart">
<div id="demand-forecast-chart"></div>
</div>
<div class="forecast-accuracy">
<span class="accuracy-label">24h Accuracy</span>
<span class="accuracy-value">96.8%</span>
<span class="accuracy-model">LSTM Neural Network</span>
</div>
</div>
<div class="forecast-module">
<h3>💰 Price Forecast</h3>
<div class="price-predictions">
<div class="price-period">
<span class="period-label">Next Hour</span>
<span class="period-price">$47.35/MWh</span>
<span class="period-confidence">98% confidence</span>
</div>
<div class="price-period">
<span class="period-label">Peak Today</span>
<span class="period-price">$89.20/MWh</span>
<span class="period-confidence">87% confidence</span>
</div>
<div class="price-period">
<span class="period-label">Tomorrow Avg</span>
<span class="period-price">$52.10/MWh</span>
<span class="period-confidence">76% confidence</span>
</div>
</div>
</div>
</div>
<div class="ml-models">
<h3>Machine Learning Models Status</h3>
<div class="model-grid">
<div class="model-card">
<h4>Solar Irradiance Predictor</h4>
<span class="model-type">CNN + Weather Data</span>
<span class="model-accuracy">RMSE: 12.3 W/m²</span>
<button class="btn-small" onclick="retrainModel('solar')">Retrain</button>
</div>
<div class="model-card">
<h4>Load Demand Forecaster</h4>
<span class="model-type">LSTM + Temperature</span>
<span class="model-accuracy">MAPE: 3.2%</span>
<button class="btn-small" onclick="retrainModel('demand')">Retrain</button>
</div>
<div class="model-card">
<h4>Price Prediction Engine</h4>
<span class="model-type">Random Forest</span>
<span class="model-accuracy">MAE: $4.8/MWh</span>
<button class="btn-small" onclick="retrainModel('price')">Retrain</button>
</div>
</div>
</div>
</section>
<!-- Optimization Section -->
<section id="optimization" class="vpp-section container">
<h2 class="section-title">VPP Optimization Engine</h2>
<div class="optimization-dashboard">
<div class="optimization-status">
<h3>Current Optimization Run</h3>
<div class="optimization-progress">
<div class="progress-info">
<span class="run-id">Run #2847</span>
<span class="run-status">Running</span>
<span class="run-duration">2m 34s</span>
</div>
<div class="progress-bar">
<div class="progress-fill" style="width: 67%"></div>
</div>
<span class="progress-text">Optimizing storage dispatch for next 24h</span>
</div>
</div>
<div class="optimization-results">
<h3>Optimization Results</h3>
<div class="results-grid">
<div class="result-card">
<h4>💰 Revenue Optimization</h4>
<div class="result-value">+$3,240</div>
<div class="result-detail">vs baseline dispatch</div>
<div class="result-breakdown">
<span>Energy Sales: +$1,890</span>
<span>Ancillary Services: +$1,350</span>
</div>
</div>
<div class="result-card">
<h4>⚡ Grid Services</h4>
<div class="result-value">98.7%</div>
<div class="result-detail">Service availability</div>
<div class="result-breakdown">
<span>Frequency Reg: 35.2 MW</span>
<span>Load Following: 28.7 MW</span>
</div>
</div>
<div class="result-card">
<h4>🔋 Storage Efficiency</h4>
<div class="result-value">94.2%</div>
<div class="result-detail">Round-trip efficiency</div>
<div class="result-breakdown">
<span>Charge Cycles: 1.8/day</span>
<span>Degradation: 0.02%</span>
</div>
</div>
</div>
</div>
<div class="dispatch-schedule">
<h3>Optimized Dispatch Schedule</h3>
<div id="dispatch-schedule-chart"></div>
</div>
<div class="optimization-controls">
<h3>Optimization Parameters</h3>
<div class="parameter-controls">
<div class="parameter-group">
<label>Objective Function</label>
<select id="objective-function">
<option value="revenue">Maximize Revenue</option>
<option value="service">Maximize Grid Services</option>
<option value="efficiency">Maximize Efficiency</option>
<option value="hybrid">Balanced Approach</option>
</select>
</div>
<div class="parameter-group">
<label>Forecast Horizon</label>
<select id="forecast-horizon">
<option value="4h">4 Hours</option>
<option value="24h" selected>24 Hours</option>
<option value="48h">48 Hours</option>
<option value="7d">7 Days</option>
</select>
</div>
<div class="parameter-group">
<label>Risk Tolerance</label>
<input type="range" id="risk-tolerance" min="0" max="100" value="65">
<span class="range-value">Medium-High</span>
</div>
</div>
<button class="btn primary" onclick="runOptimization()">Run Optimization</button>
</div>
</div>
</section>
</main>
<script src="./js/vpp.js"></script>
</body>
</html>