Closed tijcolem closed 4 years ago
\min-fields
is missing in a lot of cases (that could be brought over to E+ without too much trouble)\max-fields
was added in our ProposedEnergy+.idd for a few cases like Schedule:Year
, \max-fields 267
(5 extensible * 53 weeks, in the likely case your simulation starts in the middle of the week)\min-fields
differences in values, eg HeatPump:PlantLoop:EIR:Cooling
(E+ has 14, I calculated 15)\extensible
marker. Construction
for eg. If the limit of 10 layers makes sense, then we need to also add \extensible:1
but also \max-fields XX
to limit the number of layers to 10\extensible
marker but do not have the \begin-extensible
marker, like MaterialProperty:PhaseChange
(actually, pretty much ALL MaterialProperty:XXX
at least) (that could be handled in parsing, but better added to the E+ side). \default
and \required-field
on a bunch of fields (which isn't that big of a deal, and could be brought over to E+ too), eg Boiler:Steam
, or we could just ignore as it's not a real problem.ClothingInsulation
(that could be brought over to E+ too, but IDF editor would need update to handle them)Schedule:File
is \url-object
for OpenStudio.\note
that have special characters, and some fields like N13, \field Young's modulus
('
is problematic) or \note no spaces or other special characters (-,+,/,\) allowed in name
. That can be handled at the parser level.W/((m3/s)-Pa)
, or (gal/min)/(Btu/h)
), or stuff like \units W/m2 or deg C
\required-field
on a few extensible groups (but other do, so not sure if it works or not), one example is Vertex fields (eg in Shading:Site:Detailed
)\object-list
was the reference is from a \reference-class-name validPlantEquipmentTypes
and that needs to be handled in our parser.
A2 , \field Equipment 1 Object Type
\type object-list
\object-list validPlantEquipmentTypes
Regular extensible
A4 , \field Time 1
\begin-extensible
\note "until" includes the time entered.
\units hh:mm
N1 , \field Value Until Time 1
A5 , \field Time 2
\note "until" includes the time entered.
\units hh:mm
N2 , \field Value Until Time 2
A6 , \field Time 3
\note "until" includes the time entered.
\units hh:mm
Variant:
N2, \field Value 1
\begin-extensible
\default 0.0
N3,N4, N5,N6,N7,N8, N9,N10,N11,N12, N13,N14,N15,N16, N17,N18,N19,N20, \note fields as indicated
N21,N22,N23,N24,
A couple of weird things:
\begin-extensible
is placed on the second occurrence
Site:SpectrumData,
A2, \field Spectrum Data Type
\required-field
\type choice
\key Solar
\key Visible
N1, \field Wavelength
\type real
\units micron
N2, \field Spectrum
\type real
N3, \field Wavelength
\type real
\units micron
N4, \field Spectrum
\type real
N5, \field Wavelength
\begin-extensible
\type real
\units micron
N6, \field Spectrum
\type real
N7, N8, \note fields as indicated
FluidProperties:GlycolConcentration
(https://github.com/NREL/EnergyPlus/issues/7244)
FluidProperties:GlycolConcentration,
\memo glycol and what concentration it is
A1, \field Name
\required-field
\note In EnergyPlus IDD 9.1.0, reference FluidAndGlycolNames is added but causing problems because we expect both
\note FluidProperties:Name and FluidProperties:GlycolConcentration to have the same name
A2, \field Glycol Type
We'll be closing this issue in favor of focusing time on the new epJSON format for E+.
E+ expands the extensible fields even with it uses the \begin-extensible code for the benefit of idfeditor. One idea is to leave the fields expanded in the proposed idd just like they are in E+, but make our code generator smart enough to detect the situation and not generate enums for all of those fields. I guess another option which Tim and I did not talk about it is enhancing idf editor to not require the extensible to be fully expanded, and then "fix" the EnergyPlus idd