zen_garden.model.technology.retrofitting_technology¶
Class defining the parameters, variables, and constraints of the retrofitting technologies. The class takes the abstract optimization model as an input and adds parameters, variables, and constraints of the retrofitting technologies.
Classes
|
Class defining retrofitting technologies. |
|
Rules for the RetrofittingTechnology class. |
- class zen_garden.model.technology.retrofitting_technology.RetrofittingTechnology(tech, optimization_setup)¶
Class defining retrofitting technologies.
- __init__(tech, optimization_setup)¶
Init conversion technology object.
- Parameters:
tech – name of added technology
optimization_setup – The OptimizationSetup the element is part of
- classmethod construct_constraints(optimization_setup)¶
Constructs the Constraints of the class <RetrofittingTechnology>.
- Parameters:
optimization_setup – The OptimizationSetup the element is part of
- classmethod construct_params(optimization_setup)¶
Constructs the pe.Params of the class <RetrofittingTechnology>.
- Parameters:
optimization_setup – The OptimizationSetup the element is part of
- classmethod construct_sets(optimization_setup)¶
Constructs the pe.Sets of the class <RetrofittingTechnology>.
- Parameters:
optimization_setup – The OptimizationSetup the element is part of
- store_carriers()¶
Retrieves and stores information on reference, input and output carriers.
- store_input_data()¶
Retrieves and stores input data for element as attributes.
Each Child class overwrites method to store different attributes.
- class zen_garden.model.technology.retrofitting_technology.RetrofittingTechnologyRules(optimization_setup)¶
Rules for the RetrofittingTechnology class.
- __init__(optimization_setup)¶
Inits the rules for a given EnergySystem.
- Parameters:
optimization_setup – The OptimizationSetup the element is part of
- constraint_retrofit_flow_coupling()¶
Couples reference flow variables based on modeling technique.
\[\text{if reference carrier in input carriers} \underline{G}_{i,n,t}^\mathrm{r} = G^\mathrm{d,approximation}_{i,n,t}\]\[\text{if reference carrier in output carriers} \overline{G}_{i,n,t}^\mathrm{r} = G^\mathrm{d,approximation}_{i,n,t}\]