New component heat_generator - #773
Conversation
|
|
||
| df_dm = - cp * (t_out - t_in) | ||
| mask_equal = t_out >= t_in | ||
| mask_equal = np.where(qext < 0, t_in >= t_out, t_out >= t_in) |
There was a problem hiding this comment.
Thanks @Theda-ISE for the contribution,
I would recommend to create an own component as it would be misleading that a consumer can suddenly act as supplier.
…heat_consumer with negative power as a secondary heat generator with pump
|
The recommendation of @SimonRubenDrauz was followed and a new component "heat_generator" was created that merges the functionality of the circulation_pump_pressure (pressure supplying heat generator) and a reverse heat_consumer (heat/mass flow supplying heat generator). Also a new icon was added for the simple_plot function. It should be discussed, if previous change to enable the reverse operation of the heat_consumer with negative power should be maintained as it could be nice to use as a prosumer in certain setups. |
…al function variables
|
I think it would be good to directly include a small tutorial. If you are using the component already, maybe you could add a small jupyter notebook |
Adapted heat_consumer derivative calculation in order to operate the heat_consumer with negative power as a secondary heat generator with pump. In a multi producer network it is now possible to use one circ_pressure_pump as a primary heat generator and reverse heat_consumers (defined by a negative power and flow temperature) for the secondary heat generators. The heat_consumers can be modelled with the heat consumers as usual. This replaces the use of circ_pump_mass&Flow control in a multi producer network.