Skip to content

Force ascending order of independant variables in Table:IndendependentVariable #4976

@jmarrec

Description

@jmarrec

Issue overview

I had noted it here as a question: #4652 (comment)

Current Behavior

We get a bunch of errors on the SDD ReverseTranslator tests of openstudio-resources due to this

   ** Severe  ** Table:IndependentVariable \"{172A710A-926C-44EC-9AC3-1E694B8332A0}\": axis is not sorted.",
   **  Fatal  ** Btwxt: Errors discovered, program terminates.

Expected Behavior

Worked as 3.4.0, stopped working at 3.5.0 when we moved from Table:MultiVariableLookup

https://github.com/NREL/OpenStudio-resources/blob/46a3246cd12026af71fc7db11d990697bf002b9b/test/010112_SchSml_PSZ16.xml_3.4.0_out.osw#L2

https://github.com/NREL/OpenStudio-resources/blob/46a3246cd12026af71fc7db11d990697bf002b9b/test/010112_SchSml_PSZ16.xml_3.5.0_out.osw#L1-L7

Steps to Reproduce

make a non sorted one. try to run in E+.

Possible Solution

Force ascending order. Determine if should be done in Model or at ForwardTranslation time.

Details

Environment

Some additional details about your environment for this issue (if relevant):

  • Platform (Operating system, version): all
  • Version of OpenStudio (if using an intermediate build, include SHA): 3.5.0+

Context

Noticed this today when I ran the OpenStudio-resources testing with 3.6.1 official.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions