-
Notifications
You must be signed in to change notification settings - Fork 7
Add accumulator examples. #571
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
1bab5e6
Add accumulator examples.
nathancoliver 6f9b904
Replace hourly accumulator with zone sensible cooling probe.
nathancoliver afb58b8
Remove average, min, and max hourly outputs.
nathancoliver 6341e76
Change subhourly probe to zone solar gain.
nathancoliver c478dfc
Capitalize notes.
nathancoliver ac1a349
Change spacing.
nathancoliver File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -6,12 +6,26 @@ TODO: expand description and example | |
|
|
||
| ACCUMULATOR results must be reported using user-defined REPORTs or EXPORTs. For example -- | ||
|
|
||
| REPORT rpType=UDT rpFreq=Month rpDayBeg=Jan 1 rpDayEnd=Dec 31 | ||
| REPORTCOL colHead="mon" colVal=$Month colWid=3 | ||
| 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 | ||
|
|
||
|
|
||
| REPORT rpType=UDT rpFreq=Month rpDayBeg=Jan 1 rpDayEnd=Dec 31 // Monthly Report | ||
| REPORTCOL colHead="Month" colVal=$Month colWid= 3 | ||
| REPORTCOL colHead="Monthly Total Cooling [Btu]" colVal=@Accumulator["Zone Sensible Cooling Rate [Btu/h]"].M.acmSum colDec=0 colWid=10 | ||
| REPORTCOL colHead="Monthly Average Hourly Cooling Rate [Btu/h]" colVal=@Accumulator["Zone Sensible Cooling Rate [Btu/h]"].M.acmMean colDec=0 colWid=10 | ||
| REPORTCOL colHead="Monthly Max Hourly Cooling Rate [Btu/h]" colVal=@Accumulator["Zone Sensible Cooling Rate [Btu/h]"].M.acmMax colDec=0 colWid=10 | ||
| 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 | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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. |
||
|
|
||
| REPORT rpType=UDT rpFreq=Hour rpDayBeg=Jul 21 rpDayEnd=Jul 21 // Hourly Report | ||
| REPORTCOL colHead="Month" colVal=$Month colWid= 3 | ||
| REPORTCOL colHead="Day" colVal=$Day colWid= 3 | ||
| REPORTCOL colHead="Hour" colVal=$Hour colWid= 3 | ||
| REPORTCOL colHead="Zone Solar Gain Rate [Btu/h]" colVal=@Accumulator["Window Transmitted Solar Gain"].H.acmSum colDec=0 colWid=10 | ||
|
|
||
| **acmName** | ||
|
|
||
| Name of ACCUMULATOR: required for referencing in reports. | ||
|
|
||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
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.