Skip to content

Support simultaneous RSYS and ideal hvac#626

Merged
nealkruis merged 18 commits into
mainfrom
energy-to-hold
Jul 2, 2026
Merged

Support simultaneous RSYS and ideal hvac#626
nealkruis merged 18 commits into
mainfrom
energy-to-hold

Conversation

@chipbarnaby

@chipbarnaby chipbarnaby commented Apr 24, 2026

Copy link
Copy Markdown
Contributor

Description

Allow both RSYS and ideal HVAC to serve a zone. This allows determination of energy required to hold zone setpoints when RSYS capacity is insufficient.

  1. Eliminated input check that prevented specification of both RSYS and ideal in a zone.
  2. Reorganized calc sequence so ideal hvac model follows possible RSYS use and is aware of RSYS impact.
  3. Added @zone[].qsIdeal, @ZNRES[].qshIdeal, and @ZNRES[].qscIdeal

Updated documentation re this feature.

Update regression tests to use and report ideal heating / cooling.

@chipbarnaby chipbarnaby requested a review from nealkruis April 24, 2026 18:39
@nealkruis

Copy link
Copy Markdown
Contributor

@chipbarnaby any other changes needed here before review?

@chipbarnaby

chipbarnaby commented May 8, 2026 via email

Copy link
Copy Markdown
Contributor Author

@nealkruis

Copy link
Copy Markdown
Contributor

@chipbarnaby do we want to try to get a version of this in the next release? I think there are just a few documentation tasks left here? We might make an issue documenting follow up steps (e.g., meter + efficiency).

@chipbarnaby chipbarnaby marked this pull request as ready for review June 24, 2026 20:03

@nealkruis nealkruis left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Minor changes suggested.

Comment thread src/cnloads.cpp Outdated
Comment on lines +1146 to +1150
#if 0 && defined( _DEBUG)
if (Top.jDay == 256 && Top.iHr == 23 && Top.iSubhr > 10)
printf("\nHit");
#endif

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Remove?

Heating capacity at current conditions
Ideal sensible heating capacity for current hour. If at the end of a simulation step the air temperature in a conditioned zone is below znTH after contributions from any other systems such as RSYS, additional heat is added (up to znQMxH) to hold the zone at the setpoint. No mechanical equipment or delivery air flow are modeled.

Added heat is accumulated to ZNRES qshIdeal and to qHtg of the LOADMETER specified in znLoadMtr (if any).

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Maybe link to the ZNRES probes and make it explicit that you're talking about the probe here?

Comment thread src/cnloads.cpp
Comment on lines +3822 to +3826
#if 0 && defined( _DEBUG)
float effX = abs(R.qcSen + R.qcLat) / max(R.ecPrimary, .001f);
if (frDiff(rs_effCt, effX) > 0.01f)
printf("\nMismatch");
#endif

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Remove?

@nealkruis

Copy link
Copy Markdown
Contributor

Also, @chipbarnaby, should we use this branch to improve on the documentation mentioned in #589?

@nealkruis nealkruis self-requested a review July 2, 2026 14:37
@nealkruis nealkruis merged commit c8c238b into main Jul 2, 2026
3 checks passed
@nealkruis nealkruis deleted the energy-to-hold branch July 2, 2026 14:38
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