Closed joseph-robertson closed 3 years ago
GroundHeatExchanger:System
: this is indirectly wrapped, meaning we use the old objects (eg: GroundHeatExchangerVertical) but we do FT to it.
PythonPlugin:Instance: added reference to name field (not wrapped): this is something we added on OpenStudio and it was upstreamed to E+ (I think you may have diffed the official Energy+.idd between v9.5.0 and v9.6.0-IOFreeze to create the list? If you did v9.6.0-IOfreeze with our ProposedEnergy+.idd you'll find no diffs there)
I made my own diff of v9.6.0-IOFreeze Energy+.idd against our ProposedEnergy+.idd in 6078e1717f13e0ee59392f1e7b93370c9b01d10b . That should be used at the end of your feature branch as a double check that all changes have been propagated. (It's very easy to miss a few things (and I'm sure I did), but if we end up having the same ProposedEnergy+.idd, I'd say we're in good shape!). Edit: I merge it into your branch, diff is cleaned!
Side note: This is missing since at least 8.5.0 in our ProposedEnergy+.idd, due to the fact that it's placed AFTER some extensible fields... I would leave it as missing.
Coil:Cooling:DX:MultiSpeed,
[...] A37; \field Zone Name for Condenser Placement \type object-list \object-list ZoneNames \note This input field is name of a conditioned or unconditioned zone where the secondary \note coil (condenser) of DX system or a heat pump is to be placed. This is an optional \note input field specified only when user desires to reject the condenser heat into a \note zone. The heat rejected is modelled as internal sensible heat gain of the zone.
Oops. So I added PythonPlugin:Instance
to the list, but that idd change was already there? I will remove it from the list above.
epJSONFixture test failures:
"UtilityCost:Charge:Simple 16": {
"category_variable_name": "Taxes",
"cost_per_unit_value_or_variable_name": 0.08,
"season": "Annual",
"source_variable": "SubTotal",
"tariff_name": "PSI_CS_CommercialElectricService",
"utility_cost_charge_simple_name": "TaxofeightPercent"
},
"UtilityCost:Charge:Simple 17": {
"category_variable_name": "EnergyCharges",
"cost_per_unit_value_or_variable_name": "IN_MonthlyGasRates", <--- [utilities.idf.IdfObject] <1> Could not convert 'IN_MonthlyGasRates' to double
"season": "Annual",
"source_variable": "totalEnergy",
"tariff_name": "IN_EIAMonthlyRateGas",
"utility_cost_charge_simple_name": "MonthlyRateGasCharge"
},
I'm getting an error using OpenStudio-3.3.0-alpha+e22f7b09f0-Ubuntu-20.04, which is using E+ 9.6 rc2. It looks like the generated_files
that OpenStudio produces are not compatible with EnergyPlus because the file extensions are stripped. EnergyPlus error:
Program Version,EnergyPlus, Version 9.6.0-9779acae72, YMD=2021.09.22 14:53,
** Warning ** Timestep: Requested number (1) is less than the suggested minimum of 4.
** ~~~ ** Please see entry for Timestep in Input/Output Reference for discussion of considerations.
** Severe ** ProcessScheduleInput: Schedule:File="LIGHTING_INTERIOR", File Name="/mnt/c/git/openstudio-hpxml-os330/workflow/generated_files/schedules20210922-754-ja1s6g" has an unknown file extension and cannot be read by this program.
** Fatal ** Program terminates due to previous condition.
...Summary of Errors that led to program termination:
..... Reference severe error count=1
..... Last severe error=ProcessScheduleInput: Schedule:File="LIGHTING_INTERIOR", File Name="/mnt/c/git/openstudio-hpxml-os330/workflow/generated_files/schedules20210922-754-ja1s6g" has an unknown file extension and cannot be read by this program.
************* Warning: Node connection errors not checked - most system input has not been read (see previous warning).
************* Fatal error -- final processing. Program exited before simulations began. See previous error messages.
************* EnergyPlus Warmup Error Summary. During Warmup: 0 Warning; 0 Severe Errors.
************* EnergyPlus Sizing Error Summary. During Sizing: 0 Warning; 0 Severe Errors.
************* EnergyPlus Terminated--Fatal Error Detected. 1 Warning; 1 Severe Errors; Elapsed Time=00hr 00min 0.13sec
The file provided to OS was "stochastic.csv", which got renamed to "generated_files/schedules20210922-754-ja1s6g".
EDIT: I was wrong, Our workflow was providing a filename of "schedules20210922-754-ja1s6g" to OpenStudio. But E+ 9.5 didn't complain about this while E+ 9.6 does. We can resolve the issue on our end; it's unclear whether OpenStudio needs a change to help the user.
@shorowit Do you have a MCVE somewhere so I could try to reproduce without having to recreate from scratch?
@jmarrec You can reproduce the issue by checking out this code: https://github.com/NREL/OpenStudio-HPXML/tree/6990f847cf3f15ca527f68a736d556f509bd9522
Then run openstudio run -w workflow/template-stochastic-schedules.osw
. You'll find the above error in the workflow/run/eplusout.err file. Note that it occurs because we were providing a temp filename without an extension to OpenStudio::Model::ExternalFile::getExternalFile
. As previously mentioned, E+ 9.5 was okay with this but E+ 9.6 now throws an error. We fixed this by preserving the file extension in the temp file, but maybe OpenStudio could be more helpful in preventing this error.
Enhancement Request
Once v9.6.0-IOFreeze is released, we should update to it.
Detailed Description
https://github.com/NREL/EnergyPlus/blob/develop/src/Transition/InputRulesFiles/Rules9-5-0-to-9-6-0.md
Major changes
Space
andSpaceList
:BuildingSurface:Detailed
Wall:Detailed
,Wall:Exterior
,Wall:Adiabatic
,Wall:Underground
,Wall:Interzone
RoofCeiling:Detailed
,Roof
,Ceiling:Adiabatic
,Ceiling:Interzone
Floor:Detailed
,Floor:GroundContact
,Floor:Adiabatic
,Floor:Interzone
InternalMass
ZoneProperty:UserViewFactors:BySurfaceName
People
Lights
ElectricEquipment
,GasEquipment
,HotWaterEquipment
,SteamEquipment
,OtherEquipment
,ElectricEquipment:ITE:AirCooled
,ZoneBaseboard:OutdoorTemperatureControlled
Daylighting:Controls
,Daylighting:ReferencePoint
New additions
AirflowNetwork:MultiZone:SpecifiedFlowRate
DesignSpecification:OutdoorAir:SpaceList
HVACTemplate*
,Sizing:Zone
,ZoneHVAC:IdealLoadsAirSystem
,ZoneHVAC:HybridUnitaryHVAC
,AirTerminal*
: add referenceController:MechanicalVentilation
: modify a field and add referencesCoilSystem:Cooling:Water
Minor stuff
PerformancePrecisionTradeoffs
: added a field https://github.com/NREL/OpenStudio/commit/fd6d7caa8d74f79c3b3c551415a6e4c1ffd833bdRunPeriod
: support new fields? https://github.com/NREL/OpenStudio/commit/3495764166855c0fe1e5975afe81a3fc622019c3ComfortViewFactorAngles
: increase max extensible fields (not wrapped) https://github.com/NREL/OpenStudio/commit/3495764166855c0fe1e5975afe81a3fc622019c3AirflowNetwork:MultiZone:ReferenceCrackConditions
: modify existing field https://github.com/NREL/OpenStudio/commit/3495764166855c0fe1e5975afe81a3fc622019c3Sizing:System
: modify field and add field (note: no ft/rt tests for this object) https://github.com/NREL/OpenStudio/commit/086f41b6a958f5216f6e3946235bea05ce2dbfc5Coil:Cooling:Water:DetailedGeometry
: added a field (not wrapped) https://github.com/NREL/OpenStudio/commit/086f41b6a958f5216f6e3946235bea05ce2dbfc5AirConditioner:VariableRefrigerantFlow
: modify field names https://github.com/NREL/OpenStudio/commit/d969970b9e9701cb1eb68f5ade1a9ad057e7b54cAirLoopHVAC:OutdoorAirSystem
: remove a field 'Availability Manager List Name'HeatPump:PlantLoop:EIR:Cooling
,HeatPump:PlantLoop:EIR:Heating
: we already fixed this in https://github.com/NREL/OpenStudio/pull/4368GroundHeatExchanger:System
: add new field (not wrapped) https://github.com/NREL/OpenStudio/commit/3495764166855c0fe1e5975afe81a3fc622019c3ComponentCost:LineItem
: modify a field (not wrapped) https://github.com/NREL/OpenStudio/commit/3495764166855c0fe1e5975afe81a3fc622019c3Other
resources/utilities/SqlFile/update_all.sh
)update_3_2_1_to_3_2_2
toupdate_3_2_1_to_3_3_0
?)