NREL / EnergyPlus

EnergyPlus™ is a whole building energy simulation program that engineers, architects, and researchers use to model both energy consumption and water use in buildings.
https://energyplus.net
Other
1.16k stars 393 forks source link

Documentation 2021c #9111

Closed jmarrec closed 2 years ago

jmarrec commented 3 years ago

Issue overview

A place to collect requested documentation fixes. Add a new comment to the issue with new doc-change-only issues. Someone will eventually fix them all up at the same time once critical mass has been reached.

jmarrec commented 3 years ago
shorowit commented 3 years ago
mitchute commented 3 years ago
mjwitte commented 3 years ago
shorowit commented 3 years ago
shorowit commented 3 years ago
shorowit commented 3 years ago
michaldengusiak commented 3 years ago

please refer to https://unmethours.com/question/65109/value-for-cp-specific-heat-of-air/

(J/kg should be J/kg−K) in the EnergyPlus documentation

https://bigladdersoftware.com/epx/docs/8-7/engineering-reference/occupant-thermal-comfort.html#fanger-comfort-model

image

JasonGlazer commented 2 years ago
eringold commented 2 years ago
mjwitte commented 2 years ago

Seems appropriate for Output:Meter types, but not DemandManager or ElectricLoadCenter.

Those memos should be expanded to describe the object (that's what memos are for), but referencing the mdd is appropriate, because these objects have input fields which are meter names. Perhaps these line should be \notes at the first meter name field.

lymereJ commented 2 years ago

image

jmarrec commented 2 years ago
shorowit commented 2 years ago

@jmarrec That is apparently intentional. Note where the documentation says: “This coil draws heating energy from air to the heater. Thus it is regarded as a cooling coil, as shown in the output variable names.”

jmarrec commented 2 years ago

@shorowit I understand the rationale, but the discrepancy with the Pumped and Wrapped coils bothers me.

shorowit commented 2 years ago

@jmarrec Ah! I just remembered that this has been brought up before and, actually, the Pumped and Wrapped coils are incorrectly documented. This issue is captured above in this issue here and you can see the discussion on it here.

eringold commented 2 years ago
RKStrand commented 2 years ago

image image

aaron-boranian commented 2 years ago

I/O Ref:

The scheduled named by this field establishes a cold water temperature [C] for the water that replaces the water which is lost from the pool due to evaporation. If blank, water temperatures are calculated by the Site:WaterMainsTemperature object. This field (even if blank) overrides the Cold Water Supply Temperature Schedule in all of the listed WaterUse:Equipment objects.

Also, is last sentence true (this field overrides cold water supply temperature for ALL water use equipments?

Severe Error: Severe [SwimmingPool:Indoor][Indoor Pool] - Missing required property 'make_up_water_supply_schedule_name'. Fatal Errors occurred on processing input file. Preceding condition(s) cause termination.

mjwitte commented 2 years ago
  • [ ] Make-up Water Supply Schedule Name input field of SwimmingPool:Indoor object claims that field can be left blank to use same calculations as site's water mains temperature, but leaving blank results in severe error that stops the simulation. The IDD also lists this input field as required, so "if blank" references in bold below should be removed.

I/O Ref:

The scheduled named by this field establishes a cold water temperature [C] for the water that replaces the water which is lost from the pool due to evaporation. If blank, water temperatures are calculated by the Site:WaterMainsTemperature object. This field (even if blank) overrides the Cold Water Supply Temperature Schedule in all of the listed WaterUse:Equipment objects.

Also, is last sentence true (this field overrides cold water supply temperature for ALL water use equipments?

@aaron-boranian Probably not. Looks like this is a pasteo from another object. Code inspection or a quick test run should answer for sure.

Severe Error: Severe [SwimmingPool:Indoor][Indoor Pool] - Missing required property 'make_up_water_supply_schedule_name'. Fatal Errors occurred on processing input file. Preceding condition(s) cause termination.

Sounds like this is just an idd error, but you'll need to check the code and test with the required tag removed to see if it all works as exepected.

jcyuan2020 commented 2 years ago
jcyuan2020 commented 2 years ago
jcyuan2020 commented 2 years ago
jcyuan2020 commented 2 years ago
jcyuan2020 commented 2 years ago
  • [x] UtilityCost:Computation EXCEEDS has operands reversed according to this comment on unmethours. The IOref should say: "Returns the difference between the first and second variable if the second variable is greater than the first. If the first variable is greater or equal to the second variable returns a zero."

This change is now completed in the IORef. However, the "correct" definition actually seems to be very counter-intuitive.

jcyuan2020 commented 2 years ago

@jmarrec Ah! I just remembered that this has been brought up before and, actually, the Pumped and Wrapped coils are incorrectly documented. This issue is captured above in this issue here and you can see the discussion on it here.

The output variables' naming for the pumped and wrapped Coil:WaterHeating:AirToWaterHeatPump are now changed according to the discussion.

jcyuan2020 commented 2 years ago
  • [x] In the documentation for the recently split up input for variable and constant flow radiant systems (into design and system specific data), the "design data" has been added as a subsection under the sections for these objects. However, there is no text that really describes the fact that the user will need both the design and system specific data and the design data is somewhat lost in that it is subsection "2" while subsection "1" is labeled "input". This could be confusing and should be addressed. In addition, in the constant flow section, the temperature control schedules mention a temperature control type "above", but that information was moved to the design data which actually comes after this. So, this needs to be cleaned up and maybe a quick double check of similar issues in the other radiant system models need to be made while we are at it. Example:

image image

The following changes are applied now:

  1. The section headings for "ZoneHVAC:LowTemperatureRadiant:ConstantFlow:Design" and "ZoneHVAC:LowTemperatureRadiant:VariableFlow:Design" are now pumped one level up to be in the same level as the two parent objects. Each is placed right after the parent object.
  2. Added hyperref to the parent objects "Design Object" input field description to point to their own "xxx:Design" section.
  3. According to the IDD, it is not so clear if a "Design Object" is absolutely required, since this is not marked as a required field there. So probably will leave this to later determinations about if a design object should always be required. Currently using the added hyperref in item 2 to slightly emphasize the linkage.
  4. Addressed the pointing issue in the "temperature control type" descriptions in each of the objects.
  5. Some typo corrections across a few different sections.
jcyuan2020 commented 2 years ago
  • [ ] Make-up Water Supply Schedule Name input field of SwimmingPool:Indoor object claims that field can be left blank to use same calculations as site's water mains temperature, but leaving blank results in severe error that stops the simulation. The IDD also lists this input field as required, so "if blank" references in bold below should be removed.

I/O Ref: The scheduled named by this field establishes a cold water temperature [C] for the water that replaces the water which is lost from the pool due to evaporation. If blank, water temperatures are calculated by the Site:WaterMainsTemperature object. This field (even if blank) overrides the Cold Water Supply Temperature Schedule in all of the listed WaterUse:Equipment objects. Also, is last sentence true (this field overrides cold water supply temperature for ALL water use equipments?

@aaron-boranian Probably not. Looks like this is a pasteo from another object. Code inspection or a quick test run should answer for sure.

Severe Error: Severe [SwimmingPool:Indoor][Indoor Pool] - Missing required property 'make_up_water_supply_schedule_name'. Fatal Errors occurred on processing input file. Preceding condition(s) cause termination.

Sounds like this is just an idd error, but you'll need to check the code and test with the required tag removed to see if it all works as exepected.

The original text seems to be an accurate description of what's happening in the two code blocks below): 1). if left blank->will override with environment water mains temperature; 2). if not left blank but not a schedule match->will have `ErrorsFound = true' which is equivalent to a fatal-out; 3). for all other scenarios, it will take the schedule value. So here left blank and code running ok (only occurs in 1) is equivalent to having the value is overridden by water main temperature anyway.

Based on:

        if ((state.dataSwimmingPools->Pool(Item).MakeupWaterSupplySchedPtr == 0) && (!lAlphaBlanks(4))) {
            ShowSevereError(state, cAlphaFields(4) + " not found: " + Alphas(4));
            ShowContinueError(state, "Occurs in " + CurrentModuleObject + " = " + Alphas(1));
            ErrorsFound = true;
        }

and

    if (this->MakeupWaterSupplySchedPtr > 0) {
        this->CurMakeupWaterTemp = ScheduleManager::GetCurrentScheduleValue(state, this->MakeupWaterSupplySchedPtr);
    } else {
        // use water main temperaure if no schedule present in input
        this->CurMakeupWaterTemp = state.dataEnvrn->WaterMainsTemp;
    }

So looks like an idd change to allow blank input is what's needed here.

jcyuan2020 commented 2 years ago

Section 1.10.67: image

It looks the latter may be some kind of residual from previous versions?

eringold commented 2 years ago

However the actual table displays these units to be [J/(kg*K)]: image And is located in the 'Coils' table of the Coil Sizing Report.

RKStrand commented 2 years ago

image

The sections that provide detail on these output variables after this got it right.