Wave Dispatch
- class hopp.simulation.technologies.dispatch.power_sources.wave_dispatch.WaveDispatch(pyomo_model: ConcreteModel, indexed_set: Set, system_model: MhkWave, financial_model: Singleowner | CustomFinancialModel, block_set_name: str = 'wave')
Bases:
PowerSourceDispatch- wave_obj: Expression | float
- _system_model: MhkWave
- _financial_model: Singleowner | CustomFinancialModel
Dispatch optimization model for mhk wave power source.
- __init__(pyomo_model: ConcreteModel, indexed_set: Set, system_model: MhkWave, financial_model: Singleowner | CustomFinancialModel, block_set_name: str = 'wave')
Initialize WaveDispatch.
- Parameters:
pyomo_model (ConcreteModel) – Pyomo concrete model.
indexed_set (Set) – Indexed set.
system_model (MhkWave.MhkWave) – System model.
financial_model (FinancialModelType) – Financial model.
block_set_name (str) – Name of the block set.
- max_gross_profit_objective(hybrid_blocks)
MHK wave instance of maximum gross profit objective.
- Parameters:
hybrid_blocks (Pyomo.block) – A generalized container for defining hierarchical models by adding modeling components as attributes.
- min_operating_cost_objective(hybrid_blocks)
MHK wave instance of minimum operating cost objective.
- Parameters:
hybrid_blocks (Pyomo.block) – A generalized container for defining hierarchical models by adding modeling components as attributes.
- _create_variables(hybrid)
Create MHK wave variables to add to hybrid plant instance.
- Parameters:
hybrid – Hybrid plant instance.
- Returns:
- Tuple containing created variables.
generation: Generation from given technology.
load: Load from given technology.
- Return type:
tuple
- static _check_efficiency_value(efficiency)
Checks efficiency is between 0 and 1 or 0 and 100. Returns fractional value
- _create_port(hybrid)
Create mhk wave port to add to hybrid plant instance.
- Parameters:
hybrid – Hybrid plant instance.
- Returns:
MHK wave Port object.
- Return type:
Port
- property available_generation: list
Available generation.
- Returns:
List of available generation.
- Return type:
list
- property blocks: Block
- property cost_per_generation: float
Cost per generation [$/MWh]
- static dispatch_block_rule(gen)
Dispatch block rule method.
- Parameters:
gen – Generator.
- Returns:
None
- property generation: list
Generation.
- Returns:
List of generation.
- Return type:
list
- initialize_parameters()
Initialize parameters method.
- property model: ConcreteModel
- update_time_series_parameters(start_time: int)
Update time series parameters method.
- Parameters:
start_time (int) – Start time.
- Returns:
None