Skip to content

Conversation

@nathancoliver
Copy link
Member

Description

I added two examples for how to use accumulators in the documentation.

@nathancoliver
Copy link
Member Author

@nealkruis @chipbarnaby

Please take a look and mention any suggestions for improvement.


REPORT rpType=UDT rpFreq=Month rpDayBeg=Jan 1 rpDayEnd=Dec 31
REPORTCOL colHead="Month" colVal=$Month colWid= 3
REPORTCOL colHead="Monthly Total" colVal=@Accumulator["Zone Heating Set Point"].M.acmSum colDec=0 colWid=10
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm not sure anyone would ever want the sum of a temperature output. Maybe we can find a different probe to use as an example? Maybe something like unmet load hours?

Copy link
Member Author

Choose a reason for hiding this comment

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

I meant to do average.

I'll find a different probe.

REPORTCOL colHead="Month" colVal=$Month colWid= 3
REPORTCOL colHead="Day" colVal=$Day colWid= 3
REPORTCOL colHead="Hour" colVal=$Hour colWid= 3
REPORTCOL colHead="Hourly Window Transmitted Solar Gain" colVal=@Accumulator["Window Transmitted Solar Gain"].H.acmSum colDec=0 colWid=10
Copy link
Contributor

Choose a reason for hiding this comment

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

Similar to above, I'm not sure if this is going to produce a meaningful output by adding something that has power dimensions (e.g., Btu/h). I can see where you might want to accumulate total window transmitted energy, but that would also require you to account for the subhour time step size.

@nathancoliver
Copy link
Member Author

@nealkruis

I updated the probes. Let me know what you think.

@nathancoliver nathancoliver marked this pull request as ready for review September 10, 2025 17:18
Copy link
Contributor

@nealkruis nealkruis left a comment

Choose a reason for hiding this comment

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

One of us needs to dig a bit deeper to make sure the interpretations here are correct.

REPORTCOL colHead="Total" colVal=@Accumulator[ 1].M.acmSum colDec=0 colWid=10
REPORTCOL colHead="Average" colVal=@Accumulator[ 1].M.acmMean colDec=0 colWid=10
ACCUMULATOR "Zone Sensible Cooling Rate [Btu/h]"
acmValue = @znRes[ 1].H.qscHvac // Hourly Output
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this the average Btu/h over the hour or the total Btu over the hour? The answer will impact the accuracy of the report values below.

REPORTCOL colHead="Monthly Min Hourly Cooling Rate [Btu/h]" colVal=@Accumulator["Zone Sensible Cooling Rate [Btu/h]"].M.acmMin colDec=0 colWid=10

ACCUMULATOR "Zone Solar Gain [Btu]"
acmValue = @znRes[ 1].S.qSlr // Subhourly Output
Copy link
Contributor

Choose a reason for hiding this comment

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

Similar question here. I'm not sure you are using the correct units / interpretation here.

@chipbarnaby chipbarnaby merged commit 72dd8f3 into transmitted-solar Sep 19, 2025
3 of 4 checks passed
@nealkruis nealkruis deleted the accumulators-documentation branch September 22, 2025 17:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants