h2integrate.control.control_rules.converters.generic_converter#
Classes
|
- class h2integrate.control.control_rules.converters.generic_converter.PyomoDispatchGenericConverter(**kwargs)#
- _create_variables(pyomo_model, tech_name)#
Create generic converter variables to add to Pyomo model instance.
- Parameters:
pyomo_model (pyo.ConcreteModel) -- pyomo_model the variables should be added to.
tech_name (str) -- The name or key identifying the technology for which
created. (variables are)
- _create_ports(pyomo_model, tech_name)#
Create generic converter port to add to pyomo model instance.
- Parameters:
pyomo_model (pyo.ConcreteModel) -- pyomo_model the ports should be added to.
tech_name (str) -- The name or key identifying the technology for which
created. (ports are)
- _create_parameters(pyomo_model, tech_name)#
Create technology Pyomo parameters to add to the Pyomo model instance.
Method is currently passed but this can serve as a template to add parameters to the Pyomo model instance.
- Parameters:
pyomo_model (pyo.ConcreteModel) -- pyomo_model that parameters are added to.
tech_name (str) -- The name or key identifying the technology for which
created. (parameters are)
- _create_constraints(pyomo_model, tech_name)#
Create technology Pyomo parameters to add to the Pyomo model instance.
Method is currently passed but this can serve as a template to add constraints to the Pyomo model instance.
- Parameters:
pyomo_model (pyo.ConcreteModel) -- pyomo_model that constraints are added to.
tech_name (str) -- The name or key identifying the technology for which
created. (constraints are)