High-fidelity Energy Management System
The high-fidelity Energy Management System (EMS) in HyDesign simulates real bidding and market operation, allowing users to explore how different optimization approaches interact with PPA design, spot markets, balancing markets, and real-time control. The table below summarizes the supported configurations.
Optimization type |
PPA design |
Spot market |
mFRR energy activation market |
Real-time |
|---|---|---|---|---|
Deterministic optimization (DO) |
√ |
√ |
√ |
|
Stochastic optimization (SO) |
√ |
√ |
||
Robust optimization (RO) |
||||
Distributionally robust optimization (DRO) |
√ |
[ ]:
# Install hydesign if needed
import importlib
if not importlib.util.find_spec("hydesign"):
!pip install git+https://gitlab.windenergy.dtu.dk/TOPFARM/hydesign.git
[ ]:
from hydesign.examples import examples_filepath
from hydesign.assembly.hpp_assembly_hifi import hpp_model
import os
HyDesign API
The HiFi-EMS can be accessed through the normal HyDesign interfarce and all configuration is read from the hpp_pars.yml file as normally. This including cost and financial analysis. Currently HiFi-EMS does only support power timeseries input and not weather as the other models.
[ ]:
sim_pars_fn = os.path.join(examples_filepath, "Europe/hpp_pars_HiFiEMS.yml")
hpp = hpp_model(
sim_pars_fn=sim_pars_fn,
)
inputs = dict(
wind_MW=120,
solar_MW=10,
b_P=40,
b_E_h=3,
)
res = hpp.evaluate(**inputs)
hpp.print_design()