Skip to content

Conversation

@Theda-ISE
Copy link

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.

…heat_consumer with negative power as a secondary heat generator with pump

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
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.

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.

2 participants