infotech2015 / cbecc

Automatically exported from code.google.com/p/cbecc
0 stars 0 forks source link

Program crash with improper DEFAULT rule syntax #216

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Issue related to  __user interface / _X_defaulting / __energy simulation

What steps reproduce the problem?
1.  Including a transform designation other than 'u' in properties defined in 
DEFAULT transform.  For example:

RULE Proj:Bldg:AirSys:ClgSupAirStageTempDiff[1]
...
  DEFAULT
    IF (p:ClgCtrl = "StagedSetpoint" .AND. MaxChild(CoilClg:NumClgStages) > 1)
      THEN UNCHANGED
    ELSE UNDEFINED
    ENDIF  

Here, the 'p' transform is mistakenly referenced in DEFAULT rules. However, 
this rule compiles w/o errors.  
2.  Open CBECC tool with compiled Rules.bin.  The Envelope screen is blank, but 
if you toggle between Envelope/Mechanical, the tree structures appear.
3.  If compliance is started, the tool crashes.

What version of CBECC-NRes are you using? On what operating system?
r361 CBECC tool and Rules.bin, Win 7 Ult  

Please provide any additional information below.

Original issue reported on code.google.com by da...@360-analytics.com on 3 May 2013 at 12:39

GoogleCodeExporter commented 9 years ago
Hey Scott,
I think we discussed this, but was a rule compiler error added for the case 
when anything other than u: is used in DEFAULT rules?

Original comment by da...@360-analytics.com on 24 Sep 2013 at 7:11

GoogleCodeExporter commented 9 years ago
Confirmed that a compiler error is issued if a transform other than u: is 
referenced in the DEFAULT, CHECKCODE and CHECKSIM rules.

Original comment by da...@360-analytics.com on 15 Feb 2014 at 7:52