Skip to content

New component heat_generator - #773

Open
Theda-ISE wants to merge 3 commits into
e2nIEE:developfrom
Theda-ISE:pull_request
Open

New component heat_generator#773
Theda-ISE wants to merge 3 commits into
e2nIEE:developfrom
Theda-ISE:pull_request

Conversation

@Theda-ISE

Copy link
Copy Markdown

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.


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)

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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
@Theda-ISE Theda-ISE changed the title Enable reverse usage of heat_consumer New component heat_generator Jun 23, 2026
@Theda-ISE

Copy link
Copy Markdown
Author

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.

@EPrade

EPrade commented Aug 17, 2026

Copy link
Copy Markdown
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants