... | ... | @@ -40,13 +40,13 @@ Once again, using InputData_5Unit_2Node.xlsx in [Example data sets](Getting-star |
|
|
|
|
|
### 3.3. Combined heat and power (CHP) units (to be updated)
|
|
|
|
|
|
CHP powerplants have to outputs: to the heat grid and to the electricity grid
|
|
|
CHP plants have two outputs: to the heat grid and to the electricity grid (see also [examples](Advanced-modelling/Advanced-(energy)-conversions))
|
|
|
1) Define two grids (heat and electric) and two nodes (my_town_heat and my_town_electric)
|
|
|
2) Define two outputs in p_gnu_io to this two grids and nodes
|
|
|
2) Define two outputs in p_gnu_io to these two grids and nodes
|
|
|
3) To set a fixed ratio between the electric and the thermal output, use p_unitConstrainedNode.
|
|
|
4) Write down your unit and your nodes. For the constraint use one the active eq_constraints (to be found in 1a_definitions.gms under eq_constraints), e.g. eq1.
|
|
|
4) Write down your unit and your nodes. For the constraint, use one of the active eq_constraints (to be found in 1a_definitions.gms under eq_constraints), e.g. eq1.
|
|
|
5) Use the same constraint for both nodes.
|
|
|
6) The constraints work, such that:
|
|
|
6) The constraint limits the operation of the unit as follows:
|
|
|
```math
|
|
|
v_{gen(heat)}*constraint_{heat} + v_{gen(elec)}*constraint_{elec} = 0
|
|
|
```
|
... | ... | |